Class BackgroundTextExtractor

  • All Implemented Interfaces:
    DocumentPanelListener, PDFBackgroundTask

    public class BackgroundTextExtractor
    extends ViewerFeature
    implements DocumentPanelListener, PDFBackgroundTask

    This feature will cause text to be extracted automatically when a PDF is loaded by the viewer. A background thread will be started and run at low priority - early extraction like this means that other features that depend on text extraction (searching, selecting text matching a certain pattern and a "select all" on text - ie SearchPanel and TextTool) will not have to run the extraction on demand and so should feel noticably faster to the user.

    Note this feature is not enabled by default - it must be explicitly selected

    The name of this feature is BackgroundTextExtractor

    This code is copyright the Big Faceless Organization. You're welcome to use, modify and distribute it in any form in your own projects, provided those projects continue to make use of the Big Faceless PDF library.