diff --git a/browser/images/dark/lc_dataarearefresh.svg b/browser/images/dark/lc_dataarearefresh.svg new file mode 100644 index 0000000000000..41dbc8b4ad532 --- /dev/null +++ b/browser/images/dark/lc_dataarearefresh.svg @@ -0,0 +1 @@ + diff --git a/browser/images/dark/lc_selectdb.svg b/browser/images/dark/lc_selectdb.svg new file mode 100644 index 0000000000000..974cc9c3bcc31 --- /dev/null +++ b/browser/images/dark/lc_selectdb.svg @@ -0,0 +1 @@ + diff --git a/browser/images/lc_dataarearefresh.svg b/browser/images/lc_dataarearefresh.svg new file mode 100644 index 0000000000000..ef1280b4d90c1 --- /dev/null +++ b/browser/images/lc_dataarearefresh.svg @@ -0,0 +1 @@ + diff --git a/browser/images/lc_selectdb.svg b/browser/images/lc_selectdb.svg new file mode 100644 index 0000000000000..e1e71f27abcbf --- /dev/null +++ b/browser/images/lc_selectdb.svg @@ -0,0 +1 @@ + diff --git a/browser/src/control/Control.NotebookbarCalc.js b/browser/src/control/Control.NotebookbarCalc.js index 710189ead354a..57da1be11de62 100644 --- a/browser/src/control/Control.NotebookbarCalc.js +++ b/browser/src/control/Control.NotebookbarCalc.js @@ -1802,6 +1802,66 @@ L.Control.NotebookbarCalc = L.Control.NotebookbarWriter.extend({ 'command': '.uno:DefineDBName', 'accessibility': { focusBack: true, combination: 'DR', de: null } }, + { + 'type': 'container', + 'children': [ + { + 'type': 'toolbox', + 'children': [ + { + 'id': 'data-select-range', + 'type': 'toolitem', + 'text': _UNO('.uno:SelectDB', 'spreadsheet'), + 'command': '.uno:SelectDB', + 'accessibility': { focusBack: true, combination: 'SR', de: null } + } + ] + }, + { + 'type': 'toolbox', + 'children': [ + { + 'id': 'data-refresh-range', + 'type': 'toolitem', + 'text': _UNO('.uno:DataAreaRefresh', 'spreadsheet'), + 'command': '.uno:DataAreaRefresh', + 'accessibility': { focusBack: true, combination: 'DE', de: null } + }, + ] + }, + ], + 'vertical': 'true' + }, + // { + // 'type': 'container', + // 'children': [ + // { + // 'type': 'toolbox', + // 'children': [ + // { + // 'id': 'data-define-name', + // 'type': 'toolitem', + // 'text': _UNO('.uno:AddName', 'spreadsheet'), + // 'command': '.uno:AddName', + // 'accessibility': { focusBack: true, combination: 'DR', de: null } + // }, + // ] + // }, + // { + // 'type': 'toolbox', + // 'children': [ + // { + // 'id': 'data-manage-name', + // 'type': 'toolitem', + // 'text': _UNO('.uno:DefineName', 'spreadsheet'), + // 'command': '.uno:DefineName', + // 'accessibility': { focusBack: true, combination: 'SR', de: null } + // } + // ] + // } + // ], + // 'vertical': 'true' + // }, ]; return this.getTabPage('Data', content); diff --git a/browser/src/unocommands.js b/browser/src/unocommands.js index fd6b255377575..48497cacb2f65 100644 --- a/browser/src/unocommands.js +++ b/browser/src/unocommands.js @@ -74,6 +74,7 @@ var unoCommandsArray = { 'CovarianceDialog':{spreadsheet:{menu:_('~Covariance...'),},}, 'CustomAnimation':{presentation:{menu:_('Animation'),},}, 'Cut':{global:{menu:_('~Cut'),},}, + 'DataAreaRefresh':{spreadsheet:{menu:_('R~efresh Range'),},}, 'DataBarFormatDialog':{spreadsheet:{menu:_('Data Bar...'),},}, 'DataDataPilotRun':{spreadsheet:{context:_('~Properties...'),menu:_('Pi~vot Table...'),},}, 'DataFilterAutoFilter':{spreadsheet:{menu:_('Auto~Filter'),},}, @@ -358,7 +359,7 @@ var unoCommandsArray = { 'ObjectAlignRight':{global:{menu:_('~Right'),},}, 'ObjectBackOne':{global:{menu:_('Back One'),},}, 'ObjectForwardOne':{global:{menu:_('Forward One'),},}, - 'ObjectTitleDescription':{global:{context:_('Add descriptions of non-text content (for accessibility)'),menu:_('Alt Text...'),},}, + 'ObjectTitleDescription':{global:{context:_('Add descriptions of non-text content (for accessibility)'),menu:_('Description...'),},}, 'OnlineAutoFormat':{text:{menu:_('~While Typing'),},}, 'OpenHyperlinkOnCursor':{global:{menu:_('Open Hyperlink'),},}, 'OutlineBullet':{global:{menu:_('~Bullets and Numbering...'),},}, @@ -412,6 +413,7 @@ var unoCommandsArray = { 'SearchDialog':{global:{menu:_('Find and Rep~lace...'),},}, 'SelectAll':{global:{menu:_('Select ~All'),},}, 'SelectBackground':{presentation:{menu:_('Set Background Image...'),},}, + 'SelectDB':{spreadsheet:{menu:_('Select ~Range...'),},}, 'SelectTable':{presentation:{context:_('Select Table'),menu:_('~Select Table'),},text:{context:_('Select Table'),menu:_('~Table'),},}, 'SendToBack':{global:{menu:_('~Send to Back'),},}, 'SetAnchorAtChar':{text:{menu:_('To ~Character'),},},