setasign\SetaPDF2\Core\Xmp
PdfUa A helper class to handle PDF/UA metadata
File: /SetaPDF v2/Core/Xmp/PdfUa.php
Class hierarchy
Summary
Static Methods
getPart()
Get the PDF/UA part identifier.
Parameters
- $document: \setasign\SetaPDF2\Core\Document
Exceptions
update()
Update the metadata and document with information for PDF/UA.
Parameters
- $document: \setasign\SetaPDF2\Core\Document
- $part: int
Exceptions
updateUa1()
Update the metadata and document with information for PDF/UA-1.
Parameters
- $document: \setasign\SetaPDF2\Core\Document
- $amd: ?string
- $corr: ?string
Exceptions
Throws \setasign\SetaPDF2\Core\Exception
updateUa2()
Update the metadata and document with information for PDF/UA-2.
Parameters
- $document: \setasign\SetaPDF2\Core\Document
- $rev: int
Four-digit year of the date of publication or revision.
Exceptions
Throws \setasign\SetaPDF2\Core\Exception
