On Friday 19 January 2007 10:51, Sebastien Arbogast wrote:
> 1.[Tab]This is a very long text and when the end of the line comes
> the text is wrapped.
>
> But I would prefer to have the wrapped line aligned with the first one,
> like that:
> 1.[Tab]This is a very long text and when the end of the line comes
>           the text is wrapped.
>
> When I place my cursor right before the beginning of the second line and
> press Tab, I get that very same result. It seems to be what Word calls
> "hanging tab".
> Is there a way to reproduce that feature with iText?
Support for the firstLineIndent property in the Paragraph object has been 
added to the RtfWriter2. This means that using setIndentationLeft and 
setFirstIndentation you can produce paragraphs that look like this:

aaaaaaa
  aaaaaa
  aaaaaa

Greetings,
Mark
-- 
You two ought to be more careful--your love could drag on for years and years.

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpL9IP7owC3p.pgp
Description: PGP signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/

Reply via email to