How is your experience with the OutSystems Community?
AsposePDF

AsposePDF (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 02 April 2025 by OutSystems Labs
AsposePDF

AsposePDF (ODC)

Documentation
0.1.0

Actions Provided:

  1. SetPdfFormat: Converts a regular PDF into a PDF/A compliant document based on the provided format (e.g., PDF/A-1A, PDF/A-1B).

    • Parameters:

      • asposeLicenseData: The byte array containing the Aspose.Pdf license data.

      • pdfFile: The byte array of the original PDF to be converted.

      • format: The desired PDF/A format (e.g., PDF_A_1A, PDF_A_2B) Enum PdfFormat

    • Return: A byte array representing the generated PDF/A compliant document.

  2. AppendingPDFs: Merges two PDFs into a single document.

    • Parameters:

      • asposeLicenseData: The Aspose license data to authorize the process.

      • pdfFile: The byte array of the original PDF document.

      • mergePdfFile: The byte array of the PDF to be appended.

    • Return: A byte array representing the merged PDF document.

  3. AppendingSeveralPDFs: Merges multiple PDF files into a single PDF document.

    • Parameters:

      • asposeLicenseData: The Aspose license data to authorize the process.

      • pdfFile: The byte array of the original PDF document.

      • attachmentFiles: A list of file paths or byte arrays for additional PDFs to be appended.

      • pageCount: The total number of pages in the final merged PDF.

    • Return: A byte array representing the merged PDF document.

  4. EmbeddedXMLinPDF: Embeds an XML file as an attachment within a PDF document.

    • Parameters:

      • asposeLicenseData: The Aspose license data to authorize the process.

      • filePdf: The byte array of the PDF document to embed the XML in.

      • fileName: The desired output PDF file name.

      • attachmentXML: The byte array containing the XML data to be embedded.

      • attachmentXMLFilename: The filename for the embedded XML attachment.

      • description: A description for the embedded XML file.

      • pageCount: The total number of pages in the final PDF document.

    • Return: A byte array representing the PDF document with the embedded XML attachment.

  5. EmbeddedZUGFeRDinPDF: Embeds a ZUGFeRD XML file into a PDF, converting the document into a ZUGFeRD-compliant PDF.

    • Parameters:

      • asposeLicenseData: The Aspose license data to authorize the process.

      • filePdf: The byte array of the original PDF document.

      • fileName: The name of the output PDF with embedded ZUGFeRD XML.

      • attachmentXML: The byte array containing the ZUGFeRD XML to be embedded.

      • attachmentXMLFilename: The filename for the ZUGFeRD XML attachment.

      • pageCount: The total number of pages in the resulting PDF document.

    • Return: A byte array representing the PDF document with embedded ZUGFeRD XML.