From ec6a1391d97c016b1b911f579c0460205564af6b Mon Sep 17 00:00:00 2001 From: Yousuf Philips Date: Wed, 19 Oct 2016 16:50:04 +0400 Subject: [PATCH] tdf#103170 Heikobar: Add it to Calc Change-Id: I9b7c004558a15f520b54935c2a712fcdb551757e Reviewed-on: https://gerrit.libreoffice.org/30042 Reviewed-by: Yousuf Philips Tested-by: Yousuf Philips --- .../org/openoffice/Office/UI/Notebookbar.xcu | 11 + sc/UIConfig_scalc.mk | 1 + sc/uiconfig/scalc/ui/notebookbar_groups.ui | 2255 +++++++++++++++++ 3 files changed, 2267 insertions(+) create mode 100644 sc/uiconfig/scalc/ui/notebookbar_groups.ui diff --git a/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu b/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu index e339abb4fcd1..36ff66365801 100644 --- a/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu +++ b/officecfg/registry/data/org/openoffice/Office/UI/Notebookbar.xcu @@ -61,6 +61,17 @@ false + + + Contextual groups + + + notebookbar_groups.ui + + + true + + diff --git a/sc/UIConfig_scalc.mk b/sc/UIConfig_scalc.mk index 9ec5dac1396a..5008729fb3d0 100644 --- a/sc/UIConfig_scalc.mk +++ b/sc/UIConfig_scalc.mk @@ -144,6 +144,7 @@ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\ sc/uiconfig/scalc/ui/leftheaderdialog \ sc/uiconfig/scalc/ui/namerangesdialog \ sc/uiconfig/scalc/ui/notebookbar \ + sc/uiconfig/scalc/ui/notebookbar_groups \ sc/uiconfig/scalc/ui/managenamesdialog \ sc/uiconfig/scalc/ui/mergecellsdialog \ sc/uiconfig/scalc/ui/movecopysheet \ diff --git a/sc/uiconfig/scalc/ui/notebookbar_groups.ui b/sc/uiconfig/scalc/ui/notebookbar_groups.ui new file mode 100644 index 000000000000..5011d96a80c0 --- /dev/null +++ b/sc/uiconfig/scalc/ui/notebookbar_groups.ui @@ -0,0 +1,2255 @@ + + + + + + + + True + False + cmd/sc_bold.png + + + True + False + cmd/sc_insertobjectchart.png + + + True + False + cmd/sc_numberformatincdecimals.png + + + True + False + cmd/sc_italic.png + + + True + False + cmd/sc_inserthyperlink.png + + + True + False + + + True + False + .uno:HyperlinkDialog + Hyperlink + + + + + True + False + + + + + True + False + .uno:InsertFootnote + Footnote + True + + + + + True + False + .uno:InsertEndnote + Endnote + True + + + + + True + False + + + + + True + False + .uno:InsertBookmark + Bookmark + True + + + + + True + False + .uno:InsertReferenceField + Cross-Reference + + + + + True + False + cmd/lc_adddirect.png + 24 + + + True + False + cmd/lc_open.png + 24 + + + True + False + cmd/lc_designerdialog.png + + + True + False + cmd/32/paste.png + 24 + + + True + False + cmd/lc_exportdirecttopdf.png + 24 + + + True + False + cmd/lc_print.png + 24 + + + True + False + cmd/lc_redo.png + 24 + + + True + False + cmd/32/save.png + 32 + 3 + + + True + False + cmd/sc_numberformatdecdecimals.png + + + True + False + + + True + False + Default + True + + + + + True + False + + + + + True + False + Accent 1 + True + + + + + True + False + Accent 2 + True + + + + + True + False + Accent 3 + True + + + + + True + False + + + + + True + False + Heading 1 + True + + + + + True + False + Heading 2 + True + + + + + True + False + + + + + True + False + Good + True + + + + + True + False + Neutral + True + + + + + True + False + Bad + True + + + + + True + False + Warning + True + + + + + True + False + Error + True + + + + + True + False + + + + + True + False + Note + True + + + + + True + False + Footnote + True + + + + + True + False + cmd/lc_entirecolumn.png + + + True + False + + + True + False + None + True + + + + + True + False + Default + True + + + + + True + False + Style 1 + True + + + + + True + False + Style 2 + True + + + + + True + False + Style 3 + True + + + + + True + False + Style 4 + True + + + + + True + False + cmd/lc_entirerow.png + + + True + False + + + True + False + + + True + False + .uno:InsertRowsBefore + Insert Rows Above + True + + + + + True + False + .uno:InsertRowsAfter + Insert Rows Below + True + + + + + True + False + + + + + True + False + .uno:DeleteRows + Delete Rows + True + + + + + True + False + .uno:EntireRow + Select Rows + True + + + + + True + False + + + + + True + False + .uno:SetRowHeight + Row Height... + True + + + + + True + False + .uno:SetOptimalRowHeight + Optimal Row Height + True + + + + + True + False + .uno:DistributeRows + Distribute Rows Evenly + True + + + + + True + False + cmd/lc_undo.png + 24 + + + True + False + + + True + True + 6 + 6 + True + True + 6 + + + True + False + 3 + 3 + True + vertical + 5 + + + 78 + True + False + + + True + False + vertical + 3 + + + True + True + True + center + True + .uno:AddDirect + newi + none + 0 + True + + + False + True + 0 + + + + + True + True + True + center + True + .uno:Open + openi + none + 0 + True + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + + + 60 + True + True + True + True + .uno:Save + savei + none + top + True + + + False + True + 0 + + + + + False + True + 1 + + + + + True + False + vertical + 3 + + + True + True + True + center + True + .uno:ExportDirectToPDF + pdfi + none + 0 + True + + + False + True + 0 + + + + + True + True + True + center + True + .uno:Print + printi + none + 0 + True + + + False + True + 1 + + + + + False + True + 2 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + File + + + + + + + False + True + 2 + + + + + False + True + 0 + + + + + True + False + vertical + + + False + True + 1 + + + + + True + False + 3 + 3 + vertical + 5 + + + 78 + True + False + 3 + + + True + False + vertical + 3 + + + 60 + True + True + True + start + True + .uno:Paste + pastei + none + top + True + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + 3 + + + True + True + True + center + True + .uno:Redo + redoi + none + 0 + True + + + False + True + 0 + + + + + True + True + True + center + True + .uno:Undo + undoi + none + 0 + True + + + False + True + 1 + + + + + False + True + 2 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + Clipboard + + + + + + + False + True + 2 + + + + + False + True + 2 + + + + + True + False + vertical + + + False + True + 3 + + + + + True + False + 3 + 3 + vertical + 5 + + + True + False + 3 + + + Style + 70 + True + True + True + .uno:DesignerDialog + paragraphstylei + none + top + + + False + True + 0 + + + + + 160 + True + False + center + vertical + 6 + + + True + False + center + vertical + + + True + False + False + + + False + 150 + True + False + True + True + .uno:NumberFormatType + True + + + False + True + + + + + False + True + 0 + + + + + False + + + True + False + True + True + True + .uno:CharFontName + + + True + True + + + + + False + True + 1 + + + + + 36 + False + + + False + True + 2 + + + + + True + True + 0 + + + + + True + False + center + True + 4 + + + 60 + 30 + False + start + True + + + False + True + 0 + + + + + True + False + False + + + False + 30 + True + False + .uno:NumberFormatCurrencySimple + True + + + False + True + + + + + False + 30 + True + False + .uno:NumberFormatPercent + True + + + False + True + + + + + False + 30 + True + False + .uno:NumberFormatDecimal + True + + + False + True + + + + + False + False + .uno:NumberFormatIncDecimals + True + + + False + True + + + + + False + False + .uno:NumberFormatDecDecimals + True + + + False + True + + + + + False + True + 1 + + + + + False + end + True + False + + + False + True + False + True + .uno:Grow + True + + + False + True + + + + + False + True + False + True + .uno:Shrink + True + + + False + True + + + + + False + True + 2 + + + + + + 35 + 30 + True + True + True + end + center + .uno:NumberFormatIncDecimals + growi + none + right + True + + + False + True + 3 + + + + + + 35 + 30 + True + True + True + end + center + .uno:NumberFormatDecDecimals + shrinki + none + True + + + False + True + 4 + + + + + False + True + 1 + + + + + False + True + 1 + + + + + True + False + vertical + 3 + + + Left + 24 + True + True + True + .uno:AlignLeft + none + False + 0 + + + False + True + 0 + + + + + Center + 24 + True + True + True + .uno:AlignHorizontalCenter + none + 0 + + + False + True + 1 + + + + + Right + 24 + True + True + True + .uno:AlignRight + none + 0 + + + False + True + 2 + + + + + False + True + 2 + + + + + True + False + vertical + 3 + + + 24 + True + True + True + .uno:Bold + boldi + none + False + 0 + + + False + True + 0 + + + + + 24 + True + True + True + .uno:Italic + italicsi + none + 0 + + + False + True + 1 + + + + + 24 + True + True + True + .uno:Underline + none + 0 + + + False + True + 2 + + + + + False + True + 3 + + + + + True + False + vertical + + + 26 + True + False + False + + + False + True + False + True + .uno:WrapText + True + + + False + True + + + + + False + True + end + 0 + + + + + 26 + True + False + False + + + False + True + False + True + .uno:BackgroundColor + True + + + False + True + + + + + False + True + end + 1 + + + + + 26 + True + False + False + + + False + True + False + True + .uno:Color + True + + + False + True + + + + + False + True + end + 2 + + + + + False + True + 4 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + Text + + + + + + + False + True + 2 + + + + + False + True + 4 + + + + + True + False + vertical + + + False + True + 5 + + + + + True + False + vertical + + + False + 3 + 3 + vertical + 5 + + + True + False + 6 + + + True + False + vertical + + + Row + True + True + True + center + True + tablerowsi + none + 0 + + + False + True + 0 + + + + + Column + True + True + True + center + True + tablecolumnsi + none + 0 + + + False + True + 1 + + + + + False + True + 0 + + + + + True + False + vertical + + + Merge + True + True + True + center + True + .uno:ToggleMergeCells + none + 0 + + + False + True + 0 + + + + + Split + True + True + True + center + True + .uno:SplitCell + none + 0 + + + False + True + 1 + + + + + False + True + 1 + + + + + True + False + vertical + 3 + + + 24 + True + True + True + .uno:DataSort + none + 0 + + + False + True + 0 + + + + + 24 + True + True + True + .uno:DataFilterAutoFilter + none + 0 + + + False + True + 1 + + + + + Conditional + 24 + True + True + True + .uno:ConditionalFormatMenu + none + 0 + + + False + True + 2 + + + + + False + True + 2 + + + + + True + False + vertical + + + 26 + True + False + False + + + False + True + False + True + .uno:SetBorderStyle + True + + + False + True + + + + + False + True + end + 0 + + + + + 26 + True + False + False + + + False + True + False + True + .uno:LineStyle + True + + + False + True + + + + + False + True + end + 1 + + + + + 26 + True + False + False + + + False + True + False + True + .uno:FrameLineColor + True + + + False + True + + + + + False + True + end + 2 + + + + + False + True + 3 + + + + + True + False + vertical + 1 + + + Top + 25 + True + True + True + .uno:AlignTop + none + 0 + + + False + True + 0 + + + + + Center + 25 + True + True + True + .uno:AlignVCenter + none + 0 + + + False + True + 1 + + + + + Bottom + 25 + True + True + True + .uno:AlignBottom + none + 0 + + + False + True + 2 + + + + + False + True + 4 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + Spreadsheet + + + + + + + False + True + 2 + + + + + + False + True + 0 + + + + + True + False + 3 + 3 + vertical + 5 + + + 78 + True + False + + + True + False + vertical + + + 26 + True + False + both-horiz + + + True + False + True + .uno:InsertTable + + + True + True + + + + + False + True + 0 + + + + + 26 + True + False + both-horiz + + + True + False + True + .uno:BasicShapes + Shapes + + + True + True + + + + + False + True + 1 + + + + + Links + 26 + True + True + True + linksi + none + 0 + + + False + True + 2 + + + + + False + True + 0 + + + + + True + False + vertical + 3 + + + 24 + True + True + True + .uno:InsertGraphic + none + 0 + + + False + True + 0 + + + + + 24 + True + True + True + .uno:InsertObjectChart + charti + none + 0 + + + False + True + 1 + + + + + 24 + True + True + True + .uno:InsertAnnotation + none + 0 + + + False + True + 2 + + + + + False + True + 1 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + Insert + + + + + + + False + True + 2 + + + + + + False + True + 1 + + + + + False + 3 + 3 + vertical + 5 + + + True + False + 6 + + + Style + 70 + 78 + True + True + True + paragraphstylei + none + top + + + False + True + 0 + + + + + True + False + vertical + + + 36 + True + True + True + center + True + .uno:Crop + none + + + False + True + 0 + + + + + Reset + 36 + True + True + True + center + True + none + + + False + True + 1 + + + + + False + True + 1 + + + + + True + False + vertical + + + 24 + True + True + True + .uno:InsertCaptionDialog + none + + + False + True + 0 + + + + + Wrap + 24 + True + True + True + none + + + False + True + 1 + + + + + Lock + 24 + True + True + True + none + + + False + True + 2 + + + + + False + True + 2 + + + + + False + True + 0 + + + + + 2 + True + False + + + False + True + 1 + + + + + 15 + True + False + Image + + + + + + + False + True + 2 + + + + + + False + True + 2 + + + + + False + True + 6 + + + + + True + False + vertical + + + False + True + 7 + + + + + 0 + 0 + + + + + True + False + + + True + False + .uno:WrapOff + None + True + + + + + True + False + .uno:WrapIdeal + Optimal + True + + + + + True + False + .uno:WrapOn + Parallel + True + + + + + True + False + .uno:WrapLeft + Before + True + + + + + True + False + .uno:WrapRight + After + True + + + + + True + False + .uno:WrapThrough + Through + True + + + + + True + False + + + + + True + False + .uno:WrapContour + Contour + True + + + + + True + False + .uno:ContourDialog + Edit Contour + True + + + +