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 "Aus der Kriegsschule des Lebens - Was mich nicht umbringt, macht mich härter." Nietzsche Götzendämmerung, Sprüche und Pfeile, 8. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
