Tom The DocConverter is mostly a ripoff from DocumentConverter.java in examples/java/DocumentHandeling in the SDK, the only "real" change is the fact that system.exit is not required, I have followed Stephan Bergmann hints on that matter.
The code is too big to fit in the sinppet page, maybe the useConnection() and release() that use a direct reference to the bridge are useful, as that is the way the program can exit without calling System.exit(0) ; I am not quite sure I understand what you refer to as "extension manager". Attached is the jar with the compiled code, hope its useful All the best David D Tom Schindl wrote: > David Dankwerth schrieb: > | Stephan > | > | Many thanks for your help, your direction has helped me produce > | a sample that uses GUI to convert to pdf Office documents using UNO and > | openoffice. > | > | I am attaching the sample and hope it would be useful for other people. > | > | All the best > | David Dankwerth > | ri3k > | > > Hi David, > > maybe this could get part of > http://api.openoffice.org/SDK/example_collection.html which I'm afraid > does not exists yet. The whole thing is too big for our snippet page > (http://codesnippets.services.openoffice.org/) but maybe we should > create a designated part on the snippet-page where we offer > larger-scale examples/complete applications like yours. > > We also discussed this earlier when think about an extension manager but > because nobody really head time we are stuck at the moment. > > Maybe we could also pull out the really interesting parts of your > DocConverter class and create small codesnippets out of them. > > Until then we could maybe integrate the whole into > http://api.openoffice.org/servlets/ProjectDocumentList > > One more hint if you would provide your classes compiled as a jar it > would maybe very easy to integrate in an Java-App. > > Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ________________________________________________________________________ This e-mail and its attachments are confidential. If you are not the intended recipient of this e-mail message, please telephone or e-mail us immediately, delete this message from your system and do not read, copy, distribute, disclose or otherwise use this e-mail message and any attachments. Although ri3k believes this e-mail and any attachments to be free of any virus or other defect which may affect your computer, it is the responsibility of the recipient to ensure that it is virus free and ri3k does not accept any responsibility for any loss or damage in any way from its use.
oosample.jar
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
