when I open a doc with xComponentLoader.loadComponentFromURL(filename, "_blank", 0, null) in Java, what is the right way to close it really??
I tried it with document.dispose() and I tried it with
Code: Select all
XCloseable xClose = (XCloseable)UnoRuntime.queryInterface(XCloseable.class, document);
xClose.close(true);
Can anybody give me some help?
thank you
Stephan
Code: Select all
mysystem: debian6, openoffice3.2., sunjava6
startoo with:/usr/bin/soffice -invisible -nologo -nofirststartwizard -norestore -accept="socket,host=127.0.0.1,port=8100;urp"