You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by ma...@accenture.com on 2010/06/08 07:10:17 UTC

RE: Is there any code to convert doc2PDF using POI

HI,

I downloaded OpenOffice exe and install in my local system. If you have or know, please send me the code of PDF converter and configuration steps for OpenOffice. It is very usefull to me. We need to convert to PDF morethan 3000 document dynamically

Thanks & Regards,
Madhusudan Reddy
JAVA | HDC | Accenture
M. No: 9966601155

-----Original Message-----
From: Leigh [mailto:cfsearching@yahoo.com] 
Sent: Friday, May 28, 2010 1:36 AM
To: POI Users List
Subject: RE: Is there any code to convert doc2PDF using POI

> This is the homepage for JODConverter -
> http://www.artofsolving.com/opensource/jodconverter

FYI: There is also a newer version on google code. 
http://code.google.com/p/jodconverter/

> I do not remember having to configure
> JOD so that it was able to locate any of OpenOffice's
> elements; I suspect it is a stand alone solution.

You do need OpenOffice installed to use JOD. 

Though I am not positive, I think JOD incorporates some o/s specific code which checks the default locations for an OpenOffice installation (ie on windows C:\Program Files\OpenOffice.org 3 ..). So as long OpenOffice is installed in the default location, it should be detected automatically (ie without manual intervention).

-Leigh


      


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org




This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information.  If you have received it in error, please notify the sender immediately and delete the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


RE: Is there any code to convert doc2PDF using POI

Posted by MSB <ma...@tiscali.co.uk>.
If you are using JODConverter, the best source of code and support is the art
of solving website itself in my opinion. The people there know far more
about the tool than me.

If you are thinking about using UNO to convert 3000 documents then I would
forget that idea for one very simple reason. Try opening one of those
documents using OpenOffice and see how long it takes and then try converting
that same document - well exporting it - into the pdf format and see how
long that takes. Now, imagine multiplying that by the number of documents
you are dealing with as this is the sort of time you are looking at to
process so many documents with UNO based code. The reason is that using UNO
is very similar to OLE/COM, you are actually controlling an instance of the
application. Whilst you will of course not be seeing the application and
will save the time it takles to paint the screen, it is the case that using
UNO for this process is likely to be very slow indeed. Further, it is quite
a complex process as you will need to download the OpenOffice SDK, integrate
that with your IDE and then write and compile the UNO code using your
language of choice as it supports many different ones. This flexibility adds
complexity however as you request objects from managers, convert them and
then call methods to accomplish the work; not a clean and easy interface to
work with I am afraid.

Yours

Mark B


madhusudan.reddy wrote:
> 
> HI,
> 
> I downloaded OpenOffice exe and install in my local system. If you have or
> know, please send me the code of PDF converter and configuration steps for
> OpenOffice. It is very usefull to me. We need to convert to PDF morethan
> 3000 document dynamically
> 
> Thanks & Regards,
> Madhusudan Reddy
> JAVA | HDC | Accenture
> M. No: 9966601155
> 
> -----Original Message-----
> From: Leigh [mailto:cfsearching@yahoo.com] 
> Sent: Friday, May 28, 2010 1:36 AM
> To: POI Users List
> Subject: RE: Is there any code to convert doc2PDF using POI
> 
>> This is the homepage for JODConverter -
>> http://www.artofsolving.com/opensource/jodconverter
> 
> FYI: There is also a newer version on google code. 
> http://code.google.com/p/jodconverter/
> 
>> I do not remember having to configure
>> JOD so that it was able to locate any of OpenOffice's
>> elements; I suspect it is a stand alone solution.
> 
> You do need OpenOffice installed to use JOD. 
> 
> Though I am not positive, I think JOD incorporates some o/s specific code
> which checks the default locations for an OpenOffice installation (ie on
> windows C:\Program Files\OpenOffice.org 3 ..). So as long OpenOffice is
> installed in the default location, it should be detected automatically (ie
> without manual intervention).
> 
> -Leigh
> 
> 
>       
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 
> 
> 
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Is-there-any-code-to-convert-doc2PDF-using-POI-tp28689969p28814295.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org