CIB jrec technical documentation (EN)
3. Configuration via properties
3.3. Properties to configure the jrec edit controls
With these properties the behavior of the jrec edit controls can be set.
Property description |
Type |
PROPERTY_ALLOWED_FONT_LIST |
String |
List of allowed fonts separated by semicolons (font name1;font name2; ...). If not empty, the list of allowed fonts is restricted to the fonts in the list. Default: All allowed fonts are available in the jrec edit control. Note: This property can be used to restrict the list of allowed fonts to the fonts in the list. If the list is empty, all allowed fonts are available. |
Property description |
Type |
PROPERTY_DEFAULT_FONT_FAMILY |
String |
Sets the default font of the RTF document. Default: RTF default font (Times New Roman). Note: This property sets the name of the default font. If the property is not set, the default RTF font usage is used. |
Property description |
Type |
PROPERTY_DEFAULT_FONT_SIZE |
String |
Sets the default font size of the RTF document. Default: RTF default font size (12). Note: This property sets the default font size. If the property is not set, the default RTF font size is used for usage. |
Property description |
Type |
PROPERTY_GRAB_FOCUS_AFTER_SETRTF |
Boolean |
Determines whether in CIB jrec after setting an RTF text with setRTF() the focus is set on the text or not. Default: FALSE Note: This property determines whether or not the focus is automatically set to the edit control after loading or setting a text. |
Property description |
Type |
PROPERTY_USE_ONLY_STANDARD_COLORS |
Boolean |
Only RTF standard colors can be selected in the color selection dialog. TRUE: Only RTF standard colors are selectable. FALSE (default): Self defined and RTF standard colors are selectable. Note: This property determines the selection of colors in the color selection dialog. |
Property description |
Type |
PROPERTY_POPUP_ENABLED |
Boolean |
Determines whether or not the pop-up menu is activated in CIB jrec. Since this property is also read from the INI file, it should only be set after calling cibRec.start(), otherwise it will be overwritten. TRUE: The pop-up menu can be activated by clicking the right mouse button. FALSE (default): The pop-up menu cannot be accessed. Note: This property determines the usability of the pop-up menu. |
Property description |
Type |
PROPERTY_WRITE_DEFAULTFONTSIZE |
Boolean |
Determines whether CIB jrec writes the default font size into the RTF document. TRUE: Writes the default font size into the RTF document. FALSE (default): Does not write the default font size to the RTF document. Note: This property is used to configure the writing of the default font size in the RTF document. |
Property description |
Type |
PROPERTY_WRITE_DEFAULTTABS |
Boolean |
Determines whether CIB jrec writes the standard tabs per paragraph to the RTF document. TRUE: Writes the default tabs per paragraph into the RTF document. FALSE (default): Does not write the standard tabs to the RTF document. Note: This property is used to configure the writing of standard tabs to the RTF document. |
Property description |
Type |
PROPERTY_REC_IGNORE_FIELDS |
Boolean |
Determines whether CIB jrec ignores the fields embedded in the RTF document or not. TRUE: The fields embedded in the RTF are ignored, i.e. they are not displayed and not saved. FALSE (default): The fields embedded in the RTF are not ignored, i.e. they are displayed and saved. Note: If the switch is set, embedded fields are not displayed and not saved. Only the fieldresult is displayed as normal formatted text and saved as such. This applies especially to hyperlinks and file links. |