Quoting Michael Puetz <[EMAIL PROTECTED]>:

> hi
> 
> i am working with the html parser and improving this nice feature.
> 
> the problem is that i have no direct access to the paragraph object i
> insert
> into the document.
> 
> what i want to do is to avoid to set the font manually for each paragraph
> and new chunk etc... a implementation of the <basefont> tag or something
> similar is my intention.
> 
> any ideas or suggestions ?!!

What happens if you change HtmlTagMap and set another default font
like is done in this code snippet:
peer = new HtmlPeer(ElementTags.PHRASE, HtmlTags.CODE);
peer.addValue(MarkupTags.CSS_FONT, FontFactory.COURIER);
put(peer.getAlias(), peer);


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to