[SSE] Enable pivot settins
This commit is contained in:
parent
5149515f13
commit
9909a9f996
|
@ -121,7 +121,7 @@ define([
|
||||||
formatTableInfo = info.asc_getFormatTableInfo(),
|
formatTableInfo = info.asc_getFormatTableInfo(),
|
||||||
sparkLineInfo = info.asc_getSparklineInfo(),
|
sparkLineInfo = info.asc_getSparklineInfo(),
|
||||||
cellInfo = info,
|
cellInfo = info,
|
||||||
pivotInfo = null;//info.asc_getPivotTableInfo();
|
pivotInfo = info.asc_getPivotTableInfo();
|
||||||
|
|
||||||
if (selectType == Asc.c_oAscSelectionType.RangeImage || selectType == Asc.c_oAscSelectionType.RangeShape ||
|
if (selectType == Asc.c_oAscSelectionType.RangeImage || selectType == Asc.c_oAscSelectionType.RangeShape ||
|
||||||
selectType == Asc.c_oAscSelectionType.RangeChart || selectType == Asc.c_oAscSelectionType.RangeChartText || selectType == Asc.c_oAscSelectionType.RangeShapeText) {
|
selectType == Asc.c_oAscSelectionType.RangeChart || selectType == Asc.c_oAscSelectionType.RangeChartText || selectType == Asc.c_oAscSelectionType.RangeShapeText) {
|
||||||
|
@ -200,12 +200,12 @@ define([
|
||||||
this._settings[settingsType].btn.updateHint(this.rightmenu.txtSparklineSettings);
|
this._settings[settingsType].btn.updateHint(this.rightmenu.txtSparklineSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
// if (pivotInfo) {
|
if (pivotInfo) {
|
||||||
// settingsType = Common.Utils.documentSettingsType.Pivot;
|
settingsType = Common.Utils.documentSettingsType.Pivot;
|
||||||
// this._settings[settingsType].props = pivotInfo;
|
this._settings[settingsType].props = pivotInfo;
|
||||||
// this._settings[settingsType].locked = isPivotLocked || true; // disable pivot settings
|
this._settings[settingsType].locked = isPivotLocked; // disable pivot settings
|
||||||
// this._settings[settingsType].hidden = 0;
|
this._settings[settingsType].hidden = 0;
|
||||||
// }
|
}
|
||||||
|
|
||||||
if (SelectedObjects.length<=0) { // cell is selected
|
if (SelectedObjects.length<=0) { // cell is selected
|
||||||
settingsType = Common.Utils.documentSettingsType.Cell;
|
settingsType = Common.Utils.documentSettingsType.Cell;
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
<button id="id-right-menu-chart" class="btn btn-category arrow-left" content-target="id-chart-settings"><i class="icon img-toolbarmenu btn-menu-chart"> </i></button>
|
<button id="id-right-menu-chart" class="btn btn-category arrow-left" content-target="id-chart-settings"><i class="icon img-toolbarmenu btn-menu-chart"> </i></button>
|
||||||
<button id="id-right-menu-text" class="btn btn-category arrow-left" content-target="id-paragraph-settings"><i class="icon img-toolbarmenu btn-menu-text"> </i></button>
|
<button id="id-right-menu-text" class="btn btn-category arrow-left" content-target="id-paragraph-settings"><i class="icon img-toolbarmenu btn-menu-text"> </i></button>
|
||||||
<button id="id-right-menu-textart" class="btn btn-category arrow-left" content-target="id-textart-settings"><i class="icon img-toolbarmenu btn-menu-textart"> </i></button>
|
<button id="id-right-menu-textart" class="btn btn-category arrow-left" content-target="id-textart-settings"><i class="icon img-toolbarmenu btn-menu-textart"> </i></button>
|
||||||
<button id="id-right-menu-pivot" class="btn btn-category arrow-left hidden" content-target="id-pivot-settings"><i class="icon img-toolbarmenu btn-menu-pivot"> </i></button>
|
<button id="id-right-menu-pivot" class="btn btn-category arrow-left" content-target="id-pivot-settings"><i class="icon img-toolbarmenu btn-menu-pivot"> </i></button>
|
||||||
<button id="id-right-menu-signature" class="btn btn-category arrow-left hidden" content-target="id-signature-settings"><i class="icon img-toolbarmenu btn-menu-signature"> </i></button>
|
<button id="id-right-menu-signature" class="btn btn-category arrow-left hidden" content-target="id-signature-settings"><i class="icon img-toolbarmenu btn-menu-signature"> </i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in a new issue