Skip to content

Commit 6f8e8d4

Browse files
GulsahKoseDarshan-upadhyay1110
authored andcommitted
Calc: Implement column row highlight feature
Signed-off-by: Gülşah Köse <[email protected]> Change-Id: I985b2fa7e4f59c44ca8cba00666959ff8c18d236
1 parent 5ee7b87 commit 6f8e8d4

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

browser/src/control/Control.Menubar.js

+1
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,7 @@ L.Control.Menubar = L.Control.extend({
765765
{uno: '.uno:Navigator', id: 'navigator'},
766766
{type: 'separator'},
767767
{name: _UNO('.uno:ToggleSheetGrid', 'spreadsheet', true), uno: '.uno:ToggleSheetGrid', id: 'sheetgrid'},
768+
{name: _UNO('.uno:ViewColumnRowHighlighting', 'spreadsheet', true), uno: '.uno:ViewColumnRowHighlighting', type:'action', id: 'viewcolumnrowhighlight'},
768769
{name: _UNO('.uno:FreezePanes', 'spreadsheet', true), id: 'FreezePanes', type: 'action', uno: '.uno:FreezePanes'},
769770
{name: _UNO('.uno:FreezeCellsMenu', 'spreadsheet', true), id: 'FreezeCellsMenu', type: 'menu', uno: '.uno:FreezeCellsMenu', menu: [
770771
{name: _UNO('.uno:FreezePanesColumn', 'spreadsheet', true), id: 'FreezePanesColumn', type: 'action', uno: '.uno:FreezePanesColumn'},

browser/src/control/Control.NotebookbarCalc.js

+7
Original file line numberDiff line numberDiff line change
@@ -1159,6 +1159,13 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({
11591159
'command': '.uno:ToggleSheetGrid',
11601160
'accessibility': { focusBack: true, combination: 'SG', de: null }
11611161
},
1162+
{
1163+
'id': 'colrowhighlight',
1164+
'type': 'bigtoolitem',
1165+
'text': _UNO('.uno:ViewColumnRowHighlighting', 'spreadsheet', true),
1166+
'command': '.uno:ViewColumnRowHighlighting',
1167+
'accessibility': { focusBack: true, combination: 'HL', de: null }
1168+
},
11621169
(window.mode.isTablet()) ?
11631170
{
11641171
'id': 'closemobile',

browser/src/unocommands.js

+1
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,7 @@ var unoCommandsArray = {
518518
'Validation':{spreadsheet:{menu:_('~Validity...'),},},
519519
'VerticalText':{global:{context:_('Insert Vertical Text'),menu:_('Vertical Text'),},},
520520
'View3D':{global:{menu:_('~3D View...'),},},
521+
'ViewColumnRowHighlighting':{spreadsheet:{menu:_('Column/Row Highlighting'),},},
521522
'ViewMenu':{global:{menu:_('~View'),},},
522523
'Watermark':{text:{menu:_('Watermark...'),},},
523524
'WordCountDialog':{text:{menu:_('~Word Count...'),},},

0 commit comments

Comments
 (0)