I just want to add a horizontal line in only a specific Section after some
specific paragraphs.
Wouldn't the onParagraphEnd draw a line after each Paragraph (even after
those Paragraphs where no line shall appear)? Maybe I didn't undersand the
paragraphPosition parameter peroperly.
br
Dirk
>
> -------- Original-Nachricht --------
> Datum: Fri, 24 Nov 2006 13:49:34 +0100
> Von: "Bruno Lowagie (iText)" <[EMAIL PROTECTED]>
> An: Post all your questions about iText here
> <[email protected]>
> Betreff: Re: [iText-questions] How to draw a horizontal line at a
> arbitrary psoition?
>
> Dirk Ulrich wrote:
> > Well, that's what I thought: I have to add the chapter to the
> document
> > first before...
>
> No, first you have to add a page event to the writer;
> a page event that implements the onChapter, onSection,
> onChapterEnd and onSectionEnd method.
>
> Then you add the Chapter to the document, and iText
> will call the methods in the event automagically.
> If you implement these methods so that they draw
> a horizontal line, that's what will happen...
>
> See the tutorial for more info on the page event functionality:
>
> http://itextdocs.lowagie.com/tutorial/directcontent/pageevents/#pageevents
>
> 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/