Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

--- On Fri, 6/21/13, Vieri <> wrote:


When I close my document/application with a java macro such
XModel xDocModel = xScriptContext.getDocument();

then the doc and application close but I notice that the
soffice.bin and .exe (Windows 7) are still running as
processes. The bad thing is that if I try to open another
.odt file then it won't show up on screen (I will end up
having several soffice.bin/.exe processes running but no

I've read somewhere that I should use .close(true) instead
of .dispose() but I can't seem to find the .close method in
Java. Any hints?

Anyway, is there anything wrong with .dispose()? 

I found the way to do it with Java:

XCloseable xcloseable = (XCloseable) UnoRuntime.queryInterface(
    XCloseable.class, xDocModel);
try {
} catch (Exception e) {

and it closes the doc/app BUT soffice.bin and .exe are still running when the GUI closes....



To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.