<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 55: importRtfDocument do not import RTF header </title><link>https://sourceforge.net/p/itextdotnet/support-requests/55/</link><description>Recent changes to 55: importRtfDocument do not import RTF header </description><atom:link href="https://sourceforge.net/p/itextdotnet/support-requests/55/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 16 Mar 2011 16:54:28 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/itextdotnet/support-requests/55/feed.rss" rel="self" type="application/rss+xml"/><item><title>importRtfDocument do not import RTF header </title><link>https://sourceforge.net/p/itextdotnet/support-requests/55/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I started using your library in order to be able to merge two RTF documents in a single one.&lt;br /&gt;
It worked, but the resulting document loose color, list, font formatting and opening it with a normal&lt;br /&gt;
text editor I realized that the RTF header was completely missing.&lt;/p&gt;
&lt;p&gt;Could you please help me??&lt;/p&gt;
&lt;p&gt;Thi is the code I use:&lt;/p&gt;
&lt;p&gt;RtfDocument doc = new RtfDocument();&lt;br /&gt;
RtfParser parser = new RtfParser();&lt;br /&gt;
parser.importRtfDocument(new java.io.FileReader("file1.rtf"), doc);&lt;br /&gt;
parser.importRtfDocument(new java.io.FileReader("file2.rtf"), doc);&lt;/p&gt;
&lt;p&gt;doc.writeDocument(new java.io.FileOutputStream(path + @"\output.rtf"));&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Antonio Santacaterina</dc:creator><pubDate>Wed, 16 Mar 2011 16:54:28 -0000</pubDate><guid>https://sourceforge.netb3ac118a48735c9ace21eeeb9135d3b230e07d45</guid></item></channel></rss>