WPCubed Product Support

FEDPOL #83 - RTF document info not read correctly

If you load following RTF documents and look inside the RTFVariables stringlist then you will see that something went wrong, not all the information is there.

{\rtf1{\info{\*\title A}{\*\subject B}{\*\author C}{\*\manager D}{\*\company E}{\*\category F}{\*\keywords G}{\*\doccomm H}}BODY}
{\rtf1{\info{\title A}{\subject B}{\author C}{\manager D}{\company E}{\category F}{\keywords G}{\doccomm H}}BODY}
#1 ♥ 0
4.2k Views 2 users read 1 min
support

Hi,

forgot to implement the fix for this,

in unit WPIOReadRTF look for

else if ch = Integer('*') then
...
currTag := FindKeyword;

and add this code:

if (currTag <> nil) and currTag.UseDefaultValue then
keyvalue := currTag.DefaultValue;

thats all.

Julian

#3 ♥ 0
This category is archived. No new posts are possible.