Saving lists to RTF problem

General TRichView support forum. Please post your questions here
Post Reply
ilyalyu
Posts: 2
Joined: Sun Oct 17, 2010 8:46 am

Saving lists to RTF problem

Post by ilyalyu »

The pictures bellow show how lists look like after saving them in RTF format.

Picture 1: ordered and unordered lists in TRichView.
Picture 2: ordered and unordered lists in WordPad (default Windows editor for RTF files) - there are strange tabs that were not present in TRichView.
Picture 3: ordered and unordered lists in OpenOffice - there are no numbers in ordered list and no bullets in unordered list.

Conclusion: after saving in RTF format, lists are not shown correctly in other editors except TRichView.

Image
Image
Image
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

There are 2 ways of storing lists in RTF.
1) Old way, used in MS Word 6 and still used in WordPad.
2) New way, used in MS Word 97 - 2010, and in TRichView.

Try copying bulleted or numbered paragraphs from MS Word to WordPad. You will see the same results: marker is copied as text + tab.
Text+tab is stored as an alternative for RTF readers that do not understand lists.

When you copy between MS Word and TRichView, lists are copy-pasted correctly.
Sorry, I do not plan to implement saving old-style RTF (reading is supported, though).

I do not know why OO dos not read this RTF...
Post Reply