How to put "Anchors" in RVF documents?

General TRichView support forum. Please post your questions here
Post Reply
vega
Posts: 50
Joined: Fri Oct 26, 2007 6:29 am

How to put "Anchors" in RVF documents?

Post by vega »

I strictly use RichView to export from RVF to HTML.

I need to allow my users to create links internal to the RVF document. In other words, at edit time, ctrl-clicking such a link would jump to the corresponding section in the same doc., just like the HTML ANCHOR tag does.

Obviously, after export to HTML, these internal links should translate for example to "<a href="#chap02">Chapter 2</a>" for the link and to <a name="#chap02"></a> for the target.

How can I let the user enter such anchors in her RVF doc so that they properly translate to HTML?

Thanks in advance, Dan

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

Post by Sergey Tkachenko »

Use "checkpoints".
Their names are saved as anchors to HTML, if you include rvsoUseCheckpointsNames in the Options parameter of SaveHTML/SaveHTMLEx.
Post Reply