No please note that one single OO-Instance can only handle one single conversion process => OpenOffice can not deal with multiple threads from external. You need to implement a request broker. There are plenty examples out there e.g. one writen in python, ...
Tom Gascoigne Thomas wrote: > Thanks a lot. Just one last thing, I'm assuming that the server will > allow (and handle performantly) multiple concurrent requests to open and > extract text from (different) documents? Cheers, Thomas > > -----Original Message----- > From: Kent Gibson [mailto:[EMAIL PROTECTED] > Sent: 18 May 2006 10:22 > To: dev@api.openoffice.org > Subject: RE: [api-dev] Re: Get a word doc as a java String > > I may be wrong, but no matter what you will need the > server running, the only question is how transparent > it is to you, if you use the bean examples or > something called nice office access (not very well > documented in english though) then the connection > handling is relativley transparent, they will kick > start the server, (but you will probably not be able > to bring it down again. I use macros to do that.) > Otherwise you will need to start the server from hand > listenning to a port. 90% of the effort is getting > that connection and getting that document open. > > --- Gascoigne Thomas <[EMAIL PROTECTED]> wrote: > > >>Cheers Kent, >> >>Just another quick one before I give it a try. To do >>this simple text >>extraction task should it be possible to use an OO >>api in process by >>just including necessary jars or will it required a >>full OO 'server' >>running either locally or remotely? >>Thanks, Thomas >> >> >> >>-----Original Message----- >>From: Kent Gibson [mailto:[EMAIL PROTECTED] >>Sent: 17 May 2006 18:36 >>To: dev@api.openoffice.org >>Subject: Re: [api-dev] Re: Get a word doc as a java >>String >> >>it really won't be too tricky. You will need to >>connect, and then convert your document. There are >>examples for connection and conversion (filters). Be >>sure to look in the java examples directory of the >>sdk. >> >>Be sure to also look on the openoffice snippets >>page, >>there are some bootstrapping classe which will get >>you >>up and runny very quickly. other than that you will >>probably have to be a bit more specific. >> >>good luck >> >>--- Gascoigne Thomas <[EMAIL PROTECTED]> wrote: >> >> >>>Hi, >>> >>> >>> >>>I need to turn MS Word documents into plain text >> >>so >> >>>that they can be >>>indexed for searching purposes. Would the Open >>>Office UNO api provide >>> >>>a relatively straight forward and painless way to >> >>do >> >>>this. I basically >>>need to read word docs in and get a java String >>>representation of the >>>doc out. Any advise greatly appreciated, Thomas >>> >>> >>> >>> >>> >> > ********************************************************************** > >>>The information in this e-mail and any attachment >> >>is >> >>>confidential. >>>It is intended only for the named recipient(s). If >>>you are not a >>>named recipient please notify the sender >> >>immediately >> >>>and do not >>>disclose the contents to another person or take >>>copies. Although >>>Axxia Systems has taken every reasonable >> >>precaution >> >>>to ensure >>>that any attachment to this e-mail has been >> >>checked >> >>>for viruses, >>>it is strongly recommended that you carry out your >>>own virus >>>check before opening any attachment, as we cannot >>>accept >>>liability for any damage sustained as a result of >>>software virus >>>infection. Axxia Systems reserves the right and >>>senders of >>>messages shall be taken to consent to the >> >>monitoring >> >>>and >>>recording of e-mails addressed to axxia.com. >>> >> > ********************************************************************** > >>> >> >>__________________________________________________ >>Do You Yahoo!? >>Tired of spam? Yahoo! Mail has the best spam >>protection around >>http://mail.yahoo.com >> >> > > --------------------------------------------------------------------- > >>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] >> >> > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > 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] > >
signature.asc
Description: OpenPGP digital signature