[SSE, PE] fix bug 35473
This commit is contained in:
parent
75626ea68b
commit
9b1a4a0904
|
@ -88,7 +88,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="separator long close"></div>
|
<div class="separator long close"></div>
|
||||||
<div class="group">
|
<div class="group">
|
||||||
<span class="btn-slot text x-huge slot-inserttext"></span>
|
<span class="btn-slot text x-huge slot-instext"></span>
|
||||||
<span class="btn-slot text x-huge slot-insertimg"></span>
|
<span class="btn-slot text x-huge slot-insertimg"></span>
|
||||||
<span class="btn-slot text x-huge slot-insertshape"></span>
|
<span class="btn-slot text x-huge slot-insertshape"></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -129,7 +129,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="separator long"></div>
|
<div class="separator long"></div>
|
||||||
<div class="group">
|
<div class="group">
|
||||||
<span class="btn-slot text x-huge slot-inserttext"></span>
|
<span class="btn-slot text x-huge slot-instext"></span>
|
||||||
|
<span class="btn-slot text x-huge" id="slot-btn-instextart"></span>
|
||||||
<span class="btn-slot text x-huge slot-insertimg"></span>
|
<span class="btn-slot text x-huge slot-insertimg"></span>
|
||||||
<span class="btn-slot text x-huge slot-insertshape"></span>
|
<span class="btn-slot text x-huge slot-insertshape"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-insertchart"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-insertchart"></span>
|
||||||
|
|
|
@ -586,6 +586,20 @@ define([
|
||||||
});
|
});
|
||||||
me.paragraphControls.push(me.btnInsertHyperlink);
|
me.paragraphControls.push(me.btnInsertHyperlink);
|
||||||
|
|
||||||
|
me.btnInsertTextArt = new Common.UI.Button({
|
||||||
|
id: 'tlb-btn-instextart',
|
||||||
|
cls: 'btn-toolbar x-huge icon-top',
|
||||||
|
iconCls: 'btn-textart',
|
||||||
|
caption: me.capInsertTextArt,
|
||||||
|
menu: new Common.UI.Menu({
|
||||||
|
cls: 'menu-shapes',
|
||||||
|
items: [
|
||||||
|
{template: _.template('<div id="view-insert-art" style="width: 239px; margin-left: 5px;"></div>')}
|
||||||
|
]
|
||||||
|
})
|
||||||
|
});
|
||||||
|
me.paragraphControls.push(me.btnInsertTextArt);
|
||||||
|
|
||||||
me.btnColorSchemas = new Common.UI.Button({
|
me.btnColorSchemas = new Common.UI.Button({
|
||||||
id : 'id-toolbar-btn-colorschemas',
|
id : 'id-toolbar-btn-colorschemas',
|
||||||
cls : 'btn-toolbar',
|
cls : 'btn-toolbar',
|
||||||
|
@ -982,6 +996,7 @@ define([
|
||||||
_injectComponent('#slot-btn-insertlink', this.btnInsertHyperlink);
|
_injectComponent('#slot-btn-insertlink', this.btnInsertHyperlink);
|
||||||
_injectComponent('#slot-btn-inserttable', this.btnInsertTable);
|
_injectComponent('#slot-btn-inserttable', this.btnInsertTable);
|
||||||
_injectComponent('#slot-btn-insertchart', this.btnInsertChart);
|
_injectComponent('#slot-btn-insertchart', this.btnInsertChart);
|
||||||
|
_injectComponent('#slot-btn-instextart', this.btnInsertTextArt);
|
||||||
_injectComponent('#slot-btn-colorschemas', this.btnColorSchemas);
|
_injectComponent('#slot-btn-colorschemas', this.btnColorSchemas);
|
||||||
_injectComponent('#slot-btn-slidesize', this.btnSlideSize);
|
_injectComponent('#slot-btn-slidesize', this.btnSlideSize);
|
||||||
_injectComponent('#slot-field-styles', this.listTheme);
|
_injectComponent('#slot-field-styles', this.listTheme);
|
||||||
|
@ -1014,15 +1029,13 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
me.btnsInsertText = _injectBtns({
|
me.btnsInsertText = _injectBtns({
|
||||||
slot: '.slot-inserttext',
|
slot: '.slot-instext',
|
||||||
btnconfig: {
|
btnconfig: {
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-text',
|
iconCls : 'btn-text',
|
||||||
caption : me.capInsertText,
|
caption : me.capInsertText,
|
||||||
lock : [PE.enumLock.slideDeleted, PE.enumLock.lostConnect, PE.enumLock.noSlides, PE.enumLock.disableOnStart],
|
lock : [PE.enumLock.slideDeleted, PE.enumLock.lostConnect, PE.enumLock.noSlides, PE.enumLock.disableOnStart],
|
||||||
enableToggle: true,
|
enableToggle: true
|
||||||
split : true,
|
|
||||||
menu : true
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1067,25 +1080,6 @@ define([
|
||||||
|
|
||||||
me.btnsInsertText.forEach(function (btn) {
|
me.btnsInsertText.forEach(function (btn) {
|
||||||
btn.updateHint(me.tipInsertText);
|
btn.updateHint(me.tipInsertText);
|
||||||
btn.setMenu(
|
|
||||||
new Common.UI.Menu({
|
|
||||||
items: [
|
|
||||||
{caption: me.textInsText, value: 'text'},
|
|
||||||
{caption: me.textInsTextArt, value: 'art',
|
|
||||||
menu: new Common.UI.Menu({
|
|
||||||
menuAlign: 'tl-tr',
|
|
||||||
cls: 'menu-shapes',
|
|
||||||
items: [
|
|
||||||
{template: _.template('<div class="view-insert-art" style="width: 239px; margin-left: 5px;"></div>')}
|
|
||||||
]
|
|
||||||
})
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}).on('item:click', function (menu, item, e) {
|
|
||||||
if (item.value == 'text')
|
|
||||||
me.fireEvent('insert:text', ['begin']);
|
|
||||||
})
|
|
||||||
);
|
|
||||||
btn.on('click', function (btn, e) {
|
btn.on('click', function (btn, e) {
|
||||||
me.fireEvent('insert:text', [btn.pressed ? 'begin' : 'end']);
|
me.fireEvent('insert:text', [btn.pressed ? 'begin' : 'end']);
|
||||||
});
|
});
|
||||||
|
@ -1134,6 +1128,7 @@ define([
|
||||||
this.btnInsertChart.updateHint(this.tipInsertChart);
|
this.btnInsertChart.updateHint(this.tipInsertChart);
|
||||||
this.btnInsertEquation.updateHint(this.tipInsertEquation);
|
this.btnInsertEquation.updateHint(this.tipInsertEquation);
|
||||||
this.btnInsertHyperlink.updateHint(this.tipInsertHyperlink + Common.Utils.String.platformKey('Ctrl+K'));
|
this.btnInsertHyperlink.updateHint(this.tipInsertHyperlink + Common.Utils.String.platformKey('Ctrl+K'));
|
||||||
|
this.btnInsertTextArt.updateHint(this.tipInsertTextArt);
|
||||||
this.btnColorSchemas.updateHint(this.tipColorSchemas);
|
this.btnColorSchemas.updateHint(this.tipColorSchemas);
|
||||||
this.btnHide.updateHint(this.tipViewSettings);
|
this.btnHide.updateHint(this.tipViewSettings);
|
||||||
this.btnAdvSettings.updateHint(this.tipAdvSettings);
|
this.btnAdvSettings.updateHint(this.tipAdvSettings);
|
||||||
|
@ -1641,31 +1636,30 @@ define([
|
||||||
updateTextartMenu: function (collection) {
|
updateTextartMenu: function (collection) {
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
me.btnsInsertText.forEach(function (btn) {
|
var btn = me.btnInsertTextArt;
|
||||||
if ( btn.textartPicker ) {
|
if ( btn.textartPicker ) {
|
||||||
if ( btn.textartPicker.store.size() == collection.size() ) {
|
if ( btn.textartPicker.store.size() == collection.size() ) {
|
||||||
btn.textartPicker.store.each(function (model, index) {
|
btn.textartPicker.store.each(function (model, index) {
|
||||||
model.set('imageUrl', collection.at(index).get('imageUrl'));
|
model.set('imageUrl', collection.at(index).get('imageUrl'));
|
||||||
});
|
});
|
||||||
} else {
|
|
||||||
btn.textartPicker.store.reset( collection.models );
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
btn.textartPicker = new Common.UI.DataView({
|
btn.textartPicker.store.reset( collection.models );
|
||||||
el: $('.view-insert-art', btn.menu.items[1].$el),
|
|
||||||
store: collection,
|
|
||||||
parentMenu: btn.menu.items[1],
|
|
||||||
showLast: false,
|
|
||||||
itemTemplate: _.template('<div class="item-art"><img src="<%= imageUrl %>" id="<%= id %>" style="width:50px;height:50px;"></div>')
|
|
||||||
});
|
|
||||||
|
|
||||||
btn.textartPicker.on('item:click', function(picker, item, record, e) {
|
|
||||||
me.fireEvent('insert:textart', [record.get('data')]);
|
|
||||||
|
|
||||||
if (e.type !== 'click') this.menu.hide();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
} else {
|
||||||
|
btn.textartPicker = new Common.UI.DataView({
|
||||||
|
el: $('#view-insert-art', btn.menu.$el),
|
||||||
|
store: collection,
|
||||||
|
parentMenu: btn.menu,
|
||||||
|
showLast: false,
|
||||||
|
itemTemplate: _.template('<div class="item-art"><img src="<%= imageUrl %>" id="<%= id %>" style="width:50px;height:50px;"></div>')
|
||||||
|
});
|
||||||
|
|
||||||
|
btn.textartPicker.on('item:click', function(picker, item, record, e) {
|
||||||
|
me.fireEvent('insert:textart', [record.get('data')]);
|
||||||
|
|
||||||
|
if (e.type !== 'click') this.menu.hide();
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
updateAutoshapeMenu: function (collection) {
|
updateAutoshapeMenu: function (collection) {
|
||||||
|
@ -1740,6 +1734,7 @@ define([
|
||||||
mniCustomTable: 'Insert Custom Table',
|
mniCustomTable: 'Insert Custom Table',
|
||||||
tipInsertHyperlink: 'Add Hyperlink',
|
tipInsertHyperlink: 'Add Hyperlink',
|
||||||
tipInsertText: 'Insert Text',
|
tipInsertText: 'Insert Text',
|
||||||
|
tipInsertTextArt: 'Insert Text Art',
|
||||||
tipInsertShape: 'Insert Autoshape',
|
tipInsertShape: 'Insert Autoshape',
|
||||||
tipPreview: 'Start Slideshow',
|
tipPreview: 'Start Slideshow',
|
||||||
tipAddSlide: 'Add Slide',
|
tipAddSlide: 'Add Slide',
|
||||||
|
@ -1817,7 +1812,8 @@ define([
|
||||||
tipInsertEquation: 'Insert Equation',
|
tipInsertEquation: 'Insert Equation',
|
||||||
textCharts: 'Charts',
|
textCharts: 'Charts',
|
||||||
tipChangeChart: 'Change Chart Type',
|
tipChangeChart: 'Change Chart Type',
|
||||||
capInsertText: 'Text Box',
|
capInsertText: 'Text',
|
||||||
|
capInsertTextArt: 'Text Art',
|
||||||
capInsertImage: 'Picture',
|
capInsertImage: 'Picture',
|
||||||
capInsertShape: 'Shape',
|
capInsertShape: 'Shape',
|
||||||
capInsertTable: 'Table',
|
capInsertTable: 'Table',
|
||||||
|
|
|
@ -1306,7 +1306,8 @@
|
||||||
"PE.Views.Toolbar.textTitleError": "Error",
|
"PE.Views.Toolbar.textTitleError": "Error",
|
||||||
"PE.Views.Toolbar.textUnderline": "Underline",
|
"PE.Views.Toolbar.textUnderline": "Underline",
|
||||||
"PE.Views.Toolbar.textZoom": "Zoom",
|
"PE.Views.Toolbar.textZoom": "Zoom",
|
||||||
"PE.Views.Toolbar.capInsertText": "Text Box",
|
"PE.Views.Toolbar.capInsertText": "Text",
|
||||||
|
"PE.Views.Toolbar.capInsertTextArt": "Text Art",
|
||||||
"PE.Views.Toolbar.capInsertImage": "Picture",
|
"PE.Views.Toolbar.capInsertImage": "Picture",
|
||||||
"PE.Views.Toolbar.capInsertShape": "Shape",
|
"PE.Views.Toolbar.capInsertShape": "Shape",
|
||||||
"PE.Views.Toolbar.capInsertTable": "Table",
|
"PE.Views.Toolbar.capInsertTable": "Table",
|
||||||
|
@ -1340,6 +1341,7 @@
|
||||||
"PE.Views.Toolbar.tipInsertShape": "Insert Autoshape",
|
"PE.Views.Toolbar.tipInsertShape": "Insert Autoshape",
|
||||||
"PE.Views.Toolbar.tipInsertTable": "Insert Table",
|
"PE.Views.Toolbar.tipInsertTable": "Insert Table",
|
||||||
"PE.Views.Toolbar.tipInsertText": "Insert Text",
|
"PE.Views.Toolbar.tipInsertText": "Insert Text",
|
||||||
|
"PE.Views.Toolbar.tipInsertTextArt": "Insert Text Art",
|
||||||
"PE.Views.Toolbar.tipLineSpace": "Line Spacing",
|
"PE.Views.Toolbar.tipLineSpace": "Line Spacing",
|
||||||
"PE.Views.Toolbar.tipMarkers": "Bullets",
|
"PE.Views.Toolbar.tipMarkers": "Bullets",
|
||||||
"del_PE.Views.Toolbar.tipNewDocument": "New Presentation",
|
"del_PE.Views.Toolbar.tipNewDocument": "New Presentation",
|
||||||
|
|
|
@ -263,7 +263,6 @@ define([
|
||||||
toolbar.btnInsertHyperlink.on('click', _.bind(this.onHyperlink, this));
|
toolbar.btnInsertHyperlink.on('click', _.bind(this.onHyperlink, this));
|
||||||
toolbar.mnuInsertChartPicker.on('item:click', _.bind(this.onSelectChart, this));
|
toolbar.mnuInsertChartPicker.on('item:click', _.bind(this.onSelectChart, this));
|
||||||
toolbar.btnInsertText.on('click', _.bind(this.onBtnInsertTextClick, this));
|
toolbar.btnInsertText.on('click', _.bind(this.onBtnInsertTextClick, this));
|
||||||
toolbar.btnInsertText.menu.on('item:click', _.bind(this.onInsertTextClick, this));
|
|
||||||
toolbar.btnInsertShape.menu.on('hide:after', _.bind(this.onInsertShapeHide, this));
|
toolbar.btnInsertShape.menu.on('hide:after', _.bind(this.onInsertShapeHide, this));
|
||||||
toolbar.btnInsertEquation.on('click', _.bind(this.onInsertEquationClick, this));
|
toolbar.btnInsertEquation.on('click', _.bind(this.onInsertEquationClick, this));
|
||||||
toolbar.btnSortDown.on('click', _.bind(this.onSortType, this, Asc.c_oAscSortOptions.Ascending));
|
toolbar.btnSortDown.on('click', _.bind(this.onSortType, this, Asc.c_oAscSortOptions.Ascending));
|
||||||
|
@ -910,20 +909,6 @@ define([
|
||||||
Common.component.Analytics.trackEvent('ToolBar', 'Add Text');
|
Common.component.Analytics.trackEvent('ToolBar', 'Add Text');
|
||||||
},
|
},
|
||||||
|
|
||||||
onInsertTextClick: function(menu, item, e) {
|
|
||||||
if (item.value === 'text') {
|
|
||||||
if (this.api)
|
|
||||||
this._addAutoshape(true, 'textRect');
|
|
||||||
this.toolbar.btnInsertText.toggle(true, true);
|
|
||||||
|
|
||||||
if (this.toolbar.btnInsertShape.pressed)
|
|
||||||
this.toolbar.btnInsertShape.toggle(false, true);
|
|
||||||
|
|
||||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar, this.toolbar.btnInsertShape);
|
|
||||||
Common.component.Analytics.trackEvent('ToolBar', 'Add Text');
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
onInsertShapeHide: function(btn, e) {
|
onInsertShapeHide: function(btn, e) {
|
||||||
if (this.toolbar.btnInsertShape.pressed && !this._isAddingShape) {
|
if (this.toolbar.btnInsertShape.pressed && !this._isAddingShape) {
|
||||||
this.toolbar.btnInsertShape.toggle(false, true);
|
this.toolbar.btnInsertShape.toggle(false, true);
|
||||||
|
@ -2383,11 +2368,11 @@ define([
|
||||||
},
|
},
|
||||||
|
|
||||||
fillTextArt: function() {
|
fillTextArt: function() {
|
||||||
if (!this.toolbar.btnInsertText.rendered) return;
|
if (!this.toolbar.btnInsertTextArt.rendered) return;
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
|
|
||||||
if (this.toolbar.mnuTextArtPicker) {
|
if ( this.toolbar.mnuTextArtPicker ) {
|
||||||
var models = this.getApplication().getCollection('Common.Collections.TextArt').models,
|
var models = this.getApplication().getCollection('Common.Collections.TextArt').models,
|
||||||
count = this.toolbar.mnuTextArtPicker.store.length;
|
count = this.toolbar.mnuTextArtPicker.store.length;
|
||||||
if (count>0 && count==models.length) {
|
if (count>0 && count==models.length) {
|
||||||
|
@ -2400,27 +2385,28 @@ define([
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.toolbar.mnuTextArtPicker = new Common.UI.DataView({
|
this.toolbar.mnuTextArtPicker = new Common.UI.DataView({
|
||||||
el: $('#id-toolbar-menu-insart'),
|
el: $('#id-toolbar-menu-insart', me.toolbar),
|
||||||
store: this.getApplication().getCollection('Common.Collections.TextArt'),
|
store: this.getApplication().getCollection('Common.Collections.TextArt'),
|
||||||
parentMenu: this.toolbar.mnuInsertTextArt.menu,
|
// parentMenu: this.toolbar.mnuInsertTextArt.menu,
|
||||||
showLast: false,
|
showLast: false,
|
||||||
itemTemplate: _.template('<div class="item-art"><img src="<%= imageUrl %>" id="<%= id %>" style="width:50px;height:50px;"></div>')
|
itemTemplate: _.template('<div class="item-art"><img src="<%= imageUrl %>" id="<%= id %>" style="width:50px;height:50px;"></div>')
|
||||||
});
|
});
|
||||||
|
|
||||||
this.toolbar.mnuTextArtPicker.on('item:click', function(picker, item, record, e) {
|
this.toolbar.mnuTextArtPicker.on('item:click',
|
||||||
if (me.api) {
|
function(picker, item, record, e) {
|
||||||
me.toolbar.fireEvent('inserttextart', me.toolbar);
|
me.toolbar.fireEvent('inserttextart', me.toolbar);
|
||||||
me.api.asc_addTextArt(record.get('data'));
|
me.api.asc_addTextArt(record.get('data'));
|
||||||
|
|
||||||
if (me.toolbar.btnInsertShape.pressed)
|
if ( me.toolbar.btnInsertShape.pressed )
|
||||||
me.toolbar.btnInsertShape.toggle(false, true);
|
me.toolbar.btnInsertShape.toggle(false, true);
|
||||||
|
|
||||||
if (e.type !== 'click')
|
if ( e.type !== 'click' )
|
||||||
me.toolbar.btnInsertText.menu.hide();
|
me.toolbar.btnInsertTextArt.menu.hide();
|
||||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertText);
|
|
||||||
|
Common.NotificationCenter.trigger('edit:complete', me.toolbar, me.toolbar.btnInsertTextArt);
|
||||||
Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art');
|
Common.component.Analytics.trackEvent('ToolBar', 'Add Text Art');
|
||||||
}
|
}
|
||||||
});
|
);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -152,6 +152,7 @@
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-insimage"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-insimage"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-insshape"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-insshape"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-instext"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-instext"></span>
|
||||||
|
<span class="btn-slot text x-huge" id="slot-btn-instextart"></span>
|
||||||
<span class="btn-slot text x-huge" id="slot-btn-inschart"></span>
|
<span class="btn-slot text x-huge" id="slot-btn-inschart"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="separator long"></div>
|
<div class="separator long"></div>
|
||||||
|
|
|
@ -646,27 +646,23 @@ define([
|
||||||
});
|
});
|
||||||
|
|
||||||
me.btnInsertText = new Common.UI.Button({
|
me.btnInsertText = new Common.UI.Button({
|
||||||
id : 'id-toolbar-btn-inserttext',
|
id : 'tlb-btn-inserttext',
|
||||||
cls : 'btn-toolbar x-huge icon-top',
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
iconCls : 'btn-text',
|
iconCls : 'btn-text',
|
||||||
caption : me.capInsertText,
|
caption : me.capInsertText,
|
||||||
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
lock : [_set.editCell, _set.selChartText, _set.selImage, _set.lostConnect, _set.coAuth],
|
||||||
enableToggle: true,
|
enableToggle: true
|
||||||
split : true,
|
});
|
||||||
|
|
||||||
|
me.btnInsertTextArt = new Common.UI.Button({
|
||||||
|
id : 'tlb-btn-instextart',
|
||||||
|
cls : 'btn-toolbar x-huge icon-top',
|
||||||
|
iconCls : 'btn-textart',
|
||||||
|
caption : me.capInsertTextart,
|
||||||
menu : new Common.UI.Menu({
|
menu : new Common.UI.Menu({
|
||||||
items : [
|
cls: 'menu-shapes',
|
||||||
{caption: this.textInsText, value: 'text'},
|
items: [
|
||||||
this.mnuInsertTextArt = new Common.UI.MenuItem({
|
{template: _.template('<div id="id-toolbar-menu-insart" style="width: 239px; margin-left: 5px;"></div>')}
|
||||||
caption: this.textInsTextArt,
|
|
||||||
value: 'art',
|
|
||||||
menu: new Common.UI.Menu({
|
|
||||||
menuAlign: 'tl-tr',
|
|
||||||
cls: 'menu-shapes',
|
|
||||||
items: [
|
|
||||||
{ template: _.template('<div id="id-toolbar-menu-insart" style="width: 239px; margin-left: 5px;"></div>') }
|
|
||||||
]
|
|
||||||
})
|
|
||||||
})
|
|
||||||
]
|
]
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
@ -1204,8 +1200,8 @@ define([
|
||||||
me.btnAlignCenter,me.btnAlignRight,me.btnAlignJust, me.btnVerticalAlign, me.btnAlignTop,
|
me.btnAlignCenter,me.btnAlignRight,me.btnAlignJust, me.btnVerticalAlign, me.btnAlignTop,
|
||||||
me.btnAlignMiddle, me.btnAlignBottom, me.btnWrap, me.btnTextOrient, me.btnBackColor,
|
me.btnAlignMiddle, me.btnAlignBottom, me.btnWrap, me.btnTextOrient, me.btnBackColor,
|
||||||
me.btnMerge, me.btnInsertFormula, me.btnNamedRange, me.btnIncDecimal, me.btnInsertShape, me.btnInsertEquation,
|
me.btnMerge, me.btnInsertFormula, me.btnNamedRange, me.btnIncDecimal, me.btnInsertShape, me.btnInsertEquation,
|
||||||
me.btnInsertText, me.btnSortUp, me.btnSortDown, me.btnSetAutofilter, me.btnClearAutofilter, me.btnTableTemplate,
|
me.btnInsertText, me.btnInsertTextArt, me.btnSortUp, me.btnSortDown, me.btnSetAutofilter, me.btnClearAutofilter,
|
||||||
me.btnPercentStyle, me.btnCurrencyStyle, me.btnDecDecimal, me.btnAddCell, me.btnDeleteCell,
|
me.btnTableTemplate, me.btnPercentStyle, me.btnCurrencyStyle, me.btnDecDecimal, me.btnAddCell, me.btnDeleteCell,
|
||||||
me.cmbNumberFormat, me.btnBorders, me.btnInsertImage, me.btnInsertHyperlink,
|
me.cmbNumberFormat, me.btnBorders, me.btnInsertImage, me.btnInsertHyperlink,
|
||||||
me.btnInsertChart, me.btnColorSchemas,
|
me.btnInsertChart, me.btnColorSchemas,
|
||||||
me.btnAutofilter, me.btnCopy, me.btnPaste, me.btnSettings, me.listStyles, me.btnPrint, me.btnShowMode,
|
me.btnAutofilter, me.btnCopy, me.btnPaste, me.btnSettings, me.listStyles, me.btnPrint, me.btnShowMode,
|
||||||
|
@ -1214,8 +1210,8 @@ define([
|
||||||
|
|
||||||
var _temp_array = [me.cmbFontName, me.cmbFontSize, me.btnAlignLeft,me.btnAlignCenter,me.btnAlignRight,me.btnAlignJust,me.btnAlignTop,
|
var _temp_array = [me.cmbFontName, me.cmbFontSize, me.btnAlignLeft,me.btnAlignCenter,me.btnAlignRight,me.btnAlignJust,me.btnAlignTop,
|
||||||
me.btnAlignMiddle, me.btnAlignBottom, me.btnHorizontalAlign, me.btnVerticalAlign,
|
me.btnAlignMiddle, me.btnAlignBottom, me.btnHorizontalAlign, me.btnVerticalAlign,
|
||||||
me.btnInsertImage, me.btnInsertText, me.btnInsertShape, me.btnInsertEquation, me.btnIncFontSize, me.btnDecFontSize,
|
me.btnInsertImage, me.btnInsertText, me.btnInsertTextArt, me.btnInsertShape, me.btnInsertEquation, me.btnIncFontSize,
|
||||||
me.btnBold, me.btnItalic, me.btnUnderline, me.btnTextColor, me.btnBackColor,
|
me.btnDecFontSize, me.btnBold, me.btnItalic, me.btnUnderline, me.btnTextColor, me.btnBackColor,
|
||||||
me.btnInsertHyperlink, me.btnBorders, me.btnTextOrient, me.btnPercentStyle, me.btnCurrencyStyle, me.btnColorSchemas,
|
me.btnInsertHyperlink, me.btnBorders, me.btnTextOrient, me.btnPercentStyle, me.btnCurrencyStyle, me.btnColorSchemas,
|
||||||
me.btnSettings, me.btnInsertFormula, me.btnNamedRange, me.btnDecDecimal, me.btnIncDecimal, me.cmbNumberFormat, me.btnWrap,
|
me.btnSettings, me.btnInsertFormula, me.btnNamedRange, me.btnDecDecimal, me.btnIncDecimal, me.cmbNumberFormat, me.btnWrap,
|
||||||
me.btnInsertChart, me.btnMerge, me.btnAddCell, me.btnDeleteCell, me.btnShowMode, me.btnPrint,
|
me.btnInsertChart, me.btnMerge, me.btnAddCell, me.btnDeleteCell, me.btnShowMode, me.btnPrint,
|
||||||
|
@ -1327,6 +1323,7 @@ define([
|
||||||
_injectComponent('#slot-btn-inshyperlink', this.btnInsertHyperlink);
|
_injectComponent('#slot-btn-inshyperlink', this.btnInsertHyperlink);
|
||||||
_injectComponent('#slot-btn-insshape', this.btnInsertShape);
|
_injectComponent('#slot-btn-insshape', this.btnInsertShape);
|
||||||
_injectComponent('#slot-btn-instext', this.btnInsertText);
|
_injectComponent('#slot-btn-instext', this.btnInsertText);
|
||||||
|
_injectComponent('#slot-btn-instextart', this.btnInsertTextArt);
|
||||||
_injectComponent('#slot-btn-insequation', this.btnInsertEquation);
|
_injectComponent('#slot-btn-insequation', this.btnInsertEquation);
|
||||||
_injectComponent('#slot-btn-sortdesc', this.btnSortDown);
|
_injectComponent('#slot-btn-sortdesc', this.btnSortDown);
|
||||||
_injectComponent('#slot-btn-sortasc', this.btnSortUp);
|
_injectComponent('#slot-btn-sortasc', this.btnSortUp);
|
||||||
|
@ -1393,6 +1390,7 @@ define([
|
||||||
_updateHint(this.btnInsertImage, this.tipInsertImage);
|
_updateHint(this.btnInsertImage, this.tipInsertImage);
|
||||||
_updateHint(this.btnInsertChart, this.tipInsertChartSpark);
|
_updateHint(this.btnInsertChart, this.tipInsertChartSpark);
|
||||||
_updateHint(this.btnInsertText, this.tipInsertText);
|
_updateHint(this.btnInsertText, this.tipInsertText);
|
||||||
|
_updateHint(this.btnInsertTextArt, this.tipInsertTextart);
|
||||||
_updateHint(this.btnInsertHyperlink, this.tipInsertHyperlink + Common.Utils.String.platformKey('Ctrl+K'));
|
_updateHint(this.btnInsertHyperlink, this.tipInsertHyperlink + Common.Utils.String.platformKey('Ctrl+K'));
|
||||||
_updateHint(this.btnInsertShape, this.tipInsertShape);
|
_updateHint(this.btnInsertShape, this.tipInsertShape);
|
||||||
_updateHint(this.btnInsertEquation, this.tipInsertEquation);
|
_updateHint(this.btnInsertEquation, this.tipInsertEquation);
|
||||||
|
@ -1949,6 +1947,7 @@ define([
|
||||||
tipIncFont: 'Increment font size',
|
tipIncFont: 'Increment font size',
|
||||||
tipDecFont: 'Decrement font size',
|
tipDecFont: 'Decrement font size',
|
||||||
tipInsertText: 'Insert Text',
|
tipInsertText: 'Insert Text',
|
||||||
|
tipInsertTextart: 'Insert Text Art',
|
||||||
tipInsertShape: 'Insert Autoshape',
|
tipInsertShape: 'Insert Autoshape',
|
||||||
tipDigStylePercent: 'Percent Style',
|
tipDigStylePercent: 'Percent Style',
|
||||||
// tipDigStyleCurrency:'Currency Style',
|
// tipDigStyleCurrency:'Currency Style',
|
||||||
|
@ -2049,7 +2048,8 @@ define([
|
||||||
textSparks: 'Sparklines',
|
textSparks: 'Sparklines',
|
||||||
tipInsertChartSpark: 'Insert Chart or Sparkline',
|
tipInsertChartSpark: 'Insert Chart or Sparkline',
|
||||||
textMoreFormats: 'More formats',
|
textMoreFormats: 'More formats',
|
||||||
capInsertText: 'Text Box',
|
capInsertText: 'Text',
|
||||||
|
capInsertTextart: 'Text Art',
|
||||||
capInsertImage: 'Picture',
|
capInsertImage: 'Picture',
|
||||||
capInsertShape: 'Shape',
|
capInsertShape: 'Shape',
|
||||||
capInsertChart: 'Chart',
|
capInsertChart: 'Chart',
|
||||||
|
|
|
@ -1684,6 +1684,7 @@
|
||||||
"SSE.Views.Toolbar.tipInsertOpt": "Insert Cells",
|
"SSE.Views.Toolbar.tipInsertOpt": "Insert Cells",
|
||||||
"SSE.Views.Toolbar.tipInsertShape": "Insert Autoshape",
|
"SSE.Views.Toolbar.tipInsertShape": "Insert Autoshape",
|
||||||
"SSE.Views.Toolbar.tipInsertText": "Insert Text",
|
"SSE.Views.Toolbar.tipInsertText": "Insert Text",
|
||||||
|
"SSE.Views.Toolbar.tipInsertTextart": "Insert Text Art",
|
||||||
"SSE.Views.Toolbar.tipMerge": "Merge",
|
"SSE.Views.Toolbar.tipMerge": "Merge",
|
||||||
"del_SSE.Views.Toolbar.tipNewDocument": "New Document",
|
"del_SSE.Views.Toolbar.tipNewDocument": "New Document",
|
||||||
"SSE.Views.Toolbar.tipNumFormat": "Number Format",
|
"SSE.Views.Toolbar.tipNumFormat": "Number Format",
|
||||||
|
@ -1768,7 +1769,8 @@
|
||||||
"SSE.Views.Toolbar.txtTime": "Time",
|
"SSE.Views.Toolbar.txtTime": "Time",
|
||||||
"SSE.Views.Toolbar.txtUnmerge": "Unmerge Cells",
|
"SSE.Views.Toolbar.txtUnmerge": "Unmerge Cells",
|
||||||
"SSE.Views.Toolbar.txtYen": "¥ Yen",
|
"SSE.Views.Toolbar.txtYen": "¥ Yen",
|
||||||
"SSE.Views.Toolbar.capInsertText": "Text Box",
|
"SSE.Views.Toolbar.capInsertText": "Text",
|
||||||
|
"SSE.Views.Toolbar.capInsertTextart": "Text Art",
|
||||||
"SSE.Views.Toolbar.capInsertImage": "Picture",
|
"SSE.Views.Toolbar.capInsertImage": "Picture",
|
||||||
"SSE.Views.Toolbar.capInsertShape": "Shape",
|
"SSE.Views.Toolbar.capInsertShape": "Shape",
|
||||||
"SSE.Views.Toolbar.capInsertTable": "Table",
|
"SSE.Views.Toolbar.capInsertTable": "Table",
|
||||||
|
|
Loading…
Reference in a new issue