Font Size in XML Publisher

Hi,
I want to display the text font size dynamically. If length of the field more than 10, font size to be reduced. Pl. let me know the ways to format the field. Pl. help.
Thanks
Kavi

Hi,
Thanks for your suggestion. I tried with your code. It is showing as
*<fo:inline font-size="6pt">TEXT MSG</fo:inline>*
This is my code..
<?choose:?>
<?when:string-length(‘TEXT’)=4?>
<fo:inline font-size="16pt"><?’TEXT MSG’?></fo:inline>
<?end when?>
<?otherwise:?>
<?’TEXT MESSAGE OTHER’?>
<?end otherwise?>
<?end choose?>
Anything i missed?

Similar Messages

  • Defining page size in XML Publisher

    Can we define page size using XML Publisher APIs.
    We have a problem where a single RTF template will be used for different countries and depending upon the country, the report needs to be printed on Letter or A4 or anything.
    I could find a parameter for Orientation but none for page size.
    Is there something we can do for defining page size or we need to rely on the printer setup.
    Regards,
    Satrajit

    to which column do u wnat to calculate goto that column
    <?add-page-total:variable_name;Column_name?>
    ex: <?add-page-total:inv;INVOICE_AMOUNT?>
    finally goto footer write
    <?show-page-total:inv;"999G990D00"?>

  • Problem with data size in XML Publisher report

    Hi Experts,
    I am working on EBS11i and database 9i. I working on XML Publisher reports, i have one XML Publisher report with generating output in EXCEL format. If i submit the report, if the data is huge (like 2.3 million records), it's ending up with warning, but if data is less, it's completing normal. Could somebody help me why it's behaving like this, is it because the report is XML Report, the xml file it's generating not have enough memory in server side if the data is huge.
    Could somebody help me how to solve this issue.
    Note: I need output in EXCEL format only.

    Pl identify the version of XMLP you are using.
    Pl post the complete warning message from the concurrent log file. Are there any additional error messages in the Output Post Processor log file ? Have you specified enough temp space using the XML Publisher Administrator responsibility ?
    How to Determine the Version of Oracle XML Publisher for Oracle E-Business Suite 11i and Release 12 (Doc ID 362496.1)
    Troubleshooting Oracle XML Publisher For The Oracle E-Business Suite (Doc ID 364547.1)
    How to set the Temp Directory for BI Publisher ? (Doc ID 1166024.1)
    Output Post Processor (OPP) Log Contains Error "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1268217.1)
    HTH
    Srini

  • How to remove a font file and its mapping from XML Publisher Administrator

    Hello,
    I am trying to remove a font file and its mapping from the XML Publisher Administrator. If this is not possible, is there a way to disable it?
    The reason why I am asking this is because we just got a new check printer, and I was able to print just fine. However, the MICR font was not coming up properly on the check, so I went ahead and configured the font with the XML Publisher Administrator. Now my check output is coming up blank after running the XML report publisher program. The only change I did was to upload the MICR font and mapped it.
    My template and rdf report file are working fine in another environment we have, so I know that's not the problem.
    Any help is appreciate it.
    Thanks.

    This is how you do it
    Font
    DELETE FROM xdo_lobs
    where lob_code like '<Font_name>';
    Font Mapping Set
    DELETE FROM xdo_font_mapping_sets_TL
    WHERE mapping_code like '<MAPPING_CODE>'

  • FO processing for XML Publisher Report Bursting Program

    Hello,
    I am facing the following problem: if i try to burst a report using XML Publisher Report Bursting Program special characters like (ş,ţ,ă, etc.) in the resulting PDF look strange. I have tried running the report without bursting it and the characters appear just fine (after i've set the FO Processing Font Mapping). My guess is that XML Publisher Report Bursting Program is not using the right font mapping. Have you faced this problem before? Do you have any idea how to set the right font mapping for XML Publisher Report Bursting Program.
    Thank you.

    So the answer was to make sure the location in the bursting file (location="xdo://schema.template_code.en.US) exactly matches the language/country setting in the uploaded Definition. Then make sure the fonts have been added to the xdo.cfg file matching what your Font Mappings are:
    <font family="Cambria" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIA.TTC" />
    </font>
    <font family="Cambria" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="bold">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />
    </font>
    <font family="Cambria Bold" style="normal" weight="normal">
    <truetype path="/app/erp1/applmgr/apps/tech_st/10.1.3/appsutil/jdk/jre/lib/fonts/CAMBRIAB.TTF" />

  • Printing of XML publisher report

    Hi All,
    This is in regards to the printing of XML publisher report in Oracle E-Business Suite.
    we have a XML Publisher report in Oracle EBS,which generates the output in PDF without any issues. But the same output is printed in XML Tags when it goes to the printer.
    Can you please throw some light why this is happening only for this particaular report,other XML reports in the system does not have this problem.
    Thanks in Advance for your help.

    I do not think it is possible to send all the pages to one tray and send only the last page to a different tray. However, you may review the following notes:
    Note: 357402.1 - How to Print the Output to a Different Paper Size Using XML Publisher Delivery Manager?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357402.1
    Note: 394130.1 - How To Enable Printer Options Such As Duplex Printing Or Tray Selections For Bitmap Concurrent Programs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394130.1

  • How to print output of XML Publisher report in different trays of a printer

    Hi All,
    I have a requirement in XML Publisher Report. I need to print all pages other than last one in one tray of a printer and the last page has to be printed in another tray of the same printer.
    Can anyone help me out...
    Thank You..

    I do not think it is possible to send all the pages to one tray and send only the last page to a different tray. However, you may review the following notes:
    Note: 357402.1 - How to Print the Output to a Different Paper Size Using XML Publisher Delivery Manager?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=357402.1
    Note: 394130.1 - How To Enable Printer Options Such As Duplex Printing Or Tray Selections For Bitmap Concurrent Programs
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=394130.1

  • Copyright symbol in XML Publisher report

    Hi All,
    I have the following requirement in XML Publisher report,
    The user may include © (Copyright) symbol in the goal section (performance management module) and save it to oracle.
    It is storing in oracle correctly and i am seeing the ascii char is 169 and it is support by oracle.
    But, when i run the XML publisher report, getting the error "The webpage cannot be found"
    Its happening only when there is a non-ascii characters like copyright symbol. Otherwise, it is working fine.
    How to resolve this? Please share your ideas.
    Thanks,
    Manoahran

    Thanks for your reply Duncan.
    PARAMETER     VALUE
    NLS_CHARACTERSET     WE8ISO8859P1
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    FND: NATIVE CLIENT ENCODING value is - WE8MSWIN1252
    We are not running thru concurrent program. We are running from self service page and the Source of this XML report is VO (View Object).
    There is no font installed under font files in XML Publisher Administrator.. Do we need to create the font files?
    Please give me your suggestions.

  • How to see Greek characters inside a PDF report (made with XML Publisher)

    Hi,
    I just patched my e Business Suite (ver. 11.5.9) in order to use XML Publisher 5.6.3.
    It works fine, but I have a big problem when I want to see Greek characters inside my report; instead to see the Greek characters I see only '?????'
    I tried to add some font under the XML Publisher Administrator responsibility following the Doc ID: 373377.1 "How To Install a Font Using XML Publisher Administrator", but my problem remains: I don't see my Greek characters
    Do I need to add any other fonts on the file system ? and where ? (under which path), or I set something at the XML Publisher Administrator responsibility level (under the Administration link) ?
    Any help will be appreciated, because it's very urgent to know how to fix this problem.
    Thanks in advance
    Alex

    Alex,
    Please verify the value of $AF_CLASSPATH variable and make sure that JRE_TOP/lib/fonts is part of this env variable (in addition to $CLASSPATH).
    Note: 353164.1 - Chinese Characters Appear as Question Marks(?) When Using a Data Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=353164.1
    Note: 399518.1 - Arabic Characters Appear As Question Marks
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=399518.1

  • E-Business Suite  XML Publisher Issue.

    Hi DBAs,
    I am getting following error while uploading a big size (5 GB and up) .rtf file from XML Publisher Administration>template (from application).
    oracle.apps.fnd.framework.OAException: oracle.jbo.JboException: JBO-29000: Unexpected exception caught: java.lang.OutOfMemoryError, msg=Java heap space
    ## Detail 0 ##
    java.lang.OutOfMemoryError: Java heap space
    I searched over the Web and got that I need to increase the Java Heap Size for XML Publisher.
    Can you help how can I change the heap size for XML Publisher in EBS 11.5.10.2 with XML Publisher 5 version.
    Thanks
    -Samar-

    Samar,
    Please see the documents referenced in these threads.
    java.lang.OutOfMemoryError: Java heap space
    java.lang.OutOfMemoryError: Java heap space
    Not able to open the PDF/RTF outputs for Oracle XML Publisher reports
    Re: Not able to open the PDF/RTF outputs for Oracle XML Publisher reports
    Regards,
    Hussein

  • Multiple Thread of a xml publisher report - messed up fonts in the PDF out

    We are running 60000 invoices at a given time. In order to get the job done faster, the xml publisher report is set up to run mulitple threads. Each thread running unique set of invoices.
    I am seeing this issue, randomly.
    The pdf output of the invoice is having the fonts messed up. font 10 shows up as 14 and the invoice looks very bad.
    When i rerun the same set of invoices it looks absolutely normal.
    Also if I retrieve the xml output of the bad pdf and view it through the xmlpub desktop, it looks perfectly fine.
    Two times we saw this issue
    PRODUCTION
    - when i run 8 threads, i saw this issue in one of the thread and affected one invoice. (Production- 1 concurrent processing node+ 5 OPP processes and 5 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    TEST INSTANCE
    - when i ran with 16 threads, one of the thread running xml pub report affected all the invoices (UAT environment-1 concurrent processing node+ 7 OPP processes and 1 threads + MEMORY is J:oracle.apps.fnd.cp.gsf.GSMServiceController:-mx3072m )
    Looks like it is happening when running multiple threads.
    The formatting command or information is getting lost somewhere and the report is all messed up.
    Please advise.
    Thanks
    SJ

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • XML PUBLISHER : excel file generated is of large size

    Hi ,
    scenario: Using XML publisher I am able to get the output in the Excel format but the file size is 28.2 MB
    Issue : The file size is too big so unable to send email through XML bursting program.
    Observation:
    For the generated excel sheet when save as option is chosen then its save as type is Web Page (*.htm,*.html ) with the file name appearing in double quotes "sample.xls" , when the save as type was changed to excel and saved , the file size was found to be 5.7 MB .
    Please advise on the following:-
    xml publisher's generated output file size is 6 times bigger than the actual excel file size , is there a way to rectify this huge size output for EXCEL file.
    Regards,
    SR

    This is a know Bug, Refer below document for the patch detail & other info:
    BI Publisher Enterprise Excel Output File Size is Too Large [ID 1271544.1]
    BUG:6739943 ,7356451
    Thanks,
    Sandeep

  • Unable to view image if the size is more than 3KB using XML Publisher.

    Hello,
    We are printing PO approver signature using xml publisher (rtf) on a pdf.
    If the size of the image is 3KB or less, the image gets printed.
    But, if the size is more than 3KB the image does not get printed.
    Additional Info:
    1. The signature is stored as jpg image in fnd_lobs table.
    2. On following code is mentioned in the rtf
    <fo:instream-foreign-object content-type="image/jpg">
    <xsl:value-of select="IMG_SIGNATURE"/>
    </fo:instream-foreign-object>
    3. We are using the following function that converts BLOB to CLOB.
    CREATE OR REPLACE FUNCTION XX_BLOBTOBASE64
    b IN BLOB
    RETURN CLOB
    IS
    sizeb PLS_INTEGER := 4080 ;
    buffer RAW(4080);
    offset PLS_INTEGER DEFAULT 1;
    RESULT CLOB;
    BEGIN
    -- dbms_lob.createtemporary
    -- lob_loc => RESULT
    -- , cache => FALSE
    -- , dur => dbms_lob.CALL
    -- LOOP
    -- BEGIN
    -- dbms_lob.READ
    -- ( lob_loc => b
    -- , amount => sizeb
    -- , offset => offset
    -- , buffer => buffer
    -- EXCEPTION
    -- WHEN no_data_found
    -- THEN
    -- EXIT;
    -- END;
    -- offset := offset + sizeb;
    -- dbms_lob.append
    -- ( dest_lob => RESULT
    -- , src_lob => to_clob(utl_raw.cast_to_varchar2(utl_encode.base64_encode(buffer)))
    -- END LOOP;
    DBMS_LOB.createtemporary(lob_loc => RESULT, CACHE => FALSE, dur => 0);
    Wf_Mail_Util.EncodeBLOB ( b, RESULT );
    RETURN RESULT;
    END;
    Requesting any of you to let us know if there is any method to resolve this issue.
    Thanks,
    Angelica.

    Hi,
    Are you using Outlook.com to send/receive emails? Based on my research, we can only add an image/ picture in your e-mail signature that’s Web based (picture that is available in existing websites or stored in an online storage). See:
    http://answers.microsoft.com/en-us/outlook_com/forum/osettings-oemailset/add-logo-to-outlookcom-signature/4455facf-0926-42a6-aad7-756de662a865
    Since this forum is for general questions and feedback related to Outlook desktop application, if you are using Outlook.com, I'd recommend you post your question in the Outlook.com forum:
    http://answers.microsoft.com/en-us/outlook_com/forum?tab=Threads
    The reason why we recommend posting appropriately is you will get the most
    qualified pool
    of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Font size of label element in xml forms

    Hi,
    I am modififying the default xml template sap_app_news xml form in the form bulider.
    I have added a new label in renered list with the cation as read more .
    I want that on clicking the read more label the entire  news should be displayed .
    I am able to achieve this functtionality
    Hosoever, the font size of this label is not getting reduced,
    these are the properties for my label element
    i) Caption Read More
    ii) Hyperlink -Display
    iii) Style -Functional Link
    iv)Text Colr - Blue
    v) Font -arial
    vi) Font size - 2
    vii)Display HT - No
    viii)Width 80
    viii) Height 20
    I have changed the font size , height etc ..but teh label size doesnt get effected .
    I havent craeted any new child in schema for this label ,
    Can somebdy pls help . is it a bug, I have tried various combination but the font size of label is not reducing , color though is changing ..

    Not working neither here !

  • Font problems in resulting XML Publisher document (from PeopleSoft)

    Hi all,
    we're creating documents using XML Publisher under PeopleSoft, designing the template in Word 2007.
    We see strange things hapening to the resulting documents: even though the majority of the template is created in a Times New Roman 11pt font, we find that in the resulting document, empty paragraphs and empty table cells are formatted as Arial 12 pt. So where we put an empty line between paragraphs in the text in the template, and set all the text to Times New Roman, the empty lines are Arial. Same thing with the tables. There's a table with a for-each loop in the rows. The XML with the data always contains 10 entries, but possibly with empty values, so that the table in the resulting document always has 10 rows (plus a header row). However, the empty rows are Arial 12, and the filled-in rows are TNR 11. This results in a different heigth for the table depending on how many rows are filled in, causing the positioning of the rest of the document to be off.
    The template contains NO Arial 12 at all...
    I hope my problem is clear. Any ideas or pointers where to look are really appreciated...
    Spiffo

    Hello Deepz,
    Thank you for your answer. I am not sure I understand your answer: I stated, this is occurring in XML Publisher from PeopleSoft, so not in BI Publisher. Furthermore, there is one section in the document where I do need Arial, but at pt 11, not 12.
    I hope you or other forum members can help me further.
    Regards,
    Spiffo

Maybe you are looking for

  • Issue while creating data control in webcenter .

    Hi Alll , We are developing some application in web center and deploying it into the wc_custom . We are able to deploy and test it throughly . So far we are not using any data control in our application . For integrating Content server , i am creatin

  • How the heck do I back up my hard drive?!

    Sorry if this question gets asked every week, but I searched the "Tiger" forums and still can't figure this out. I've owned an iMac since last August but haven't used it much, so I have no after-market software and very little data on it. Unfortunate

  • Adobe RoboHelp 8 is released! TCS2, too

    I've been using RoboHelp since 1992 and this is huge. Not only is Adobe RoboHelp 8 released, but the entire Adobe Technical Communication Suite 2 (now with Adobe Photoshop!) The Trial for individual releases as well as the entire TCS 2 suite is ready

  • All videos In my iPad have been deleted!!!

    I just update iTunes to version9. But I can find my videos , Godzilla, the day after tomorrow and orange county after undating. I've been shocked! I don't know what's going on in my iPad. Pz help me and let me know what to do!

  • Acrobat Reaader will not work before I accept End User License Agreement. But where and how?

    Acrobat Reaader will not work before I accept End User License Agreement. But where and how? Have installed version 9.5 on my Windows 7 desk-top computer.