When copying the numbered list from MS Word the font for numeration is incorrect. To reproduce this issue create the following list in MS Word:
a) any text
b) any text
c) any text
d) any text
Apply some non-default font (Arial, Courier etc.) to whole list and then copy it in your demo application. The font of items will be the same as you defined, but for numeration will be Times.
Wrong font for numbered list
-
- Site Admin
- Posts: 17555
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Bullets and numbering in MS Word and in TRichView are not exactly the same, so they not always can be imported exactly like in MS Word.
In MS Word, their properties are defined in "list table", then properties of individual list marker can be changed by users.
In TRichView, properties of bullets&numbering are defined only in "list table" (collection RVStyle.ListStyles).
To provide better results on RTF importing, TRichView uses not only RTF list table, but also properties of the first occurrence of list marker for the given list. Currently, only indents and font size are corrected, not font name. Please use MS Word's bullets&numbering dialog (Format | Bullets and Numbering > Customize > Font) to change list font.
Probably, it will be improved in future.
In MS Word, their properties are defined in "list table", then properties of individual list marker can be changed by users.
In TRichView, properties of bullets&numbering are defined only in "list table" (collection RVStyle.ListStyles).
To provide better results on RTF importing, TRichView uses not only RTF list table, but also properties of the first occurrence of list marker for the given list. Currently, only indents and font size are corrected, not font name. Please use MS Word's bullets&numbering dialog (Format | Bullets and Numbering > Customize > Font) to change list font.
Probably, it will be improved in future.