Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Paragraph object when creating PDF from XML

Bruno

2007-07-12

Replies:

Sushil Vegad wrote:
> Hello,
>
> I am creating pdf form xml and I need to indent the paragraphs. How can
> I do this?

Looking at the iText source code, it should work.
I should test this and try to reproduce the problem.
I can't tell you when I'll have the time to do this.

> Alternatively, I used a PdfPageEventHelper, but I can’t figure out how
> to get the paragraph object in the onParagraph method.

The onParagraph method is there to retrieve information
(for instance: at which coordinate the paragraph starts).
It's not something you can use to change the indentation.
br,
Bruno

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.