Page 1 of 1

RTF import problem in ScaleRichView

Posted: Thu Mar 05, 2020 12:59 pm
by HAiDA
Hi. I have one RTF that is a problem to import in ScaleRichView (demo is ActionTest.dproj). Same RTF is correctly imported in RichView demo (RVEditDemo.dproj). Usually I have not proble open every RTF in ScaleRichView. What wrong is in this RTF?

Thank you, Pavel

Re: RTF import problem in ScaleRichView

Posted: Thu Mar 05, 2020 4:09 pm
by Sergey Tkachenko
The problem is not in TRichView/ScaleRichView difference, the problem is in styles in this RTF document. They are loaded if UseStyleTemplates = True.

This RTF file has at least one error: paragraph style "Definition term" is based on a character style "page number". It is not allowed: paragraph styles must be based in paragraph styles, character styles must be based on character styles.

How was this document created? Is it possible to correct this error in the document creation application?