Hi Chilco

Sorry for not giving complete information.

Below are the details:

I am trying to convert doc/txt/xls/rtf/jpeg formats in to pdf using
OpenOffice. 
I am using Java, Windows.


Now I have overcome the below problems:

1) Opening of documents while it is running(By setting the "Hidden"
property to "true")
2) OpenOffice Threads are not terminating even after main thread
completes.(I have seen one posting in blogs saying that we can resolve
this by maintaing a handle(called as bridge) and releasing after we are
done)


Most of the herdles are resolved.
The main problem is:

** Performance: For me it is taking 2 minutes to convert 6MB document.
I need to bringup the performance. Can you suggest how it is possible?


Thanks 

Suneel




-----Original Message-----
From: A Chilco [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2008 6:48 PM
To: [email protected]; Suneel Gandham
Subject: Re: [users] Need Help for OpenOffice....


Hi Suneel,
I use the 'convert to pdf' macro, downloaded from the OOoMacros web page
to 
convert doc and xls files to pdf. You didn't mention which type of file
you are 
converting, so I'm guessing that that's what you're doing. I use a batch
file 
to run OOo with the file to convert as a parameter. The single command
line is 
below. The environment variable "%OOoProgram%" stores the path to
soffice.exe:
OOoProgram=C:\Program Files\OpenOffice.org 2.4\program\soffice.exe


Contents of Conv2PDF.bat:

"%OOoProgram%" -invisible
macro:///PDFexport.Conversion.ConvertWordToPDF(%1)

---
tc

You appear not to be subscribed to the users' mailing list.  You could
miss many 
of the replies to your post unless you do subscribe.  Just send a blank
message 
addressed to <[EMAIL PROTECTED]> using the e-mail account
through 
which you want to receive it. You will receive a message asking you to
confirm 
your subscription by replying to it. See 
http://support.openoffice.org/index.html for more options.
Subscribing is optional. Be aware that after subscribing, you may
receive many 
messages from the list. Be prepared to set up mail filters in your email
client 
in order to deal with them.


Suneel Gandham wrote:
> Hi 
> 
>  
> 
> I am Suneel. Recently I have started using OpenOffice. 
> 
> I am facing performance problems with OpenSource.
> 
>  
> 
> While converting it is taking more time.
> 
>  
> 
> Ex.  For a files of 8MB it is taking 2 Min.
> 
>  
> 
> How can I improve the performance.?
> 
> Below are the details...
> 
>  
> 
> 1)       I am working under Windows and Java
> 
> 2)       Taking files from a source folder and converting all in to
PDF.
> 
>  
> 
> Also I don't want to have a blink at the time of conversion. Documents
> are opening and closing while conversion is happening.
> 
> How can I stop that ?
> 
>  
> 
>  
> 
>  
> 
>  
> 
> Thanks Inadvance
> 
>   
> 
> V Suneel Kumar Gandham
> 
> Senior Software Engineer
> 
> ArisGlobal Software Pvt. Ltd., Kalyani Magnum, 9th Floor, # 165/2,
> Doraisani Palya, IIM Post, Bannergatta Road, Bangalore 560076, India.
> 
> Tel: + 91 80 6647 4303 Fax: + 91 80 6647 4040 www.arisglobal.com
> <http://www.arisglobal.com/> 
> 
>  
> 
> 
>  Legal Notice: This transmission, including any attachments, is
confidential, proprietary, and may be privileged. It is intended solely
for
>  the intended recipient. If you are not the intended recipient, you
have received this transmission in error and you are hereby advised that
any
>  review, disclosure, copying, distribution, or use of this
transmission, or any of the information included therein, is
unauthorized and strictly
>  prohibited. If you have received this transmission in error, please
immediately notify the sender by reply and permanently delete all copies
of
>  this transmission and its attachments
> 
> 
> 
> 
> 
> 
> 
>
------------------------------------------------------------------------
> 
> 
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 269.24.6/1480 - Release Date:
6/3/2008 7:00 AM


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to