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

Why is this input an invalid format for Joda-Time PeriodFormatter?

I am trying to convert strings like 1h 30m 5s or 5m or 38s or 1h 3s into an integer value representing total time in seconds. So for example, 1m 20s would result in an integer value of 80 for 80 seconds. I am using Joda Time: PeriodFormatter…
RTT
  • 5
  • 3
0
votes
0 answers

Importing jodconverter on the old version will cause Application run failed error

Importing jodconverter on the old version will cause Application run failed error How can I fix it on the old version The error comes from a version before 7.0.0 Reproduce, for example: 7.0.0-bate-0、7.0.0-beat-1、6.10.5、6.10.1 build.gradle add…
chenbihao
  • 36
  • 3
0
votes
1 answer

org.artofsolving.jodconverter api not converting Excel file into PDF file in wicket 8 application

I am trying to convert excel file into PDF file in wicket 8 application by using these below APIs. But PDF file is not converting into excel file and I am getting that same excel file on the PDF download link instead of PDF file and there is no…
user3552342
  • 657
  • 1
  • 5
  • 14
0
votes
2 answers

using jodconverter from java jar wrapped in a windows service - font problem

I have been using jodconverter library for converting Microsoft Word documents (*.doc) to PDF files on the backend server. The backend is a Spring Boot application running on an old Windows Server 2008 Enterprise. (jodconverter requires a version of…
hello_earth
  • 1,442
  • 1
  • 25
  • 39
0
votes
0 answers

How to Run Openoffice in a server and perform conversion from my local system

I have a requirement where I need to use openoffice in a standalone server and use a Java program for Document conversion. Right now, I have a setup where I have started openoffice in my linux environment by using below command sudo -H …
0
votes
1 answer

Jodconverter: Fails randomly when running tests with libreoffice (docker)

While running conversions in test suites using jodconverter, it was randomly crashing and tests failed. We are using Libreoffice with jodconverter running tests in docker. Took too much time to figure this out, so created this question.
Ishmeet Singh
  • 1,218
  • 1
  • 8
  • 10
0
votes
1 answer

Jodconverter: Could not open document: tempfile.docx

This is a problem we were facing when converting docx to pdf's using jodconverter in 4 parallel streams (and 4 instances of Libreoffice, running on a docker container) and the processing failed after some iterations. Error…
Ishmeet Singh
  • 1,218
  • 1
  • 8
  • 10
0
votes
1 answer

jodconverter loadLibrary message

jodConverter 4.2.2 Windows 10 amazon corretto 8 for the java jdk, 1.8.0_212 running from IntelliJ Community (latest) LibreOffice 6.1.3.1 (64 bit) - installed and runs fine I try to run this bit of simple code (please excuse bad…
djlawler
  • 230
  • 1
  • 9
0
votes
0 answers

JODConverter ecoding type

I am using JODConverter in my java application to convert from RTF to HTML using libre office. It works great but I need the encoding type to be ISO-8859-1. I set this in libre office but when I do the conversion it does it as UTF-8 which sometimes…
Shea
  • 23
  • 1
  • 8
0
votes
1 answer

OpenOffice HTML & CSS : JODConverter

I'm using JODConverter in my application to convert a HTML file with basic CSS 2 to a PDF file. When I convert the file, the pdf is just a mess, And when I tried to view in openOffice directly it was a mess also. This is the file generated : and…
OddDev
  • 1,521
  • 7
  • 23
  • 45
0
votes
1 answer

Jodconverter : Can i use to convert HTML into PDF?

I have a word file. May i use jodconverter to convert into pdf. I have used jodconverter from doc to pdf and it gives very good results. But i don't know weather it support from HTML to pdf. Thanks!
Ahmed Bilal
  • 137
  • 2
  • 11
0
votes
0 answers

400 Bad Request - Microsoft Translation API - Jooscript & Java

I use LibreOffice/JOD library to generate PDF files based on an ODT template I manually created. These templates use jooscript to populate the template with values from the database. Two (2) of these database values are translated to Chinese. One…
0
votes
1 answer

Jodconverter conversion failed; java.lang.NoClassDefFoundError

I have installed LibreOffice (version 5.3) on my local (windows), and in my pom i use the libreoffice version 5.0.3: org.libreoffice juh
Smahane
  • 175
  • 1
  • 5
  • 13
0
votes
1 answer

How prevent editing my pdf using jodconverter?

I am using the jodconverter 3.0-beta4 and I am converting from HTML to PDF. My HTML contains a form, but I don't want to have editable fields in my PDF. I thought that if I could make my pdf be read only then the fields are gone, but my code isnt…
ikkarion
  • 178
  • 4
  • 17
0
votes
1 answer

Showing Error by uploading DOC file using JODConveter

I am trying to convert office file to pdf using JODConveter. i have followed all the steps present in [this link]http://www.artofsolving.com/node/14.html but it is showing error. enter image description here
Sangram Badi
  • 4,054
  • 9
  • 45
  • 78