RTF import problem in ScaleRichView

General TRichView support forum. Please post your questions here
Post Reply
HAiDA
Posts: 32
Joined: Mon Apr 11, 2011 12:12 pm

RTF import problem in ScaleRichView

Post 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
Attachments
MDOBX00JS578.RTF
(211.28 KiB) Downloaded 1166 times
Sergey Tkachenko
Site Admin
Posts: 17566
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: RTF import problem in ScaleRichView

Post 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?
Post Reply