Questions tagged [jodconverter]

JodConverter is a API that can remotely use a headless OpenOffice/LibreOffice instance to convert file formats.

JodConverter is a Java API that can submit files via TCP/IP to a headless OpenOffice/LibreOffice instance. It is used for converting formats (example: Word to PDF).

A typical application is a web based application that needs to convert a batch of files submitted on the fly to PDF.

There are two major versions of this application:

The original
A fork, with more advanced features

93 questions
1
vote
1 answer

JodConverter with LibreOffice outputs all letteres as squares after docx-to-pdf conversion

In order to convert docx-files to pdf (or pdf-a to be precise), we are using JodConverter along with LibreOffice. This has been working fine for a week or so, but then suddenly all letters were representet as squares (usually indicating some…
Tobb
  • 11,850
  • 6
  • 52
  • 77
1
vote
1 answer

Converting files in the Play Framework (specifically .doc/.docx to .html)

I'm trying to make a website using the Play! Framework (v2.2.0 & in Java) that keeps homework in a repository for students to browse. I want to allow students to upload .doc/.docx files to the server and have the files get automatically converted to…
1
vote
0 answers

Error while converting doc to pdf using jodconverter

I am using follwing code to convert doc file to pdf using jodconvert library. it working fine some time only, some time it fire error as described below. Code : try{ Runtime rt = Runtime.getRuntime(); Process pSoffice =…
Butani Vijay
  • 4,181
  • 2
  • 29
  • 61
1
vote
2 answers

Issue with JODConverter and running LibreOffice in headless mode

I am using the following code to convert .doc to .pdf using JOD. File inputFile = new File("document.doc"); File outputFile = new File("document.pdf"); // connect to an OpenOffice.org instance running on port 8100 OpenOfficeConnection connection =…
andunslg
  • 781
  • 14
  • 38
1
vote
0 answers

Ant build script/eclipse won't compile with deprecated Jars

I've downloaded this library called JODConverter thats been discontinued, https://code.google.com/p/jodconverter/ and I'm trying to include it in my Java Project in Eclipse. I've right clicked on the project and added the required jars to the build…
Gus
  • 241
  • 1
  • 6
  • 17
1
vote
1 answer

Jodconverter libreoffice OpenOfficeException:could not load input document

I am using JODCONVERTER 2.2 Webapp along with libreoffice headless . And its throwing this error could not load input document They are in the same machine and i am getting this trace , any help appreciated…
nestrocuation
  • 219
  • 1
  • 4
  • 9
1
vote
1 answer

Webservice to convert XLS to PDF

I'm working on a Java applet that produces an XLS file as output. I need to convert it to PDF (or even better PDF/A) before I let the user view, download and print the document, since I need it unmodifyable. I tried coding a solution, and it works.…
Andrea
  • 336
  • 2
  • 9
  • 32
1
vote
1 answer

jodconverter java.lang.ClassNotFoundException

I have installed openoffice and jodconverter on ubuntu 12.04 (64) in order to convert .xls into pdf. I have the same installation on 10.04 (64) working great, however having just built a new machine with freshly installed 12.04, it simply refuses to…
crankshaft
  • 2,607
  • 4
  • 45
  • 77
1
vote
4 answers

JODConverter issues

I am using the JODConverter library V 3.0 Beta 4 along with Open Office 3.4 and am trying to convert some files into PDF/A-1 format. However after the office manager process starts up it simply hang and nothing happens. Here is the output: Jul 26,…
Matthew Pigram
  • 1,400
  • 3
  • 25
  • 65
1
vote
1 answer

Jodconverter on CentOS 6 - "failed to start and connect"

I'm trying to set up jodconverter-beta-4 on a CentOS 6.2 server but after days of trying I cannot get past the point at which I am currently at. I am not a wizard with *nix, so please bear with me if I made some novice mistakes. The components I…
Godwin
  • 9,739
  • 6
  • 40
  • 58
1
vote
1 answer

NoClassDefFoundError in Glassfish :(

I have this issue bothering me for quite something time. I have java app developed using netbeans, and deployed on glassfish 3. This part of the code used to work before but now for some reason it is not working. I am using JODConvertor and i can…
BinCode
  • 633
  • 3
  • 12
  • 22
0
votes
1 answer

JODConverter 3 converter webservice

Has anyone built one of these on a stock Windows Server 2008 r2 ? I only ask because JODConverter 3 doesn't seem to have the web services that v2 had, and the references ot getting them running talk about .jar files which don't seem to exist. If it…
Dycey
  • 4,767
  • 5
  • 47
  • 86
0
votes
2 answers

Java Error on Linux OS

Hello Guys I am trying to figure out why i am gettings this error when I am trying to run this API from Shell on my linux System. [~/public_html/test/]# java -jar jodconverter-cli-2.2.2.jar Amritpal.doc sample.pdf Exception in thread "main"…
Amrit
  • 423
  • 6
  • 22
0
votes
1 answer

docsplit/jodconverter openoffice issue on debian

I'm trying configure docsplit on a debian machine. After installing all of the dependencies I tried running a simple conversion form the command line to make sure it was working. I keep getting the following error with jodconverter: Exception in…
Bcos
  • 135
  • 3
  • 8
0
votes
0 answers

Convert a particulae sheet into PDF

I am using JODConverter to convert an .xlsx file into a .pdf by following this sample code : File inputFile = new File("document.xlsx"); File outputFile = new File("document.pdf"); // Create an office manager using the default configuration. // The…
Tom Ang
  • 31
  • 3