ColumnText can do it. Set Paragraph.setIndentationLeft(). It won't work
in Document.add().

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of todwith1d
> Sent: Thursday, March 31, 2005 4:00 PM
> To: [email protected]
> Subject: [iText-questions] hanging indent in a Paragraph
> 
> Any suggestions on how to create a hanging indent in a Paragraph?
> 
> *** hanging indent example 
> This is line one, left justified. 
>     This is line two, spaced right. 
>     This is line three, spaced right. 
>     This is line four, spaced right. 
> 
> I can build the Paragraph with any number of Chunks or Phrases but
> have not found a way w/o interfering with the routine that splits (or
> wraps) from one line to the next when out of space on the page.
> 
> It would be ideal if I could catch whatever method was wrapping the
> text as a page event.  Possible?
> 
> I am not using a BaseFont so cannot (I think) measure the width of the
> lines and insert a "\t" on subsequent lines.
> 
> Any thoughts? 
> 
> Thanks, TD
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by Demarc:
> A global provider of Threat Management Solutions.
> Download our HomeAdmin security software for free today!
> http://www.demarc.com/Info/Sentarus/hamr30
> _______________________________________________
> iText-questions mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to