Focal Point
[CLOSED] Render HTML tags in PDF document created by Composer

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/771109215

August 20, 2010, 05:24 PM
Emily Max
[CLOSED] Render HTML tags in PDF document created by Composer
Hello,
My coworker and I are trying to create a PDF report in the Document Composer and one section of the report is large amounts of user entered text that lends itself perfectly to an HTML Table, while other parts of the report need to be created in PDF. Is there any way to render an HTML table or a standard unordered list (via HTML tags) in a PDF document that is created by Composer?

The first part of the document needs to be in an outline format with indented bulleted list in the first column, and list of data in the second column, but the rows need to line up with related information. Such as:
<TABLE BORDER=ON> <tr VALIGN=TOP ><td>1. Main Point 1<UL>[*]bullet point  This might be long text and could possibly need to word wrap[*]bullet point </UL></BR></td><td> Key  1</BR>Key 2</BR>Key 3</BR></td></tr> <tr VALIGN=TOP ><td>2. Main Point 2  this might be long text and could possibly need to word wrap<UL>[*]Bullet point 1[*]Bullet Point 2 [*]Bullet Point 3</UL></BR></td><td> Key  1</BR>Key 2</BR></td></tr>  </UL></BR></td><td> </td></tr>  </UL></BR></td><td> </td></tr></TABLE>



We have tried creating an &variable string with HTML code using tags, and then putting the &variable in a text box on the Composer. The composer is not recognizing the table tags, and is rendering the li tags incorrectly when the text needs to wrap.

We would appreciate any assistance you could give us, or ideas of different ways to approach this.

Thank you,
Emily & Gentre

This message has been edited. Last edited by: Kerry,


WF 8.1.05 on Windows machines
Backend: Informix, SQL and Oracle databases
This link Support for Markup Tags (click on the sub-link "Markup Tags for a Text Object") describes using MARKUP=ON with OBJECT=STRING to format text in a PDF document with HTML tags, including bullet lists. There is an example near the bottom of the topic.

This message has been edited. Last edited by: Dan Satchell,


WebFOCUS 7.7.05
Thank you Dan. We had read that document, and used the MARKUP=ON in the OBJECT=STRING tags; however the table tags aren't rendering correctly, and the bullet list creates a bullet for each line when the text word wraps, even though the text is only encased in one LI /LI tag set. Does the string object only accept a limited amount of HTML tags?

Thank you so much for your assistance.
- Emily


WF 8.1.05 on Windows machines
Backend: Informix, SQL and Oracle databases