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
2
votes
1 answer

JOD Converter not setting up properly

I am trying JODConverter to convert docx file to pdf. I am using LibreOffice 5.3.4. I tried running this code but i am getting an error see this. import org.artofsolving.jodconverter.OfficeDocumentConverter; import…
2
votes
1 answer

Unable to convert .docx to pdf using JODconverter 2. 2.1 with Apache Open Office

Apache Open Office service running on port 8100 Input file is .docx OpenOfficeConnection connection = new SocketOpenOfficeConnection(8100); DocumentConverter converter = new OpenOfficeDocumentConverter(connection); …
Nageshwar
  • 55
  • 1
  • 13
2
votes
4 answers

JodConverter does not support docx file in java

I am using JodConverter to convert my .docx (Microsoft Office) files to pdf but somehow it does not covert and gives me the error.When If I tried to convert .doc documents to pdf then it works fine.I am using maven JodConverter plugin version…
Mubee
  • 57
  • 2
  • 8
2
votes
0 answers

Libreoffice error: duplicate process

I have a project in Primefaces that use LibreOffice funcionalities to convert .odt files into a .docx files. To acomplish that i run the following command to initialize LibreOffice: LibreOffice_HOME/soffice.bin --headless…
tech4
  • 541
  • 2
  • 14
  • 37
2
votes
1 answer

LibreOffice 4.4.3 - Accessing Documents with jodconverter on different server

I´m running a simple Java Application (JDK 1.8). My main goal is to access a document (different formats), convert to PDF and then count the number of pages using PDFClown. I can do it by introducing Documents on directory of my project (on my…
Goldbones
  • 1,407
  • 3
  • 21
  • 55
2
votes
1 answer

JODConverter - PDF to HTML converting to garbage data

Hi I'm trying to use jodconverter 3.0 to convert pdf files to html. The resulting html file contains junk characters meaning the conversion is not succesful. Can some one help me know what's happening. Here is the code snippet: OfficeManager…
2
votes
1 answer

JODConverter & Open Office - Additional Export Options

I was wondering if anyone knew how to add additional export options when converting from a Word document to a PDF using JODConvertor 3 & Open Office. What we want to achieve is to stop users being able to click check-boxes after the conversion has…
2
votes
1 answer

JodConverter throws NoClassDefFoundError

I've a problem with JODConverter , the NoClassDefFoundError.. I'm using netbeans 7.1.2 , jdk 1.7 , jodconverter2.2.2.jar and openoffice 3.3.0.. I'm building a java enterprise application and in the ejb section i'm adding the jodconverter2.2.2.jar…
LyB8899
  • 313
  • 4
  • 14
1
vote
2 answers

Convert HTML page into MS word using java or any API

I want to convert a HTML page into MS word. I want to know what API's will be helpful and also if there is any other option to do the same. The entire page is to be converted into .doc (eg. If there is a table in the html page, a similar table must…
Sunmit Girme
  • 559
  • 4
  • 13
  • 30
1
vote
2 answers

jodconverter doesn't find soffice.bin

I'm trying to use JODConverter on top of jetty and sinatra. Whenever I fire up my Jetty server, which has the sinatra application deployed to it in a war. i get this exception (much cruft removed): java.lang.IllegalStateException: invalid…
Ramy
  • 20,541
  • 41
  • 103
  • 153
1
vote
3 answers

Openoffice3/jodconverter stopped working

I have installed Openoffice.org3 on our server and it's running in headless mode. We use it with jodconverter to convert word and excell files. It used to work fine, but one day it just stopped working and I really don't understand why. When I run…
Martin Tilsted
  • 699
  • 5
  • 10
1
vote
0 answers

issue doc to pdf using jodconverter library in spring-web-flux

I'm encountering an issue while attempting to convert a document to PDF using the JodConverter library in a Spring WebFlux application. Does anyone have any suggestions? "timestamp": "2023-07-14T19:40:59.407+00:00", "status": 415,…
1
vote
2 answers

org.artofsolving.jodconverter.office.OfficeManager is not initializing in wicket

I have upgraded my application from Wicket 1.x to 8.x version. I am facing an issue to convert Excel file into PDF format. Using this below dependencies: net.sf.jodconverter
user3552342
  • 657
  • 1
  • 5
  • 14
1
vote
0 answers

JODConverter: "could not obtain service: com.sun.star.ucb.FileContentProvider"

I write java-application, which show documents as web-pages; to convert it from any format to HTML I use JODConverter and I have some bug: I try to run soffice as service by this procedure: System.getRuntime().exec( "soffice -headless…
strizhechenko
  • 408
  • 2
  • 6
  • 16