trichview.com

trichview.support




Re: TRVOConverter.ImportRV  kill hyperlinks !


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/18/2004 21:09:28


For office converters, the same rules work as for RTF import.

You need to write code to store hyperlinks in tags.


1) Include rvoTagsArePChars in rv.Options

2) Process OnReadHyperlink event:


procedure TfrmMain.rveReadHyperlink(Sender: TCustomRichView; const Target,

  Extras: String; DocFormat: TRVLoadFormat; var StyleNo, ItemTag: Integer;

  var ItemName: String);

begin

  ItemTag := Integer(StrNew(PChar(Target)));

end;


>

> When using TRVOConverter.ImportRV to import a MSword Doc, I hyperlinks are

> not correctly imported.

>

> Do you have a workaround for this prob ?

>

> Thanks.

>





Powered by ABC Amber Outlook Express Converter