Generate PDF by OpenOffice, connect very slowly

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
hellin
Posts: 2
Joined: Mon Jul 01, 2019 5:43 am

Generate PDF by OpenOffice, connect very slowly

Post by hellin »

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

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 326 times
OpenOffice 3.1 on Windows Vista
User avatar
Zizi64
Volunteer
Posts: 11360
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

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

Post by Zizi64 »

OpenOffice 3.1 on Windows Vista
Are you using that old, osolete version?
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
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.
hellin
Posts: 2
Joined: Mon Jul 01, 2019 5:43 am

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

Post by hellin »

thanks. OpenOffice 4.14, the same problem on Suse 11
OpenOffice 3.1 on Windows Vista
Bidouille
Volunteer
Posts: 577
Joined: Mon Nov 19, 2007 10:58 am
Location: France

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

Post by Bidouille »

Maybe a JRE issue?
User avatar
Villeroy
Volunteer
Posts: 31279
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

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

Post by Villeroy »

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 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Post Reply