PdfDocumentParser class

PDF Document Parser used to load an existing document as a template for modification

Constructors

PdfDocumentParser(Uint8List bytes, {bool protectContents = false})
Create a PdfDocumentParser

Properties

acroForm ↔ PdfDict<PdfDataType>?
latefinal
acroFormFields Iterable<PdfParsedFormField>
read-only
bytes Uint8List
The existing PDF document content
finalinherited
graphicStates → PdfDict<PdfDataType>
final
hashCode int
The hash code for this object.
read-onlyinherited
pageLabels Map<int, PdfPageLabel>?
latefinal
pageList ↔ PdfIndirect
latefinal
pages List<ParsedPage>
final
protectContents bool
Save the graphic state
final
root → PdfDict<PdfDataType>
read-only
rootObject ↔ PdfParsedObject<PdfDict<PdfDataType>>
latefinal
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
size int
The objects size of the existing PDF document
read-only
version → PdfVersion
read-only
xref ↔ CrossRefTable
latefinal
xrefOffset int
The offset of the previous cross reference table
read-only

Methods

mergeDocument(PdfDocument pdfDocument) → void
Import the existing objects into the new PDF document
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve<T extends PdfDataType>(PdfDataType ref) → T
toString() String
A string representation of this object.
inherited
verifySignature(List<X509> trusted) → void
Verify if the document has been modified since the last signature

Operators

operator ==(Object other) bool
The equality operator.
inherited