trichview.com

trichview.support.examples




Re: Normalization of RV documents


Return to index


Author

Message

Sergey Tkachenko

Posted: 04/09/2003 16:57:54


Fixed version uploaded


> http://www.trichview.com/support/files/rvnormalize.zip

>

> Contains pas file with procedure for normalization of RichView document.

> It's highly recommended to call this procedure after importing document

with

> TrvHtmlImporter.

>

> {

>   Call:

>     NormalizeRichView(rv.RVData);

>     rv.Format;

>

>   This procedure does not update undo/redo buffer in editor, so

>   it must be called before the first editing operations after clearing

>   and creating/loading document.

>

>   This procedure:

>   - fixes incorrect "new line" flags

>   - fixes paragraph consisting only with list markers without items

>   - fixes incorrect ParaNo assignment

>   - removes empty text items (from places where they should not be)

>   - combines adjacent text items of the same text style and tag

>   So, this procedure fixes issues 1-3 and 5-7 listed in the help topic

>   "Valid Documents"

> }

>

>





Powered by ABC Amber Outlook Express Converter