Cool The Breezer wrote:
> Hi,
>    I am trying to find out how to add a before starting of a paragraph and 
> after the paragraph. Like hr tag.

Either use a line separator:
http://1t3xt.info/examples/browse/?page=toc&id=367

Or use page events, not onGenericTag, but onParagraph and 
onParagraphEnd. You can turn the behavior on/off using a member variable 
you can set to true/false in your page event implementation.
-- 
This answer is provided by 1T3XT BVBA
http://www.1t3xt.com/ - http://www.1t3xt.info

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to