Hi Oliver,
Oliver Specht schrieb:
Hi,

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.
There is no direct access to the protection/readonly status using the API.
It shouldn't be too hard to add this at least to the ViewCursor. Please file an issue for it and assign it to me (os).

Done, http://www.openoffice.org/issues/show_bug.cgi?id=91003

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.


The table anchor is not a real XTextRange as the related core position is not selectable with a cursor. There's an issue around but ATM I don't know the id.

The table has a property "TextSection" itself, so no need for the anchor. What is missing, is a property "TextFrame" to get the surrounding context, filed http://www.openoffice.org/issues/show_bug.cgi?id=91005 for that.


Regards, Peter


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

Reply via email to