Issue 109601 - [sw] provide API for getting meta(-field) at cursor position
Summary: [sw] provide API for getting meta(-field) at cursor position
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: programming (show other issues)
Version: OOo 3.2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: mst.ooo
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-25 11:45 UTC by mst.ooo
Modified: 2013-08-07 14:44 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mst.ooo 2010-02-25 11:45:12 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).
Comment 1 mst.ooo 2010-03-09 14:28:50 UTC
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
Comment 2 mst.ooo 2010-03-17 12:23:33 UTC
.
Comment 3 mst.ooo 2010-05-28 11:41:35 UTC
.