Class UtilityController
- java.lang.Object
-
- com.acumenvelocity.ath.controller.UtilityController
-
public class UtilityController extends Object
-
-
Constructor Summary
Constructors Constructor Description UtilityController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.swagger.oas.inflector.models.ResponseContextconvertDocxToPdf(io.swagger.oas.inflector.models.RequestContext request, File docxFile, String docxFileName, String language)Convert DOCX to PDF using Adobe PDF Servicesio.swagger.oas.inflector.models.ResponseContextconvertPdfToDocx(io.swagger.oas.inflector.models.RequestContext request, File pdfFile, String pdfFileName, String language, String ocrModeValue)Convert PDF to DOCX using Adobe PDF Services
-
-
-
Method Detail
-
convertPdfToDocx
public io.swagger.oas.inflector.models.ResponseContext convertPdfToDocx(io.swagger.oas.inflector.models.RequestContext request, File pdfFile, String pdfFileName, String language, String ocrModeValue)Convert PDF to DOCX using Adobe PDF Services- Parameters:
request- the request contextpdfFile- the PDF file to convertpdfFileName- the original name of the PDF filelanguage- the language code (e.g., "en-US", "fr-FR")ocrMode- OCR mode: AUTO (default), ENABLED, or DISABLED- Returns:
- ResponseContext containing the converted DOCX file or error
-
convertDocxToPdf
public io.swagger.oas.inflector.models.ResponseContext convertDocxToPdf(io.swagger.oas.inflector.models.RequestContext request, File docxFile, String docxFileName, String language)Convert DOCX to PDF using Adobe PDF Services- Parameters:
request- the request contextdocxFile- the DOCX file to convertdocxFileName- the original name of the DOCX filelanguage- the language code (e.g., "en-US", "fr-FR")- Returns:
- ResponseContext containing the converted PDF file or error
-
-