Flags to control the extraction of attachments and images using FileConverter (.NET, Java) or dtsFileConvertJob2 (C++).
File
File: ExtractionOptionsFlags.java
Package: com.dtsearch.engine
Syntax
Fields
Field |
Description |
---|---|
Omit attachments from the conversion output (dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text). | |
Extract embedded attachments in the input and insert a reference to the extracted attachment in the conversion output (dtsExoExtractAttachments should not be used when highlighting hits because in some cases text is added to the conversion output to provide a location for the link to the extracted attachment). | |
Extract embedded images in the input and insert a reference to the extracted image in the conversion output | |
Limit the filename extensions for extracted images and attachments to those listed in allowedExtensions. | |
If true, on NTFS file systems, all extracted images and attachments will be marked as originating in the "Internet" Zone. This enables various safety mechanisms in Microsoft Windows and Microsoft Office products to guard against opening unsafe attachments when you try to launch marked files. To mark the files, dtSearch adds an alternate stream to the output file named Zone.Identifier with the content "[ZoneTransfer]rnZoneId=3rn" | |
Limit filenames to use the Ansi character set and a maximum length of 64 characters for the filename component |
Remarks
When highlighting hits, flags should be consistent with the behavior of the indexer or hit highlighting will be inconsistent.
dtsExoExtractAttachments should not be used when highlighting hits because in some cases text is added to the conversion output to provide a location for the link to the extracted attachment.
dtsExoDoNotConvertAttachments should not be used when highlighting hits because the indexer does convert attachments to text.
dtsExoExtractImages can be used when highlighting hits.
Class Hierarchy
com.dtsearch.engine.ExtractionOptionsFlags