Hello Ariel,

what I want to do is finding a specific image in a text document. So I
try to put a reference mark on an image. The best would be something
with a caption in addition.
Now I know that a reference mark is a separate text content. I thought,
that I can add a reference mark to a text content.
My question is, how can a set reference marks at images.

regards
Sebastian


>Hello Sebastian,
> >On Thursday 02 April 2009, 10:21, Sebastian Patschorke wrote:
>> How can I get a reference mark from a XTextContent? In the Developer
>> Guide there is the text content constructed out of a reference mark. I
>> need the other direction.
>
>I can get what you're asking. Do you want to access an exisitng
reference mark
>instead of instantiating a new one?
>
>If you simply want to access them:
>
>"They can be accessed by using the text document's
>com.sun.star.text.XReferenceMarksSupplier interface that defines a single
>method getReferenceMarks().
>
>The returned collection is a com.sun.star.text.ReferenceMarks service
which
>has a com.sun.star.container.XNameAccess and a
>com.sun.star.container.XIndexAccess interface. "
>http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Text/Reference_Marks
>
>but I guess this isn't what you asked. If not, please elaborate a
little more.
>
>Regards
>--
>Ariel Constenla-Haile
>La Plata, Argentina


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to