Uses of Class
org.apache.tika.parser.pages.PagesConfig
Packages that use PagesConfig
Package
Description
The
"pages" block: one configuration for every parser that renders a document to
pixels -- how it renders, where a page's text comes from, what is released to inference,
whether renders are emitted.-
Uses of PagesConfig in org.apache.tika.parser.microsoft
Methods in org.apache.tika.parser.microsoft that return PagesConfigModifier and TypeMethodDescriptionMetafileParserConfig.getPages()MetafileParserConfig.pages()The overlay itself, to configure in code:config.pages().emit().setEnabled(true).Methods in org.apache.tika.parser.microsoft with parameters of type PagesConfigModifier and TypeMethodDescriptionvoidMetafileParserConfig.setPages(PagesConfig pages) Applies the set fields ofpagesto the overlay, as the PDF parser's does. -
Uses of PagesConfig in org.apache.tika.parser.pages
Methods in org.apache.tika.parser.pages that return PagesConfigModifier and TypeMethodDescriptionstatic PagesConfigPagesConfig.defaults()Every field set: default render, AUTO, no OCR budget, TEXT released, nothing emitted.PagesConfig.over(PagesConfig overlay) A copy of this with every set field ofoverlayapplied; null overlay is this.static PagesConfigPagesConfig.resolve(ParseContext context, PagesConfig... overlays) The effective block for a parse:defaults(), the context's"pages"(JSON, or aPagesConfigset on the context by class), then each overlay in order.Methods in org.apache.tika.parser.pages with parameters of type PagesConfigModifier and TypeMethodDescriptionPagesConfig.over(PagesConfig overlay) A copy of this with every set field ofoverlayapplied; null overlay is this.static PagesConfigPagesConfig.resolve(ParseContext context, PagesConfig... overlays) The effective block for a parse:defaults(), the context's"pages"(JSON, or aPagesConfigset on the context by class), then each overlay in order. -
Uses of PagesConfig in org.apache.tika.parser.pdf
Methods in org.apache.tika.parser.pdf that return PagesConfigModifier and TypeMethodDescriptionPDFParserConfig.getPages()This parser's overlay on the"pages"block, which the parser folds onto the context's"pages"and the defaults (PagesConfig.resolve(context, defaultConfig.getPages(), localConfig.getPages())).PDFParserConfig.pages()The overlay, to configure in code:config.pages().setText(TextPolicy.OCR).Methods in org.apache.tika.parser.pdf with parameters of type PagesConfigModifier and TypeMethodDescriptionstatic voidPDFMarkedContent2XHTML.process(org.apache.pdfbox.pdmodel.PDDocument pdDocument, ContentHandler handler, ParseContext context, Metadata metadata, PDFParserConfig config, PagesConfig pages, org.apache.tika.parser.pdf.PageEmitter emitter, CompositeContentEnricher contentEnrichers) Converts the given PDF document (and related metadata) to a stream of XHTML SAX events sent to the given content handler.voidPDFParserConfig.setPages(PagesConfig pages) Applies the set fields ofpagesto the overlay.