Problem with RTF external file link

General TRichView support forum. Please post your questions here
Post Reply
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Problem with RTF external file link

Post 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.
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

This is a bug of the newest version. It will be fixed in the next update.
cychia
Posts: 104
Joined: Mon Jan 16, 2006 1:52 am

Post by cychia »

May I know when will be the next update ready for download?
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Tomorrow
Sergey Tkachenko
Site Admin
Posts: 17564
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Uploaded
Post Reply