diff --git a/apps/documenteditor/main/app/template/ParagraphSettingsAdvanced.template b/apps/documenteditor/main/app/template/ParagraphSettingsAdvanced.template index 3f068031b..e8f46a37b 100644 --- a/apps/documenteditor/main/app/template/ParagraphSettingsAdvanced.template +++ b/apps/documenteditor/main/app/template/ParagraphSettingsAdvanced.template @@ -148,22 +148,22 @@ -
- +
+ +
+
+
+ +
-
-
- -
-
-
- -
-
-
-
-
+
+ +
+
+
+
+
diff --git a/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template b/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template index 7b0447e1c..286baadad 100644 --- a/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template +++ b/apps/presentationeditor/main/app/template/ParagraphSettingsAdvanced.template @@ -58,18 +58,32 @@
-
-
-
-
-
-
-
-
-
-
-
-
+ + + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apps/presentationeditor/main/app/view/DateTimeDialog.js b/apps/presentationeditor/main/app/view/DateTimeDialog.js index d4f2d332d..59852eafa 100644 --- a/apps/presentationeditor/main/app/view/DateTimeDialog.js +++ b/apps/presentationeditor/main/app/view/DateTimeDialog.js @@ -176,7 +176,7 @@ define([ }, getFocusedComponents: function() { - return [this.cmbLang, {cmp: this.listFormats, selector: '.listview'}]; + return [this.cmbLang, this.listFormats, this.chUpdate]; }, getDefaultFocusableComponent: function () { diff --git a/apps/presentationeditor/main/app/view/HeaderFooterDialog.js b/apps/presentationeditor/main/app/view/HeaderFooterDialog.js index 718d65979..3a9de16ef 100644 --- a/apps/presentationeditor/main/app/view/HeaderFooterDialog.js +++ b/apps/presentationeditor/main/app/view/HeaderFooterDialog.js @@ -188,7 +188,7 @@ define(['text!presentationeditor/main/app/template/HeaderFooterDialog.template', }, getFocusedComponents: function() { - return [ this.cmbFormat, this.cmbLang, this.inputFixed, this.inputFooter ]; + return [ this.chDateTime, this.cmbFormat, this.cmbLang, this.inputFixed, this.chSlide, this.chFooter, this.inputFooter, this.chNotTitle ]; }, getDefaultFocusableComponent: function () { @@ -198,6 +198,8 @@ define(['text!presentationeditor/main/app/template/HeaderFooterDialog.template', return this.inputFixed; else if (!this.inputFooter.isDisabled()) return this.inputFooter; + else + return this.chDateTime; }, focusControls: function() { diff --git a/apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js b/apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js index 7caa13da0..2b2c6424c 100644 --- a/apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/ImageSettingsAdvanced.js @@ -223,7 +223,7 @@ define([ 'text!presentationeditor/main/app/template/ImageSettingsAdvanced.tem getFocusedComponents: function() { return [ this.spnWidth, this.spnHeight, this.spnX, this.spnY,// 0 tab - this.spnAngle, // 1 tab + this.spnAngle, this.chFlipHor, this.chFlipVert, // 1 tab this.inputAltTitle, this.textareaAltDescription // 2 tab ]; }, diff --git a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js index bbd577d93..7989b1593 100644 --- a/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/ParagraphSettingsAdvanced.js @@ -409,8 +409,8 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced return [ this.cmbTextAlignment, this.numIndentsLeft, this.numIndentsRight, this.cmbSpecial, this.numSpecialBy, this.numSpacingBefore, this.numSpacingAfter, this.cmbLineRule, this.numLineHeight, // 0 tab - this.numSpacing, // 1 tab - this.numDefaultTab, this.numTab, this.cmbAlign, {cmp: this.tabList, selector: '.listview'} // 2 tab + this.chStrike, this.chSubscript, this.chDoubleStrike, this.chSmallCaps, this.chSuperscript, this.chAllCaps, this.numSpacing, // 1 tab + this.numDefaultTab, this.numTab, this.cmbAlign, this.tabList // 2 tab ]; }, @@ -424,7 +424,7 @@ define([ 'text!presentationeditor/main/app/template/ParagraphSettingsAdvanced me.cmbTextAlignment.focus(); break; case 1: - me.numSpacing.focus(); + me.chStrike.focus(); break; case 2: me.numDefaultTab.focus(); diff --git a/apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js b/apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js index a116cdc64..cb3a939a5 100644 --- a/apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/ShapeSettingsAdvanced.js @@ -522,7 +522,7 @@ define([ 'text!presentationeditor/main/app/template/ShapeSettingsAdvanced.tem getFocusedComponents: function() { return [ this.spnWidth, this.spnHeight, // 0 tab - this.spnAngle, // 1 tab + this.spnAngle, this.chFlipHor, this.chFlipVert, // 1 tab this.cmbCapType, this.cmbJoinType, // 2 tab this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight, // 3 tab this.spnColumns, this.spnSpacing, // 4 tab diff --git a/apps/presentationeditor/main/app/view/SlideshowSettings.js b/apps/presentationeditor/main/app/view/SlideshowSettings.js index a9abd396a..c50b01b2f 100644 --- a/apps/presentationeditor/main/app/view/SlideshowSettings.js +++ b/apps/presentationeditor/main/app/view/SlideshowSettings.js @@ -85,6 +85,14 @@ define([ $window.find('.dlg-btn').on('click', _.bind(this.onBtnClick, this)); }, + getFocusedComponents: function() { + return [ this.chLoop ]; + }, + + getDefaultFocusableComponent: function () { + return this.chLoop; + }, + _handleInput: function(state) { if (this.options.handler) { this.options.handler.call(this, this, state); diff --git a/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js b/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js index 5418b1aa3..9e3f0b99b 100644 --- a/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js +++ b/apps/presentationeditor/main/app/view/TableSettingsAdvanced.js @@ -317,7 +317,7 @@ define([ 'text!presentationeditor/main/app/template/TableSettingsAdvanced.tem getFocusedComponents: function() { return [ - this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight, + this.chCellMargins, this.spnMarginTop, this.spnMarginLeft, this.spnMarginBottom, this.spnMarginRight, this.spnTableMarginTop, this.spnTableMarginLeft, this.spnTableMarginBottom, this.spnTableMarginRight, // 0 tab this.inputAltTitle, this.textareaAltDescription // 1 tab ];