Apache OpenOffice (AOO) Bugzilla – Issue 109601
[sw] provide API for getting meta(-field) at cursor position
Last modified: 2013-08-07 14:44:07 UTC
currently it is not possible to find out if a cursor is inside of a meta(-field) via the writer UNO API. there probably should be a cursor property. because meta(-field)s may be nested, this property could be a sequence; or the meta(-filed) needs a property to retrieve a parent meta(-field).
1. added a cursor property "NestedTextContent" 2. the meta(-field) implementation support the css.container.XChild interface to get the parent fixed in cws odfmetadata4: http://hg.services.openoffice.org/hg/cws/odfmetadata4/rev/8eabb6f06656 http://hg.services.openoffice.org/hg/cws/odfmetadata4/rev/d6a2642094ae http://hg.services.openoffice.org/hg/cws/odfmetadata4/rev/246fbbe011aa http://hg.services.openoffice.org/hg/cws/odfmetadata4/rev/53b82eb8fc09
.