Though you could pass document format for input file as an argument. The code will look like this:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. JodConverter does not support docx file in java Ask Question. Asked 5 years, 6 months ago. Active 25 days ago. Viewed 4k times. My question is that Is it possible to convert. Improve this question.
Mubee Mubee 57 1 1 silver badge 8 8 bronze badges. What error do you get? Add a comment. Active Oldest Votes. Disclaimer: I own the jodconverter. Little late to the party but you can use a fork of the original project, available on Maven: JODConverter It supports the docx and xlsx formats. Improve this answer. File; import java.
InputStream; import java. OutputStream; import java. HashMap; import java. Iterator; import java. Map; import org. FilenameUtils; import com. DefaultDocumentFormatRegistry; import com. DocumentConverter; import com.
DocumentFormat; import com. I am working on this issue since 1 week and mind is struck in this at this moment!!! Can you please help me with this? Words is a class library that enables your applications to perform a great range of document processing tasks. Hi Shervin Thank you for Your excellent blog which has saved my search for pdf to doccumentformat conversion.
I need the entire stacktrace, and please use pastebin. It allows the applications to directly create, retrieve, export, update or remove any content or layout element in OpenDocument-compliant files through a powerful scripting language.
It works there also. I am very busy at the moment. If for some reason your process crashes, JODConverter will detect this, and restart the process automatic. Appreaciate your help in this regard. The Open OpenDocument Connector is a Perl-based application programming interface, which can be regarded as a way to build bridges between office documents and business applications.
It also includes a few extra parsing options that allow you to edit the XSLT parts of these ODF from within your favourite office suite. However, I could not to get it to work in the Linux environment. Can also generate interactive ODF forms. Yes, I mean that method, but I made a mistake. Thank you for you response! Thanks a lot for your time. Itaapy open source The itools library includes an XML engine and localization tools to extract messages, and merge translations back into a copy of ODF documents.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website.
We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent.
You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience. Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information. Skip to content. This website uses cookies to improve your experience.
0コメント