-
Notifications
You must be signed in to change notification settings - Fork 1
Class OrderDocumentPdfReader
HorstOeko edited this page Dec 28, 2024
·
1 revision
Class representing the document reader for incoming PDF/A-Documents with
XML data in BASIC-, COMFORT- and EXTENDED profile
Load a PDF file (Order-X)
public static function readAndGuessFromFile(string $pdfFilename): \OrderDocumentReader
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
pdfFilename | string | ❌ | Contains a full-qualified filename which must exist and must be readable |
Returns a value of type \OrderDocumentReader
Tries to load an attachment content from PDF and return a OrderDocumentReader
If any erros occured or no attachments were found null is returned
public static function readAndGuessFromContent(string $pdfContent): \OrderDocumentReader
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
pdfContent | string | ❌ | String Containing the binary pdf data |
Returns a value of type \OrderDocumentReader
Returns a XML content from a PDF file
public static function getXmlFromFile(string $pdfFilename): string
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
pdfFilename | string | ❌ | Contains a full-qualified filename which must exist and must be readable |
Returns a value of type string
Returns a XML content from a PDF binary stream (string)
public static function getXmlFromContent(string $pdfContent): string
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
pdfContent | string | ❌ | String Containing the binary pdf data |
Returns a value of type string