|
|
@ -352,97 +352,102 @@ export function menuToolBarWidth() { |
|
|
|
ele:'#luckysheet-icon-strikethrough', |
|
|
|
index:12, |
|
|
|
}, //'Strikethrough (Alt+Shift+5)'
|
|
|
|
underline: { |
|
|
|
ele:'#luckysheet-icon-underline', |
|
|
|
index:13, |
|
|
|
}, //'Strikethrough (Alt+Shift+6)'
|
|
|
|
|
|
|
|
textColor: { |
|
|
|
ele:['#luckysheet-icon-text-color','#luckysheet-icon-text-color-menu','#toolbar-separator-text-color'], |
|
|
|
index:13, |
|
|
|
index:14, |
|
|
|
}, //'Text color'
|
|
|
|
fillColor: { |
|
|
|
ele:['#luckysheet-icon-cell-color','#luckysheet-icon-cell-color-menu'], |
|
|
|
index:14, |
|
|
|
index:15, |
|
|
|
}, //'Cell color'
|
|
|
|
border: { |
|
|
|
ele:['#luckysheet-icon-border-all','#luckysheet-icon-border-menu'], |
|
|
|
index:15, |
|
|
|
index:16, |
|
|
|
}, //'border'
|
|
|
|
mergeCell: { |
|
|
|
ele:['#luckysheet-icon-merge-button','#luckysheet-icon-merge-menu','#toolbar-separator-merge-cell'], |
|
|
|
index:16, |
|
|
|
index:17, |
|
|
|
}, //'Merge cells'
|
|
|
|
horizontalAlignMode: { |
|
|
|
ele:['#luckysheet-icon-align','#luckysheet-icon-align-menu'], |
|
|
|
index:17, |
|
|
|
index:18, |
|
|
|
}, //'Horizontal alignment'
|
|
|
|
verticalAlignMode: { |
|
|
|
ele:['#luckysheet-icon-valign','#luckysheet-icon-valign-menu'], |
|
|
|
index:18, |
|
|
|
index:19, |
|
|
|
}, //'Vertical alignment'
|
|
|
|
textWrapMode: { |
|
|
|
ele:['#luckysheet-icon-textwrap','#luckysheet-icon-textwrap-menu'], |
|
|
|
index:19, |
|
|
|
index:20, |
|
|
|
}, //'Wrap mode'
|
|
|
|
textRotateMode: { |
|
|
|
ele:['#luckysheet-icon-rotation','#luckysheet-icon-rotation-menu','#toolbar-separator-text-rotate'], |
|
|
|
index:20, |
|
|
|
index:21, |
|
|
|
}, //'Text Rotation Mode'
|
|
|
|
image:{ |
|
|
|
image:{ |
|
|
|
ele:'#luckysheet-insertImg-btn-title', |
|
|
|
index:21, |
|
|
|
index:22, |
|
|
|
}, //'Insert link'
|
|
|
|
link:{ |
|
|
|
link:{ |
|
|
|
ele:'#luckysheet-insertLink-btn-title', |
|
|
|
index:22, |
|
|
|
index:23, |
|
|
|
}, //'Insert picture'
|
|
|
|
chart: { |
|
|
|
ele:'#luckysheet-chart-btn-title', |
|
|
|
index:23, |
|
|
|
index:24, |
|
|
|
}, //'chart' (the icon is hidden, but if the chart plugin is configured, you can still create a new chart by right click)
|
|
|
|
postil: { |
|
|
|
ele:'#luckysheet-icon-postil', |
|
|
|
index:24, |
|
|
|
index:25, |
|
|
|
}, //'comment'
|
|
|
|
pivotTable: { |
|
|
|
ele:['#luckysheet-pivot-btn-title','#toolbar-separator-pivot-table'], |
|
|
|
index:25, |
|
|
|
index:26, |
|
|
|
}, //'PivotTable'
|
|
|
|
function: { |
|
|
|
ele:['#luckysheet-icon-function','#luckysheet-icon-function-menu'], |
|
|
|
index:26, |
|
|
|
index:27, |
|
|
|
}, //'formula'
|
|
|
|
frozenMode: { |
|
|
|
ele:['#luckysheet-freezen-btn-horizontal','#luckysheet-icon-freezen-menu'], |
|
|
|
index:27, |
|
|
|
index:28, |
|
|
|
}, //'freeze mode'
|
|
|
|
sortAndFilter: { |
|
|
|
ele:'#luckysheet-icon-autofilter', |
|
|
|
index:28, |
|
|
|
index:29, |
|
|
|
}, //'sort and filter'
|
|
|
|
conditionalFormat: { |
|
|
|
ele:'#luckysheet-icon-conditionformat', |
|
|
|
index:29, |
|
|
|
index:30, |
|
|
|
}, //'Conditional Format'
|
|
|
|
dataVerification: { |
|
|
|
ele:'#luckysheet-dataVerification-btn-title', |
|
|
|
index:30, |
|
|
|
index:31, |
|
|
|
}, // 'Data Verification'
|
|
|
|
splitColumn: { |
|
|
|
ele:'#luckysheet-splitColumn-btn-title', |
|
|
|
index:31, |
|
|
|
index:32, |
|
|
|
}, //'Split column'
|
|
|
|
screenshot: { |
|
|
|
ele:'#luckysheet-chart-btn-screenshot', |
|
|
|
index:32, |
|
|
|
index:33, |
|
|
|
}, //'screenshot'
|
|
|
|
findAndReplace: { |
|
|
|
ele:'#luckysheet-icon-seachmore', |
|
|
|
index:33, |
|
|
|
index:34, |
|
|
|
}, //'Find and Replace'
|
|
|
|
protection:{ |
|
|
|
ele:'#luckysheet-icon-protection', |
|
|
|
index:34, |
|
|
|
index:35, |
|
|
|
}, // 'Worksheet protection'
|
|
|
|
print:{ |
|
|
|
print:{ |
|
|
|
ele:'#luckysheet-icon-print', |
|
|
|
index:35, |
|
|
|
index:36, |
|
|
|
}, // 'print'
|
|
|
|
}; |
|
|
|
|
|
|
@ -688,5 +693,4 @@ function customStatisticBarConfig() { |
|
|
|
$("#" + Store.container).find(".luckysheet-stat-area").show(); |
|
|
|
Store.statisticBarHeight = 23; |
|
|
|
} |
|
|
|
|
|
|
|
} |