Fabian Köster wrote:
Hi Christian,

thanks for your fast answer!

do not use the "-swriter" option and create your own writer document
with loadComponentFromURL and the factory URL for new empty writer
documents "private:factory/swriter".

in basci you would do

oDoc = StarDesktop.loadComponentFromURL("private:factory/swriter",
"_blank", 0, Array())

I tried this but StarDesktop seems to be a StarBASIC-only-variable but I use the Java-Interface. The corresponding Java-class "XDesktop" does not have the mehtod loadComponentFromURL()

query your desktop object for the XComponentLoader interface and see the description of the com.sun.star.frame.Desktop interface

Juergen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to