jodconverter

JodConverter does not support docx file in java

◇◆丶佛笑我妖孽 提交于 2020-07-22 18:17:21
问题 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 2.2.0 . My question is that Is it possible to convert .docx files to pdf using JODCoverter ? 回答1: Disclaimer: I own the jodconverter.org domain and forked the original project on GitHub. Little late to the party but you can use a fork of the original

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

纵饮孤独 提交于 2019-12-31 13:46:53
问题 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 worksheet content have been sliced off. since i want each worksheet of the excel as complete as in one page what ever the size. The no of worksheets were missing, say if my excel has 8 worksheet i am getting only two or three within the PDF output Even

Jodconverter exception: failed to start and connect in windows [duplicate]

余生颓废 提交于 2019-12-24 18:36:07
问题 This question already has an answer here : OpenOffice convert doc to pdf with JAVA (1 answer) Closed 3 years ago . Why I get the following exception.. I stuck with this issue with several days.. Please help me.. INFO: ProcessManager implementation is WindowsProcessManager org.artofsolving.jodconverter.office.OfficeException: failed to start and connect at org.artofsolving.jodconverter.office.ManagedOfficeProcess.startAndWait(ManagedOfficeProcess.java:61) at org.artofsolving.jodconverter

Issue with JODConverter and running LibreOffice in headless mode

我只是一个虾纸丫 提交于 2019-12-13 01:43:03
问题 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 = new SocketOpenOfficeConnection(8100); connection.connect(); // convert DocumentConverter converter = new OpenOfficeDocumentConverter(connection); converter.convert(inputFile, outputFile); // close the connection connection.disconnect(); But I have

OpenOffice HTML & CSS : JODConverter

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 16:26:16
问题 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 this is what I have in my chrome browser : As you see there's a big difference. This is my code : <div style="padding : 5% 25% 0% 10%; diplay : inline-block; "> <div> <span style="color : green; float : left; "><b>MyCompany - MyConsultant</b></span>

Open Source libraries for PDF to image conversion [duplicate]

谁说我不能喝 提交于 2019-12-09 06:55:27
This question already has answers here : Closed 7 years ago . 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 my text from the pdf file was garbled in the image. It read a 'T' as a 'Y' a 'C' as a '#' and so on. Following is the code snippet I used for the same: PDDocument document = null; document = PDDocument.load( pdfFile ); List pages = document.getDocumentCatalog().getAllPages(); for( int i

Open Source libraries for PDF to image conversion [duplicate]

拈花ヽ惹草 提交于 2019-12-08 08:01:51
问题 This question already has answers here : Closed 7 years ago . 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 my text from the pdf file was garbled in the image. It read a 'T' as a 'Y' a 'C' as a '#' and so on. Following is the code snippet I used for the same: PDDocument document = null; document

Free Java library for converting existing PDF to PDF/A [closed]

强颜欢笑 提交于 2019-11-27 10:55:14
问题 I am trying to convert PDF to PDF/A. Currently I can do this using OpenOffice pdf viewer plugin together with Jodconverter 2. But this is pretty cumbersome to do. Does anybody know of any open source / free Java libraries I can use to do this? I have found these open source libraries so far, but none of which has support for converting PDF to PDF/A iText gnujpdf PDF Box FOP JFreeReport PJX JPedal PDFjet jPod PDF Renderer UPDATE Seems like Apache FOP has ability to convert a document (not a