Skip to main content
April 24, 2023
Question

Issues with PDF from DOCX Plug-in when word document has classification

  • April 24, 2023
  • 1 reply
  • 0 views

Hi Everyone,

As part of our client's policy every document needs to be classified as public / private / confidential.  when we upload a document that has classification as "confidential" and trying to generate PDF document with the help of plug-in "PDF from DOCX"  I'm receiving the following error message : 

com.appiancorp.ps.adt.conversion.DocxToPDF - Error while executing Custom Smart Service
org.apache.poi.openxml4j.exceptions.OLE2NotOfficeXmlFileException: The supplied data appears to be in the OLE2 Format. You are calling the part of POI that deals with OOXML (Office Open XML) Documents. You need to call a different part of POI to process this data (eg HSSF instead of XSSF)

1 reply

mallepup3914
April 24, 2023

The error message states it is not able to convert the document because it is in an older file format called OLE2 instead of the newer OOXML format.

you may need to convert the document to the OOXML format before attempting to generate a PDF.