CIB webRec technical documentation
Configuration
webrec.base.json
webrec.base.json file contains all default properties for front-end. This flie is build-in inside webrec.war file. To customize values inside it, please use webrec.json file which you could place in the /lib/ folder of the Tomcat.
This file contains all properties available for setup, see CIB webRec GET parameters section.
Sample:
{
"onEditorOpen": "",
"onDocumentLoad": "",
"onActionExec": "",
"onDataDirty": "",
"filterCIBFields": false,
"showHidden": false,
"toggleFieldCode": false,
"reducePageSpace": false,
"maxPagesInRow": 3,
"toolbarMinWidth": 75,
"enableFileButtons": true,
"enableHeader": true,
"enableStatus": true,
"enableCloseConfirmation": false,
"cursorVisibility": true,
"hideCursorOnLostFocus": false,
"cursorBlinking": true,
"readOnlyMode": false,
"initialBlockUI": false,
"onlyPresetFontOptions": false,
"pageDownMovementPercent": 0.5,
"css": "",
"snippetMode": false,
"enablePageBorderLines": true,
"resizeCanvasOnZoom": false,
"resizeCanvasOnWindowResize": false,
"snippetModeMargins": {
"left": 0.1,
"right": 0.2,
"top": 0.1,
"bottom": 0
},
"pageViewOffsets": {
"leftOffset": 50,
"rightOffset": 50,
"topOffset": 50,
"pageOffset": 50
},
"snippetModeViewOffsets": {
"leftOffset": 0,
"rightOffset": 0,
"topOffset": 0,
"pageOffset": 0
},
"drawGridLines": true,
"overridePageColor": "",
"disabledFonts": "",
"initialFont": "",
"initialFontSize": 11,
"initialPageMargins": {
"top": 0.79,
"bottom": 0.79,
"left": 1.18,
"right": 0.59
},
"initialPageSize": {
"width": 8.27,
"height": 11.69,
"isLandscape": false
},
"resetLastParagraph": false,
"bullets": [
{
"fontName": "Symbol",
"character": "\uF0B7"
},
{
"fontName": "Courier New",
"character": "\u006F"
},
{
"fontName": "Wingdings",
"character": "\uF0A7"
}
]
}
