[SSE] Fix printing tities
This commit is contained in:
parent
8d88fe6aca
commit
42ccd21630
|
@ -3464,7 +3464,7 @@ define([
|
|||
handler: function(dlg, result) {
|
||||
if (result == 'ok') {
|
||||
props = dlg.getSettings();
|
||||
me.api.asc_changePrintTitles(props);
|
||||
me.api.asc_changePrintTitles(props.width, props.height, me.api.asc_getActiveWorksheetIndex());
|
||||
Common.NotificationCenter.trigger('edit:complete', me.toolbar);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -222,10 +222,7 @@ define([
|
|||
},
|
||||
|
||||
getSettings: function() {
|
||||
var props = new Asc.asc_CPageOptions();
|
||||
props.asc_setPrintTitlesWidth(this.txtRangeTop.getValue());
|
||||
props.asc_setPrintTitlesHeight(this.txtRangeLeft.getValue());
|
||||
return props;
|
||||
return {width: this.txtRangeTop.getValue(), height: this.txtRangeLeft.getValue()};
|
||||
},
|
||||
|
||||
onPresetSelect: function(type, menu, item) {
|
||||
|
|
Loading…
Reference in a new issue