trichview.com

trichview.support




Re: Trial-1.7.4-questions (e.g. wrong color shown in RTF document)


Return to index


Author

Message

Sergey Tkachenko

Posted: 02/16/2003 17:44:15


1) Set

RichView.RTFReadProperties.TextStyleMode := rvrsAddIfNeeded;

2) Can you send me project reproducing this problem?

For example, ActionTest demo (http://www.trichview.com/resources/actions/)

uses rvoClientTextWidth option without problems.



> Here is example code with first set of problems described:

> "

> {

>   AFAICS this ought to replicate near 100% any loaded RTF document..

>   However, I get wrong color for headings (Blue instead of Black+Bold).

>   Have I missed some property? I have attached 2 demo RTF documents.

> }

> RichView.RTFReadProperties.ParaStyleMode := rvrsAddIfNeeded;

>

> {

>  This seems to "ignore" the vertical scrollbar

>  meaning some text is "hidden" underneath.

> }

> RichView.Options := RichView.Options + [rvoClientTextWidth];

>

> RichView.LoadRTF(myDocumentVar);

> RichView.Format;






Powered by ABC Amber Outlook Express Converter