Thanks for the info. I find OOo documentation very confusing.
On 11/1/07, Ariel Constenla-Haile <[EMAIL PROTECTED]> wrote: > > Hi Grover, > > Grover Blue escribió: > > I'm trying to clone a Writer object, but I can't seem to get it to work. > > Every time I request the XCloneable interface, my xClone object is NULL. > > What am I doing wrong? > > If you see the uses of this interface: > > > http://api.openoffice.org/docs/common/ref/com/sun/star/util/XCloneable-xref.html > > you'll see that the service com.sun.star.star.TextDocument does not > support this interface: that why queryInterface returns NULL instead of > a reference. > > You can try loading the component from it's URL and then storing it to a > different one: > > com.sun.star.frame.XStorable : > > http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XStorable.html > > Bye > Ariel > > > -- > Ariel Constenla-Haile > La Plata, Argentina > > [EMAIL PROTECTED] > [EMAIL PROTECTED] > > http://www.arielconstenlahaile.com.ar/ooo/ > > > > "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] > >
