Hi All,

I want to add an HTML fragment as content of a Chapter and/or Paragraph.

I managed to get the HTML written to the PDF by using the HtmlParser class,
however that inserts the text directly in the document as opposed to
inserting it at the correct place in the Chapter/Paragraph.

For clarity: my idea is the following:

************** START

Chapter 1

This is some text as inserted in the chapter by Chapter.addSection(...)

This is some text as inserted by Chapter.addHTMLSection(...)

This is some text as inserted in the chapter by Chapter.addSection(...)


************** END

Is this possible? And if not, what would be the easiest way of changing the
code of the library so that it is possible?

Thanks for your replies,

Michiel de Vries.
---
Compuware OptimalJ - www.optimalj.com


-- 
The contents of this e-mail are intended for the named addressee only. It
contains information that may be confidential. Unless you are the named
addressee or an authorized designee, you may not copy or use it, or disclose
it to anyone else. If you received it in error please notify us immediately
and then destroy it. 



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to