CIB jrec technical documentation (EN)

2. Introduction

CIB jrec is a Java-based rich text editor component, which can be integrated easily into masks and third-party applications using the interface concept known from other CIB modules.

Like the other CIB modules, this RTF edit control can be controlled easily by setting various properties. This fulfills a frequent customer request for a slim text (passage) editor with reduced functionality, which can be easily integrated into other Java applications.

The CIB jrec editor can be started either empty, with ASCII or RTF texts. Vice versa, the texts can be read from the edit control in ASCII or RTF format.

CIB jrec has the following options for text formatting:

  • Different fonts and font sizes
  • Character attributes bold, italic, underlined, colored
  • Paragraph alignment left-aligned, centered, right-aligned
  • Copy, cut and paste marked text sections
  • Show/hide formatting characters

Tabulator positions in an RTF document (across documents or per paragraph) are evaluated and displayed accordingly.

This technical documentation gives an overview of the configuration and application possibilities, together with code examples for a "quick start" into the topic.

Two sample documents are shown below: The first document was created with CIB jrec and shows some functions of the Rich Text Edit control. The second document contains different tabulators and was created with MS Word, because in CIB jrec documents with explicit tab positions can be displayed but not created.