Hi Jan,


in content.xml of a document containing placeholders you will find an
attribute "text:description" in every placeholder:

....<text:placeholder text:placeholder-type="text"
text:description="reference1">....

you can define this description in the dialog while creating the
placeholder. I don't know how you can get this information through the
API but I would bet it's easy to find if you have already found all
placeholders :).

Perhaps someone on the list will post a snippet .

Cheers
Harald


hi harald,

i  used the synonym "placeholder" in an abstract meaning, unkowing that an
with that name exists ;)
i know the way to set that property, but i feel much better if the
id/reference isn't shown to the user by UI. in your case it's shwon in the
tooltip. but that element is an option, if the worst comes to the worst

but i would prefer a way to get an internal id (OOo-generated) of an
element.

Reply via email to