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

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