Generate PDF by OpenOffice, connect very slowly

Discussions about using 3rd party extension with OpenOffice.org

Generate PDF by OpenOffice, connect very slowly

Postby hellin » Mon Jul 01, 2019 7:39 am

Generate pdf file by java source connecting OpenOffice Converter, Connect procedure is very slow。java source as follow on Suse 11,
see attachment.
Code: Select all   Expand viewCollapse view
import com.artofsolving.jodconverter.DefaultDocumentFormatRegistry;
import com.artofsolving.jodconverter.DocumentFormat;
import com.artofsolving.jodconverter.openoffice.connection.OpenOfficeConnection;
import com.artofsolving.jodconverter.openoffice.connection.SocketOpenOfficeConnection;

...

connection = new SocketOpenOfficeConnection(ipAddr, port.intValue());
connection.connect();
Attachments
openofficeHT.zip
open it via wireshark
(69.54 KiB) Downloaded 96 times
OpenOffice 3.1 on Windows Vista
hellin
 
Posts: 2
Joined: Mon Jul 01, 2019 5:43 am

Re: Generate pdf by OpenOffice, connect very slowly. How c

Postby Zizi64 » Mon Jul 01, 2019 7:58 am

OpenOffice 3.1 on Windows Vista

Are you using that old, osolete version?
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.6 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.2.4; AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 8056
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Generate pdf by OpenOffice, connect very slowly. How c

Postby hellin » Mon Jul 01, 2019 8:00 am

thanks. OpenOffice 4.14, the same problem on Suse 11
OpenOffice 3.1 on Windows Vista
hellin
 
Posts: 2
Joined: Mon Jul 01, 2019 5:43 am

Re: Generate pdf by OpenOffice, connect very slowly. How c

Postby Bidouille » Wed Jul 03, 2019 2:15 pm

Maybe a JRE issue?
User avatar
Bidouille
Volunteer
 
Posts: 259
Joined: Mon Nov 19, 2007 10:58 am
Location: France

Re: Generate pdf by OpenOffice, connect very slowly. How c

Postby Villeroy » Wed Jul 03, 2019 3:07 pm

Why not using a virtual PDF printer? I guess, the source format is some flavour of Microsoft Office. Install the MS Viewers for these file formats and write a batch script to open MS files with MS programs and let them print to a virtual PDF printer. The MS Viewers are no longer downloadable from microsoft.com but I'm sure you will find them somewhere.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04, no OpenOffice, LibreOffice 6.x
User avatar
Villeroy
Volunteer
 
Posts: 26853
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany


Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest