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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classA builder forDocumentAnnotatorOptions, allowing for options to be built using a fluent interface.static enumA list of supported image formats for popups in the annotated document.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionfinal IntegerThe first page of the document that should be annotated.final IntegerThe last page of the document that should be annotated.A listener that will be notified of the progress of the annotation.final StringThe structure format used to represent hits converted from names.static final StringUse 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 StringThe structure format used to represent hits converted from other sources than names (OSR, embedded structures, ...).final BooleanWhether to use Optical Character Recognition on images.
- 
Method Summary
- 
Field Details- 
NoStructureFormatUse this format constant to avoid exporting any structural format in the HTML output.- See Also:
 
- 
firstPageThe 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. 
- 
lastPageThe 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. 
- 
listenerA listener that will be notified of the progress of the annotation.This can be used for instance to implement a progress bar. 
- 
useOpticalCharacterRecognitionWhether 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. 
- 
nameStructureFormatThe structure format used to represent hits converted from names.
- 
structureFormatThe structure format used to represent hits converted from other sources than names (OSR, embedded structures, ...).
- 
popupImageFormatThe image format which should be used for popups in the annotated document.
 
-