CIB jrec technical documentation (EN)

5. Configuration file (INI file)

CIB jrec can be controlled by a configuration file. If no other name is set by the PROPERTY_JREC_INIFILENAME property, the INI file name is "cibjrec.ini". If no INI file should be used, the INI file must be set to the value "null".

The INI file is read when CIB jrec is started (in the method cibRec.start) and can in principle contain all the properties described above, which then overwrite the previously set property values.

The names of the properties must correspond to the internal names of the properties. If not known, they can be requested from the support.

If a line starts with "#", the property is ignored.

 

Example for the content of an INI file:

[Properties]
TITLE=CIB Java Rich Edit Control
INPUTFILE=D:\CIB\TestDokumente\RTF\Tabtest_All.rtf
 
# Enable popup menu
popup.Enabled=true
 
# Show status line
showstatus.Enabled=true
 
# Show toolbar icon for nonprintable-characters
#show-nonprintable-chars.Enabled=false
 
# Set default font family and size
defaultFontFamily=Arial
defaultFontSize=10
 
# Write default font size on saving
writeDefaultFontSize=true
 
# Write default tabs on saving
#writeDefaultTabs=true
 
# Grab focus after setting rtf file
#grab.focus.after.setrtf.Enabled=false
 
# Ignore field instructions within rtf content
#JREC.ignoreFields=true