https://issues.apache.org/ooo/show_bug.cgi?id=125773

          Issue ID: 125773
        Issue Type: DEFECT
           Summary: Is there  changes in the way that java - UNO -
                    openOffice, work from OO-3.3?
           Product: App Dev
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: api
          Assignee: [email protected]
          Reporter: [email protected]

Hi,

Someone knows if something have change in the way java works with openOffice
(uno) from 3.3 version?

I have a java applet that is capable of working properly with OO-3.3, (starting
an openOffice process with -accept and a port).
The applet opens a document from a database, and listens the save or close
events, in order to submit the document to the data base.

I have rebuilt the applet with the java libraries of the openOffice-4.1.1
instalation, but it doesn´t work properly.

With openOffice (writer), when I edit several documents at the same time, when
I close one of the opened documents, it goes to the database correctly, but
when I try to open another document, it is opened, but windows shows a dialog
with "openOffice has stoped working, Window is checking for a solution", when
it is accepted, openOffice process (soffice.bin) and all the opened documents
desapear.

It seems that it works properly if I only work with only a document, because,
when the applet detects a close event, and there is only a document in the
desktop, the applet closes the desktop (desktop.terminate()). This way the next
time that openOffice will be opened, it will be a fresh instance of the
process. If the applet doesn´t terminate de desktop, the problem described
above will happen.

Before closing the document, the applet free the listeners:
removeCloseListener, removeModifyListener, releaseDispatchProviderInterceptor
and desktop.removeTerminateListener



Is there any example code or a good tutorial that describe this integration
with the new openOffice?

Is there a way to open a complete new instance of soffice.exe and soffice.bin
for each open document?

Is there a way to get the log of what is happening in openoffice when
openoffice crashes?



Thank you very much,

Javi.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to