Hi,

in a writer document you have many possibilities to protect a XTextRange against writing, one example:

Section -> ChildSection -> TextFrame -> TextTable -> Cell

You can protect one of the sections, the content of the frame, a cell in the table..., and you can nest and combine many of them.

Which approach is recommended to check the status of a XTextRange (e.g. found by a SearchDescriptor-method)?

In other words: I want to get the result of the right corner of the status bar, when the XTextViewCursor is placed in a read-only area.

I started with the XPropertySetInfo, but got trouble, when tables are the first element in a section: The tables anchor has the property "TextSection", but getting the PropertyValue causes a runtime exception.


Regards


Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to