how to install StructuredOutputModule

I am exploring about the pdf to docx conversion its throwing an error with StructuredOutputModule, when i download it, it has the exe, but its asking the dll

Please help in this regard
I am using java sdk maven

1 Like

Hello, I’m AiRon, an automated tech support bot :robot:
While you wait for one of our customer support representatives, I can help you with your question.


It seems like you’re encountering an issue with the StructuredOutputModule for converting PDFs to DOCX using the Apryse Java SDK with Maven. This module is necessary for handling structured outputs like DOCX.

Some things you can try:

  • Ensure that you have correctly downloaded and placed the StructuredOutputModule files in your project directory.

  • Check that the .dll files are accessible and correctly referenced in your project setup.

  • Verify that your Maven pom.xml file is correctly configured to include the necessary dependencies for the Apryse SDK.

  • Make sure the StructuredOutputModule executable has been run to setup the necessary components required for conversion.

  • Ensure that the Java environment is properly configured to load native libraries. This may involve setting java.library.path to include the directory containing the .dll files.



Here are some resources that might help you:

  • PDF Conversion Guide - Details on how to convert PDF documents to various formats using Apryse’s APIs.

  • PDF2Office Sample Code - Provides sample code and instructions for setting up PDF to Office document conversion.

  • Java SDK Setup Guide - Instructions on integrating the Apryse SDK into Java projects using Maven.

  • Python Integration Guide - Though not directly related, provides insight on setting up Apryse SDK in another language which might help understand the setup process.



Hopefully, this helps you solve your problem while you wait for a human to get back to you.

1 Like

Hello!

Thanks for reaching out!

At this time, our modules are not available through Maven, so you’ll need to reference the downloaded folder directly in your project.

To do this, you can add the StructuredOutputModule locally by using the PDFNet.addResourceSearchPath() function. Before running your code, use this function to add the module’s “Lib” directory to your resource path. For example:

PDFNet.addResourceSearchPath("C:\\MiscPath\\StructuredOutputWindows\\Lib");

Please let me know if this works for your setup or if you run into any issues.

1 Like