LarsB OOo Advocate


Joined: 31 Aug 2005 Posts: 445 Location: Hamburg, Germany
|
Posted: Tue Feb 28, 2006 12:00 am Post subject: What's wrong with dispose |
|
|
Hi,
what's wrong with the dispose method? If you start your conversation first
the OpenOffice process will be started, and even if you close resp. dispose
the converted document the process won't be killed and the next start
will be much more faster then the first one. So in sum, you only lost some
execution time during the first start. Or do you need this bevahior anyway?
If yes, you could load the document into the existing current frame. OpenOffice
will then don't shut down, it will only close the current document and load
the new one into the existing frame. If this an option for you. You should give
your frame unique names and call the loadComponentFroUrl with this frame
as target frame. See the description of loadComponentFromUrl details.
Hope this help you out.
Cheers,
LarsB _________________ AODC - A free OpenDocument Converter
AODL - An independent OpenDocument Library C#
EmbeddedOpenOffice .net UserControl C#
EmbeddedOpenOffice Visual Studio .net Add In
http://www.OpenDocument4all.com/ |
|