Merge develop into feature/pe-header-footer
This commit is contained in:
parent
fa89f02b65
commit
fc02d82c06
Binary file not shown.
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 22 KiB |
Binary file not shown.
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 47 KiB |
|
@ -519,6 +519,16 @@
|
|||
.button-normal-icon(btn-to-columns, 61, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-watermark, 63, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-color-schema, 64, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-ins-formula, 65, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-autosumm, 66, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-recent, 67, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-finance, 68, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-logic, 69, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-func-text, 70, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-datetime, 71, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-lookup, 72, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-func-math, 73, @toolbar-big-icon-size);
|
||||
.button-normal-icon(btn-more, 74, @toolbar-big-icon-size);
|
||||
|
||||
.item-shape {
|
||||
.icon {
|
||||
|
|
|
@ -122,7 +122,7 @@ define([
|
|||
var me = this,
|
||||
$host = me.toolbar.$el;
|
||||
|
||||
this.btnsContents = Common.Utils.injectButtons($host.find('.btn-slot.btn-contents'), '', 'btn-contents', me.capBtnInsContents );
|
||||
this.btnsContents = Common.Utils.injectButtons($host.find('.btn-slot.btn-contents'), '', 'btn-contents', me.capBtnInsContents, undefined, true, true );
|
||||
this.btnsNotes = Common.Utils.injectButtons($host.find('.btn-slot.slot-notes'), '', 'btn-notes', me.capBtnInsFootnote, undefined, true, true);
|
||||
this.btnsHyperlink = Common.Utils.injectButtons($host.find('.btn-slot.slot-inshyperlink'), '', 'btn-inserthyperlink', me.capBtnInsLink);
|
||||
Array.prototype.push.apply(this.paragraphControls, this.btnsContents.concat(this.btnsNotes, this.btnsHyperlink));
|
||||
|
|
|
@ -72,6 +72,8 @@ define([
|
|||
'page:show' : this.onPageShow
|
||||
}
|
||||
});
|
||||
this.toCustomFormat;
|
||||
this.fromCustomFormat;
|
||||
},
|
||||
|
||||
setApi: function (api) {
|
||||
|
@ -107,11 +109,121 @@ define([
|
|||
$('#add-link-display input').val(_.isString(text) ? text : '');
|
||||
});
|
||||
}
|
||||
} else if (pageId == '#addother-insert-footnote') {
|
||||
me.initInsertFootnote();
|
||||
}
|
||||
},
|
||||
|
||||
// Handlers
|
||||
|
||||
initInsertFootnote: function () {
|
||||
var me = this,
|
||||
dataFormatFootnote = [
|
||||
{ text: '1, 2, 3,...', value: Asc.c_oAscNumberingFormat.Decimal },
|
||||
{ text: 'a, b, c,...', value: Asc.c_oAscNumberingFormat.LowerLetter },
|
||||
{ text: 'A, B, C,...', value: Asc.c_oAscNumberingFormat.UpperLetter },
|
||||
{ text: 'i, ii, iii,...', value: Asc.c_oAscNumberingFormat.LowerRoman },
|
||||
{ text: 'I, II, III,...', value: Asc.c_oAscNumberingFormat.UpperRoman }
|
||||
],
|
||||
dataPosFootnote = [
|
||||
{value: Asc.c_oAscFootnotePos.PageBottom, displayValue: this.textBottomOfPage },
|
||||
{value: Asc.c_oAscFootnotePos.BeneathText, displayValue: this.textBelowText }
|
||||
],
|
||||
props = me.api.asc_GetFootnoteProps(),
|
||||
propsFormat = props.get_NumFormat(),
|
||||
propsPos = props.get_Pos();
|
||||
|
||||
me.onFormatFootnoteChange(propsFormat);
|
||||
|
||||
var view = me.getView('AddOther');
|
||||
view.renderNumFormat(dataFormatFootnote, propsFormat);
|
||||
view.renderFootnotePos(dataPosFootnote, propsPos);
|
||||
|
||||
$('#start-at-footnote .button').single('click', _.bind(me.onStartAt, me));
|
||||
$('.page[data-page=addother-insert-footnote] input:radio[name=doc-footnote-format]').single('change', _.bind(me.onFormatFootnoteChange, me));
|
||||
$('#footnote-insert').single('click', _.bind(this.onClickInsertFootnote, this));
|
||||
},
|
||||
|
||||
onClickInsertFootnote: function() {
|
||||
var me = this,
|
||||
format = $('input[name="doc-footnote-format"]:checked').data('value'),
|
||||
start = $('#start-at-footnote .item-after label').text(),
|
||||
position = $('input[name="doc-footnote-pos"]:checked').data('value'),
|
||||
props = new Asc.CAscFootnotePr();
|
||||
var startTo10;
|
||||
if (me.fromCustomFormat) {
|
||||
startTo10 = parseInt(me.fromCustomFormat(start));
|
||||
} else {
|
||||
startTo10 = me.api.asc_GetFootnoteProps().get_NumStart();
|
||||
}
|
||||
props.put_Pos(position);
|
||||
props.put_NumFormat(format);
|
||||
props.put_NumStart(startTo10);
|
||||
props.put_NumRestart(Asc.c_oAscFootnoteRestart.Continuous);
|
||||
if (me.api) {
|
||||
me.api.asc_SetFootnoteProps(props, false);
|
||||
me.api.asc_AddFootnote();
|
||||
DE.getController('AddContainer').hideModal();
|
||||
}
|
||||
},
|
||||
|
||||
onFormatFootnoteChange: function(e) {
|
||||
var me = this;
|
||||
var value = e.currentTarget ? $(e.currentTarget).data('value') : e;
|
||||
var startAt = $('#start-at-footnote .item-after label'),
|
||||
currValue;
|
||||
if(e.currentTarget) {
|
||||
currValue = me.fromCustomFormat(startAt.text());
|
||||
} else {
|
||||
currValue = me.api.asc_GetFootnoteProps().get_NumStart();
|
||||
}
|
||||
switch (value) {
|
||||
case Asc.c_oAscNumberingFormat.UpperRoman: // I, II, III, ...
|
||||
me.toCustomFormat = me._10toRome;
|
||||
me.fromCustomFormat = me._Rometo10;
|
||||
break;
|
||||
case Asc.c_oAscNumberingFormat.LowerRoman: // i, ii, iii, ...
|
||||
me.toCustomFormat = function(value) { return me._10toRome(value).toLocaleLowerCase(); };
|
||||
me.fromCustomFormat = function(value) { return me._Rometo10(value.toLocaleUpperCase()); };
|
||||
break;
|
||||
case Asc.c_oAscNumberingFormat.UpperLetter: // A, B, C, ...
|
||||
me.toCustomFormat = me._10toS;
|
||||
me.fromCustomFormat = me._Sto10;
|
||||
break;
|
||||
case Asc.c_oAscNumberingFormat.LowerLetter: // a, b, c, ...
|
||||
me.toCustomFormat = function(value) { return me._10toS(value).toLocaleLowerCase(); };
|
||||
me.fromCustomFormat = function(value) { return me._Sto10(value.toLocaleUpperCase()); };
|
||||
break;
|
||||
default: // 1, 2, 3, ...
|
||||
me.toCustomFormat = function(value) { return value; };
|
||||
me.fromCustomFormat = function(value) { return value; };
|
||||
break;
|
||||
}
|
||||
var newValue = me.toCustomFormat(currValue);
|
||||
startAt.text(newValue);
|
||||
},
|
||||
|
||||
onStartAt: function(e) {
|
||||
var $button = $(e.currentTarget),
|
||||
value = $('#start-at-footnote .item-after label').text(),
|
||||
intValue,
|
||||
step = 1,
|
||||
maxValue = 16383,
|
||||
me = this;
|
||||
if(me.fromCustomFormat) {
|
||||
intValue = parseInt(me.fromCustomFormat(value));
|
||||
} else {
|
||||
intValue = me.api.asc_GetFootnoteProps().get_NumStart();
|
||||
}
|
||||
if ($button.hasClass('decrement')) {
|
||||
intValue = Math.max(1, intValue - step);
|
||||
} else {
|
||||
intValue = Math.min(maxValue, intValue + step);
|
||||
}
|
||||
var newValue = me.toCustomFormat(intValue);
|
||||
$('#start-at-footnote .item-after label').text(newValue);
|
||||
},
|
||||
|
||||
onInsertLink: function (e) {
|
||||
var me = this,
|
||||
url = $('#add-link-url input').val(),
|
||||
|
@ -208,7 +320,102 @@ define([
|
|||
DE.getController('AddContainer').hideModal();
|
||||
},
|
||||
|
||||
txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"'
|
||||
_10toS: function(value) {
|
||||
value = parseInt(value);
|
||||
var n = Math.ceil(value / 26),
|
||||
code = String.fromCharCode((value-1) % 26 + "A".charCodeAt(0)) ,
|
||||
result = '';
|
||||
|
||||
for (var i=0; i<n; i++ ) {
|
||||
result += code;
|
||||
}
|
||||
return result;
|
||||
},
|
||||
|
||||
_Sto10: function(str) {
|
||||
if ( str.length<1 || (new RegExp('[^' + str.charAt(0) + ']')).test(str) || !/[A-Z]/.test(str)) return 1;
|
||||
|
||||
var n = str.length-1,
|
||||
result = str.charCodeAt(0) - "A".charCodeAt(0) + 1;
|
||||
result += 26*n;
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
_10toRome: function(value) {
|
||||
value = parseInt(value);
|
||||
var result = '',
|
||||
digits = [
|
||||
['M', 1000],
|
||||
['CM', 900],
|
||||
['D', 500],
|
||||
['CD', 400],
|
||||
['C', 100],
|
||||
['XC', 90],
|
||||
['L', 50],
|
||||
['XL', 40],
|
||||
['X', 10],
|
||||
['IX', 9],
|
||||
['V', 5],
|
||||
['IV', 4],
|
||||
['I', 1]
|
||||
];
|
||||
|
||||
var val = digits[0][1],
|
||||
div = Math.floor(value / val),
|
||||
n = 0;
|
||||
|
||||
for (var i=0; i<div; i++)
|
||||
result += digits[n][0];
|
||||
value -= div * val;
|
||||
n++;
|
||||
|
||||
while (value>0) {
|
||||
val = digits[n][1];
|
||||
div = value - val;
|
||||
if (div>=0) {
|
||||
result += digits[n][0];
|
||||
value = div;
|
||||
} else
|
||||
n++;
|
||||
}
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
_Rometo10: function(str) {
|
||||
if ( !/[IVXLCDM]/.test(str) || str.length<1 ) return 1;
|
||||
|
||||
var digits = {
|
||||
'I': 1,
|
||||
'V': 5,
|
||||
'X': 10,
|
||||
'L': 50,
|
||||
'C': 100,
|
||||
'D': 500,
|
||||
'M': 1000
|
||||
};
|
||||
|
||||
var n = str.length-1,
|
||||
result = digits[str.charAt(n)],
|
||||
prev = result;
|
||||
|
||||
for (var i=n-1; i>=0; i-- ) {
|
||||
var val = digits[str.charAt(i)];
|
||||
if (val<prev) {
|
||||
if (prev/val>10) return 1;
|
||||
val *= -1;
|
||||
}
|
||||
|
||||
result += val;
|
||||
}
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
txtNotUrl: 'This field should be a URL in the format \"http://www.example.com\"',
|
||||
textBottomOfPage: 'Bottom Of Page',
|
||||
textBelowText: 'Below Text'
|
||||
|
||||
}
|
||||
})(), DE.Controllers.AddOther || {}))
|
||||
|
|
|
@ -62,6 +62,18 @@
|
|||
</div>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a id="add-other-footnote" class="item-link">
|
||||
<div class="item-content">
|
||||
<div class="item-media">
|
||||
<i class="icon icon-footnote"></i>
|
||||
</div>
|
||||
<div class="item-inner">
|
||||
<div class="item-title"><%= scope.textFootnote %></div>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -259,3 +271,57 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Page Insert Footnote view -->
|
||||
<div id="addother-insert-footnote">
|
||||
<div class="navbar">
|
||||
<div class="navbar-inner">
|
||||
<div class="left sliding"><a href="#" class="back link"><i class="icon icon-back"></i><% if (!android) { %><span><%= scope.textBack %></span><% } %></a></div>
|
||||
<div class="center sliding"><%= scope.textInsertFootnote %></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page" data-page="addother-insert-footnote">
|
||||
<div class="page-content">
|
||||
<div class="content-block-title"><%= scope.textFormat %></div>
|
||||
<div id="list-format-footnote" class="list-block">
|
||||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="start-at-footnote" class="list-block">
|
||||
<ul>
|
||||
<li>
|
||||
<div class="item-content">
|
||||
<div class="item-inner">
|
||||
<div class="item-title"><%= scope.textStartFrom %></div>
|
||||
<div class="item-after splitter">
|
||||
<% if (!android) { %><label><%= scope.textAuto %></label><% } %>
|
||||
<p class="buttons-row">
|
||||
<span class="button decrement no-ripple"><% if (android) { %><i class="icon icon-expand-down"></i><% } else { %>-<% } %></span>
|
||||
<% if (android) { %><label><%= scope.textAuto %></label><% } %>
|
||||
<span class="button increment no-ripple"><% if (android) { %><i class="icon icon-expand-up"></i><% } else { %>+<% } %></span>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="content-block-title"><%= scope.textLocation %></div>
|
||||
<div id="position-footnote" class="list-block">
|
||||
<ul>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="list-block" id="footnote-insert">
|
||||
<% if (android) { %>
|
||||
<a href="#" class="button button-fill button-raised" style="margin: 20px 16px;"><%= scope.textInsertFootnote %></a>
|
||||
<% } else { %>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#" class="list-button item-link"><%= scope.textInsertFootnote %></a>
|
||||
</li>
|
||||
</ul>
|
||||
<% } %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
|
@ -69,6 +69,7 @@ define([
|
|||
$('#add-other-section').single('click', _.bind(me.showSectionBreak, me));
|
||||
$('#add-other-link').single('click', _.bind(me.showLink, me));
|
||||
$('#add-other-pagenumber').single('click', _.bind(me.showPagePosition, me));
|
||||
$('#add-other-footnote').single('click', _.bind(me.showPageFootnote, me));
|
||||
|
||||
me.initControls();
|
||||
},
|
||||
|
@ -138,6 +139,62 @@ define([
|
|||
this.showPage('#addother-pagenumber');
|
||||
},
|
||||
|
||||
showPageFootnote: function () {
|
||||
this.showPage('#addother-insert-footnote');
|
||||
},
|
||||
|
||||
renderNumFormat: function (dataFormat, selectFormat) {
|
||||
var $listFormat = $('#list-format-footnote ul'),
|
||||
items = [];
|
||||
|
||||
_.each(dataFormat, function (formatItem) {
|
||||
var itemTemplate = [
|
||||
'<li>',
|
||||
'<label class="label-radio item-content">',
|
||||
'<input type="radio" name="doc-footnote-format" data-value="<%= item.value %>" <% if (item.value == select) { %>checked="checked"<% } %> >',
|
||||
'<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>',
|
||||
'<div class="item-inner">',
|
||||
'<div class="item-title"><%= item.text %></div>',
|
||||
'</div>',
|
||||
'</label>',
|
||||
'</li>'
|
||||
].join('');
|
||||
items.push(_.template(itemTemplate)({
|
||||
android: Framework7.prototype.device.android,
|
||||
item: formatItem,
|
||||
select: selectFormat
|
||||
}));
|
||||
});
|
||||
|
||||
$listFormat.html(items);
|
||||
},
|
||||
|
||||
renderFootnotePos: function (dataPosition, selectPosition) {
|
||||
var $listPos = $('#position-footnote ul'),
|
||||
items = [];
|
||||
|
||||
_.each(dataPosition, function (posItem) {
|
||||
var itemTemplate = [
|
||||
'<li>',
|
||||
'<label class="label-radio item-content">',
|
||||
'<input type="radio" name="doc-footnote-pos" data-value="<%= item.value%>" <% if (item.value == select) { %>checked="checked"<% } %> >',
|
||||
'<% if (android) { %><div class="item-media"><i class="icon icon-form-radio"></i></div><% } %>',
|
||||
'<div class="item-inner">',
|
||||
'<div class="item-title"><%= item.displayValue %></div>',
|
||||
'</div>',
|
||||
'</label>',
|
||||
'</li>'
|
||||
].join('');
|
||||
items.push(_.template(itemTemplate)({
|
||||
android: Framework7.prototype.device.android,
|
||||
item: posItem,
|
||||
select: selectPosition
|
||||
}));
|
||||
});
|
||||
|
||||
$listPos.html(items);
|
||||
},
|
||||
|
||||
textPageBreak: 'Page Break',
|
||||
textSectionBreak: 'Section Break',
|
||||
textColumnBreak: 'Column Break',
|
||||
|
@ -159,7 +216,12 @@ define([
|
|||
textNextPage: 'Next Page',
|
||||
textContPage: 'Continuous Page',
|
||||
textEvenPage: 'Even Page',
|
||||
textOddPage: 'Odd Page'
|
||||
textOddPage: 'Odd Page',
|
||||
textFootnote: 'Footnote',
|
||||
textInsertFootnote: 'Insert Footnote',
|
||||
textFormat: 'Format',
|
||||
textStartFrom: 'Start At',
|
||||
textLocation: 'Location'
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -10,6 +10,8 @@
|
|||
"DE.Controllers.AddImage.textEmptyImgUrl": "You need to specify image URL.",
|
||||
"DE.Controllers.AddImage.txtNotUrl": "This field should be a URL in the 'http://www.example.com' format",
|
||||
"DE.Controllers.AddOther.txtNotUrl": "This field should be a URL in the 'http://www.example.com' format",
|
||||
"DE.Controllers.AddOther.textBottomOfPage": "Bottom Of Page",
|
||||
"DE.Controllers.AddOther.textBelowText": "Below Text",
|
||||
"DE.Controllers.AddTable.textCancel": "Cancel",
|
||||
"DE.Controllers.AddTable.textColumns": "Columns",
|
||||
"DE.Controllers.AddTable.textRows": "Rows",
|
||||
|
@ -271,6 +273,11 @@
|
|||
"DE.Views.AddOther.textRightTop": "Right Top",
|
||||
"DE.Views.AddOther.textSectionBreak": "Section Break",
|
||||
"DE.Views.AddOther.textTip": "Screen Tip",
|
||||
"DE.Views.AddOther.textFootnote": "Footnote",
|
||||
"DE.Views.AddOther.textInsertFootnote": "Insert Footnote",
|
||||
"DE.Views.AddOther.textFormat": "Format",
|
||||
"DE.Views.AddOther.textStartFrom": "Start At",
|
||||
"DE.Views.AddOther.textLocation": "Location",
|
||||
"DE.Views.EditChart.textAlign": "Align",
|
||||
"DE.Views.EditChart.textBack": "Back",
|
||||
"DE.Views.EditChart.textBackward": "Move Backward",
|
||||
|
|
|
@ -6854,6 +6854,11 @@ i.icon.icon-app-settings {
|
|||
height: 24px;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7%2014H16C18.2091%2014%2020%2015.7909%2020%2018C20%2020.2091%2018.2091%2022%2016%2022H7C4.79086%2022%203%2020.2091%203%2018C3%2015.7909%204.79086%2014%207%2014ZM16%2013C18.7614%2013%2021%2015.2386%2021%2018C21%2020.7614%2018.7614%2023%2016%2023H7C4.23858%2023%202%2020.7614%202%2018C2%2015.2386%204.23858%2013%207%2013H16Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%2020C14.8954%2020%2014%2019.1046%2014%2018C14%2016.8954%2014.8954%2016%2016%2016C17.1046%2016%2018%2016.8954%2018%2018C18%2019.1046%2017.1046%2020%2016%2020ZM16%2021C14.3431%2021%2013%2019.6569%2013%2018C13%2016.3431%2014.3431%2015%2016%2015C17.6569%2015%2019%2016.3431%2019%2018C19%2019.6569%2017.6569%2021%2016%2021Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%203H7C4.79086%203%203%204.79086%203%207C3%209.20914%204.79086%2011%207%2011H16C18.2091%2011%2020%209.20914%2020%207C20%204.79086%2018.2091%203%2016%203ZM7%202C4.23858%202%202%204.23858%202%207C2%209.76142%204.23858%2012%207%2012H16C18.7614%2012%2021%209.76142%2021%207C21%204.23858%2018.7614%202%2016%202H7Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7%209C8.10457%209%209%208.10457%209%207C9%205.89543%208.10457%205%207%205C5.89543%205%205%205.89543%205%207C5%208.10457%205.89543%209%207%209ZM7%2010C8.65685%2010%2010%208.65685%2010%207C10%205.34315%208.65685%204%207%204C5.34315%204%204%205.34315%204%207C4%208.65685%205.34315%2010%207%2010Z%22%20fill%3D%22%23446995%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
i.icon.icon-footnote {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22%208.11133H20.9177V5.15361L20.9282%204.66765L20.9457%204.13624C20.7659%204.31571%2020.641%204.43341%2020.5709%204.48935L19.9825%204.96132L19.4606%204.31105L21.1103%203H22V8.11133Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20d%3D%22M10.3363%2018.8514L8.98161%2015.3968H4.61996L3.28021%2018.8514H2L6.3021%207.94526H7.36646L11.6462%2018.8514H10.3363ZM8.58713%2014.2601L7.3218%2010.8947C7.15806%2010.4687%206.98935%209.94621%206.81567%209.32711C6.70651%209.80258%206.5502%2010.3251%206.34676%2010.8947L5.06655%2014.2601H8.58713Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20d%3D%22M16.1425%2010.5752C17.2143%2010.5752%2018.0454%2010.9417%2018.6359%2011.6748C19.2313%2012.4028%2019.5291%2013.4355%2019.5291%2014.7728C19.5291%2016.11%2019.2288%2017.1501%2018.6284%2017.893C18.033%2018.631%2017.2043%2019%2016.1425%2019C15.6115%2019%2015.1252%2018.9034%2014.6836%2018.7103C14.2469%2018.5121%2013.8798%2018.21%2013.582%2017.8039H13.4927L13.2322%2018.8514H12.3465V7.29149H13.582V10.0997C13.582%2010.7288%2013.5622%2011.2934%2013.5225%2011.7936H13.582C14.1576%2010.9814%2015.0111%2010.5752%2016.1425%2010.5752ZM15.9638%2011.6079C15.1203%2011.6079%2014.5124%2011.8506%2014.1403%2012.336C13.7681%2012.8164%2013.582%2013.6286%2013.582%2014.7728C13.582%2015.9169%2013.7731%2016.7366%2014.1551%2017.2318C14.5372%2017.7222%2015.15%2017.9673%2015.9936%2017.9673C16.7528%2017.9673%2017.3185%2017.6925%2017.6906%2017.1427C18.0628%2016.588%2018.2488%2015.793%2018.2488%2014.7579C18.2488%2013.698%2018.0628%2012.908%2017.6906%2012.388C17.3185%2011.8679%2016.7429%2011.6079%2015.9638%2011.6079Z%22%20fill%3D%22%23446995%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
.label-switch input[type="checkbox"]:checked + .checkbox {
|
||||
background: #446995;
|
||||
}
|
||||
|
|
|
@ -6334,6 +6334,11 @@ i.icon.icon-app-settings {
|
|||
height: 24px;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7%2014H16C18.2091%2014%2020%2015.7909%2020%2018C20%2020.2091%2018.2091%2022%2016%2022H7C4.79086%2022%203%2020.2091%203%2018C3%2015.7909%204.79086%2014%207%2014ZM16%2013C18.7614%2013%2021%2015.2386%2021%2018C21%2020.7614%2018.7614%2023%2016%2023H7C4.23858%2023%202%2020.7614%202%2018C2%2015.2386%204.23858%2013%207%2013H16Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%2020C14.8954%2020%2014%2019.1046%2014%2018C14%2016.8954%2014.8954%2016%2016%2016C17.1046%2016%2018%2016.8954%2018%2018C18%2019.1046%2017.1046%2020%2016%2020ZM16%2021C14.3431%2021%2013%2019.6569%2013%2018C13%2016.3431%2014.3431%2015%2016%2015C17.6569%2015%2019%2016.3431%2019%2018C19%2019.6569%2017.6569%2021%2016%2021Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M16%203H7C4.79086%203%203%204.79086%203%207C3%209.20914%204.79086%2011%207%2011H16C18.2091%2011%2020%209.20914%2020%207C20%204.79086%2018.2091%203%2016%203ZM7%202C4.23858%202%202%204.23858%202%207C2%209.76142%204.23858%2012%207%2012H16C18.7614%2012%2021%209.76142%2021%207C21%204.23858%2018.7614%202%2016%202H7Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M7%209C8.10457%209%209%208.10457%209%207C9%205.89543%208.10457%205%207%205C5.89543%205%205%205.89543%205%207C5%208.10457%205.89543%209%207%209ZM7%2010C8.65685%2010%2010%208.65685%2010%207C10%205.34315%208.65685%204%207%204C5.34315%204%204%205.34315%204%207C4%208.65685%205.34315%2010%207%2010Z%22%20fill%3D%22%23446995%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
i.icon.icon-footnote {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M22%208.11133H20.9177V5.15361L20.9282%204.66765L20.9457%204.13624C20.7659%204.31571%2020.641%204.43341%2020.5709%204.48935L19.9825%204.96132L19.4606%204.31105L21.1103%203H22V8.11133Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20d%3D%22M10.3363%2018.8514L8.98161%2015.3968H4.61996L3.28021%2018.8514H2L6.3021%207.94526H7.36646L11.6462%2018.8514H10.3363ZM8.58713%2014.2601L7.3218%2010.8947C7.15806%2010.4687%206.98935%209.94621%206.81567%209.32711C6.70651%209.80258%206.5502%2010.3251%206.34676%2010.8947L5.06655%2014.2601H8.58713Z%22%20fill%3D%22%23446995%22%2F%3E%3Cpath%20d%3D%22M16.1425%2010.5752C17.2143%2010.5752%2018.0454%2010.9417%2018.6359%2011.6748C19.2313%2012.4028%2019.5291%2013.4355%2019.5291%2014.7728C19.5291%2016.11%2019.2288%2017.1501%2018.6284%2017.893C18.033%2018.631%2017.2043%2019%2016.1425%2019C15.6115%2019%2015.1252%2018.9034%2014.6836%2018.7103C14.2469%2018.5121%2013.8798%2018.21%2013.582%2017.8039H13.4927L13.2322%2018.8514H12.3465V7.29149H13.582V10.0997C13.582%2010.7288%2013.5622%2011.2934%2013.5225%2011.7936H13.582C14.1576%2010.9814%2015.0111%2010.5752%2016.1425%2010.5752ZM15.9638%2011.6079C15.1203%2011.6079%2014.5124%2011.8506%2014.1403%2012.336C13.7681%2012.8164%2013.582%2013.6286%2013.582%2014.7728C13.582%2015.9169%2013.7731%2016.7366%2014.1551%2017.2318C14.5372%2017.7222%2015.15%2017.9673%2015.9936%2017.9673C16.7528%2017.9673%2017.3185%2017.6925%2017.6906%2017.1427C18.0628%2016.588%2018.2488%2015.793%2018.2488%2014.7579C18.2488%2013.698%2018.0628%2012.908%2017.6906%2012.388C17.3185%2011.8679%2016.7429%2011.6079%2015.9638%2011.6079Z%22%20fill%3D%22%23446995%22%2F%3E%3C%2Fsvg%3E");
|
||||
}
|
||||
.navbar i.icon.icon-undo {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
|
|
|
@ -451,4 +451,9 @@ i.icon {
|
|||
height: 24px;
|
||||
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 14H16C18.2091 14 20 15.7909 20 18C20 20.2091 18.2091 22 16 22H7C4.79086 22 3 20.2091 3 18C3 15.7909 4.79086 14 7 14ZM16 13C18.7614 13 21 15.2386 21 18C21 20.7614 18.7614 23 16 23H7C4.23858 23 2 20.7614 2 18C2 15.2386 4.23858 13 7 13H16Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 20C14.8954 20 14 19.1046 14 18C14 16.8954 14.8954 16 16 16C17.1046 16 18 16.8954 18 18C18 19.1046 17.1046 20 16 20ZM16 21C14.3431 21 13 19.6569 13 18C13 16.3431 14.3431 15 16 15C17.6569 15 19 16.3431 19 18C19 19.6569 17.6569 21 16 21Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 3H7C4.79086 3 3 4.79086 3 7C3 9.20914 4.79086 11 7 11H16C18.2091 11 20 9.20914 20 7C20 4.79086 18.2091 3 16 3ZM7 2C4.23858 2 2 4.23858 2 7C2 9.76142 4.23858 12 7 12H16C18.7614 12 21 9.76142 21 7C21 4.23858 18.7614 2 16 2H7Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 9C8.10457 9 9 8.10457 9 7C9 5.89543 8.10457 5 7 5C5.89543 5 5 5.89543 5 7C5 8.10457 5.89543 9 7 9ZM7 10C8.65685 10 10 8.65685 10 7C10 5.34315 8.65685 4 7 4C5.34315 4 4 5.34315 4 7C4 8.65685 5.34315 10 7 10Z" fill="@{themeColor}"/></svg>');
|
||||
}
|
||||
&.icon-footnote {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 8.11133H20.9177V5.15361L20.9282 4.66765L20.9457 4.13624C20.7659 4.31571 20.641 4.43341 20.5709 4.48935L19.9825 4.96132L19.4606 4.31105L21.1103 3H22V8.11133Z" fill="@{themeColor}"/><path d="M10.3363 18.8514L8.98161 15.3968H4.61996L3.28021 18.8514H2L6.3021 7.94526H7.36646L11.6462 18.8514H10.3363ZM8.58713 14.2601L7.3218 10.8947C7.15806 10.4687 6.98935 9.94621 6.81567 9.32711C6.70651 9.80258 6.5502 10.3251 6.34676 10.8947L5.06655 14.2601H8.58713Z" fill="@{themeColor}"/><path d="M16.1425 10.5752C17.2143 10.5752 18.0454 10.9417 18.6359 11.6748C19.2313 12.4028 19.5291 13.4355 19.5291 14.7728C19.5291 16.11 19.2288 17.1501 18.6284 17.893C18.033 18.631 17.2043 19 16.1425 19C15.6115 19 15.1252 18.9034 14.6836 18.7103C14.2469 18.5121 13.8798 18.21 13.582 17.8039H13.4927L13.2322 18.8514H12.3465V7.29149H13.582V10.0997C13.582 10.7288 13.5622 11.2934 13.5225 11.7936H13.582C14.1576 10.9814 15.0111 10.5752 16.1425 10.5752ZM15.9638 11.6079C15.1203 11.6079 14.5124 11.8506 14.1403 12.336C13.7681 12.8164 13.582 13.6286 13.582 14.7728C13.582 15.9169 13.7731 16.7366 14.1551 17.2318C14.5372 17.7222 15.15 17.9673 15.9936 17.9673C16.7528 17.9673 17.3185 17.6925 17.6906 17.1427C18.0628 16.588 18.2488 15.793 18.2488 14.7579C18.2488 13.698 18.0628 12.908 17.6906 12.388C17.3185 11.8679 16.7429 11.6079 15.9638 11.6079Z" fill="@{themeColor}"/></svg>');
|
||||
}
|
||||
}
|
|
@ -378,6 +378,11 @@ i.icon {
|
|||
height: 24px;
|
||||
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M7 14H16C18.2091 14 20 15.7909 20 18C20 20.2091 18.2091 22 16 22H7C4.79086 22 3 20.2091 3 18C3 15.7909 4.79086 14 7 14ZM16 13C18.7614 13 21 15.2386 21 18C21 20.7614 18.7614 23 16 23H7C4.23858 23 2 20.7614 2 18C2 15.2386 4.23858 13 7 13H16Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 20C14.8954 20 14 19.1046 14 18C14 16.8954 14.8954 16 16 16C17.1046 16 18 16.8954 18 18C18 19.1046 17.1046 20 16 20ZM16 21C14.3431 21 13 19.6569 13 18C13 16.3431 14.3431 15 16 15C17.6569 15 19 16.3431 19 18C19 19.6569 17.6569 21 16 21Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16 3H7C4.79086 3 3 4.79086 3 7C3 9.20914 4.79086 11 7 11H16C18.2091 11 20 9.20914 20 7C20 4.79086 18.2091 3 16 3ZM7 2C4.23858 2 2 4.23858 2 7C2 9.76142 4.23858 12 7 12H16C18.7614 12 21 9.76142 21 7C21 4.23858 18.7614 2 16 2H7Z" fill="@{themeColor}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M7 9C8.10457 9 9 8.10457 9 7C9 5.89543 8.10457 5 7 5C5.89543 5 5 5.89543 5 7C5 8.10457 5.89543 9 7 9ZM7 10C8.65685 10 10 8.65685 10 7C10 5.34315 8.65685 4 7 4C5.34315 4 4 5.34315 4 7C4 8.65685 5.34315 10 7 10Z" fill="@{themeColor}"/></svg>');
|
||||
}
|
||||
&.icon-footnote {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
.encoded-svg-background('<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M22 8.11133H20.9177V5.15361L20.9282 4.66765L20.9457 4.13624C20.7659 4.31571 20.641 4.43341 20.5709 4.48935L19.9825 4.96132L19.4606 4.31105L21.1103 3H22V8.11133Z" fill="@{themeColor}"/><path d="M10.3363 18.8514L8.98161 15.3968H4.61996L3.28021 18.8514H2L6.3021 7.94526H7.36646L11.6462 18.8514H10.3363ZM8.58713 14.2601L7.3218 10.8947C7.15806 10.4687 6.98935 9.94621 6.81567 9.32711C6.70651 9.80258 6.5502 10.3251 6.34676 10.8947L5.06655 14.2601H8.58713Z" fill="@{themeColor}"/><path d="M16.1425 10.5752C17.2143 10.5752 18.0454 10.9417 18.6359 11.6748C19.2313 12.4028 19.5291 13.4355 19.5291 14.7728C19.5291 16.11 19.2288 17.1501 18.6284 17.893C18.033 18.631 17.2043 19 16.1425 19C15.6115 19 15.1252 18.9034 14.6836 18.7103C14.2469 18.5121 13.8798 18.21 13.582 17.8039H13.4927L13.2322 18.8514H12.3465V7.29149H13.582V10.0997C13.582 10.7288 13.5622 11.2934 13.5225 11.7936H13.582C14.1576 10.9814 15.0111 10.5752 16.1425 10.5752ZM15.9638 11.6079C15.1203 11.6079 14.5124 11.8506 14.1403 12.336C13.7681 12.8164 13.582 13.6286 13.582 14.7728C13.582 15.9169 13.7731 16.7366 14.1551 17.2318C14.5372 17.7222 15.15 17.9673 15.9936 17.9673C16.7528 17.9673 17.3185 17.6925 17.6906 17.1427C18.0628 16.588 18.2488 15.793 18.2488 14.7579C18.2488 13.698 18.0628 12.908 17.6906 12.388C17.3185 11.8679 16.7429 11.6079 15.9638 11.6079Z" fill="@{themeColor}"/></svg>');
|
||||
}
|
||||
}
|
||||
|
||||
// Overwrite color for toolbar
|
||||
|
|
|
@ -96,34 +96,7 @@ require([
|
|||
});
|
||||
|
||||
var setDocumentTitle = function(title) {
|
||||
function getUrlParams() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
}
|
||||
var params = getUrlParams(),
|
||||
lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
|
||||
presenter = 'Presenter View';
|
||||
|
||||
if ( lang == 'de') presenter = '';
|
||||
else if ( lang == 'es') presenter = '';
|
||||
else if ( lang == 'fr') presenter = '';
|
||||
else if ( lang == 'it') presenter = '';
|
||||
else if ( lang == 'pt') presenter = '';
|
||||
else if ( lang == 'ru') presenter = 'Режим докладчика';
|
||||
else if ( lang == 'sl') presenter = '';
|
||||
else if ( lang == 'tr') presenter = '';
|
||||
presenter && (presenter += ' - ');
|
||||
|
||||
window.document.title = presenter + (title || '');
|
||||
(title) && (window.document.title += (' - ' + title));
|
||||
};
|
||||
|
||||
function load_document(data) {
|
||||
|
|
|
@ -97,34 +97,7 @@ require([
|
|||
});
|
||||
|
||||
var setDocumentTitle = function(title) {
|
||||
function getUrlParams() {
|
||||
var e,
|
||||
a = /\+/g, // Regex for replacing addition symbol with a space
|
||||
r = /([^&=]+)=?([^&]*)/g,
|
||||
d = function (s) { return decodeURIComponent(s.replace(a, " ")); },
|
||||
q = window.location.search.substring(1),
|
||||
urlParams = {};
|
||||
|
||||
while (e = r.exec(q))
|
||||
urlParams[d(e[1])] = d(e[2]);
|
||||
|
||||
return urlParams;
|
||||
}
|
||||
var params = getUrlParams(),
|
||||
lang = (params["lang"] || 'en').split(/[\-\_]/)[0],
|
||||
presenter = 'Presenter View';
|
||||
|
||||
if ( lang == 'de') presenter = '';
|
||||
else if ( lang == 'es') presenter = '';
|
||||
else if ( lang == 'fr') presenter = '';
|
||||
else if ( lang == 'it') presenter = '';
|
||||
else if ( lang == 'pt') presenter = '';
|
||||
else if ( lang == 'ru') presenter = 'Режим докладчика';
|
||||
else if ( lang == 'sl') presenter = '';
|
||||
else if ( lang == 'tr') presenter = '';
|
||||
presenter && (presenter += ' - ');
|
||||
|
||||
window.document.title = presenter + (title || '');
|
||||
(title) && (window.document.title += (' - ' + title));
|
||||
};
|
||||
|
||||
function load_document(data) {
|
||||
|
|
|
@ -226,18 +226,25 @@
|
|||
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',
|
||||
margin = (customer !== '') ? 50 : 20,
|
||||
loading = 'Loading...',
|
||||
presenter = 'Presenter View',
|
||||
logo = params["logo"] ? ((params["logo"] !== 'none') ? ('<img src="' + encodeUrlParam(params["logo"]) + '" class="loader-logo" />') : '') : null;
|
||||
|
||||
window.frameEditorId = params["frameEditorId"];
|
||||
|
||||
if ( lang == 'de') loading = 'Ladevorgang...';
|
||||
else if ( lang == 'es') loading = 'Cargando...';
|
||||
else if ( lang == 'fr') loading = 'Chargement en cours...';
|
||||
else if ( lang == 'it') loading = 'Caricamento in corso...';
|
||||
else if ( lang == 'pt') loading = 'Carregando...';
|
||||
else if ( lang == 'ru') loading = 'Загрузка...';
|
||||
else if ( lang == 'sl') loading = 'Nalaganje...';
|
||||
else if ( lang == 'tr') loading = 'Yükleniyor...';
|
||||
if ( lang == 'bg') { presenter = 'Изглед на презентатора';}
|
||||
else if ( lang == 'cs') { presenter = 'Zobrazení přednášejícího';}
|
||||
else if ( lang == 'de') { presenter = 'Referentenansicht'; loading = 'Ladevorgang...';}
|
||||
else if ( lang == 'es') { presenter = 'Vista del presentador'; loading = 'Cargando...';}
|
||||
else if ( lang == 'fr') { presenter = 'Mode présentateur'; loading = 'Chargement en cours...';}
|
||||
else if ( lang == 'it') { presenter = 'Visualizzazione del presenter'; loading = 'Caricamento in corso...';}
|
||||
else if ( lang == 'pl') { presenter = 'Widok Prezentera';}
|
||||
else if ( lang == 'pt') { presenter = 'Vista de apresentador'; loading = 'Carregando...';}
|
||||
else if ( lang == 'ru') { presenter = 'Режим докладчика'; loading = 'Загрузка...';}
|
||||
else if ( lang == 'sk') { presenter = 'Režim prezentácie';}
|
||||
else if ( lang == 'sl') { loading = 'Nalaganje...';}
|
||||
else if ( lang == 'zh') { presenter = '演示者视图';}
|
||||
else if ( lang == 'tr') { loading = 'Yükleniyor...';}
|
||||
window.document.title = presenter;
|
||||
|
||||
if (!stopLoading)
|
||||
document.write(
|
||||
|
|
|
@ -222,18 +222,25 @@
|
|||
customer = params["customer"] ? ('<div class="loader-page-text-customer">' + encodeUrlParam(params["customer"]) + '</div>') : '',
|
||||
margin = (customer !== '') ? 50 : 20,
|
||||
loading = 'Loading...',
|
||||
presenter = 'Presenter View',
|
||||
logo = params["logo"] ? ((params["logo"] !== 'none') ? ('<img src="' + encodeUrlParam(params["logo"]) + '" class="loader-logo" />') : '') : null;
|
||||
|
||||
window.frameEditorId = params["frameEditorId"];
|
||||
|
||||
if ( lang == 'de') loading = 'Ladevorgang...';
|
||||
else if ( lang == 'es') loading = 'Cargando...';
|
||||
else if ( lang == 'fr') loading = 'Chargement en cours...';
|
||||
else if ( lang == 'it') loading = 'Caricamento in corso...';
|
||||
else if ( lang == 'pt') loading = 'Carregando...';
|
||||
else if ( lang == 'ru') loading = 'Загрузка...';
|
||||
else if ( lang == 'sl') loading = 'Nalaganje...';
|
||||
else if ( lang == 'tr') loading = 'Yükleniyor...';
|
||||
if ( lang == 'bg') { presenter = 'Изглед на презентатора';}
|
||||
else if ( lang == 'cs') { presenter = 'Zobrazení přednášejícího';}
|
||||
else if ( lang == 'de') { presenter = 'Referentenansicht'; loading = 'Ladevorgang...';}
|
||||
else if ( lang == 'es') { presenter = 'Vista del presentador'; loading = 'Cargando...';}
|
||||
else if ( lang == 'fr') { presenter = 'Mode présentateur'; loading = 'Chargement en cours...';}
|
||||
else if ( lang == 'it') { presenter = 'Visualizzazione del presenter'; loading = 'Caricamento in corso...';}
|
||||
else if ( lang == 'pl') { presenter = 'Widok Prezentera';}
|
||||
else if ( lang == 'pt') { presenter = 'Vista de apresentador'; loading = 'Carregando...';}
|
||||
else if ( lang == 'ru') { presenter = 'Режим докладчика'; loading = 'Загрузка...';}
|
||||
else if ( lang == 'sk') { presenter = 'Režim prezentácie';}
|
||||
else if ( lang == 'sl') { loading = 'Nalaganje...';}
|
||||
else if ( lang == 'zh') { presenter = '演示者视图';}
|
||||
else if ( lang == 'tr') { loading = 'Yükleniyor...';}
|
||||
window.document.title = presenter;
|
||||
|
||||
if (!stopLoading)
|
||||
document.write(
|
||||
|
|
|
@ -43,16 +43,18 @@
|
|||
define([
|
||||
'core',
|
||||
'spreadsheeteditor/main/app/collection/FormulaGroups',
|
||||
'spreadsheeteditor/main/app/view/FormulaDialog'
|
||||
'spreadsheeteditor/main/app/view/FormulaDialog',
|
||||
'spreadsheeteditor/main/app/view/FormulaTab'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
SSE.Controllers = SSE.Controllers || {};
|
||||
|
||||
SSE.Controllers.FormulaDialog = Backbone.Controller.extend({
|
||||
SSE.Controllers.FormulaDialog = Backbone.Controller.extend(_.extend({
|
||||
models: [],
|
||||
views: [
|
||||
'FormulaDialog'
|
||||
'FormulaDialog',
|
||||
'FormulaTab'
|
||||
],
|
||||
collections: [
|
||||
'FormulaGroups'
|
||||
|
@ -74,18 +76,43 @@ define([
|
|||
me.formulasGroups.reset();
|
||||
me.reloadTranslations(lang);
|
||||
}
|
||||
},
|
||||
'FormulaTab': {
|
||||
'function:apply': this.applyFunction
|
||||
},
|
||||
'Toolbar': {
|
||||
'function:apply': this.applyFunction
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
applyFunction: function(func, autocomplete, group) {
|
||||
if (func) {
|
||||
if (func.origin === 'more') {
|
||||
this.showDialog(group);
|
||||
} else {
|
||||
this.api.asc_insertFormula(func.name, Asc.c_oAscPopUpSelectorType.Func, !!autocomplete);
|
||||
!autocomplete && this.updateLast10Formulas(func.origin);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
setConfig: function(config) {
|
||||
this.toolbar = config.toolbar;
|
||||
this.formulaTab = this.createView('FormulaTab', {
|
||||
toolbar: this.toolbar.toolbar,
|
||||
formulasGroups: this.formulasGroups
|
||||
});
|
||||
return this;
|
||||
},
|
||||
|
||||
setApi: function (api) {
|
||||
this.api = api;
|
||||
|
||||
if (this.formulasGroups && this.api) {
|
||||
Common.Utils.InternalSettings.set("sse-settings-func-last", Common.localStorage.getItem("sse-settings-func-last"));
|
||||
|
||||
this.reloadTranslations(
|
||||
Common.localStorage.getItem("sse-settings-func-locale") || this.appOptions.lang );
|
||||
this.reloadTranslations(Common.localStorage.getItem("sse-settings-func-locale") || this.appOptions.lang );
|
||||
|
||||
var me = this;
|
||||
|
||||
|
@ -93,14 +120,8 @@ define([
|
|||
api : this.api,
|
||||
toolclose : 'hide',
|
||||
formulasGroups : this.formulasGroups,
|
||||
handler : function (func) {
|
||||
if (func) {
|
||||
me.api.asc_insertFormula(func.name, Asc.c_oAscPopUpSelectorType.Func);
|
||||
me.updateLast10Formulas(func.origin);
|
||||
}
|
||||
}
|
||||
handler : _.bind(this.applyFunction, this)
|
||||
});
|
||||
|
||||
this.formulas.on({
|
||||
'hide': function () {
|
||||
me.api.asc_enableKeyEvents(true);
|
||||
|
@ -108,6 +129,8 @@ define([
|
|||
});
|
||||
}
|
||||
|
||||
this.formulaTab && this.formulaTab.setApi(this.api);
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
|
@ -118,6 +141,9 @@ define([
|
|||
onLaunch: function () {
|
||||
this.formulasGroups = this.getApplication().getCollection('FormulaGroups');
|
||||
|
||||
var descriptions = ['Financial', 'Logical', 'TextAndData', 'DateAndTime', 'LookupAndReference', 'Mathematic', 'Cube', 'Database', 'Engineering', 'Information',
|
||||
'Statistical', 'Last10'];
|
||||
|
||||
Common.Gateway.on('init', this.loadConfig.bind(this));
|
||||
},
|
||||
|
||||
|
@ -176,7 +202,7 @@ define([
|
|||
return null;
|
||||
},
|
||||
|
||||
showDialog: function () {
|
||||
showDialog: function (group) {
|
||||
if (this.formulas) {
|
||||
if ( this.needUpdateFormula ) {
|
||||
this.needUpdateFormula = false;
|
||||
|
@ -185,7 +211,7 @@ define([
|
|||
this.formulas.fillFormulasGroups();
|
||||
}
|
||||
}
|
||||
this.formulas.show();
|
||||
this.formulas.show(group);
|
||||
}
|
||||
},
|
||||
hideDialog: function () {
|
||||
|
@ -207,6 +233,7 @@ define([
|
|||
if (this.formulasGroups) {
|
||||
var group = this.formulasGroups.findWhere({name : 'Last10'});
|
||||
group && group.set('functions', this.loadingLast10Formulas(this.getDescription(Common.Utils.InternalSettings.get("sse-settings-func-locale"))));
|
||||
this.formulaTab && this.formulaTab.updateRecent();
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -248,7 +275,8 @@ define([
|
|||
last10FunctionsGroup = new SSE.Models.FormulaGroup ({
|
||||
name : ascGroupName,
|
||||
index : index,
|
||||
store : store
|
||||
store : store,
|
||||
caption : this['sCategory' + ascGroupName] || ascGroupName
|
||||
});
|
||||
if (last10FunctionsGroup) {
|
||||
last10FunctionsGroup.set('functions', this.loadingLast10Formulas(descrarr));
|
||||
|
@ -256,10 +284,12 @@ define([
|
|||
index += 1;
|
||||
}
|
||||
|
||||
ascGroupName = 'All';
|
||||
allFunctionsGroup = new SSE.Models.FormulaGroup ({
|
||||
name : 'All',
|
||||
name : ascGroupName,
|
||||
index : index,
|
||||
store : store
|
||||
store : store,
|
||||
caption : this['sCategory' + ascGroupName] || ascGroupName
|
||||
});
|
||||
if (allFunctionsGroup) {
|
||||
store.push(allFunctionsGroup);
|
||||
|
@ -276,7 +306,8 @@ define([
|
|||
formulaGroup = new SSE.Models.FormulaGroup({
|
||||
name : ascGroupName,
|
||||
index : index,
|
||||
store : store
|
||||
store : store,
|
||||
caption : this['sCategory' + ascGroupName] || ascGroupName
|
||||
});
|
||||
|
||||
index += 1;
|
||||
|
@ -308,6 +339,21 @@ define([
|
|||
_.sortBy(allFunctions, function (model) {return model.get('name'); }));
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
this.formulaTab && this.formulaTab.fillFunctions();
|
||||
},
|
||||
sCategoryAll: 'All',
|
||||
sCategoryLast10: '10 last used',
|
||||
sCategoryLogical: 'Logical',
|
||||
sCategoryCube: 'Cube',
|
||||
sCategoryDatabase: 'Database',
|
||||
sCategoryDateAndTime: 'Date and time',
|
||||
sCategoryEngineering: 'Engineering',
|
||||
sCategoryFinancial: 'Financial',
|
||||
sCategoryInformation: 'Information',
|
||||
sCategoryLookupAndReference: 'Lookup and reference',
|
||||
sCategoryMathematic: 'Math and trigonometry',
|
||||
sCategoryStatistical: 'Statistical',
|
||||
sCategoryTextAndData: 'Text and data'
|
||||
|
||||
}, SSE.Controllers.FormulaDialog || {}));
|
||||
});
|
||||
|
|
|
@ -1182,10 +1182,8 @@ define([
|
|||
controller.showDialog();
|
||||
}
|
||||
} else {
|
||||
|
||||
item.value = item.value || 'SUM';
|
||||
|
||||
this.api.asc_insertFormula(this.api.asc_getFormulaLocaleName(item.value), Asc.c_oAscPopUpSelectorType.Func, true);
|
||||
this.toolbar.fireEvent('function:apply', [{name: this.api.asc_getFormulaLocaleName(item.value), origin: item.value}, true]);
|
||||
|
||||
Common.NotificationCenter.trigger('edit:complete', this.toolbar);
|
||||
Common.component.Analytics.trackEvent('ToolBar', 'Insert formula');
|
||||
|
@ -1703,7 +1701,7 @@ define([
|
|||
toolbar.lockToolbar(SSE.enumLock.editFormula, is_formula,
|
||||
{ array: [toolbar.cmbFontName, toolbar.cmbFontSize, toolbar.btnIncFontSize, toolbar.btnDecFontSize,
|
||||
toolbar.btnBold, toolbar.btnItalic, toolbar.btnUnderline, toolbar.btnStrikeout, toolbar.btnSubscript, toolbar.btnTextColor]});
|
||||
toolbar.lockToolbar(SSE.enumLock.editText, is_text, {array:[toolbar.btnInsertFormula]});
|
||||
toolbar.lockToolbar(SSE.enumLock.editText, is_text, {array: [toolbar.btnInsertFormula].concat(toolbar.btnsFormula)});
|
||||
}
|
||||
this._state.coauthdisable = undefined;
|
||||
this._state.selection_type = undefined;
|
||||
|
@ -3105,11 +3103,17 @@ define([
|
|||
me.toolbar.btnsSetAutofilter = datatab.getButtons('set-filter');
|
||||
me.toolbar.btnsClearAutofilter = datatab.getButtons('clear-filter');
|
||||
|
||||
var formulatab = me.getApplication().getController('FormulaDialog');
|
||||
formulatab.setConfig({toolbar: me});
|
||||
formulatab = formulatab.getView('FormulaTab');
|
||||
me.toolbar.btnsFormula = formulatab.getButtons('formula');
|
||||
Array.prototype.push.apply(me.toolbar.lockControls, formulatab.getButtons());
|
||||
|
||||
if ( !config.isOffline ) {
|
||||
tab = {action: 'pivot', caption: me.textPivot};
|
||||
$panel = me.getApplication().getController('PivotTable').createToolbarPanel();
|
||||
if ($panel) {
|
||||
me.toolbar.addTab(tab, $panel, 4);
|
||||
me.toolbar.addTab(tab, $panel, 5);
|
||||
me.toolbar.setVisible('pivot', true);
|
||||
}
|
||||
}
|
||||
|
@ -3117,7 +3121,7 @@ define([
|
|||
var tab = {action: 'review', caption: me.toolbar.textTabCollaboration};
|
||||
var $panel = me.getApplication().getController('Common.Controllers.ReviewChanges').createToolbarPanel();
|
||||
if ( $panel )
|
||||
me.toolbar.addTab(tab, $panel, 5);
|
||||
me.toolbar.addTab(tab, $panel, 6);
|
||||
|
||||
if (!(config.customization && config.customization.compactHeader)) {
|
||||
// hide 'print' and 'save' buttons group and next separator
|
||||
|
@ -3136,7 +3140,7 @@ define([
|
|||
tab = {action: 'protect', caption: me.toolbar.textTabProtect};
|
||||
$panel = me.getApplication().getController('Common.Controllers.Protection').createToolbarPanel();
|
||||
if ($panel)
|
||||
me.toolbar.addTab(tab, $panel, 6);
|
||||
me.toolbar.addTab(tab, $panel, 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -156,6 +156,23 @@
|
|||
<span class="btn-slot text x-huge" id="slot-img-movebkwd"></span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel" data-tab="formula">
|
||||
<div class="group">
|
||||
<span class="btn-slot text x-huge" id="slot-btn-additional-formula"></span>
|
||||
</div>
|
||||
<div class="separator long"></div>
|
||||
<div class="group">
|
||||
<span class="btn-slot text x-huge" id="slot-btn-autosum"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-recent"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-financial"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-logical"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-text"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-datetime"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-lookup"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-math"></span>
|
||||
<span class="btn-slot text x-huge" id="slot-btn-more"></span>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel" data-tab="data">
|
||||
<div class="group">
|
||||
<div class="elset">
|
||||
|
|
|
@ -103,7 +103,7 @@ define([
|
|||
this.descLabel = $('#formula-dlg-desc');
|
||||
this.fillFormulasGroups();
|
||||
},
|
||||
show: function () {
|
||||
show: function (group) {
|
||||
if (this.$window) {
|
||||
var main_width, main_height, top, left, win_height = this.initConfig.height;
|
||||
|
||||
|
@ -128,8 +128,8 @@ define([
|
|||
this.mask.on('mousedown',_.bind(this.onUpdateFocus, this));
|
||||
this.$window.on('mousedown',_.bind(this.onUpdateFocus, this));
|
||||
|
||||
if (this.cmbFuncGroup.getValue() == 0)
|
||||
this.fillFunctions('Last10');
|
||||
group && this.cmbFuncGroup.setValue(group);
|
||||
(group || this.cmbFuncGroup.getValue()=='Last10') && this.fillFunctions(this.cmbFuncGroup.getValue());
|
||||
|
||||
if (this.cmbListFunctions) {
|
||||
_.delay(function (me) {
|
||||
|
@ -168,9 +168,7 @@ define([
|
|||
},
|
||||
onSelectGroup: function (combo, record) {
|
||||
if (!_.isUndefined(record) && !_.isUndefined(record.value)) {
|
||||
if (record.value < this.formulasGroups.length) {
|
||||
this.fillFunctions(this.formulasGroups.at(record.value).get('name'));
|
||||
}
|
||||
record.value && this.fillFunctions(record.value);
|
||||
}
|
||||
|
||||
this.onUpdateFocus();
|
||||
|
@ -212,8 +210,8 @@ define([
|
|||
var group = this.formulasGroups.at(i);
|
||||
if (group.get('functions').length) {
|
||||
groupsListItems.push({
|
||||
value : group.get('index'),
|
||||
displayValue : this['sCategory' + group.get('name')] || group.get('name')
|
||||
value : group.get('name'),
|
||||
displayValue : group.get('caption')
|
||||
});
|
||||
}
|
||||
}
|
||||
|
@ -231,7 +229,7 @@ define([
|
|||
} else {
|
||||
this.cmbFuncGroup.setData(groupsListItems);
|
||||
}
|
||||
this.cmbFuncGroup.setValue(0);
|
||||
this.cmbFuncGroup.setValue('Last10');
|
||||
this.fillFunctions('Last10');
|
||||
|
||||
}
|
||||
|
@ -379,19 +377,6 @@ define([
|
|||
|
||||
cancelButtonText: 'Cancel',
|
||||
okButtonText: 'Ok',
|
||||
sCategoryAll: 'All',
|
||||
sCategoryLast10: '10 last used',
|
||||
sCategoryLogical: 'Logical',
|
||||
sCategoryCube: 'Cube',
|
||||
sCategoryDatabase: 'Database',
|
||||
sCategoryDateAndTime: 'Date and time',
|
||||
sCategoryEngineering: 'Engineering',
|
||||
sCategoryFinancial: 'Financial',
|
||||
sCategoryInformation: 'Information',
|
||||
sCategoryLookupAndReference: 'Lookup and reference',
|
||||
sCategoryMathematic: 'Math and trigonometry',
|
||||
sCategoryStatistical: 'Statistical',
|
||||
sCategoryTextAndData: 'Text and data',
|
||||
textGroupDescription: 'Select Function Group',
|
||||
textListDescription: 'Select Function',
|
||||
sDescription: 'Description',
|
||||
|
|
379
apps/spreadsheeteditor/main/app/view/FormulaTab.js
Normal file
379
apps/spreadsheeteditor/main/app/view/FormulaTab.js
Normal file
|
@ -0,0 +1,379 @@
|
|||
/*
|
||||
*
|
||||
* (c) Copyright Ascensio System SIA 2010-2019
|
||||
*
|
||||
* This program is a free software product. You can redistribute it and/or
|
||||
* modify it under the terms of the GNU Affero General Public License (AGPL)
|
||||
* version 3 as published by the Free Software Foundation. In accordance with
|
||||
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
|
||||
* that Ascensio System SIA expressly excludes the warranty of non-infringement
|
||||
* of any third-party rights.
|
||||
*
|
||||
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
|
||||
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
|
||||
*
|
||||
* You can contact Ascensio System SIA at 20A-12 Ernesta Birznieka-Upisha
|
||||
* street, Riga, Latvia, EU, LV-1050.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of the Program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU AGPL version 3.
|
||||
*
|
||||
* Pursuant to Section 7(b) of the License you must retain the original Product
|
||||
* logo when distributing the program. Pursuant to Section 7(e) we decline to
|
||||
* grant you any rights under trademark law for use of our trademarks.
|
||||
*
|
||||
* All the Product's GUI elements, including illustrations and icon sets, as
|
||||
* well as technical writing content are licensed under the terms of the
|
||||
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
|
||||
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* FormulaTab.js
|
||||
*
|
||||
* Created by Julia Radzhabova on 14.06.2019
|
||||
* Copyright (c) 2019 Ascensio System SIA. All rights reserved.
|
||||
*
|
||||
*/
|
||||
|
||||
define([
|
||||
'common/main/lib/util/utils',
|
||||
'common/main/lib/component/BaseView',
|
||||
'common/main/lib/component/Layout'
|
||||
], function () {
|
||||
'use strict';
|
||||
|
||||
SSE.Views.FormulaTab = Common.UI.BaseView.extend(_.extend((function(){
|
||||
function setEvents() {
|
||||
var me = this;
|
||||
me.btnAutosum.on('click', function(){
|
||||
me.fireEvent('function:apply', [{name: me.api.asc_getFormulaLocaleName('SUM'), origin: 'SUM'}, true]);
|
||||
});
|
||||
me.btnAutosum.menu.on('item:click', function (menu, item, e) {
|
||||
me.fireEvent('function:apply', [{name: item.caption, origin: item.value}, true]);
|
||||
});
|
||||
me.btnFormula.on('click', function(){
|
||||
me.fireEvent('function:apply', [{name: 'more', origin: 'more'}]);
|
||||
});
|
||||
}
|
||||
return {
|
||||
options: {},
|
||||
|
||||
initialize: function (options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this);
|
||||
this.toolbar = options.toolbar;
|
||||
this.formulasGroups = options.formulasGroups;
|
||||
|
||||
this.lockedControls = [];
|
||||
|
||||
var me = this,
|
||||
$host = me.toolbar.$el,
|
||||
_set = SSE.enumLock;
|
||||
|
||||
var formulaDialog = SSE.getController('FormulaDialog');
|
||||
|
||||
this.btnFinancial = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-finance',
|
||||
caption: formulaDialog.sCategoryFinancial,
|
||||
hint: formulaDialog.sCategoryFinancial,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-financial'), this.btnFinancial);
|
||||
this.lockedControls.push(this.btnFinancial);
|
||||
|
||||
this.btnLogical = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-logic',
|
||||
caption: formulaDialog.sCategoryLogical,
|
||||
hint: formulaDialog.sCategoryLogical,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-logical'), this.btnLogical);
|
||||
this.lockedControls.push(this.btnLogical);
|
||||
|
||||
this.btnTextData = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-func-text',
|
||||
caption: formulaDialog.sCategoryTextAndData,
|
||||
hint: formulaDialog.sCategoryTextAndData,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-text'), this.btnTextData);
|
||||
this.lockedControls.push(this.btnTextData);
|
||||
|
||||
this.btnDateTime = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-datetime',
|
||||
caption: formulaDialog.sCategoryDateAndTime,
|
||||
hint: formulaDialog.sCategoryDateAndTime,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-datetime'), this.btnDateTime);
|
||||
this.lockedControls.push(this.btnDateTime);
|
||||
|
||||
this.btnReference = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-lookup',
|
||||
caption: formulaDialog.sCategoryLookupAndReference,
|
||||
hint: formulaDialog.sCategoryLookupAndReference,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-lookup'), this.btnReference);
|
||||
this.lockedControls.push(this.btnReference);
|
||||
|
||||
this.btnMath = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-func-math',
|
||||
caption: formulaDialog.sCategoryMathematic,
|
||||
hint: formulaDialog.sCategoryMathematic,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-math'), this.btnMath);
|
||||
this.lockedControls.push(this.btnMath);
|
||||
|
||||
this.btnRecent = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-recent',
|
||||
caption: this.txtRecent,
|
||||
hint: this.txtRecent,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-recent'), this.btnRecent);
|
||||
this.lockedControls.push(this.btnRecent);
|
||||
|
||||
this.btnAutosum = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-autosum',
|
||||
caption: this.txtAutosum,
|
||||
hint: this.txtAutosumTip,
|
||||
split: true,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth],
|
||||
menu: new Common.UI.Menu({
|
||||
items : [
|
||||
{caption: 'SUM', value: 'SUM'},
|
||||
{caption: 'MIN', value: 'MIN'},
|
||||
{caption: 'MAX', value: 'MAX'},
|
||||
{caption: 'COUNT', value: 'COUNT'},
|
||||
{caption: '--'},
|
||||
{
|
||||
caption: me.txtAdditional,
|
||||
value: 'more'
|
||||
}
|
||||
]
|
||||
})
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-autosum'), this.btnAutosum);
|
||||
this.lockedControls.push(this.btnAutosum);
|
||||
|
||||
this.btnFormula = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-ins-formula',
|
||||
caption: this.txtFormula,
|
||||
hint: this.txtFormulaTip,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-additional-formula'), this.btnFormula);
|
||||
this.lockedControls.push(this.btnFormula);
|
||||
|
||||
this.btnMore = new Common.UI.Button({
|
||||
cls: 'btn-toolbar x-huge icon-top',
|
||||
iconCls: 'btn-more',
|
||||
caption: this.txtMore,
|
||||
hint: this.txtMore,
|
||||
menu: true,
|
||||
split: false,
|
||||
disabled: true,
|
||||
lock: [_set.editText, _set.selChart, _set.selChartText, _set.selShape, _set.selShapeText, _set.selImage, _set.selRangeEdit, _set.lostConnect, _set.coAuth]
|
||||
});
|
||||
Common.Utils.injectComponent($host.find('#slot-btn-more'), this.btnMore);
|
||||
this.lockedControls.push(this.btnMore);
|
||||
|
||||
Common.NotificationCenter.on('app:ready', this.onAppReady.bind(this));
|
||||
},
|
||||
|
||||
render: function (el) {
|
||||
return this;
|
||||
},
|
||||
|
||||
onAppReady: function (config) {
|
||||
var me = this;
|
||||
(new Promise(function (accept, reject) {
|
||||
accept();
|
||||
})).then(function(){
|
||||
setEvents.call(me);
|
||||
});
|
||||
},
|
||||
|
||||
show: function () {
|
||||
Common.UI.BaseView.prototype.show.call(this);
|
||||
this.fireEvent('show', this);
|
||||
},
|
||||
|
||||
getButtons: function(type) {
|
||||
return this.lockedControls;
|
||||
},
|
||||
|
||||
SetDisabled: function (state) {
|
||||
this.lockedControls && this.lockedControls.forEach(function(button) {
|
||||
if ( button ) {
|
||||
button.setDisabled(state);
|
||||
}
|
||||
}, this);
|
||||
},
|
||||
|
||||
setButtonMenu: function(btn, name) {
|
||||
var me = this,
|
||||
arr = [],
|
||||
group = me.formulasGroups.findWhere({name : name});
|
||||
|
||||
if (group) {
|
||||
var functions = group.get('functions');
|
||||
functions && functions.forEach(function(item) {
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: item.get('name'),
|
||||
value: item.get('origin')
|
||||
}));
|
||||
});
|
||||
}
|
||||
if (arr.length) {
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: '--'
|
||||
}));
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: me.txtAdditional,
|
||||
value: 'more'
|
||||
}));
|
||||
|
||||
if (btn.menu && btn.menu.rendered) {
|
||||
btn.menu.removeAll();
|
||||
arr.forEach(function(item){
|
||||
btn.menu.addItem(item);
|
||||
});
|
||||
} else {
|
||||
btn.setMenu(new Common.UI.Menu({
|
||||
restoreHeight: 415,
|
||||
items: arr
|
||||
}));
|
||||
btn.menu.on('item:click', function (menu, item, e) {
|
||||
me.fireEvent('function:apply', [{name: item.caption, origin: item.value}, false, name]);
|
||||
});
|
||||
}
|
||||
}
|
||||
btn.setDisabled(arr.length<1);
|
||||
},
|
||||
|
||||
fillFunctions: function () {
|
||||
if (this.formulasGroups) {
|
||||
this.setButtonMenu(this.btnFinancial, 'Financial');
|
||||
this.setButtonMenu(this.btnLogical, 'Logical');
|
||||
this.setButtonMenu(this.btnTextData, 'TextAndData');
|
||||
this.setButtonMenu(this.btnDateTime, 'DateAndTime');
|
||||
this.setButtonMenu(this.btnReference, 'LookupAndReference');
|
||||
this.setButtonMenu(this.btnMath, 'Mathematic');
|
||||
this.setButtonMenu(this.btnRecent, 'Last10');
|
||||
|
||||
var formulas = this.btnAutosum.menu.items;
|
||||
for (var i=0; i<Math.min(4,formulas.length); i++) {
|
||||
this.api && formulas[i].setCaption(this.api.asc_getFormulaLocaleName(formulas[i].value));
|
||||
}
|
||||
|
||||
// more button
|
||||
var me = this,
|
||||
morearr = [],
|
||||
formulaDialog = SSE.getController('FormulaDialog');
|
||||
['Cube', 'Database', 'Engineering', 'Information', 'Statistical'].forEach(function(name) {
|
||||
var group = me.formulasGroups.findWhere({name : name});
|
||||
if (group) {
|
||||
var functions = group.get('functions'),
|
||||
arr = [];
|
||||
functions && functions.forEach(function(item) {
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: item.get('name'),
|
||||
value: item.get('origin')
|
||||
}));
|
||||
});
|
||||
if (arr.length) {
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: '--'
|
||||
}));
|
||||
arr.push(new Common.UI.MenuItem({
|
||||
caption: me.txtAdditional,
|
||||
value: 'more'
|
||||
}));
|
||||
var mnu = new Common.UI.MenuItem({
|
||||
caption : formulaDialog['sCategory' + name] || name,
|
||||
menu : new Common.UI.Menu({
|
||||
restoreHeight: 415,
|
||||
menuAlign: 'tl-tr',
|
||||
items: arr
|
||||
})
|
||||
});
|
||||
mnu.menu.on('item:click', function (menu, item, e) {
|
||||
me.fireEvent('function:apply', [{name: item.caption, origin: item.value}, false, name]);
|
||||
});
|
||||
morearr.push(mnu);
|
||||
}
|
||||
}
|
||||
});
|
||||
var btn = this.btnMore;
|
||||
if (morearr.length) {
|
||||
if (btn.menu && btn.menu.rendered) {
|
||||
btn.menu.removeAll();
|
||||
morearr.forEach(function(item){
|
||||
btn.menu.addItem(item);
|
||||
});
|
||||
} else {
|
||||
btn.setMenu(new Common.UI.Menu({
|
||||
restoreHeight: 415,
|
||||
items: morearr
|
||||
}));
|
||||
}
|
||||
}
|
||||
btn.setDisabled(morearr.length<1);
|
||||
}
|
||||
},
|
||||
|
||||
updateRecent: function() {
|
||||
this.formulasGroups && this.setButtonMenu(this.btnRecent, 'Last10');
|
||||
},
|
||||
|
||||
setApi: function (api) {
|
||||
this.api = api;
|
||||
},
|
||||
|
||||
txtRecent: 'Recently used',
|
||||
txtAutosum: 'Autosum',
|
||||
txtAutosumTip: 'Summation',
|
||||
txtAdditional: 'Additional',
|
||||
txtFormula: 'Function',
|
||||
txtFormulaTip: 'Insert function',
|
||||
txtMore: 'More functions'
|
||||
}
|
||||
}()), SSE.Views.FormulaTab || {}));
|
||||
});
|
|
@ -313,6 +313,7 @@ define([
|
|||
{ caption: me.textTabHome, action: 'home', extcls: 'canedit'},
|
||||
{ caption: me.textTabInsert, action: 'ins', extcls: 'canedit'},
|
||||
{caption: me.textTabLayout, action: 'layout', extcls: 'canedit'},
|
||||
{caption: me.textTabFormula, action: 'formula', extcls: 'canedit'},
|
||||
{caption: me.textTabData, action: 'data', extcls: 'canedit'}
|
||||
]}
|
||||
);
|
||||
|
@ -2347,6 +2348,7 @@ define([
|
|||
tipEditHeader: 'Edit header or footer',
|
||||
textTabData: 'Data',
|
||||
capInsertTable: 'Table',
|
||||
tipInsertTable: 'Insert table'
|
||||
tipInsertTable: 'Insert table',
|
||||
textTabFormula: 'Formula'
|
||||
}, SSE.Views.Toolbar || {}));
|
||||
});
|
|
@ -369,6 +369,19 @@
|
|||
"SSE.Controllers.DocumentHolder.txtUndoExpansion": "Automatische Erweiterung der Tabelle rückgängig machen",
|
||||
"SSE.Controllers.DocumentHolder.txtUseTextImport": "Text Import-Assistenten verwenden",
|
||||
"SSE.Controllers.DocumentHolder.txtWidth": "Breite",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Alle",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 zuletzt verwendete",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Datenbank",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Datum und Uhrzeit",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Konstruktion",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Finanzmathematik",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Logisch",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Suchen und Bezüge",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Mathematik und Trigonometrie",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Statistik",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Text und Daten",
|
||||
"SSE.Controllers.LeftMenu.newDocumentTitle": "Unbetitelte Kalkulationstabelle",
|
||||
"SSE.Controllers.LeftMenu.textByColumns": "Spaltenweise",
|
||||
"SSE.Controllers.LeftMenu.textByRows": "Zeilenweise",
|
||||
|
@ -1581,19 +1594,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Funktionsgruppe auswählen",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Funktion auswählen",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Funktion einfügen",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Alle",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 zuletzt verwendete",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Datenbank",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Datum und Uhrzeit",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Konstruktion",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Finanzmathematik",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Logisch",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Suchen und Bezüge",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Mathematik und Trigonometrie",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statistik",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Text und Daten",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Abbrechen",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Anzeigen",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Verknüpfen mit",
|
||||
|
|
|
@ -371,6 +371,19 @@
|
|||
"SSE.Controllers.DocumentHolder.txtUndoExpansion": "Undo table autoexpansion",
|
||||
"SSE.Controllers.DocumentHolder.txtUseTextImport": "Use text import wizard",
|
||||
"SSE.Controllers.DocumentHolder.txtWidth": "Width",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "All",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 last used",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Logical",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Database",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Date and time",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Engineering",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Financial",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Lookup and reference",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Math and trigonometry",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Statistical",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Text and data",
|
||||
"SSE.Controllers.LeftMenu.newDocumentTitle": "Unnamed spreadsheet",
|
||||
"SSE.Controllers.LeftMenu.textByColumns": "By columns",
|
||||
"SSE.Controllers.LeftMenu.textByRows": "By rows",
|
||||
|
@ -1603,19 +1616,13 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Select Function Group",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Select Function",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Insert Function",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "All",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 last used",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Logical",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Database",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Date and time",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Engineering",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Financial",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Lookup and reference",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Math and trigonometry",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statistical",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Text and data",
|
||||
"SSE.Views.FormulaTab.txtRecent": "Recently used",
|
||||
"SSE.Views.FormulaTab.txtAutosum": "Autosum",
|
||||
"SSE.Views.FormulaTab.txtAutosumTip": "Summation",
|
||||
"SSE.Views.FormulaTab.txtAdditional": "Additional",
|
||||
"SSE.Views.FormulaTab.txtFormula": "Function",
|
||||
"SSE.Views.FormulaTab.txtFormulaTip": "Insert function",
|
||||
"SSE.Views.FormulaTab.txtMore": "More functions",
|
||||
"SSE.Views.GroupDialog.cancelButtonText": "Cancel",
|
||||
"SSE.Views.GroupDialog.okButtonText": "Ok",
|
||||
"SSE.Views.GroupDialog.textRows": "Rows",
|
||||
|
@ -2377,6 +2384,7 @@
|
|||
"SSE.Views.Toolbar.capBtnInsHeader": "Header/Footer",
|
||||
"SSE.Views.Toolbar.tipEditHeader": "Edit header or footer",
|
||||
"SSE.Views.Toolbar.textTabData": "Data",
|
||||
"SSE.Views.Toolbar.textTabFormula": "Formula",
|
||||
"SSE.Views.Top10FilterDialog.cancelButtonText": "Cancel",
|
||||
"SSE.Views.Top10FilterDialog.okButtonText": "OK",
|
||||
"SSE.Views.Top10FilterDialog.textType": "Show",
|
||||
|
|
|
@ -369,6 +369,19 @@
|
|||
"SSE.Controllers.DocumentHolder.txtUndoExpansion": "Deshacer la expansión automática de la tabla",
|
||||
"SSE.Controllers.DocumentHolder.txtUseTextImport": "Usar el Asistente para importar texto",
|
||||
"SSE.Controllers.DocumentHolder.txtWidth": "Ancho",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Todo",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 últimas utilizadas",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Lógico",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Cubo",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Base de Datos",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Fecha y hora",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Ingenería",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Financial",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Información",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReferences": "Búsqueda y referencia",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Matemáticas y trigonometría",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Estadístico",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Texto y datos",
|
||||
"SSE.Controllers.LeftMenu.newDocumentTitle": "Hoja de cálculo sin nombre",
|
||||
"SSE.Controllers.LeftMenu.textByColumns": "Columnas",
|
||||
"SSE.Controllers.LeftMenu.textByRows": "Filas",
|
||||
|
@ -1581,19 +1594,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Seleccionar grupo de función",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Seleccionar función",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Insertar función",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Todo",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 últimas utilizadas",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Lógico",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Cubo",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Base de Datos",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Fecha y hora",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Ingenería",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Financial",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Información",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReferences": "Búsqueda y referencia",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Matemáticas y trigonometría",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Estadístico",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Texto y datos",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Cancelar",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Mostrar",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Enlace a",
|
||||
|
|
|
@ -223,6 +223,19 @@
|
|||
"Common.Views.SignSettingsDialog.textShowDate": "Afficher la date de signature à côté de la signature",
|
||||
"Common.Views.SignSettingsDialog.textTitle": "Mise en place de la signature",
|
||||
"Common.Views.SignSettingsDialog.txtEmpty": "Ce champ est obligatoire",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Tout",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 dernières utilisées",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Logique",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Base de données",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Date et heure",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Ingénierie",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Financier",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Recherche et référence",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Maths et trigonométrie",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Statistiques",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Texte et données",
|
||||
"SSE.Controllers.DocumentHolder.alignmentText": "Alignement",
|
||||
"SSE.Controllers.DocumentHolder.centerText": "Au centre",
|
||||
"SSE.Controllers.DocumentHolder.deleteColumnText": "Supprimer la colonne",
|
||||
|
@ -1582,19 +1595,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Sélectionner un groupe de fonctions",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Sélectionner une fonction",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Insérer une fonction",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Tout",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 dernières utilisées",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Logique",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Cube",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Base de données",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Date et heure",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Ingénierie",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Financier",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Information",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Recherche et référence",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Maths et trigonométrie",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statistiques",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Texte et données",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Annuler",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Afficher",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Lier à",
|
||||
|
|
|
@ -222,6 +222,19 @@
|
|||
"Common.Views.SignSettingsDialog.textShowDate": "Mostra la data nella riga di Firma",
|
||||
"Common.Views.SignSettingsDialog.textTitle": "Impostazioni firma",
|
||||
"Common.Views.SignSettingsDialog.txtEmpty": "Campo obbligatorio",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Tutto",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 ultime utilizzate",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Logico",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Cubo",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Banca dati",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Data e ora",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Ingegneria",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Finanziario",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Informazioni",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Ricerca e Riferimento",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Matematiche e trigonometriche",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Statistico",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Testo e dati",
|
||||
"SSE.Controllers.DocumentHolder.alignmentText": "Allineamento",
|
||||
"SSE.Controllers.DocumentHolder.centerText": "Al centro",
|
||||
"SSE.Controllers.DocumentHolder.deleteColumnText": "Elimina colonna",
|
||||
|
@ -1508,19 +1521,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Seleziona gruppo di funzioni",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Seleziona funzione",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Inserisci funzione",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Tutto",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 ultime utilizzate",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Logico",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Cubo",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Banca dati",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Data e ora",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Ingegneria",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Finanziario",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Informazioni",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Ricerca e Riferimento",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Matematiche e trigonometriche",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statistico",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Testo e dati",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Annulla",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Visualizza",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Collega a",
|
||||
|
|
|
@ -111,6 +111,19 @@
|
|||
"Common.Views.RenameDialog.okButtonText": "OK",
|
||||
"Common.Views.RenameDialog.textName": "Nazwa pliku",
|
||||
"Common.Views.RenameDialog.txtInvalidName": "Nazwa pliku nie może zawierać żadnego z następujących znaków:",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Wszystko",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 ostatnio używanych",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Logiczny",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Sześcian",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Baza danych",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Data i czas",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Inżyniera",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Finansowe",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Informacja",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Wyszukiwanie i odniesienie",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Matematyczne i trygonometryczne",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Statystyczny",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Tekst i data",
|
||||
"SSE.Controllers.DocumentHolder.alignmentText": "Wyrównanie",
|
||||
"SSE.Controllers.DocumentHolder.centerText": "Środek",
|
||||
"SSE.Controllers.DocumentHolder.deleteColumnText": "Usuń kolumnę",
|
||||
|
@ -1165,19 +1178,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Wybierz grupę funkcji",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Wybierz funkcję",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Wstaw funkcję",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Wszystko",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 ostatnio używanych",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Logiczny",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Sześcian",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Baza danych",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Data i czas",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Inżyniera",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Finansowe",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Informacja",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Wyszukiwanie i odniesienie",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Matematyczne i trygonometryczne",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Statystyczny",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Tekst i data",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Anuluj",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Pokaż",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Link do",
|
||||
|
|
|
@ -223,6 +223,19 @@
|
|||
"Common.Views.SignSettingsDialog.textShowDate": "Показывать дату подписи в строке подписи",
|
||||
"Common.Views.SignSettingsDialog.textTitle": "Настройка подписи",
|
||||
"Common.Views.SignSettingsDialog.txtEmpty": "Это поле необходимо заполнить",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryAll": "Все",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLast10": "10 недавно использовавшихся",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryCube": "Кубические",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDatabase": "Базы данных",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryDateAndTime": "Дата и время",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryEngineering": "Инженерные",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryFinancial": "Финансовые",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryInformation": "Информационные",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLogical": "Логические",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryLookupAndReference": "Поиск и ссылки",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryMathematic": "Математические",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryStatistical": "Статистические",
|
||||
"SSE.Controllers.FormulaDialog.sCategoryTextAndData": "Текст и данные",
|
||||
"SSE.Controllers.DocumentHolder.alignmentText": "Выравнивание",
|
||||
"SSE.Controllers.DocumentHolder.centerText": "По центру",
|
||||
"SSE.Controllers.DocumentHolder.deleteColumnText": "Удалить столбец",
|
||||
|
@ -1582,19 +1595,6 @@
|
|||
"SSE.Views.FormulaDialog.textGroupDescription": "Выберите группу функций",
|
||||
"SSE.Views.FormulaDialog.textListDescription": "Выберите функцию",
|
||||
"SSE.Views.FormulaDialog.txtTitle": "Вставить функцию",
|
||||
"SSE.Views.FormulaDialog.sCategoryAll": "Все",
|
||||
"SSE.Views.FormulaDialog.sCategoryLast10": "10 недавно использовавшихся",
|
||||
"SSE.Views.FormulaDialog.sCategoryCube": "Кубические",
|
||||
"SSE.Views.FormulaDialog.sCategoryDatabase": "Базы данных",
|
||||
"SSE.Views.FormulaDialog.sCategoryDateAndTime": "Дата и время",
|
||||
"SSE.Views.FormulaDialog.sCategoryEngineering": "Инженерные",
|
||||
"SSE.Views.FormulaDialog.sCategoryFinancial": "Финансовые",
|
||||
"SSE.Views.FormulaDialog.sCategoryInformation": "Информационные",
|
||||
"SSE.Views.FormulaDialog.sCategoryLogical": "Логические",
|
||||
"SSE.Views.FormulaDialog.sCategoryLookupAndReference": "Поиск и ссылки",
|
||||
"SSE.Views.FormulaDialog.sCategoryMathematic": "Математические",
|
||||
"SSE.Views.FormulaDialog.sCategoryStatistical": "Статистические",
|
||||
"SSE.Views.FormulaDialog.sCategoryTextAndData": "Текст и данные",
|
||||
"SSE.Views.HyperlinkSettingsDialog.cancelButtonText": "Отмена",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strDisplay": "Отображать",
|
||||
"SSE.Views.HyperlinkSettingsDialog.strLinkTo": "Связать с",
|
||||
|
|
Loading…
Reference in a new issue