We use the 17.3.0 version. I attached the problematic pdf.
@atirtahir3 any update on the Issue so far?
Unfortunately, there is no update from the concerned team yet. We are in contact with them. As we get any update, you’ll be notified.
The document you shared with us is password protected. You need to define password of the document as follows:
LoadOptions loadOptions = new LoadOptions(); loadOptions.setPassword("PasswordGoesHere");
And pass LoadOption to converter:
List<String> convertedDocumentPath = conversionHandler.<List<String>> convert(fileName, loadOptions, saveOption);
For further details, please visit this article and let us know if you face any further issues.
@atirtahir3 Thank you for checking the pdf. The pdf has only a protection to protect against manipulation, for viewing no password is requiered. Is there a way to still convert the pdf without knowing the password because we do not know the password of the pdf?
Thanks for providing the details. We shared the scenario with concerned team. As we get any response from them in this regard, we’ll apprise you.
We got an update from the concerned team. We’re afraid but there is no work-around, you have to set password for a protected document. No matter password is not required for viewing purpose at all. However, if conversion of such protected documents are supported in any of the future release, we’ll apprise you.
Your reported issue CONVERSIONJAVA-411 shall be resolved in 17.11 version of the API. As the release gets on-board, you shall be notified.