This service seems to be an "internal" service that is not
instantiatable without a certain context. I assume that you can
instantiate it only with the XMultiServiceFactory interface of a text
document, but not from the general service manager you either received
or bootstrapped. Such services very often are just UNO wrappers around
some C++ classes bound to other C++ classes so that these services are
not exchangeable.

Can you explain why you wanted to extend this service?


i want to write an addon which is similar to known mailmerge-scenarios.

the user can add a placeholder via an basic dialog into an textdocument.
this placeholder has the following properties:
- a displayed value
- an expression which selects the value in an datasource
- some other conditions, like repeatable, inserted value if value isn't
present in the datasource, ...

this properties must be stored persistent IN the document.
the placeholder have to be unmodifiable by the user directly
if the user (double-)click on the placeholder an edit dialog should be shown

i have a resolution for the most of this cases. i can also store the
properties of the placeholder in the document in different ways, but i need
a way to reference the placeholder, like an id.

is there an undocumented way to get an document-wide, unique identifier of
an text-element?

regards

jan

Reply via email to