Grooper Help - Version 25.0
25.0.0017 2,127
  • Overview
  • Help Status

Text Rendering

Behavior Grooper.Core

Enables paginated rendering and interpretation of text documents, treating them as a sequence of fixed-layout pages for display and data extraction.

Remarks

The Text Rendering behavior transforms plain text documents into paginated content, where each character is positioned on a virtual page. This approach allows text documents to be handled similarly to images with OCR, supporting consistent extraction and display across mixed-content documents.

When to Use

  • Use this behavior when working with compound documents that combine text, image, and PDF content, such as an email with a text body and a PDF attachment.
  • It is especially useful for Content Types that require text to be displayed or processed in a page-oriented manner, ensuring that text content appears inline with other paginated elements.

How It Works

  • When present, text documents are split into pages, and each character is assigned a fixed position on a specific page.
  • The layout is determined by settings such as 'Page Width', 'Page Height', 'Font Size', 'Border Size', and 'Resolution'.
  • Text is wrapped and paginated according to these settings, and page boundaries can be defined by form feed (\f) characters or by automatic calculation.

Behavior Without TextRendering

  • If this behavior is not applied, text documents are displayed and interpreted as raw, unpaginated text.

Configuration Tips

  • Set 'Page Width' and 'Page Height' using supported units (e.g., ch for characters, in for inches, pt for points).
  • Adjust 'Font Size' and 'Resolution' to control the appearance and density of rendered text.
  • Use 'Border Size' to add padding around the page content.

Example Scenario

Suppose you have a Batch Folder containing documents with both scanned images and embedded text. By enabling TextRendering, the text portions will be paginated and visually integrated with the image pages, providing a seamless viewing and extraction experience.

Properties

NameTypeDescription

See Also

Notification