Table of Contents
Step 3: DOCX Export Keys
Below you can find the description of the export to DOCX format keys of the abbyyocr11 utility.
-
DOCX is a new Format in CLI 11; the DOC format is not supported any longer.
--docxDontWriteAuthor
-
The author of the document will not be written into the output DOCX file.
Key | Parameters | Default |
---|---|---|
-ddwa | no | |
- -docxDontWriteAuthor |
--docxKeepLines
-
Retains the original lines when exporting recognized text to DOCX format.
Key | Parameters | Default |
---|---|---|
-dkl | no | |
- -docxKeepLines |
--docxMergePages
-
The source page layout will not be retained when exporting recognized text to DOCX format.
Key | Parameters | Default |
---|---|---|
-dmp | no | |
- -docxMergePages |
--docxRemovePictures
-
Pictures will not be saved to the resulting DOCX file.
Key | Parameters | Default |
---|---|---|
-drp | no | |
- -docxRemovePictures |
--docxRemoveSoftHyphens
-
Removes optional hyphens when exporting to DOCX format. If the -dkl key is used, optional hyphens are replaced with hyphens.
Key | Parameters | Default |
---|---|---|
-dsh | no | |
- -docxRemoveSoftHyphens |
--docxHighlightErrorsWithTextColor
-
Highlights uncertainly recognized characters with the text color when exporting to DOCX format.
-
The color with which uncertainly recognized characters will be highlighted is determined by the -det key.
Key | Parameters | Default |
---|---|---|
-dhet | no | |
- -docxHighlightErrorsWithTextColor |
--docxHighlightErrorsWithBackgroundColor
-
Highlights uncertainly recognized characters with the background color when exporting to DOCX format.
-
The color with which uncertainly recognized characters will be highlighted is determined by the -deb key.
Key | Parameters | Default |
---|---|---|
-dheb | no | |
- -docxHighlightErrorsWithBackgroundColor |
--docxDontKeepTextColor
-
The original colors of the text and background will not be retained when exporting recognized text to DOCX format.
Key | Parameters | Default |
---|---|---|
-ddktc | no | |
- -docxDontKeepTextColor |
--docxDontWriteKeywords
-
The keywords of the document will not be written into the output DOCX file.
Key | Parameters | Default |
---|---|---|
-ddwk | no | |
- -docxDontWriteKeywords |
--docxPageSynthesisMode
-
Specifies the mode of DOCX file synthesis from the recognized text when exporting recognized text to DOCX format.
Key | Parameters | Default |
---|---|---|
-dpm | PlainText FormatParagraphs ExactCopy EditableCopy |
EditableCopy |
- -docxPageSynthesisMode |
--docxErrorTextColor
-
Stores the RGB value of the color used for highlighting uncertainly recognized characters of the recognized text when exporting to DOCX format.
Key | Parameters | Default |
---|---|---|
-det | color in RGB format | 0x00ff00 |
- -docxErrorTextColor |
--docxErrorBackgroundColor
-
Stores the RGB value of the color used for highlighting the background of uncertainly recognized characters when exporting text to DOCX format.
Key | Parameters | Default |
---|---|---|
-deb | color in RGB format | 0x00ff00 |
- -docxErrorBackgroundColor |
--docxPaperWidth
-
Stores paper width in twips (1/1440 of inch).
Key | Parameters | Default |
---|---|---|
-dpw | page width in twips | width of an A4 page |
- -docxPaperWidth |
--docxPaperHeight
-
Stores paper height in twips (1/1440 of inch).
Key | Parameters | Default |
---|---|---|
- | page height in twips | height of an A4 page |
- -docxPaperHeight |
--docxPaperSizeMode
-
Specifies how the paper size should be selected during export of the recognized text into output DOCX file.
Key | Parameters | Default |
---|---|---|
-dpsm | AutoFlexible AutoFixed ImageSize SynthesisSize UserDefined |
SynthesisSize |
- -docxPaperSizeMode |
--docxColority
-
Allows you to keep the original colors in the output DOCX file or save it in gray or black and white.
Key | Parameters | Default |
---|---|---|
-dxc | ForceToBw ForceToGray KeepColority |
KeepColority |
- -docxColority |
--docxColorPictureFormats
-
Specifies the image format to be used during export to DOCX when saving a file with embedded color pictures.
Key | Parameters | Default |
---|---|---|
-dcpf | Space-separated combination of the following constants: Jpeg Png Auto |
Auto |
- -docxColorPictureFormats |
--docxGrayPictureFormats
-
Specifies the image format to be used during export to DOCX when saving a file with embedded gray pictures.
Key | Parameters | Default |
---|---|---|
-dgpf | Space-separated combination of the following constants: Jpeg Png Auto |
Auto |
- -docxGrayPictureFormats |
--docxResolution
-
Specifies the picture resolution in dpi that is used for exporting pictures into DOCX format.
Key | Parameters | Default |
---|---|---|
-dpr | picture resolution in dpi | 150 |
- -docxResolution |
--docxJpegQuality
-
Specifies the JPEG quality in percent for pictures embedded in a DOCX file.
Key | Parameters | Default |
---|---|---|
-djq | JPEG quality in percent | 50 |
- -docxJpegQuality |
--docxDontWriteSubject
-
The subject of the document will not be written into the output DOCX file.
Key | Parameters | Default |
---|---|---|
-ddws | no | |
- -docxDontWriteSubject |
--docxDontWriteTitle
-
The title of the document will not be written into the output DOCX file.
Key | Parameters | Default |
---|---|---|
-ddwt | no | |
- -docxDontWriteTitle |
Note. Full keys are marked by italic.