PdfPageCollectionEditor constructor

PdfPageCollectionEditor(
  1. PdfDocument document, {
  2. PdfBrokenReferencePolicy brokenReferencePolicy = PdfBrokenReferencePolicy.remove,
})

Creates the editor of the page collection of document.

Implementation

PdfPageCollectionEditor(
  this.document, {
  this.brokenReferencePolicy = PdfBrokenReferencePolicy.remove,
})  : _store = PdfObjectStore.forDocument(document),
      _parser = document.prev is PdfDocumentParser
          ? document.prev as PdfDocumentParser
          : null;