To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=63270





------- Additional comments from [EMAIL PROTECTED] Fri Mar 17 06:30:10 -0800 
2006 -------
I try to explain better what my macro does:
First of all it loads a blank document and creates headers,footers and sections.
Then it imports about 20 rtf files and before everyone it creates a table with 4
column and 1 row.
Then the macro inserts about 2-5 images (anchored at paragraph or as character)
Finally, the macro replaces some string in the document, and then save and close
the document.
However the document is generated correctly even though the error.
The soffice process is started before the macro run, with the parameter
-headless and -minimize; during the execution of the macro, the document appear
on the display.
I have the same error also with OOo2.0.2.
With this changes to the code:
...
               // xModify.setModified(false);
                com.sun.star.util.XCloseable
xCloseM=(com.sun.star.util.XCloseable)UnoRuntime.queryInterface(
                        com.sun.star.util.XCloseable.class,xModel);
                com.sun.star.util.XCloseable
xCloseC=(com.sun.star.util.XCloseable)UnoRuntime.queryInterface(
                        com.sun.star.util.XCloseable.class,xComponent);

                try {
                    xCloseM.close(true);
                    xCloseC.close(true);
                }
                catch  (com.sun.star.util.CloseVetoException exCloseVeto)
                {
                     exCloseVeto.printStackTrace();
                }

...
I obtain a DisposeException and that, in case of error, the office goes down,
but don't crash..


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to