Our application uses both WPTools 5.x and Microsoft Word (2003 at the moment) to edit certain texts. In this particular case, Word is used for editing and WPTools is used inside the application to view the actual text.
Whenever such a text is changed in Word, we use WPToolsRTFToANSI to store the ansi text for use by some external report tool. The problem is that the resulting string contains style format names (or whatever they are called in Word)
If I create the following 3 paragraphs in Word and applies some format
paragraph1 <-- with "header1" format
paragraph2 <-- with "header2" format
paragraph3 <-- with "header3" format
and feeds the resulting RTF to WPToolsRTFToANSI gives
heading 1; heading 2; heading 3; heading 4; heading 5; heading 6; NormalRubrik; 1 Paragraf1!
1.1 Paragraf2
Paragraf3
So the question is - is RTFproduced from Word not supported, am I doing something wrong or is this a bug?
(WPTools version 6.07 gives the same result btw).
Regards
patrik.nyborg(a)genicore.se