Legacy Knowledge Base
Published Jul. 2, 2025

Does OpenOffice integration allow DOCX format conversions?

Written By

Dia Seung

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • I want to download my text documents in docx file format, using OpenOffice integration.  I currently am only able to download as doc, not docx.
  • I want to add docx file format to portal.properties configurations for OpenOffice target extension.

Environment

  • DXP 7.4
  • DXP 7.3
  • DXP 7.2

Resolution

  • OpenOffice 4.0.0 or higher can convert text document files from docx to doc, odt, pdf, rtf, sxw, and txt file formats. This can be set by the following portal-ext.properties:
    openoffice.conversion.target.extensions[text]=\
    doc,\
    odt,\
    pdf,\
    rtf,\
    sxw,\
    txt
  • However, OpenOffice does not support saving text documents to docx file format (see OpenOffice forum "Save as Docx") so Liferay with OpenOffice integration cannot convert text documents to docx.
  • If docx file format is absolutely necessary, please use LibreOffice instead of OpenOffice for Liferay integration. 

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base