how to implement that user can protect they selected text?
Posted: Fri Apr 06, 2012 2:03 pm
I need such function:
User can select the text and to set those text can not be deleted (delete protected).
I search richview help doc, I know how to protect the item by itemNo, but could not found how to do with user selected text. I thought need to split the select text from origin item(for example, first character of selected text is not begin at item), and apply those new item protect style.
how to split those item? I thought insert checkpoint can do,but I know that is not best solution.
another question. if user do that many times , the doc will have more fragment item. how to avoid more fragmented document?
User can select the text and to set those text can not be deleted (delete protected).
I search richview help doc, I know how to protect the item by itemNo, but could not found how to do with user selected text. I thought need to split the select text from origin item(for example, first character of selected text is not begin at item), and apply those new item protect style.
how to split those item? I thought insert checkpoint can do,but I know that is not best solution.
another question. if user do that many times , the doc will have more fragment item. how to avoid more fragmented document?