Page 1 of 1

Problem with SaveHtml and SaveHtmlToStream functions in RV

Posted: Wed Aug 31, 2005 11:40 am
by Pratik Tiwari
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

Posted: Wed Aug 31, 2005 7:22 pm
by Sergey Tkachenko
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

Problem with SaveHtml and SaveHtmlToStream functions in RV

Posted: Fri Sep 16, 2005 5:57 am
by Pratik Tiwari
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

Posted: Fri Sep 16, 2005 9:24 am
by Sergey Tkachenko
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)