Skip to content

Commit

Permalink
Merge pull request 'fix/dh-refactoring' (#190) from fix/dh-refactorin…
Browse files Browse the repository at this point in the history
…g into release/v8.3.0
  • Loading branch information
Julia Radzhabova committed Dec 18, 2024
2 parents 2a65945 + 0f59e0f commit 218e610
Show file tree
Hide file tree
Showing 14 changed files with 9,031 additions and 8,981 deletions.
2,353 changes: 29 additions & 2,324 deletions apps/documenteditor/main/app/controller/DocumentHolder.js

Large diffs are not rendered by default.

2,368 changes: 2,368 additions & 0 deletions apps/documenteditor/main/app/controller/DocumentHolderExt.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions apps/documenteditor/main/app_dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ require([
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',

'documenteditor/main/app/controller/DocumentHolderExt',
'documenteditor/main/app/view/FileMenuPanels',
'documenteditor/main/app/view/DocumentHolderExt',
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
Expand Down
1 change: 1 addition & 0 deletions apps/documenteditor/main/app_pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ require([
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',

'documenteditor/main/app/controller/DocumentHolderExt',
'documenteditor/main/app/view/FileMenuPanels',
'documenteditor/main/app/view/DocumentHolderExt',
'documenteditor/main/app/view/ParagraphSettingsAdvanced',
Expand Down
3 changes: 0 additions & 3 deletions apps/pdfeditor/main/app/controller/DocumentHolder.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,10 @@ define([

setApi: function(o) {
this.api = o;

if (this.api) {
(this.mode.isEdit === true) && this.api.asc_registerCallback('asc_onCountPages', _.bind(this.onCountPages, this));

this.documentHolder.setApi(this.api);
}

return this;
},

Expand Down
2,222 changes: 28 additions & 2,194 deletions apps/presentationeditor/main/app/controller/DocumentHolder.js

Large diffs are not rendered by default.

2,237 changes: 2,237 additions & 0 deletions apps/presentationeditor/main/app/controller/DocumentHolderExt.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions apps/presentationeditor/main/app/view/DocumentHolderExt.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@ define([], function () {
me.mnuGuides = new Common.UI.MenuItem({
caption : me.textGuides,
menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr',
items: [
{ caption: me.textShowGuides, value: 'show', checkable: true },
Expand All @@ -232,6 +233,7 @@ define([], function () {
me.mnuGridlines = new Common.UI.MenuItem({
caption : me.textGridlines,
menu : new Common.UI.Menu({
cls: 'shifted-right',
menuAlign: 'tl-tr',
items: [
{ caption: me.textShowGridlines, value: 'show', checkable: true },
Expand Down
3 changes: 2 additions & 1 deletion apps/presentationeditor/main/app_dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,8 @@ require([
'common/main/lib/view/DocumentPropertyDialog',
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',


'presentationeditor/main/app/controller/DocumentHolderExt',
'presentationeditor/main/app/view/FileMenuPanels',
'presentationeditor/main/app/view/DocumentHolderExt',
'presentationeditor/main/app/view/ParagraphSettingsAdvanced',
Expand Down
3 changes: 2 additions & 1 deletion apps/presentationeditor/main/app_pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ require([
'common/main/lib/view/DocumentPropertyDialog',
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',


'presentationeditor/main/app/controller/DocumentHolderExt',
'presentationeditor/main/app/view/FileMenuPanels',
'presentationeditor/main/app/view/DocumentHolderExt',
'presentationeditor/main/app/view/ParagraphSettingsAdvanced',
Expand Down
4,668 changes: 212 additions & 4,456 deletions apps/spreadsheeteditor/main/app/controller/DocumentHolder.js

Large diffs are not rendered by default.

4,145 changes: 4,145 additions & 0 deletions apps/spreadsheeteditor/main/app/controller/DocumentHolderExt.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion apps/spreadsheeteditor/main/app_dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ require([
'common/main/lib/view/DocumentPropertyDialog',
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',


'spreadsheeteditor/main/app/controller/DocumentHolderExt',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/DocumentHolderExt',
'spreadsheeteditor/main/app/view/PivotShowDetailDialog',
Expand Down
3 changes: 2 additions & 1 deletion apps/spreadsheeteditor/main/app_pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ require([
'common/main/lib/view/DocumentPropertyDialog',
'common/main/lib/view/MacrosDialog',
'common/main/lib/component/AceEditor',


'spreadsheeteditor/main/app/controller/DocumentHolderExt',
'spreadsheeteditor/main/app/view/FileMenuPanels',
'spreadsheeteditor/main/app/view/DocumentHolderExt',
'spreadsheeteditor/main/app/view/PivotShowDetailDialog',
Expand Down

0 comments on commit 218e610

Please sign in to comment.