HTML tags in Report

Hi,
I am trying to create a report using APEX. I am using a word template - report layout. but some of the columns does have html tags in the data itself. (eg <b> etc) How can I get to display this in my report.
Also for some Fields I am using the Old English Text font we have in Word. But when it comes to display the report in PDF those special fonts are displayed as ordinary ones. any IDea how to get this working?
Thanks
Meenu

Hi Meenu,
This is the same problem as in another thread where you replied. I don't have an answer yet. The problem is probably due to the html data is rendered when you show it in a browser but doesn't get rendered when printing in pdf (by BI Publisher).
I see some possibilities:
- call a function in plsql that transforms your html to xml and sent that to BIP
- configure BIP so that it gets rendered correctly
I don't have the answer right now. I hope Marc can answer it before, otherwise I'll investigate it in a week.
Dimitri

Similar Messages

  • How to Capture html tags in Report output

    Hi
    i'm working on a report in apex. the data i've captured has html tags in the column information. is there a way to capture those tags in the report output?
    Thanks in advance,
    Edited by: user13080645 on Feb 23, 2011 1:38 AM

    Hi,
    Go to report attribute page and select that column and "Standard Report Column" in "Display As".
    You can show the html tag in report.
    Regards,
    Kartik Patel
    http://patelkartik.blogspot.com/
    http://apex.oracle.com/pls/apex/f?p=9904351712:1

  • How to aviod html tags from Report column heading while export to csv

    Hi All,
    How to aviod html tags from Report column heading while export to excel.
    We used like Employee<br> Department in column heading, but the problem is the <br> tag also exporting into csv file.
    If any column data 3/2009 formatt the it will exporting as marh 2009.
    Please help on this.
    Thanks,
    Nr
    Edited by: pnr on Jul 5, 2011 5:00 AM

    Hi Nr
    Here is how I approached this problem.
    Go to report attributes tab
    under column attributes check PLSQL radio button.
    Create a function to return the heading of your report as shown below in your database.
    create function get_heading return clob as
    v_request VARCHAR2(20) := V('REQUEST');
    v_col_heading CLOB;
    begin
    IF INSTR(v_request,'FLOW_EXCEL_OUTPUT',1) > 0 THEN
    v_col_heading := 'Employee Number:Employee Name';
    ELSE
    v_col_heading := 'Employee breaktag Number:Employee break tag Name';
    END IF;
    return v_col_heading;
    end;
    Type the function below under ( Function returning colon delimited headings:) as follows.
    return get_heading;
    Similarly for data base it on PLSQL function body returning SQL and follow the same approach as headings.
    Hope this helps.
    Thanks
    Sukarna
    Edited by: user513776 on Jul 5, 2011 2:24 PM
    Edited by: user513776 on Jul 5, 2011 2:27 PM

  • Help needed in formating the text using HTML tags in reports 10g

    Hi all,
    I have a situation here. We have an application which prints out Reports with a few lines of text in it. This text is entered by the user through our forms application in a field. That particular text is stored in each row of a particular long column. Here I want to modify the text, while printing, on the report like underline, bold, italics etc,.
    As of now I am using the HTML tags, in the forms, to do so as most the times the text in the report is same.
    I want to know if this can be done by the user itself while he is entering the data in the field through the form.
    Thanks in advance . I will explain you more clearly if you need.

    Hi,
    The code did work. But I am not sucessfully able to display the values entered in 2nd page in the 3rd page.Please find the code below:
    <html>
    <head>
    <script language="LiveScript">
    function WinOpen() {
    if (document.form1.cap.value == "")
    alert("Enter value in text box");
    return;
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Yo!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>This is really cool!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form2">');
    for(var i =0; i < document.form1.cap.value; i++)
    msg.document.write("<INPUT type=text name=tbAlphaNumeric>");
    msg.document.write("<br>");
    msg.document.write('<input type="button" name="Button2" value="Steal" onClick="javascript:window.opener.WinShow();">');
    msg.document.write('</form></BODY></HTML>');
    function WinShow() {
    msg=open("","DisplayWindow","toolbar=no,directories=no,menubar=no, scrollbars=yes");
    msg.document.write("<HTML><HEAD><TITLE>Great!</TITLE></HEAD>");
    msg.document.write("<CENTER><h1><B>Display of second page text elements!</B></h1></CENTER>");
    msg.document.write('<BODY><form name="form3">');
    for(var j =0; j < document.form1.cap.value; j++)
    msg.document.write(document.form2.tbAlphaNumeric[j].value);
    msg.document.write("<br>");
    msg.document.write('</form></BODY></HTML>');
    </script>
    </head>
    <body>
    <form name="form1">
    <INPUT type= "text" name=cap>
    <input type="button" name="Button1" value="Push me" onClick="WinOpen()">
    </form>
    </body>
    </html>

  • Html tags in oracle reports

    If fields of tables in my database contain html tags such as 'H2O' (here is html tag 'sub') or 'sometext'(here is html tag 'b') how can I to make Report Builder 6i to understand these tags? In other words - can Report Builder understand and treat html tags to format output layout?
    Or how in another way I can format a part of text inside the field?
    Example:
    The below text comes from database and contains html tags.
    <B> THIS IS DEMO TEXT TO TEST HTML TAGES IN REPORTS </B>
    <TD ><B><FONT COLOR="#336699" FACE="Arial, Helvetica, sans-serif" SIZE="2">Technology Centers
    </FONT></B></TD>
    <html><body dir=&Direction bgcolor="#ffffff"> </body></html>
    <html><body dir=&Direction bgcolor="#ffffff">this is test</body></html>

    Hello Learnotd,
    Depending on your requirements, you can do one of the following:
    1. In Reports Builder, you can set the default values for the DESFORMAT system parameter to HTML, DESTYPE to FILE and DESNAME to the desired output file name, in the object navigator. Now, running the report will generate it to the HTML file, instead of displaying it in the previewer.
    2. If you are using the command-line executables, 'destype=file' and 'desformat=html' arguments will produce HTML output (using rwcli60, rwcgi60 or rwrun60) to the file specified by desname.
    3. If you calling Reports from Forms, desformat=html should be included in the run_report_object call.
    Thanks,
    The Oracle Reports Team.

  • Reports does not show data which contains HTML tags

    Dear Gurus
    Im trying to resolve this problem but im really stuck in it. I have the requirment to customize PO reports in R12 and at the end of every report we have to show its Terms and Conditions.I have the following query wich brings me the data i need.
    SELECT
    otu.document_number po_segment1,
    otu.document_id,
    otta.template_id,
    otta.template_name,
    otta.description,
    otta.intent,
    otta.status_code,
    otta.start_date,
    otta.end_date,
    otta.instruction_text,
    otu.document_type,
    otu.document_number po_segment1,
    otu.document_id po_header_id,
    osb.HEADING titulo_seccion,
    oav.display_name,
    oav.article_text article_text
    FROM
    apps.okc_terms_templates_all otta,
    apps.okc_template_usages otu,
    apps.okc_k_articles_b okab,
    apps.okc_sections_b osb,
    apps.okc_articles_all oaa,
    apps.okc_article_versions oav
    WHERE otta.template_id = otu.template_id
    AND otu.document_id = okab.document_id
    AND osb.scn_id(+) = okab.scn_id
    AND okab.article_version_id = oav.article_version_id
    AND oaa.article_id = oav.article_id
    AND otu.document_number='21000000111' -- Purchase Document
    AND otu.DOCUMENT_TYPE NOT IN ('RFQ_RESPONSE', 'RFQ','RFI_RESPONSE','RFI','AUCTION_RESPONSE','AUCTION')
    The problem is the field okc_article_versions.article_text storage data with HTML tags as an example : ''<P>COMPANY will make it’s best effort to provide an accurate forecast to CONTRACTOR, <B><I>at the end of every quarter,</I></B> however, a forecast in any form, shall not represent a firm commitment by COMPANY.,</P>"
    So when i tried to show the information my .rtf template nothing comes out. Does anybody knows whats happenig and how to resolve it??
    Please, resolve this issue is more than urgent an i guess somebody have the answe Thanks a lot
    Mily

    Hi ,
    Currently image url have value http://serverip:port/reports/rwservlet
    I don't know is this correct? Suggest What value it should have?
    Thanks
    Vinod

  • How to use the HTML tags in the reports.

    hi.
    can any one tell me how to use the HTML tags in the reports.
    i m using the forms 10 g rel 2 and reports 10 g rel 2 and application server 10g rel 2.

    Set the Contains HTML Tags property of an object to Yes, then the tags in the object's text (if any) will be used to format the object.

  • Tablespace usage report generated with html tags instead of text

    Hi ,
    We have a unix shell script scheduled to find tablespace usage and sends the report to our mail id.
    For the past few weeks(no changes idone in the script) the report is coming with html tags instead of text as below.
    </head>
    <body>
    <p>
    <table border='1' width='90%' align='center' summary='Script output'>
    <tr>
    <th scope="col">
    TABLESPACE_NAME
    </th>
    <th scope="col">
    CUR_USE_MB
    </th>
    <th scope="col">
    CUR_SZ_MB
    </th>
    <th scope="col">
    CUR_PRCT_FULL
    </th>
    <th scope="col">
    FREE_SPACE_MB
    </th>
    <th scope="col">
    MAX_SZ_MB
    </th>
    <th scope="col">
    OVERALL_PRCT_FULL
    </th>
    </tr>
    <tr>
    <td>
    SYSTEM
    </td>
    <td align="right">
    268
    </td>
    <td align="right">
    500
    </td>
    <td align="right">
    54
    </td>
    Is this any settings issue or anything to be modified in the script.Could you please reply..
    Regards,
    Bharath.
    Edited by: 870384 on Jul 6, 2011 1:17 AM

    Hi Sven W,
    Please find the sql below that is generating the tablespace usage report. In the staring of the script markup is set to ON and at the end it is set to OFF.Do you suggest any changes to this..?
    SET ECHO OFF
    SET PAGES 999
    SET MARKUP HTML ON SPOOL ON
    col tablespace_name format a15 trunc
    col cur_use_mb for 999999999
    col cur_sz_mb for 999999999
    col free_space_mb for 999999999
    col max_sz_mb for 999999999
    compute sum of cur_use_mb on report
    compute sum of cur_sz_mb on report
    compute sum of free_space_mb on report
    compute sum of max_sz_mb on report
    break on report
    spool tablespace.html
    select tablespace_name,
    round(sum(total_mb)-sum(free_mb),2) cur_use_mb,
    round(sum(total_mb),2) cur_sz_mb,
    round((sum(total_mb)-sum(free_mb))/sum(total_mb)*100) cur_prct_full,
    round(sum(max_mb) - (sum(total_mb)-sum(free_mb)),2) free_space_mb,
    round(sum(max_mb),2) max_sz_mb,
    round((sum(total_mb)-sum(free_mb))/sum(max_mb)*100) overall_prct_full
    from (select tablespace_name,sum(bytes)/1024/1024 free_mb,0 total_mb,0 max_mb from DBA_FREE_SPACE group by tablespace_name
    union select tablespace_name,0 current_mb,sum(bytes)/1024/1024 total_mb,sum(decode(maxbytes, 0, bytes, maxbytes))/1024/1024 max_mb
    from DBA_DATA_FILES group by tablespace_name) a group by tablespace_name;
    select owner,segment_name,segment_type,bytes/(1024*1024) size_m
    from dba_segments
    where tablespace_name = 'SYSTEM' and segment_name='FGA_LOG$' order by size_m desc;
    spool off;
    SET MARKUP HTML OFF SPOOL OFF

  • Embedding html tags within a report

    I have an interactive report in which I'd like to indicate new table entries.
    I have a case statement on a column that checks the date that the entry was added and if it was added recently I concatenate a gif to the column value which indicates "New" entry. This works great in a standard report but when I add the code snippet to an interactive report it displays the html img tag rather than the actual image. Can anyone tell what I need to do to cause the report to render the image rather than just display the html tag?
    Thanks.

    Hello,
    In your Report Attributes, make sure that your columns Display Text As is set to Standard Report Column. I expect it's set to display as text?
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://www.apex-evangelists.com/
    -- http://www.apexblogs.info/

  • When Exported in PDF reports displays HTML Tags

    Hi All,
    Business Object XI R2
    WebI Report
    I am Reporting on Oracle CLOBs. This CLOB contains Data with HTML Tags, Clearly this CLOB is the combination of DATA formatted in HTML tags.
    When I create a WebI Reports on this (CLOB) WebI displays correctly in the sence data only.
    When I export this report to PDF; The PDF display contains both data with HTML tags as well.
    Is there any solution/workaround or any setting in the BO Server to overcome/solve this issue.
    Appreciated you prompt help.
    Thanks,
    Ashok

    Christine,
    My question is wether Adobe support CLOBs or not.
    I was reported on oracle CLOBs (This CLOBs contains data wrapped in HTML tags), by using Business Object Web Intelligence. This WebI displaying the reports as I desire, there is no problem, in WebI. WebI displaying data with no HTML Tags.
    My problem is that when I export this WebI report, this Adobe is getting HTML tags, why? Since this WebI is not displaying the HTML tags, since adobe does not know wether there is a HTML tags or not.
    Apprecited your prompt reply.
    Thanks,
    Ash

  • Interactive Report with html tags --- Data saved in Excel with html tags

    Hello,
    I am using APEX 4.0. I have an interactive report that displays some of the columns bold and / or colors using html tags. As an example,
    SELECT
    '''<font color="green"><b>'' || SERIAL_NUMBER || ''</b></font>'' SERIAL_NUMBER,'||chr(10)||
    'PRODUCT_NAME,'||chr(10)||
    '''<font color="teal"><b>'' || PRODUCT_DESC || ''</b></font>'' DESC,'||chr(10)||
    'QUANTITY,'||chr(10)||
    FROM
    <Table name>
    At runtime, the Interactive Report displays the fonts, colors correctly; however, when I save the data of the Interactive Report in an Excel format, it saves the Html tags along in the EXCEL spreadsheet. For example, the column serial number from the above SELECT statement is extracted in an Excel column as ---
    <font color="green"><b>123456789</b></font>
    Is there another way to render the column data so that extracted data will not display the HTML tags or is removing the html font color tags from the SELECT statement the only option?
    Thanks in advance.
    Ed

    Hello,
    I have a feeling all your problems are related take a look at this thread. I found it in 10 seconds of searching the forum.
    strange tags
    It's always best to do a quick search first most likely you are not the first person to have this problem.
    Carl

  • How to exlcude HTML Tags from Excel Reports

    Hi Guys
    Within Project Online - OData extract to Excel
    Has anyone found a way to eliminate the HTML tags from Multi Line Text fields within Project Server? I can easily extract the text and generate nice Excel Reports, but the html tag is very annoying in the Excel Reports and it doesn't read easily.
    Any help would be appreciated.
    Marc Soester [MVP] http://marcsoester.blogspot.com

    Marc, 
    What you could do (given that you find the required time and energy to write the lines),
    would be to replace all (!) html characters like here (http://stackoverflow.com/questions/14705605/remove-html-tags-from-cell-strings-excel-formula -
    this is one of the Excel UDF/VB-based solutions, but will not refresh in Excel Services - however there is a good list of what to replace) with PowerQuery.
    That would refresh over a PowerBI subscription in the least..
    -Ville

  • Remove Html tags from export Crystal report Setting i

    Hi,
    I ma using CR 2008, BOXI 3.1 , Oracle
    i)When ever i try to export i export it into CSV format and i am getting HTML tags , how do we remove them
    ii) My second question is; I have a crystal report that is given by my friend and when ever i open it i ma getting a error saying UFL u2lgmt.dll missing .
    i am using a java version ; How to overcome this?

    hi Venkatesh,
    regarding the first question...you need to replace these tags manually in a formula and have that formula on the report instead of the db field.
    e.g.
    stringvar s:= {your field};
    s:= replace(s, '<div>', '');
    s:= replace(s, '</div>', '');
    you'll have to do this for any potential tag in the field unfortunately.
    please post question 2 as a new discussion as per the forum rules.
    cheers,
    jamie

  • Does Html tags interprets by oracle reports 10g?

    Hi everyone,
    I created a tabular style report on a table in which one of the column is like the following
    TEST_TABLE
    test_table_id 1
    test_table_dsc aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbcccccccccccccccccccdddddddddddddddddddddddddd
    when i diplaying this record in the oracle reports i want to break that test_table_dsc column like this
    aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb cccccccccccccccccccccccccccccccccccc dddddddddddddddddddddddddddddddddddd
    i used the HTML "br" tag and set the "contain HTML tag property " to Yes
    Changed the database column like the following aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa "br"
    bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb "br"
    ccccccccccccccccccc "br"
    dddddddddddddddddddddddddd
    It is interpreting some other tags like bold tag "b" and underline tag "u"..But if i put the "br" tag it is not interpreting.It is just showing like that. Is there any other way to do line breaks (according the requirement)
    Message was edited by:
    phani marella
    Message was edited by:
    phani marella

    Hi Phani,
    I just tried with the value specified by you. Here is my report :)
    I have created a report with a formula column which returns following text:
    "<html><body>< i >< b >a< /i >< /b >< br >bb< br >ccc< br >dddd< /body >< /html >" (without double quotes). And I set the field's "Contains HTML Tags" property to Yes.
    And my observations are:
    1. Many times I tried in paper layout, it is simply showing the HTML code, but not parsing the tags. :(
    Now executed the report from browser using http://localhost:889/reports/rwservlet.....
    2. If DesType=HTML, everthing is fine and I got the result as I expected. and the result is displayed below
    <b><i>a</i></b>
    bb
    ccc
    dddd
    3. If DesType=pdf. the result is NOT as expected. And I found only bold < b > and < i > tags are interpreted/parse but no other html tags as specified in help. The output is:
    < html >< body ><b><i>a</i></b>< br >bb< br >ccc< br >dddd< /body >< /html >
    This is same with DesType=RTF.
    Conclusion:
    * Full HTML tags are supported only when you run a report with DesType=HTML and ContainsHtmlTags=YES.
    * When DesType is PDF and RTF only limited HTML tags are supported/parsed. Those are Text Style (bold, italics, underline, and strikethrough) and Text Attributes (font name, font color, and font size) as specified in help (you mentioned the same in above post).
    * Even paper layout supports the same limited tags, but not all HTML tags.
    Cheers,
    Gouri Sankar

  • Oracle Reports: Print HTML tags

    I am reading data from DB that contains HTML tags and would like the tags to be interpreted when the PDF report is displayed. Currently, the HTML tags are being displayed in the report.
    When I output the report as a HTML is tags are interpreted and looks ok.
    How do I convert the HTML tags in the report is displayed as PDF?
    Thanks for your response.

    Ramakrishnan Srinivasan (guest) wrote:
    : I have a requirement to transport a print file created by
    Oracle
    : Reports to a print shop and print the document at this
    facility.
    : I know the type of printer this shop has.
    : The print file I like to create is a Form Letter. I will like
    to
    : know how to achieve this using Oracle Reports.
    : The letter I like to print is a standard letter with some
    custom
    : information on it. I will also like to know if I can create a
    : file consisting of Name, address and other specific information
    : that I want in the letter and merge it at the other end with
    : Word/Word perfect Letter using a WINDOWS 95 supplied batch
    : program.
    : Any other feasible solutions are also welcome.
    : Ram
    Hi Ram,
    You can create a postscript file or a PDF file and give that
    to the print shop for printing. It's pretty easy. Go to the File
    menu, choose Generate to File, and then choose Postscript or PDF.
    Note that Reports will use the driver for the printer to which
    you are connected at the time you generate the file. You may have
    to do some tests to make sure that that printer driver is
    compatible with that of the print shop. I would generate a test
    file from Reports and see if it works with their printer.
    Regards
    The Oracle Reports Team
    null

Maybe you are looking for

  • Only Manual Sync works

    At this moment I only receive new mail if I do a manual sync. Used to be based on push. I use the following settings: Days: Mo, tue etc.. Hours: On all day Sync while roaming: off Disable sync when: Server value (15%)  (whatever that means) Intervals

  • Withholding tax report - electronically?

    In ECC 6, Is it possible to send a data electronically using the Generic Withholding Tax Reporting program (RFIDYYWT)? I dont see any option on the selection screen to do this. Alternatively suppose i want to send the data electonically, how do i do

  • Binary not present in /run after compiling [solved]

    Hello, I'm comipiling john with CUDA support on x86_64. I have cuda-toolkit installed and after adding -L /usr/lib -lstdc++ to the linker flag it looks like it finished without errors. According to INSTALL the binary john should be in ../run/ after h

  • EMAIL SERVER in 11x

    Hello, In 11x, where do we need to set EMAIL Server incase if we forget it to set while configuaration. I have not found fr_global.properties anywhere...Have they changed the location in this new installation Pls let me know Thanks in advance.. Rgds,

  • Lots of problems when exporting widescreen video

    I've had similar problems to this before, but for now I'll just describe my current situation. I shot a bunch of green screen footage in HD using a Canon XH-A1. I captured at 1080p in a 1080p HDV sequence. Everything was shot 16x9 HD using the camera