Hey guys,
can anyone tell me, how to generate RTF files? iText dropped support for this format. And it looks like you can handle RTF files with pure Java. I found the RTFEditorKit. But I couldn’t find any good documentation, that actually tells me, how to use it. I would like to use it as follows.
- Create the document
- add styled text (left/center/right/justify aligned, bold, italic, underlined, font, colors)
- insert page brakes
- read current page number
I don’t know, if RTF supports page headers and footers. If it does, I would like to add them, too.
What is the best way to do this?
Marvin