diff --git a/apps/documenteditor/mobile/src/view/edit/EditHeader.jsx b/apps/documenteditor/mobile/src/view/edit/EditHeader.jsx index a2b61ffaf..63769fb49 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditHeader.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditHeader.jsx @@ -22,19 +22,19 @@ const EditHeader = props => { - {props.onDiffFirst(!isDiffFirst)}}/> + {props.onDiffFirst(!isDiffFirst)}}/> - {props.onDiffOdd(!isDiffOdd)}}/> + {props.onDiffOdd(!isDiffOdd)}}/> - {props.onSameAs(!boolLinkToPrev)}}/> + {props.onSameAs(!boolLinkToPrev)}}/> {_t.textPageNumbering} - {props.onNumberingContinue(!(startPageNumber<0), _startAt)}}/> + {props.onNumberingContinue(!(startPageNumber<0), _startAt)}}/> {!isAndroid &&
{_startAt}
} diff --git a/apps/documenteditor/mobile/src/view/edit/EditImage.jsx b/apps/documenteditor/mobile/src/view/edit/EditImage.jsx index 476af0fe7..1aefaa88d 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditImage.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditImage.jsx @@ -91,10 +91,10 @@ const PageWrap = props => { } - {props.onMoveText(!moveText)}}/> + {props.onMoveText(!moveText)}}/> - {props.onOverlap(!overlap)}}/> + {props.onOverlap(!overlap)}}/> { diff --git a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx index 9331f1c00..8292b4e13 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx @@ -94,21 +94,21 @@ const PageAdvancedSettings = props => {
- {props.onSpaceBetween(!spaceBetween)}}/> + {props.onSpaceBetween(!spaceBetween)}}/> - {props.onBreakBefore(!breakBefore)}}/> + {props.onBreakBefore(!breakBefore)}}/> - {props.onOrphan(!orphanControl)}}/> + {props.onOrphan(!orphanControl)}}/> - {props.onKeepTogether(!keepTogether)}}/> + {props.onKeepTogether(!keepTogether)}}/> - {props.onKeepNext(!keepWithNext)}}/> + {props.onKeepNext(!keepWithNext)}}/> diff --git a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx index f15ee3cab..874dc135a 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditShape.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditShape.jsx @@ -391,10 +391,10 @@ const PageWrap = props => { } - {props.onMoveText(!moveText)}}/> + {props.onMoveText(!moveText)}}/> - {props.onOverlap(!overlap)}}/> + {props.onOverlap(!overlap)}}/> { diff --git a/apps/documenteditor/mobile/src/view/edit/EditTable.jsx b/apps/documenteditor/mobile/src/view/edit/EditTable.jsx index d17639b5b..847145750 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditTable.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditTable.jsx @@ -40,10 +40,10 @@ const PageTableOptions = props => { - {props.onOptionRepeat(!isRepeat)}}/> + {props.onOptionRepeat(!isRepeat)}}/> - {props.onOptionResize(!isResize)}}/> + {props.onOptionResize(!isResize)}}/> {_t.textCellMargins} @@ -115,7 +115,7 @@ const PageWrap = props => { - {props.onWrapMoveText(!moveText)}}/> + {props.onWrapMoveText(!moveText)}}/> { @@ -223,24 +223,24 @@ const PageStyleOptions = props => { - {props.onCheckTemplateChange(tableLook, 0, !isFirstRow)}}/> + {props.onCheckTemplateChange(tableLook, 0, !isFirstRow)}}/> - {props.onCheckTemplateChange(tableLook, 1, !isLastRow)}}/> + {props.onCheckTemplateChange(tableLook, 1, !isLastRow)}}/> - {props.onCheckTemplateChange(tableLook, 2, !isBandHor)}}/> + {props.onCheckTemplateChange(tableLook, 2, !isBandHor)}}/> - {props.onCheckTemplateChange(tableLook, 3, !isFirstCol)}}/> + {props.onCheckTemplateChange(tableLook, 3, !isFirstCol)}}/> - {props.onCheckTemplateChange(tableLook, 4, !isLastCol)}}/> + {props.onCheckTemplateChange(tableLook, 4, !isLastCol)}}/> - {props.onCheckTemplateChange(tableLook, 5, !isBandVer)}}/> + {props.onCheckTemplateChange(tableLook, 5, !isBandVer)}}/> diff --git a/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx b/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx index ca26d3f6c..23af47efd 100644 --- a/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/ApplicationSettings.jsx @@ -42,7 +42,7 @@ const PageApplicationSettings = props => { { + onToggleChange={() => { store.changeSpellCheck(!isSpellChecking); props.switchSpellCheck(!isSpellChecking); }} @@ -52,7 +52,7 @@ const PageApplicationSettings = props => { {/*ToDo: if (DisplayMode == "final" || DisplayMode == "original") {disabled} */} { + onToggleChange={() => { store.changeNoCharacters(!isNonprintingCharacters); props.switchNoCharacters(!isNonprintingCharacters); }} @@ -60,7 +60,7 @@ const PageApplicationSettings = props => { {/*ToDo: if (DisplayMode == "final" || DisplayMode == "original") {disabled} */} { + onToggleChange={() => { store.changeShowTableEmptyLine(!isHiddenTableBorders); props.switchShowTableEmptyLine(!isHiddenTableBorders); }} @@ -73,7 +73,7 @@ const PageApplicationSettings = props => { { + onToggleChange={() => { store.changeDisplayComments(!isComments); props.switchDisplayComments(!isComments); }} @@ -81,7 +81,7 @@ const PageApplicationSettings = props => { { + onToggleChange={() => { store.changeDisplayResolved(!isResolvedComments); props.switchDisplayResolved(!isResolvedComments); }} diff --git a/apps/documenteditor/mobile/src/view/settings/Settings.jsx b/apps/documenteditor/mobile/src/view/settings/Settings.jsx index cc1d9be71..4a63c0283 100644 --- a/apps/documenteditor/mobile/src/view/settings/Settings.jsx +++ b/apps/documenteditor/mobile/src/view/settings/Settings.jsx @@ -132,7 +132,7 @@ const SettingsList = inject("storeAppOptions", "storeReview")(observer(props => {_canReader && {/*ToDo*/} - {props.onReaderMode()}}/> + {props.onReaderMode()}}/> } {Device.sailfish && _isEdit && diff --git a/apps/presentationeditor/mobile/src/view/edit/EditSlide.jsx b/apps/presentationeditor/mobile/src/view/edit/EditSlide.jsx index 542cff438..c1cae1dc8 100644 --- a/apps/presentationeditor/mobile/src/view/edit/EditSlide.jsx +++ b/apps/presentationeditor/mobile/src/view/edit/EditSlide.jsx @@ -281,11 +281,11 @@ const PageTransition = props => { {_t.textStartOnClick} - {props.onStartClick(!isStartOnClick)}} /> + {props.onStartClick(!isStartOnClick)}} /> {_t.textDelay} - {props.onDelayCheck(!isDelay, _effectDelay)}} /> + {props.onDelayCheck(!isDelay, _effectDelay)}} />
diff --git a/apps/presentationeditor/mobile/src/view/edit/EditTable.jsx b/apps/presentationeditor/mobile/src/view/edit/EditTable.jsx index 789ba0a45..1a411228d 100644 --- a/apps/presentationeditor/mobile/src/view/edit/EditTable.jsx +++ b/apps/presentationeditor/mobile/src/view/edit/EditTable.jsx @@ -64,24 +64,24 @@ const PageStyleOptions = props => { - {props.onCheckTemplateChange(tableLook, 0, !isFirstRow)}}/> + {props.onCheckTemplateChange(tableLook, 0, !isFirstRow)}}/> - {props.onCheckTemplateChange(tableLook, 1, !isLastRow)}}/> + {props.onCheckTemplateChange(tableLook, 1, !isLastRow)}}/> - {props.onCheckTemplateChange(tableLook, 2, !isBandHor)}}/> + {props.onCheckTemplateChange(tableLook, 2, !isBandHor)}}/> - {props.onCheckTemplateChange(tableLook, 3, !isFirstCol)}}/> + {props.onCheckTemplateChange(tableLook, 3, !isFirstCol)}}/> - {props.onCheckTemplateChange(tableLook, 4, !isLastCol)}}/> + {props.onCheckTemplateChange(tableLook, 4, !isLastCol)}}/> - {props.onCheckTemplateChange(tableLook, 5, !isBandVer)}}/> + {props.onCheckTemplateChange(tableLook, 5, !isBandVer)}}/> diff --git a/apps/presentationeditor/mobile/src/view/settings/ApplicationSettings.jsx b/apps/presentationeditor/mobile/src/view/settings/ApplicationSettings.jsx index 54a805d50..257b17063 100644 --- a/apps/presentationeditor/mobile/src/view/settings/ApplicationSettings.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/ApplicationSettings.jsx @@ -38,7 +38,7 @@ const PageApplicationSettings = props => { {_t.textSpellcheck} { + onToggleChange={() => { store.changeSpellCheck(!isSpellChecking); props.switchSpellCheck(!isSpellChecking); }} diff --git a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx index 8d771987c..34d17750f 100644 --- a/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/edit/EditCell.jsx @@ -486,7 +486,7 @@ const PageTextFormatCell = props => { {!isAndroid ? : null} - {props.onWrapTextChange(!isWrapText)}} /> + {props.onWrapTextChange(!isWrapText)}} /> diff --git a/apps/spreadsheeteditor/mobile/src/view/edit/EditChart.jsx b/apps/spreadsheeteditor/mobile/src/view/edit/EditChart.jsx index cb377eec2..bc733e3c1 100644 --- a/apps/spreadsheeteditor/mobile/src/view/edit/EditChart.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/edit/EditChart.jsx @@ -862,7 +862,7 @@ const PageVerticalAxis = props => {
{ + onToggleChange={() => { toggleValuesReverseOrder(!valuesReverseOrder); props.onVerAxisReverse(!valuesReverseOrder); }} /> @@ -1170,7 +1170,7 @@ const PageHorizontalAxis = props => {
{ + onToggleChange={() => { toggleValuesReverseOrder(!valuesReverseOrder); props.onHorAxisReverse(!valuesReverseOrder); }} /> diff --git a/apps/spreadsheeteditor/mobile/src/view/settings/ApplicationSettings.jsx b/apps/spreadsheeteditor/mobile/src/view/settings/ApplicationSettings.jsx index 1059f894f..207607719 100644 --- a/apps/spreadsheeteditor/mobile/src/view/settings/ApplicationSettings.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/settings/ApplicationSettings.jsx @@ -66,7 +66,7 @@ const PageApplicationSettings = props => { {_t.textComments} { + onToggleChange={() => { storeApplicationSettings.changeDisplayComments(!isComments); props.onChangeDisplayComments(!isComments); }} @@ -75,7 +75,7 @@ const PageApplicationSettings = props => { {_t.textResolvedComments} { + onToggleChange={() => { storeApplicationSettings.changeDisplayResolved(!isResolvedComments); props.onChangeDisplayResolved(!isResolvedComments); }} @@ -86,7 +86,7 @@ const PageApplicationSettings = props => { {_t.textR1C1Style} { + onToggleChange={() => { storeApplicationSettings.changeRefStyle(!isRefStyle); props.clickR1C1Style(!isRefStyle); }} diff --git a/apps/spreadsheeteditor/mobile/src/view/settings/SpreadsheetSettings.jsx b/apps/spreadsheeteditor/mobile/src/view/settings/SpreadsheetSettings.jsx index 7ce44af2a..2c7170a01 100644 --- a/apps/spreadsheeteditor/mobile/src/view/settings/SpreadsheetSettings.jsx +++ b/apps/spreadsheeteditor/mobile/src/view/settings/SpreadsheetSettings.jsx @@ -241,14 +241,14 @@ const PageSpreadsheetSettings = props => { {_t.textHideHeadings} - { + { storeSpreadsheetSettings.changeHideHeadings(!isHideHeadings); props.clickCheckboxHideHeadings(!isHideHeadings) }} /> {_t.textHideGridlines} - { + { storeSpreadsheetSettings.changeHideGridlines(!isHideGridlines); props.clickCheckboxHideGridlines(!isHideGridlines) }} />