Merge branch 'feature/fill-forms' into develop

[DE] Customize start filling button
This commit is contained in:
Julia Radzhabova
2025-02-20 22:30:30 +03:00
2 changed files with 7 additions and 3 deletions

View File

@ -88,7 +88,8 @@
id: 'user id', id: 'user id',
name: 'user name', name: 'user name',
group: 'group name' // for customization.reviewPermissions or permissions.reviewGroups or permissions.commentGroups. Can be multiple groups separated by commas (,) : 'Group1' or 'Group1,Group2' group: 'group name' // for customization.reviewPermissions or permissions.reviewGroups or permissions.commentGroups. Can be multiple groups separated by commas (,) : 'Group1' or 'Group1,Group2'
image: 'image url' image: 'image url',
roles: ['Role1'] // used for pdf-forms, fill form with Role1
}, },
recent: [ recent: [
{ {
@ -263,7 +264,10 @@
slidePlayerBackground: '#000000', // background color for slide show in presentation editor slidePlayerBackground: '#000000', // background color for slide show in presentation editor
wordHeadingsColor: '#00ff00' // set color for default heading styles in document editor wordHeadingsColor: '#00ff00' // set color for default heading styles in document editor
showVerticalScroll: true/false, // show/hide scroll in the spreadsheet editor by default showVerticalScroll: true/false, // show/hide scroll in the spreadsheet editor by default
showHorizontalScroll: true/false // show/hide scroll in the spreadsheet editor by default showHorizontalScroll: true/false, // show/hide scroll in the spreadsheet editor by default
startFillingForm: {
text: 'Share & collect' // caption of the start filling button, used for pdf-forms
}
}, },
coEditing: { coEditing: {
mode: 'fast', // <coauthoring mode>, 'fast' or 'strict'. if 'fast' and 'customization.autosave'=false -> set 'customization.autosave'=true. 'fast' - default for editor mode: 'fast', // <coauthoring mode>, 'fast' or 'strict'. if 'fast' and 'customization.autosave'=false -> set 'customization.autosave'=true. 'fast' - default for editor

View File

@ -996,7 +996,7 @@ define([
if (config.canStartFilling) { if (config.canStartFilling) {
me.btnStartFill = new Common.UI.Button({ me.btnStartFill = new Common.UI.Button({
cls: 'btn-text-default auto yellow', cls: 'btn-text-default auto yellow',
caption: me.textStartFill, caption: config.customization && config.customization.startFillingForm && config.customization.startFillingForm.text ? config.customization.startFillingForm.text : me.textStartFill,
dataHint: '0', dataHint: '0',
dataHintDirection: 'bottom', dataHintDirection: 'bottom',
dataHintOffset: 'big' dataHintOffset: 'big'