How to handle extra large objects that do not fit on an A4 page

Question

Some input files (e.g. XLS spreadsheets, TXT files, or e-mail messages) may contain very large objects that do not fit on one A4 page. This may be a table with a very large number of columns, a large picture in the body of an e-mail message, or a very long line in a TXT file. How to process them so that all information will be on one page? 

Answer

By default, the program will scale down large pictures and split large tables across several pages, which results in Document Definition matching errors. To address the issue, we recommend reducing
input files to A3 Landscape. The table below lists the registry keys that allow you to change the default page size.

Option

Registry Key

Key value

Scale inline images

HKEY_CURRENT_USER\Software\ABBYY\

FlexiCapture\12.0\MailTools 

AdaptSizeInlineImagesForA4

= true or

AdaptSizeInlineImagesForA4

= false

HTML with table adjustment 

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

PreprocessorOptions = 2 or

PreprocessorOptions = 15

TXT with table adjustment

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

PreprocessorOptions = 1 or

PreprocessorOptions = 15

Remove “thead” tag in HTML

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

PreprocessorOptions = 4 or

PreprocessorOptions = 15

XML prolog removing for

emails

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

PreprocessorOptions = 8 or

PreprocessorOptions = 15

XLSX adjustment

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

AdaptPageSize = true or

AdaptPageSize = false

Autofit columns in XLSX

HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

AutoFit = true or

AutoFit = false

Adapt Page Size in XLSX

 HKEY_CURRENT_USER\

Software\ABBYY\

FlexiCapture\12.0\Controller\

OfficeConverter

AdaptFitToPagesWide = true or

AdaptFitToPagesWide = false 

Known limitation: Scaling for TXT and HTML is not available if LibreOffice 4.2 or 4.3 is installed.

Notes :

  1. Preprocessing of Office formats works only via Microsoft Office. 
  2. Options will be enabled after keys are added to the registry.
  3. The keys must be added for the user under which the import is run.
  4. For a regular user, the keys are added to the HKEY_CURRENT_USER registry branch.
  5. For the Network Service user (under which the Processing Station service runs by default), the keys are added to the HKEY_USERS\S-1-5-20 branch.

 

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.