PdfDocumentParser class Null safety

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