Index
-
\setasign\SetaPDF2
-
Core
- BitConverter
- Canvas
- ColorSpace
- Core
- DataStructure
- Document
- Document
- EmbeddedFileStream
- Encoding
- Exception
- FileSpecification
- Filter
- Font
- Geometry
- IccProfile
- Image
- OutputIntent
- PageBoundaries
- PageFormats
- Parser
- Reader
- Resource
- SecHandler
- Text
- Tokenizer
- TransparencyGroup
- Type
- Writer
- XObject
- Xmp
- Zugferd
-
Core
setasign\SetaPDF2\Core
Zugferd A helper class to deal with ZUGFeRD (>= 2.3) documents
File: /SetaPDF v2/Core/Zugferd.php
Old class name (alias):
\SetaPDF_Core_Zugferd
Class hierarchy
Summary
Static Methods
build()
Adds the ZUGFeRD XML (>= 2.3) to a PDF/A-3 conforming PDF document instance and adds all relevant metadata information.
Parameters
- $document : \SetaPDF_Core_Document
- $zugferdXml : string
Exceptions
Throws DataStructure\Tree\KeyAlreadyExistsException
Throws Reader\Exception
Throws SecHandler\Exception
Throws Type\Exception
Throws \Exception
extract()
Extract the ZUGFeRD XML (>= 2.3) from a document instance.
Parameters
- $document : \SetaPDF_Core_Document
Return Values
If the document is not a ZUGFeRD document, false will be returned. Otherwise, the XML of the embedded file.
Exceptions
Throws SecHandler\Exception
Throws Type\Exception
Throws \setasign\SetaPDF2\Exception