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 & LibreOffice: convert doc to html with embedded images

I'm converting doc/docx files to html with JODConverter library(4.2.2) and LibreOffice (6.2). What I need is to save images as embedded in html file, but by default it saving in separate files. In order to do that with LibreOffice command line…
hujakhujak
  • 28
  • 1
  • 5
1
vote
1 answer

Open Source libraries for PDF to image conversion

Possible Duplicate: Export PDF pages to a series of images in Java Please suggest some good java libraries which can be used for a PDF file to image conversion. I tried using PDFBox: http://pdfbox.apache.org/ but after conversion to image most of…
JAVA JUNKIE
  • 11
  • 1
  • 3
1
vote
2 answers

Fonts problem with OpenOffice + jodconverter

I´m using staroffice9 as service in a Solaris. With a Java aplication, with jodconverter-2.2.2, trying to convert a doc into a PDF, the PDF generated shows with wrong chars, and seems Fonts are not included. Opening with Adobe Reader, it say "Fonts…
maiky_forrester
  • 598
  • 4
  • 19
1
vote
1 answer

Should I create a new spring-boot starter or use optional dependencies?

I'm currently maintaining a fork of the jodconverter project which offers a spring-boot-starter module, allowing a spring-boot based app to use an Open/Libre Office installation (on the same server) to automate document conversions. Now, the project…
sbraconnier
  • 465
  • 5
  • 11
1
vote
2 answers

CPU Utilisation 100% while using OpenOffice4

I'm trying to convert documents(.docx/.xlsx/.pptx) to PDF using JOD Converter. I'm using OpenOffice 4.1.2 on Centos 7. My problem is, I'm getting constant CPU usage of 100% while i'm converting the file, and this is impacting the performance of…
Geek
  • 1,369
  • 1
  • 14
  • 25
1
vote
0 answers

Convert RTF string to HTML String using Java

I tried using the simple EditorKit option, but that doesn't seem to support all the RTF formats. So I turned into using either Tika,JODConverter or POI. As of now I managed to make it work with JODConverter and openOffice by using this …
sharon gur
  • 343
  • 5
  • 22
1
vote
1 answer

doc to docx conversion using JODConveter failing with errorCode: 2074

I need to convert doc to docx for which I am using JODConveter (OpenOffice), but unfortunately my code is breaking with error code 2074. Can anyone throw more insight into what this errorCode means and how i can fix it. My code is shared below…
Aman Bharti
  • 17
  • 1
  • 7
1
vote
1 answer

JOD Converter to pdf API doesn't know docx?

I realize that jodconverter has been derelict for a while now, but people are still reporting it as the tool to be used for docx to pdf conversions. I'm trying to get it working in my Clojure app for converting some template docx. From the…
Webdev Tory
  • 435
  • 3
  • 13
1
vote
0 answers

Open office convert hmtl to pdf with border

i have the following html

test1

test2

and convert it to pdf with the open office lib
wutzebaer
  • 14,365
  • 19
  • 99
  • 170
1
vote
1 answer

java.lang.NoClassDefFoundError: com/sun/star/lang/XEventListener

I am using pdfbox(pdfbox-app-2.0.0-RC3.jar) to convert any file to .pdf file. I am also using jodconverter-2.2.1.jar library. Code I wrote (following this): import com.artofsolving.jodconverter.openoffice.connection.*; import…
partho
  • 1,101
  • 2
  • 21
  • 37
1
vote
2 answers

JODConverter error android

This is particularly a new question on stackoverflow. I want to know how to make file conversions on android using Jodconverter library. I see a lot of examples and questions but all are based on java and not answering android specific questions not…
Abhishek Singh
  • 415
  • 1
  • 12
  • 24
1
vote
0 answers

How to not connect to a running instance of LibreOffice Server

I am able to use LibreOffice headless server for file conversion in my application but my problem is concurrency. I am using JODConverter as a Java API for connecting to the LibreOffice server using my java code. If one user is using the LibreOffice…
Abinash Kumar
  • 331
  • 1
  • 2
  • 15
1
vote
1 answer

JODConverter Page Orientation

I'm using JODConverter to convert my office files into PDF, using this simple code: officeDocumentConverter.convert(origin, destination, destinationFormat); But the problem is that OpenOffice (or JODConverter, I don`t know) isn't respecting the…
Sergio Figueras
  • 297
  • 1
  • 6
  • 18
1
vote
1 answer

Starting and Stopping a service instance in Spring MVC

I am planning to use JODConverter to do my conversion of office files to PDF. From the tutorial I read that the API instance should be started when the web app starts and closed when the web app closes. The code would be something like // web app…
abiieez
  • 3,139
  • 14
  • 57
  • 110
1
vote
1 answer

JODconverter: only install pdf generator from openoffice

I am using JODConverter together with openoffice in a small java application. I have only installed the writer component (takes about 250mb of space). My question now is, whether I can trim openoffice down so that only the PDF generator is being…