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
10
votes
4 answers

Missing worksheets and page size issue when excel (.xlsx) convert to pdf (.pdf) using open office

I have created an application using JodConverter and Open-Office for converting an excel(.xlsx) to PDF, The application works fine but i am facing two problems The pages of output PDF is in the form of A4 size, since because of that certain…
Alex Man
  • 4,746
  • 17
  • 93
  • 178
6
votes
2 answers

Converting docx to pdf via JODConverter and LibreOffice causes error

I have 1000 .docx files that I want to convert to pdf so I have written a program to do this, but I can never get through all 1000 files before an error is thrown. I start a headless version of LibreOffice using soffice --headless…
Jason Pather
  • 1,127
  • 2
  • 12
  • 18
5
votes
2 answers

JODConverter telling me office manager is required in order to build a converter

I'm trying to get JODConverter to work on Window 10 with Jdk 1.8.0_144. As you can see from the code I thought it might be a timing issue hence the delay. As you can see JODConverter thinks the OfficeManager is running. I'm using the follow…
OutsideCoder
  • 346
  • 3
  • 16
5
votes
2 answers

Faster than JODCONVERTER

I have been improving a document management project and one requirement is to render documents(word, pdf, etc) in web page. Pdf can be rendered with iframe, object or embed tag and servlet. But the other documents like word, excel can not be…
Ahmet DAL
  • 4,445
  • 9
  • 47
  • 71
4
votes
0 answers

How can I convert ods to xlsx in java

I wrote code that creates one ods file from csv but this file is not opening in Office 2007. How can I convert it into xlsx format in Java?
Lalit Chattar
  • 1,914
  • 8
  • 27
  • 49
4
votes
4 answers

How can I convert a document to landscape mode using a Java library?

I am writing a program in Java (I am using Ubuntu). I am using Jodconverter to convert the document to PDF. I have to convert the document to landscape mode but I have read that Jodconverter doesn't support orientation changes. I also tried with…
4
votes
2 answers

Why does my call to start OpenOffice service work in development but not on server?

I have a ColdFusion application that reads a list of files from a directory, and then converts each MSOffice document in the list to a PDF using the JODConverter library and OpenOffice.org 3.4.1. I wrote this application and setup my development PC…
Eric Belair
  • 10,574
  • 13
  • 75
  • 116
4
votes
2 answers

PDF document types explanation (such as PDF/A-1)

I am working on software to store legal documents and I was thinking that PDF might be an ideal format to work in. However I am a little confused as to what would best suit my needs in this regard in the actual format of the PDF file. I have the…
Matthew Pigram
  • 1,400
  • 3
  • 25
  • 65
3
votes
1 answer

jodconverter can't find officeHome, Using docsplit in centOS 5

I'm trying to set up a server that will do document conversions using docsplit. The machine I'm setting it up on is running centOS 5. When I try to do a basic conversion from the command line I get this error message. Exception in thread "main"…
Bcos
  • 135
  • 3
  • 8
3
votes
4 answers

Weird bug in Java try-catch-finally

I'm using JODConverter to convert .xls and .ppt to .pdf format. For this i have code something like try{ //do something System.out.println("connecting to open office"); OpenOfficeConnection connection = new…
r15habh
  • 1,468
  • 3
  • 19
  • 31
3
votes
1 answer

how to specify DocumentFormat for JODConverter 2.2

I'm willing to use JODConverter with ByteArrayStream by using the following method. public void convert(InputStream in, DocumentFormat df, OutputStream out, DocumentFormat df1). The…
Jalal Sordo
  • 1,605
  • 3
  • 41
  • 68
3
votes
1 answer

doc/docx to pdf using jodconverter and OpenOffice

I'm using jodconverter and OpenOffice 3.3 to convert a docx file to pdf using the following command: java -jar jodconverter-cli-2.2.2.jar test.docx test.pdf It works fine when trying to convert most of the languages, but I can't convert docs…
Kuf
  • 17,318
  • 6
  • 67
  • 91
2
votes
0 answers

Losing MathML when converting from HTML to Docx using LibreOffice

I am using LibreOffice to convert a .docx file to an XHTML file. Mathematics is converted to MathML. My plan is to use LibreOffice in headless mode (or tools based on it) to convert back the XHTML file to a Docx file but after this conversion…
Opusci
  • 21
  • 2
2
votes
1 answer

JODConverter: StarOffice.ServiceManager started but its pid could not be found

I've faced with next problem while starting officeManager: A process with acceptString 'socket,host=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.ServiceManager' started but its pid could not be found @Configuration public class…
2
votes
1 answer

How I can decrease time response from Open Office Service using JOD Converter to Print to PDF?

We are currently using JOD Converter to send a word document to an open office service running in a different machine. The open office service is being hosted in a facility were they guarantee 100 Mbps bandwidth, we have three servers that print to…
Geo
  • 8,663
  • 13
  • 63
  • 93
1
2 3 4 5 6 7