Class MetafileParserConfig

java.lang.Object
org.apache.tika.parser.microsoft.MetafileParserConfig
All Implemented Interfaces:
Serializable

public class MetafileParserConfig extends Object implements Serializable
Configuration of the EMFParser ("emf-parser") and the WMFParser ("wmf-parser"): the parser's overlay on the "pages" block. A metafile is one page; pages.emit rasterizes it and emits the rendering as an embedded document, pages.render (under the emit.render overlay) says how.
See Also:
  • Constructor Details

    • MetafileParserConfig

      public MetafileParserConfig()
  • Method Details

    • getPages

      public PagesConfig getPages()
    • pages

      public PagesConfig pages()
      The overlay itself, to configure in code: config.pages().emit().setEnabled(true).
    • setPages

      public void setPages(PagesConfig pages)
      Applies the set fields of pages to the overlay, as the PDF parser's does.