I'll make a copy of the code available on the wiki before it disappears off the Web.
Now for some info on using OO on a production system: http://www.oooforum.org/forum/viewtopic.php?t=2913&highlight=jurt <summary src="Web, not my experience">OO works well (but is slow), but is not multi-threaded (the communication bridge is).</summary> Quotes from end of 2003: Kai Sommerfeld from Sun wrote: Quote: The answer is not a simple 'yes' or 'no'. It's more: 'partly'. There are parts of the OOo API that are threadsafe, others are not. Newer components are generally threadsafe. Components thare are mainly wrappers for old Office code are mostly not. A main problem is that we cannot state for sure which components are actually thread safe and which are not. It's as worse as I say it here. We're trying to solve the multithreading issues for one of the next major releases of OOo. But this is definitely not an easy task, especially, since rewriting all non-threadaware code is simply not an option because of missing developer resources. Juergen Schmidt from Sun wrote: Quote: If you want to use OO in a safe way you shouldn't use it multi threaded. But we want to improve the server functionality of OO in genral so that your described scenario should be possible. Sorry, but currently you have to workaround this in your own application and you should use OO single threaded. But as i said we are working on this feature. Niklas Nebel from Sun who seem to have success with some code running successfully as multithreaded, wrote: Quote: The document API functions use the SolarMutex, so you should be able to use them from multiple threads without problems (with one call blocking the next, of course). Listener callbacks might be a problem if handled by different threads, but at least for the spreadsheet API I'm not aware of any other problems. Don't forget that every API call over a connection to a running office is "multi-threaded", as the connection is handled by a different thread from office user interactions. sv On Mon, 19 Apr 2004, Magnus Johansson wrote: > Yes I have tried it and it seems to work ok. > I haven't really used it in a production environment > however. > > There was some code here > > http://www.gzlinux.org/docs/category/dev/java/doc2txt.pdf > > it is however not there anymore, Google HTML version is however > avaialble at > > http://66.102.9.104/search?q=cache:549doYEZTD4J:www.gzlinux.org/docs/category/dev/java/doc2txt.pdf+Appending+the+favoured+extension+to+the+origin+document+name&hl=en&ie=UTF-8 > > > /magnus > > > > Anyone try what Joerg suggested here? > > > > http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=6231 > > > > sv > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]