ABBYY FineReader Engine 8.0 CLI for Linux
Export to RTF

ocr4linux.com / Documentation Home / Step 3: RTF keys

 

 

Key Parameters Default Description

-ra

--rtfAuthor

name

empty string

Specifies the name of the author of the RTF document.

-rfps

--rtfFixedPageSize

no

 

Specifies that export result must fit to dimensions set by the -rpw and -rph keys.

-rfw95

--rtfFormatWord95

no

 

Specifies that Word95 version of DOC-format is used for export.

-rkl

--rtfKeepLines

no

 

Retains the original lines when exporting recognised text to RTF format.

-rmp

--rtfMergePages

no

 

The source page layout will not be retained when exporting recognised text to RTF format.

-rrp

--rtfRemovePictures

no

 

Pictures will not be saved to the resulting PTF file.

-rsh

--rtfRemoveSoftHyphens

no

 

Removes optional hyphens when exporting to RTF format. If the -rkl key is used, optional hyphens are replaced with hyphens.

-rhet

--rtfHighlightErrorsWithTextcolor

no

 

Highlights uncertainly recognised characters with the text color when exporting to RTF format. The color, with which uncertainly recognised characters will be  highlighted, is stored in the -ret key.

-rheb

--rtfHighlightErrorsWithBackgroundcolor

no

 

Highlights uncertainly recognised characters with the background color when exporting to RTF format. The color, with which uncertainly recognised characters will be  highlighted, is stored in the -reb key.

-rrc

--rtfReleaseTextAndBackgroundcolor

no

 

The original colors of the text and background will not be retained when exporting  recognised text to RTF format.

-rk

--rtfKeywords

keywords

empty string

Specifies the keywords of the RTF document.

-rpm

--rtfPageSynthesisMode

PlainText
The text in output file is formatted in a single column. Frames are not used. Paragraphs are retained while the types and sizes of fonts are not retained.

FormatParagraphs
Paragraphs and the type and size of fonts are retained. The text formatting inside the paragraphs is not retained.

Columns
Full formatting is retained by using columns and frames. This mode is not suitable for export to the clipboard. If  text is exported to to the clipboard, this key is replaced with the  FormatParagraphs value.

Columns

Specifies the mode of RTF file synthesis from the recognised text when exporting  recognised text to RTF format.

-ret

--rtfErrorTextcolor

color in RGB format

0x00ff00

Stores the RGB value of the color used for highlighting uncertainly recognised characters of the recognised text when exporting to RTF format.

-reb

--rtfErrorBackgroundcolor

color in RGB format

0x00ff00

Stores the RGB value of the color used for highlighting the background of  uncertainly recognised characters when exporting text to RTF format.

-rpw

--rtfPaperWidth

page width in twips

width of an A4 page

Stores paper width in twips (1/1440 of inch).

-rph

--rtfPaperHeight

page height in twips

height of an A4 page

Stores paper height in twips (1/1440 of inch).

-rpf

--rtfPictureFormat

If the -rfw95 key is not used, this key can have one of the following values: Automatic, Jpegcolor, JpegGray, PngBlackWhite, Pngcolor,
PngGray.

If the -rfw95  key is used, this key can have one of the following values: BmpBlackWhite, Bmpcolor, BmpGray.
(see descriptions in ExportPictureFormatEnum)

Automatic

the image format to be used during export to an RTF file with embedded pictures.

-rpr

--rtfPictureResolution

picture resolution in dpi

72

Stores the  picture resolution in dpi that is used for exporting pictures into RTF format

-rq

--rtfQuality

JPEG quality in percent

50

Specifies the value of the JPEG quality, percents, for color pictures saved to RTF format in percent.

-rs

--rtfSubject

subject

empty string

Specifies the subject of the RTF document.

-rt

--rtfTitle

title

empty string

Specifies the title of the RTF document.

-rcxml

--rtfWriteCustomXMLTags

no

 

Specifies that additional information about characters' rectangles is stored in Word XML format.

-rwxml

--rtfWriteWordXML

no

 

Specifies whether export is performed to Word XML format.

Key for export to both HTML and RTF formats:

Key Parameters Default Description

-rtn

--retainLayout

no

 

Retains the full page layout.

-sp

--skipPictures

no

 

Picture will not be saved to the resulting file.

Note. Full keys are marked by italic.

See also

ABBYYOCR CLI for Linux - Documentation Home