Problem with SaveHtml and SaveHtmlToStream functions in RV

General TRichView support forum. Please post your questions here
Post Reply
Pratik Tiwari

Problem with SaveHtml and SaveHtmlToStream functions in RV

Post by Pratik Tiwari » Wed Aug 31, 2005 11:40 am

Hi Sergey,

When we have any text in RichView in indented fashion as shown below
1. abc
1.1. asd
1.1.1. wwee
1.1.2. xyz
1.1.2.1. qwd
2. asdf

and if I save this as HTML, then I get the output text in Html file as below

1. abc
1. asd
1. wwee
2. xyz
1. qwd
2. asdf

I have tried this with MSWord-2000,
it gives the correct output.

Can you help me out in this situation.

Thanks in advance.

Regards,
Pratik

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

Post by Sergey Tkachenko » Wed Aug 31, 2005 7:22 pm

HTML does not support complex numbering.

It's only possible to export it as a text (and MS Word does it).
TRichView can do it too: include rvsoMarkersAsText in Options of SaveHTML/SaveHTMLEx

Pratik Tiwari

Problem with SaveHtml and SaveHtmlToStream functions in RV

Post by Pratik Tiwari » Fri Sep 16, 2005 5:57 am

When I included rvsoMarkersAsText in Options of SaveHTML/SaveHTMLEx it gave the correct numbering but all other formatting was lost.

The other options which I'm using is rvsoMiddleOnly.

Please help me out.
Thanks in advance.

Regards,
Pratik

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

Post by Sergey Tkachenko » Fri Sep 16, 2005 9:24 am

All formatting is lost if you use SaveHTML. But for SaveHTMLEx, all formatting must be retained (except for the distance between number and the text in the first line)

Post Reply