-
Notifications
You must be signed in to change notification settings - Fork 37
Class ZugferdDocumentPdfBuilder
HorstOeko edited this page Dec 15, 2024
·
20 revisions
Class representing the facillity adding XML data from ZugferdDocumentBuilder
to an existing PDF with conversion to PDF/A
No summary available.
public static function fromPdfFile(
horstoeko\zugferd\ZugferdDocumentBuilder $documentBuilder,
string $pdfFileName,
): void
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
documentBuilder | horstoeko\zugferd\ZugferdDocumentBuilder | ❌ | |
pdfFileName | string | ❌ |
No summary available.
public static function fromPdfString(
horstoeko\zugferd\ZugferdDocumentBuilder $documentBuilder,
string $pdfContent,
): void
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
documentBuilder | horstoeko\zugferd\ZugferdDocumentBuilder | ❌ | |
pdfContent | string | ❌ |
Constructor
public function __construct(horstoeko\zugferd\ZugferdDocumentBuilder $documentBuilder, string $pdfData): void
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
documentBuilder | horstoeko\zugferd\ZugferdDocumentBuilder | ❌ |
The instance of the document builder. Needed to get the XML data |
pdfData | string | ❌ |
The full filename or a string containing the binary pdf data. This is the original PDF (e.g. created by a ERP system) |
Set the the deterministic mode. This mode should only be used
for testing purposes
public function setDeterministicModeEnabled(bool $deterministicModeEnabled): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
deterministicModeEnabled | bool | ❌ |
Returns a value of type static
Set the template for the author meta information
public function setAuthorTemplate(string $authorTemplate): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
authorTemplate | string | ❌ |
Returns a value of type static
Set the template for the keyword meta information
public function setKeywordTemplate(string $keywordTemplate): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
keywordTemplate | string | ❌ |
Returns a value of type static
Set the template for the title meta information
public function setTitleTemplate(string $titleTemplate): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
titleTemplate | string | ❌ |
Returns a value of type static
Set the template for the subject meta information
public function setSubjectTemplate(string $subjectTemplate): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
subjectTemplate | string | ❌ |
Returns a value of type static
Set the user defined callback for generating custom meta information
public function setMetaInformationCallback(?callable $callback = null): static
{
}
Name | Type | Allows Null | Description |
---|---|---|---|
callback | callable | ✔️ |
Returns a value of type static