PdfObjectStore constructor

PdfObjectStore(
  1. PdfDocument document, {
  2. PdfDocumentParser? parser,
  3. PdfObjectConverter converter = PdfObjectConverter.preserving,
})

Creates a store over document.

parser is the source parser of the loaded document; without it the store resolves only materialized objects. converter allows swapping the conversion used when reading through the parser.

Implementation

PdfObjectStore(
  this.document, {
  PdfDocumentParser? parser,
  PdfObjectConverter converter = PdfObjectConverter.preserving,
})  : _parser = parser,
      _converter = converter;