Printing the data in "Textarea with HTML editor" item in APEX as pdf

Hello,
I have a requirement which goes like this.
The user enters data in the HTML editor in APEX. All the tools available in the HTML toolbar will be used (eg. bulleted points, tables etc.). This data is stored in a single cell in the database. This data needs to be generated as a pdf for printing. We have Apache FOP installed as well.
When I try to create a report region with this data and export it as pdf, the html tags are not considered. For eg. the table in the HTML editor doesn't appear as a table in the pdf, only the text appears.
Let me know if such a transformation is possible. Also, can any other tool perform this??
Note: The data in the HTML editor may not be in a fixed template. Whatever is entered there has to be converted.
Thanks in advance !!

The strip HTML attribute is set to "No" already. If you understood clearly, I need to convert the entire data in a HTML editor item to pdf. The data is stored in a single cell as HTML tags in the database. The data may inturn contain HTML tables as well. These HTML tables are not captured in the pdf, only the text within the tables are displayed.

Similar Messages

  • Changing the font size does not work with Textarea with HTML Editor

    If you change the font size in the text area of a "Textarea with HTML Editor" item it does not work. I've searched the forum and the only solution I've seen is to use an HTML editor foriegn to APEX. Does anyone have a better solution? Thanks, Elizabeth

    I'm having a similar issue except with HTML Editor Standard.
    What I'm doing is allow someone to write to an HTML Editor Standard field and then an HTML marked up text is saved to a db CLOB column. In another page, I reference this DB column and show it in an HTML Region (I do a computation Before Regions for a hidden item that writes out the html with "htp.p")
    Everything shows up fine EXCEPT the font tags and headings. I'm finding that the HTML Region sets the font size only with the < d i v s t y l e="font-size: large" >and NOT < f o n t size:6 >. When the HTML Editor renders the user's text input, any size changes are made with the < f o n t > tag, which is depreciated anyways, and not with "style". That's why the size is not showing up.
    I can't really figure out why the headings aren't showing up except maybe the css style in the region is overridding it...
    Is there another APEX item type like HTML Editor (which uses FCKEditor) that I can use, or maybe another approach to remedy this issue? Or maybe this post calls for an enhancement with the HTML Editor?{size}{size}
    </div>
    Edited by: maui26 on Mar 4, 2009 10:43 AM

  • APEX - Textarea with HTML Editor.

    All,
    I am working with Application Express Version 2.2.1.00.04
    I have the following problem:
    I have an item "Textarea with HTML Editor" which I am inserting
    information CLOB in a table.
    This data is consulted by a Region Report of APEX which has a Link that
    will be a popup. Inside the report, I use wwv_flow_utilities.URLENCODE
    (here the column is a CLOB) where it gives me the error "ORA-06502:
    PL/SQL: numeric or value error: character string buffer too small".
    I started to investigate which might be the problem and saw that the
    item "Textarea with HTML Editor" usually inserts special characters.
    I show an example of the special character that inserts and which is the
    error.
    SELECT wwv_flow_utilities.URLENCODE(' ')
    FROM dual;
    This character, which is like a space in target, is bringing problems to
    be able to execute the report.
    A provisional solution to solve this problem is to put a REPLACE into
    the Query.
    Has anyone this problem.???? Do you know why this character can be
    inserted??????
    Thx..

    Thanks Dimitri!
    I'm trying to find this place in the application but I don't have enough privileges. Here, we are working with Application Express 2.2.1 and we have to upgrade to 3.1.1.
    In order to improve the behaviour of HTML Editor Standard, I think we should integrate FCK to our application, do you know about any step by step explanation to achieve this? Because I was searching this information in the forums, but I can't find anything. Please, any information you can share with me will be very helpful
    Thanks again!

  • Custom Popup - Passing values back to Textarea with HTML Editor

    I have created a Custom Popup which is to populate a "Textarea with HTML Editor".
    I have found that the Custom Popup works fine if the target item is defined as a "Textarea", or "Textarea (auto-height)", or "Textarea w/Character Counter" (although the counter is not automatically updated), or "Textarea w/Character Counter & Spellcheck", or "Textarea with Spell Checker".
    However, if the target item is defined as "Textarea with HTML Editor" the Custom Popup does not populate the target item. No error message is produced. If the target item already had data, the data is unchanged.
    Is this a known bug?

    "Textarea with HTML Editor" is actually two objects on the screen with javascript keeping the data in the two objects in sync as you type in the editor.
    You have to populate both objects as you try to syncronize the data from your popup.
    I built a screen using dHTML that switches between the HTML Editor and the Text with Spell check and use Javascript to keep the two (actually three objects in sync)
    My button that switches from one view to the other uses the following syntax:
    javascript:setEqual('P9904_HTML_MESSAGE','P9904_MESSAGE','P9904_MESSAGEDiv');
    'P9904_HTML_MESSAGE' is the HTML view of the data with spell check
    'P9904_MESSAGE' is the html editor view of the data
    'P9904_MESSAGEDiv' is the extra object that Oracle uses for the editor
    This is the fuction that keeps the data in sync:
    function setEqual(fromObjectID,toObjectID,htmlObjectID)
    document.getElementById(toObjectID).value = document.getElementById(fromObjectID).value;
    document.getElementById(htmlObjectID).innerHTML=document.getElementById(fromObjectID).value;
    I hope this helps.
    Michael Snyder

  • Textarea with HTML editor is not working

    Hi all,
    This is producing me a real headache.
    I created the simplest application in the world with one Textarea with HTML editor, and the editor control does not show the usual tool bar for fonts, color, alignment, etc. Just a ordinary textarea.
    Moreover, this was working before... I moved to another location in my work (me, not the server). Yes, I thought about the Internet Explorer, but Firefox has the same issue.
    So any idea I can try to make this work?
    I have another applications already in production with the same issue.
    Need help!!!!!!!!!
    Thanks in advance.
    Lukas.
    Application Express 2.1.0.00.39
    Oracle Database 10g Express Edition Release 10.2.0.1.0
    Internet Explorer 7.0.5730.11
    Firefox 1.5.0.11
    Windows XP Service Pack 2
    1 G Ram
    Pentium D CPU 2.80GHz

    Lukas,
    I would go and integrate FCKEDITOR (http://www.fckeditor.net/ ) into your application.
    Here are instructions on how to achieve this (sorry but only in German):
    http://www.oracle.com/global/de/community/tipps/einbinden_fckeditor/index.html
    It basically means:
    1) copying the files from fckeditor under the /images directory
    (you can use the instructions here: http://daust.blogspot.com/2006/03/where-are-images-of-application.html)
    2) creating two shortcuts INCLUDE_EDITOR_SCRIPTS and EDITOR
    3) placing the shortcut INCLUDE_EDITOR_SCRIPTS into the page html header and
    4) placing the shortcut EDITOR into the post element text of your plain textarea element
    That's it.
    BTW, FCKEDITOR has been included in Apex 3.0 as a standard item type.
    Regards,
    ~Dietmar.

  • Use of javascript and textarea with HTML editor

    Hi all,
    I have been trying to use some onchange javascript in the HTML Form Element Attributes of an item which is a textarea with an HTML Editor. It just seems to ignore the code. When you "view source" the code does not seem to be there.
    What I am attempting to do is described in thread: detecting changes to items prior to submitting page
    i.e. to warn a user that if they leave the page without saving they will lose their changes. It works fine with most of the other items on the page i.e. text boxes, select lists but not the textarea with html editor.
    Is there somewhere else I should be putting my js for items of this type? I have spent some time looking through the forum posts but cannot find an answer so far.
    Thanks,
    Brian

    I'm having the same problem.
    Would like to use the onChange event in a textarea with html editor.
    This works in Firefox (where I don't get the html editor but only a textarea) but doesn't seem to work in IE.
    Is there another way of detecting the user has changed the text in the html editor?
    Thanks,
    Pieter

  • APEX - Spelling check and textarea with html editor

    I have an item on the form defines as textarea with html editor. I also need to be able to do spelling check, but the "textarea html editor" only has font features and no spelling check. Is there away to define an item to have both spelling check and font features in APEX? Any response is greately appreciated.
    Thank you,
    MT

    MT,
    No, this is not a supported region type in APEX 3.2.
    You can take a look at jQuery and the number of rich text editors available for it: http://www.queness.com/post/212/10-jquery-and-non-jquery-javascript-rich-text-editors
    Hope this helps.
    Thanks,
    - Scott -
    http://spendolini.blogspot.com
    http://www.sumneva.com

  • Textare with character counter versus textarea with html editor

    Hi
    I am using a textarea with html editor. I need to restrict the user to not type more than 25000 characters? Can someone tell me as to how I can do that?
    I know that one can set the maximum width for textarea with character counter and it prevents one from typing in more than the maximun specified, but I really need to use the html editor. Thanks.
    suni

    This is caused by the charCount javascript function, which dynamically sets the text colour to 'red' when the maximum number of characters is entered, but "resets" it to 'black'.
    Guess the way to avoid this is to create your own equivalent of the charCount function that captures the actual colour from the DOM and attach it to a textarea using the onchange and onkeyup attributes used in the built-in one.

  • How to retrieve the link's label with HTML Editor kit?

    Hi all,
    I need to retrieve the label that is on a HREF html attribute.
    In other words I need to retreive the words "Home Page" from
    this snippet:
    <b>Home Page</b>
    I have found tutorials that show how to extract the link itself
    but not the label ....:-(
    can anybody help me?
    Thanks
    Francesco

    Hi,
    if you have a HTMLDocument you can look into the element structure of this document to find a certain A tag as follows   /**
       * find the next link attribute from a given element upwards
       * through the element hierarchy
       * @param elem  the element to start looking at
       * @return the link attribute found, or null, if none was found
      public static Element findLinkElementUp(Element elem) {
        Element e = null;
        Object linkAttr = null;
        Object href = null;
        while((elem != null) && (linkAttr == null)) {
          e = elem;
          linkAttr = elem.getAttributes().getAttribute(HTML.Tag.A);
          if(linkAttr != null) {
            href = ((AttributeSet) linkAttr).getAttribute(HTML.Attribute.HREF);
          elem = elem.getParentElement();
        if(linkAttr != null && href != null) {
          return e;
        else {
          return null;
      }When this method returns an element, its start and end can be used to extract the link text.
    Ulrich

  • How to print html text created with HTML Editor Standard?

    I would like to print the text I added with the HTML Editor Standard, using advanced printing. I have made up a Word document with a Report Query and a Report Layout, but the text pops up as html text. Also when I use HTML as output the text shows as "p strong hallo /strong /p" (but then with < and >) instead of hallo . I understand what goes wrong, but I am unable to solve it. Is there a way to work around this?
    Thanks a lot, Frits
    Edited by: user3829016 on 10-nov-2009 5:51
    Edited by: user3829016 on 10-nov-2009 5:52
    Edited by: user3829016 on 10-nov-2009 5:53

    Thanks Lilly a lot!
    I forgot about this tag. It helps in my situation.
    P.S. I tried to solve problem with help of tag <pre> in such way:
    some_word<pre>     </pre>some_wordBut it didn`t helped.
    Thank you again

  • I am using window.print() to print the data of my webpage, it prints only first page and left the remaining while it works fine with IE and Google Chrome, ie print all the pages.

    My Page has data more than one page, it has verticle scroll bar to view all data .
    I used window.print() to print the data of webpage, but it prints only first page and left the remaining information.
    This works fine with Internet Explorer 6+ and Google Chrome.

    Does the entire webpage appear in Print Preview? <br />
    File > Print Preview

  • Wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app

    wary about upgrading my wife's 3gs from ios4 to ios6. will the data associated with an app be lost or will it be restored from the backup after the upgrade completes. There is no way to export, email or even print the data contained in the app so I am concerned

    If the backup and restore takes place properly, you shouldn't have any issue as millions of people have done an update from iOS 4.

  • How to print the date the image was taken as a watermark on the image

    I want to print the date the image was taken (available as EXIF-data) as an automatic watermark (or otherwise as a caption ON the photo, and not as a header of a footer above or under the photo). I can't find how to do it. Any help? Thanks!

    The only way you could batch this with out of the box PE is to put in via process multiple files in the editor, but you'd have to manually type it in and can only do one date per batch of files. So you could do all the photos taken on one day in one batch, but not a group taken on different days.

  • How to print the date in Horizontal way in query................

    Hiu2026u2026
    I have created a query using SQVIu2026The output is likeu2026
    Zone | Customer Group | Customer Name | Date | Value(Rs)
    East | ABC/JPR | ABC pvt ltd | 01.08.2011 | 50,000
    West | LMN/Delhi | LMN pvt ltd | 02.08.2011 | 1, 50,000
    South | PQR/Haryana | PQR auto sales p l | 03.08.2011 | 1,00,000
    My problem is i have to print the date in the format like
    Zone | Customer Group | Customer Name | 01.08.2011 | 02.08.2011 | 03.08.11 | 04.08.2011 |..............31.08.2011|
    East | ABC/JPR | ABC pvt ltd | 50000 | 150000 | 100000 | | |
    Thanks&Regards,
    Pranitha.

    Hi Pranita,
    You could try with logic:
    CONCATENATE LINES OF itab INTO warea SEPARATED BY '|'.
    BR
    Dep

  • How can I print the DATE in the Header/Footer but NOT the TIME?

    I know how use page set-up to change the headers and footers. Firefox doesn't give me the choice of printing just the DATE rather than the DATE/TIME. I tried Custom Date and it printed "Date", and not the date. I tried &Date and it print the Date & Time.
    Is there a way to print just the date?
    Sign me
    Midnight Printer

    You want to print them on their own? Can't be done. WIth the photo? Install this
    http://www.iborderfx.com/iborderfx/

Maybe you are looking for

  • WLS 8.1.5  console doesn't show ActiveDirectory (or custom) Users/Groups

    We currently have numerous apps running on a weblogic 8.1.4 portal domain. I am attempting to replicate this domain on 8.1.5. There are four authenticators on our old domain: a DefaultAuthenticator, an ActiveDirectoryAuthenticator, and two Custom Aut

  • EBP PO Dump "GETWA_NOT_ASSIGNED"

    Hi, I have one ESC PO when i am going to approve the order and to see the versions ( Change version  with any other version( Active or Historical) PO is going in to Dump saying that Interpreter Failed The Internet Transaction Server failed to generat

  • Need Information About Java Platform Overview For Manager (WJTB-310)

    Hi, My name is Jeffry. I need information about Java Platform Overview For Manager (WJTB-310). I need Information about table of contents, how long it takes to study that training (approximately), how many chapters are in that training, minimum Inter

  • Why is this taking so long?

    I've been at this for a while now.  Its almost two full days since the official release and I still have over 5,000 songs to upload.  What am I doing wrong? I would like to know what others are experiencing. 21,000 song library On my 2nd official day

  • Pulling GL_ACCOUNT info into Sales Billing Report(based on VDITM)

    Dear all, I want populate profit center(this I can get from mat_plant attribute) and gl_account in the Report. My problem is how do I get the join condition between general ledger data and vditm to get the GL_ACCOUNT for each billing item. anyone any