On Wednesday 10 January 2007 10:53, Sebastien Arbogast wrote:
> getDocument().add(new Paragraph("Hello World!", new
> RtfParagraphStyle("TEST", "Arial", 20, RtfFont.STYLE_ITALIC,
> Color.BLACK))); When I run it, here is the exception I get:
>
> Is it a known bug? Is there a workaround? Because I re
On Wednesday 10 January 2007 10:53, Sebastien Arbogast wrote:
> getDocument().add(new Paragraph("Hello World!", new
> RtfParagraphStyle("TEST", "Arial", 20, RtfFont.STYLE_ITALIC,
> Color.BLACK))); When I run it, here is the exception I get:
>
> java.lang.NullPointerException
> at com.lowagie.text.
I'm trying to do something very simple with iText 1.4.8 to generate a RTF
document.
I want to create a paragraph and set its RTF paragraph style name to a given
constant.
Here is the instruction, given that getDocument() returns an instance of
com.lowagie.text.Document:
getDocument().add(new Para