Class DocumentAnnotatorOptions
java.lang.Object
chemaxon.naming.document.annotate.DocumentAnnotatorOptions
Represents various options regarding how a document should be annotated, both in terms of input and output.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
A builder forDocumentAnnotatorOptions
, allowing for options to be built using a fluent interface.static enum
A list of supported image formats for popups in the annotated document. -
Field Summary
Modifier and TypeFieldDescriptionfinal Integer
The first page of the document that should be annotated.final Integer
The last page of the document that should be annotated.A listener that will be notified of the progress of the annotation.final String
The structure format used to represent hits converted from names.static final String
Use this format constant to avoid exporting any structural format in the HTML output.The image format which should be used for popups in the annotated document.final String
The structure format used to represent hits converted from other sources than names (OSR, embedded structures, ...).final Boolean
Whether to use Optical Character Recognition on images. -
Method Summary
-
Field Details
-
NoStructureFormat
Use this format constant to avoid exporting any structural format in the HTML output. -
firstPage
The first page of the document that should be annotated.By default or if null, the document is annotated from the starting page.
Note that this option only applies to documents that have page numbers, in particular PDF documents.
-
lastPage
The last page of the document that should be annotated.By default or if null, the document is annotated until its last page.
Note that this option only applies to documents that have page numbers, in particular PDF documents.
-
listener
A listener that will be notified of the progress of the annotation.This can be used for instance to implement a progress bar.
-
useOpticalCharacterRecognition
Whether to use Optical Character Recognition on images.By default (and when set to null), Document Annotator will try to determine if OCR is required. In particular, OCR will be skipped the document has already been OCR'd by a known program.
-
nameStructureFormat
The structure format used to represent hits converted from names. -
structureFormat
The structure format used to represent hits converted from other sources than names (OSR, embedded structures, ...). -
popupImageFormat
The image format which should be used for popups in the annotated document.
-