Could you, please, play around with my example sent to you yesterday?
When I add a Section to the mainChapter (without indentation) and then add
a Section to the just added Section with an indentation, negative values
bcome positive values and vice versa.
Paragraph conditionTitle = new Paragraph("Conditions", chapterFont);
Section sec = mainChapter.addSection(conditionTitle);
// This causes an indentation to the left (lowering the left margin) !!!???
Section conditionSection = sec.addSection(20f, "Condition section");
// This causes an indentation to the right (enlarging the left margin)
!!!???
Section conditionSection = sec.addSection(-20f, "Condition section");
...
Why does this happen?
I am using itext.jar downloaded yesterday.
Regards
Dirk
>
> -------- Original-Nachricht --------
> Datum: Wed, 06 Dec 2006 15:13:33 +0100
> Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]>
> An: Post all your questions about iText here
> <[email protected]>
> Betreff: Re: [iText-questions] Indentation of Sections
>
> Dirk Ulrich wrote:
> > Again you answered my question before I asked. :-)
>
> I'm not psychic, but I have been on this mailing list
> for a very long time ;-)
> br,
> Bruno
>
> -------------------------------------------------------------------------
> 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/
>
--
Mit freundlichen Grüßen
Dirk Ulrich
Jansenstraße 21
13437 Berlin
fon:0++49-(0)30-40 999 087
mobil:++49-(0)174/948 87 39
"Ein Herz für Kinder" - Ihre Spende hilft! Aktion: www.deutschlandsegelt.de
Unser Dankeschön: Ihr Name auf dem Segel der 1. deutschen America's Cup-Yacht!
-------------------------------------------------------------------------
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/