public void SetCompatibility(PreProcessImages pre, ProcessImageData data) { if (data.Images == null) { PdfReaderException.AlwaysThrow("Null image"); } // set the compatibility between PreProcessImages and ProcessImageData pre.SetCompatibility(data); }
public FindDouHeaderFooter(IdentifyTablesData tables, ProcessImageData images, HeaderFooterData headerFooterData) { this._headerFooterData = headerFooterData; this._lines = tables.PageLines; this._images = images.Images; this._pageFooterLine = tables.PageFooterLine; if (_lines == null || _images == null) { PdfReaderException.AlwaysThrow("FindDouHeaderFooter requires both IdentifyTablesData and ProcessImageData"); } }
public RemoveImageLineFromHeaderFooter(HeaderFooterData data, ProcessImageData imageData, IdentifyTablesData tablesData) { this._headerH = data.HeaderH; this._footerH = data.FooterH; this._imageData = imageData; this._tablesData = tablesData; if (float.IsNaN(_headerH) || float.IsNaN(_footerH)) { PdfReaderException.AlwaysThrow("RemoveImageLineFromHeaderFooter requires HeaderFooterData"); } }
public RemoveOverlapedImages2(ProcessImageData parseImage) { var page = parseImage.Images; if (page == null) { PdfReaderException.AlwaysThrow("RemoveHeaderImage requires PreProcessImages"); } //this._images = page.AllBlocks.ToList(); this._parse = parseImage; }
public SetProcessImageCompatibility(PreProcessImages pre, ProcessImageData data) { this._pre = pre; this._data = data; }