Page 1 of 1

Problem with RTF external file link

Posted: Thu Jul 05, 2007 7:32 am
by cychia
this is my rtf file content:

{\rtf1\ansi\ansicpg1252\deflang1033\ftnbj\uc1\deff0
{\fonttbl{\f0 \froman \fcharset0 Times New Roman;}{\f1 \froman \fcharset134 Times New Roman;}}
{\colortbl ;\red255\green255\blue255 ;\red0\green0\blue0 ;}
{\stylesheet{\fs20\cf0\cb1\ulc0 Normal;}{\cs1\cf0\cb1\ulc0 Default Paragraph Font;}}
{\*\revtbl{Unknown;}}
\paperw12240\paperh15840\margl1800\margr1800\margt1440\margb1440\headery720\footery720\deftab720\formshade\aendnotes\aftnnrlc\pgbrdrhead\pgbrdrfoot
\sectd\pgwsxn12240\pghsxn15840\marglsxn1800\margrsxn1800\margtsxn1440\margbsxn1440\headery720\footery720\sbkpage\pgncont\pgndec
\plain\plain\f1\fs20\ql\loch new\par\f0\cf2{\sslinkpictw1920\sslinkpicth1560{\field{\fldinst INCLUDEPICTURE C:\\\\DOCUME~1\\\\CHIACH~1\\\\LOCALS~1\\\\Temp\\\\MyFiles\\\\Import\\\\CSD1\\\\9BE9BD1CC1B447A79A61F6E98CDB637A.jpg \\d}{\fldrslt}}}\plain\f1\fs20\par\par}


when call InsertRTFFromFileEd, i found the link C:\\\\DOCUME~1\\\\CHIACH~1\\\\LOCALS~1\\\\Temp\\\\MyFiles\\\\Import\\\\CSD1\\\\9BE9BD1CC1B447A79A61F6E98CDB637A.jpg is parsed and finally return only a C: to the OnImportPicture event. I found the problem come after the call to GetFieldCommandValue. I am currently using the latest version of rv.

Posted: Thu Jul 05, 2007 10:19 am
by Sergey Tkachenko
This is a bug of the newest version. It will be fixed in the next update.

Posted: Mon Jul 09, 2007 1:39 pm
by cychia
May I know when will be the next update ready for download?

Posted: Mon Jul 09, 2007 3:02 pm
by Sergey Tkachenko
Tomorrow

Posted: Tue Jul 10, 2007 2:25 pm
by Sergey Tkachenko
Uploaded