We generate a lot of .rtf files. As it is a native format, MS Word handles
them fine. However, on our main development system we have used OO Writer
instead of Word. Today I noticed that Writer loads and interprets the rtf
file OK but then screws it up if saved to it's original RTF format.
Reloading the saved file doubles up the links, loses the 'target="dynamic"'
(which forces a new window for the link) and screws up the fonts. See the
before and after raw RTF results in the attachment. The "before" line is as
we originally generate it and the "after" line is what it looks like after
saving to .rtf and reloading the file. It seems odd to us that with no
changes to the file if would be modified by Writer on saving to the same
format.
Fortunately, if we save the original rtf file to a XP .doc format, OO
preserves the correct formatting and on reloading it looks the same.
Jerry
As generated:
\pard\ql\f0\fs18\sl18\b\i0\ul0\strike0\nosupersub {\field\fldedit{\*\fldinst {\fs18 HYPERLINK "http://www.billtrak.net/isapi/textvers214.dll/?doc=Bill100525&bill=A-10&clid=264&uid=JERRY" target="dynamic"}}{\fldrslt {\cs16\fs18\cf2 A-10}}}{\fs18\cf1 } Oliver, S.Y. (D-34); Cryan, J. (D-20)\par
As saved by Writer:
\pard\plain
\ltrpar\s1\cf0\sl18\slmult0\rtlch\af0\afs20\lang1033\ltrch\dbch\af0\langfe1033\hich\f0\fs20\lang1033\loch\f0\fs20\lang1033{\field{\*\fldinst
HYPERLINK
"http://www.billtrak.net/isapi/textvers214.dll/?doc=Bill100525&bill=A-10&clid=264&uid=JERRY"
}{\fldrslt \*\cs17\cf5\ul\ulc0\rtlch\ltrch\dbch\hich\loch{\rtlch
\ltrch\loch\f0\fs20\lang1033\i0\b0{\cf4\rtlch\ltrch\dbch\hich\fs18\b\loch\fs18\b {\*\bkmkstart
DDE_LINK}A-10}}{\rtlch \ltrch\loch\f0\fs20\lang1033\i0\b0}}{\rtlch\ltrch\dbch\hich\fs18\b\loch\fs18\b
Oliver, S.Y. (D-34); Cryan, J. (D-20)}}
\par
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]