I want to walk through the paragraph and work directly with charters and their styles.
Also there is a need to change the characters and their styles; delete or add charders.
how to access to every charter of para?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
A TRichView document consists of items numbered from 0 to ItemCount-1.
If GetItemStyle(ItemNo) returns 0 or positive value, this is a text item. You can get its text using GetItemText(ItemNo). This item starts a new paragraph if IsParaStart(ItemNo)=True.
More info: http://www.trichview.com/help/idio_rich ... rview.html
As for changing, it depends on whether you need to make this operation undoable or not.
If GetItemStyle(ItemNo) returns 0 or positive value, this is a text item. You can get its text using GetItemText(ItemNo). This item starts a new paragraph if IsParaStart(ItemNo)=True.
More info: http://www.trichview.com/help/idio_rich ... rview.html
As for changing, it depends on whether you need to make this operation undoable or not.