trichview.com

trichview.support




Checkmarks inside  tables. how to get CheckPointData . ?


Return to index


Author

Message

del

Posted: 07/06/2002 18:26:21


How can I get Checkpoint data of all Checkpoints in a file (both Checkpoints

inside tables and outside tables) ?


The problem is like this, I implemented checkmark and hyperlinking to those

checkmarks with manipulation of Tags of items and checkmarks. I can also

save the file to HTML/RVF/RTF, and all the bookmarking and  corresponding

hyperlinks are saved into HTML (I am converting the tags to corresponding

html tags at OnURLneeded etc).


It is working perfectly with hyprlinks outside the tables of the file. But

when I create a hyperlink inside a table all info. reg. hyprlinks are lost

and even the text of hyperlinks are not saved into file.


How can I correc the issue.


My code is like this, getting all bookmark info. from the file, so that the

user can select hyperlinks from an Insert hyperlink form.

====

procedure frmXXX.mitInsertHyperLinkClick(Sender: TObject);

  var

    vCPData            : TCheckPointData;

    vTempCPData   : TCheckPointData

   ......

begin

  ....

  vTempCPData := RichEditEmailText.GetFirstCheckPoint; // here I am getting

vTempCPData as NIL.


  while vTempCPData<>nil do

  begin

    ....

  end

....

end;


In the above code I am getting vCPData as NIL.


But when I am using the methodGetCurrentCheckPoint at a cursor position it

is returning the correct CheckPoint data.


thanks in advance.







Powered by ABC Amber Outlook Express Converter