Hi,
I started using your library in order to be able to merge two RTF documents in a single one.
It worked, but the resulting document loose color, list, font formatting and opening it with a normal
text editor I realized that the RTF header was completely missing.
Could you please help me??
Thi is the code I use:
RtfDocument doc = new RtfDocument();
RtfParser parser = new RtfParser();
parser.importRtfDocument(new java.io.FileReader("file1.rtf"), doc);
parser.importRtfDocument(new java.io.FileReader("file2.rtf"), doc);
doc.writeDocument(new java.io.FileOutputStream(path + @"\output.rtf"));