[Libreoffice-commits] core.git: sw/uiconfig
andreas kainz (via logerrit)
logerrit at kemper.freedesktop.org
Tue Dec 3 11:50:53 UTC 2019
sw/uiconfig/swriter/ui/notebookbar_single.ui | 421 ++++++++++++++++++++++++---
1 file changed, 385 insertions(+), 36 deletions(-)
New commits:
commit 92d521e5c7b6b3a3522151e9b52fa42195605802
Author: andreas kainz <kainz.a at gmail.com>
AuthorDate: Mon Dec 2 23:52:40 2019 +0100
Commit: andreas_kainz <kainz.a at gmail.com>
CommitDate: Tue Dec 3 12:48:45 2019 +0100
tdf#101513 add customizable option to writer NB contextual single
Change-Id: I0c62b26d0b47cef7f02ee581412aa3cd2d6ac7e4
Reviewed-on: https://gerrit.libreoffice.org/84285
Tested-by: Jenkins
Reviewed-by: andreas_kainz <kainz.a at gmail.com>
diff --git a/sw/uiconfig/swriter/ui/notebookbar_single.ui b/sw/uiconfig/swriter/ui/notebookbar_single.ui
index bf9a57f59ab8..3317d90beb73 100644
--- a/sw/uiconfig/swriter/ui/notebookbar_single.ui
+++ b/sw/uiconfig/swriter/ui/notebookbar_single.ui
@@ -18,7 +18,7 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
- <object class="sfxlo-DropdownBox" id="ClipboardSection">
+ <object class="sfxlo-DropdownBox" id="Clipboard">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="valign">center</property>
@@ -31,6 +31,66 @@
<property name="margin_bottom">4</property>
<property name="show_arrow">False</property>
<child>
+ <object class="GtkMenuToolButton" id="Files-New">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:AddDirect</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkMenuToolButton" id="Files-Open">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:Open</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkMenuToolButton" id="Files-Save">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:Save</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Files-ExportTo">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:ExportTo</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Files-PrintPreview">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:PrintPreview</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Files-Print">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:Print</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkToolButton" id="Edit-Undo">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -43,6 +103,37 @@
</packing>
</child>
<child>
+ <object class="GtkToolButton" id="Edit-Redo">
+ <property name="can_focus">False</property>
+ <property name="is_important">True</property>
+ <property name="action_name">.uno:Redo</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Edit-Cut">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:Cut</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Edit-Copy">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:Copy</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkMenuToolButton" id="Edit-Paste">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -74,7 +165,7 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="DefaultContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Default">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Default-Section-Paintbrush">
@@ -137,7 +228,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
<child>
@@ -161,6 +252,141 @@
<property name="homogeneous">True</property>
</packing>
</child>
+ <child>
+ <object class="GtkToolButton" id="Default-StyleUpdateByExample">
+ <property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="hexpand">True</property>
+ <property name="action_name">.uno:StyleUpdateByExample</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-EditStyle">
+ <property name="can_focus">False</property>
+ <property name="halign">center</property>
+ <property name="hexpand">True</property>
+ <property name="action_name">.uno:EditStyle</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="sfxlo-NotebookbarToolBox" id="SectionBottom69">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="Default-StandardStyle">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Standard&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_defaultcharstyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-EmphasisCharStyle">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Emphasis&FamilyName:string=CharacterStyles</property>
+ <property name="icon_name">cmd/sc_emphasischarstyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-StrongEmphasisCharStyle">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Strong Emphasis&FamilyName:string=CharacterStyles</property>
+ <property name="icon_name">cmd/sc_strongemphasischarstyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">False</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-TitleStyle">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Title&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_titleparastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-SubTitleStyle">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Subtitle&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_subtitleparastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-H1Style">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Heading 1&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_heading1parastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-H2Style">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Heading 2&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_heading2parastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-H3Style">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Heading 3&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_heading3parastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-H4Style">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:StyleApply?Style:string=Heading 4&FamilyName:string=ParagraphStyles</property>
+ <property name="icon_name">cmd/sc_heading4parastyle.png</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -175,7 +401,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -228,7 +454,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -267,7 +493,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">3</property>
+ <property name="position">4</property>
</packing>
</child>
<child>
@@ -318,7 +544,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">4</property>
+ <property name="position">5</property>
</packing>
</child>
<child>
@@ -327,6 +553,21 @@
<property name="can_focus">False</property>
<property name="valign">center</property>
<child>
+ <object class="GtkSeparator" id="separator58">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="margin_top">5</property>
+ <property name="margin_bottom">5</property>
+ <property name="orientation">vertical</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="padding">5</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
<object class="sfxlo-NotebookbarToolBox" id="ExtTop5">
<property name="visible">True</property>
<property name="can_focus">True</property>
@@ -368,6 +609,28 @@
</packing>
</child>
<child>
+ <object class="GtkToolButton" id="Default-UnderlineDouble">
+ <property name="can_focus">False</property>
+ <property name="is_important">True</property>
+ <property name="action_name">.uno:UnderlineDouble</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-Overline">
+ <property name="can_focus">False</property>
+ <property name="is_important">True</property>
+ <property name="action_name">.uno:Overline</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkToolButton" id="Default-Strikeout">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -379,18 +642,40 @@
<property name="homogeneous">True</property>
</packing>
</child>
+ <child>
+ <object class="GtkToolButton" id="Default-Shadowed">
+ <property name="can_focus">False</property>
+ <property name="is_important">True</property>
+ <property name="action_name">.uno:Shadowed</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-OutlineFont">
+ <property name="can_focus">False</property>
+ <property name="is_important">True</property>
+ <property name="action_name">.uno:OutlineFont</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">5</property>
+ <property name="position">6</property>
</packing>
</child>
<child>
@@ -439,7 +724,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">6</property>
+ <property name="position">7</property>
</packing>
</child>
<child>
@@ -501,7 +786,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">7</property>
+ <property name="position">8</property>
</packing>
</child>
<child>
@@ -538,7 +823,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">8</property>
+ <property name="position">9</property>
</packing>
</child>
<child>
@@ -612,7 +897,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">9</property>
+ <property name="position">10</property>
</packing>
</child>
<child>
@@ -647,6 +932,26 @@
<property name="homogeneous">True</property>
</packing>
</child>
+ <child>
+ <object class="GtkToolButton" id="Default-IncrementSubLevels">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:IncrementSubLevels</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-DecrementSubLevels">
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:DecrementSubLevels</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -661,7 +966,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">10</property>
+ <property name="position">11</property>
</packing>
</child>
<child>
@@ -747,7 +1052,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">11</property>
+ <property name="position">12</property>
</packing>
</child>
<child>
@@ -821,7 +1126,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">12</property>
+ <property name="position">13</property>
</packing>
</child>
<child>
@@ -871,7 +1176,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">13</property>
+ <property name="position">14</property>
</packing>
</child>
<child>
@@ -918,7 +1223,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">14</property>
+ <property name="position">15</property>
</packing>
</child>
<child>
@@ -968,7 +1273,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">15</property>
+ <property name="position">16</property>
</packing>
</child>
<child>
@@ -1008,7 +1313,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">16</property>
+ <property name="position">17</property>
</packing>
</child>
<child>
@@ -1059,6 +1364,17 @@
</packing>
</child>
<child>
+ <object class="GtkToolButton" id="Default-InsertObjectChart">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:InsertObjectChart</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkToolButton" id="Default-CharmapControl">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -1070,7 +1386,18 @@
</packing>
</child>
<child>
- <object class="GtkToolButton" id="Default-CharmapControl2">
+ <object class="GtkToolButton" id="Default-InsertObject">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:InsertObject</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-InsertDraw">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="action_name">.uno:InsertDraw</property>
@@ -1080,6 +1407,28 @@
<property name="homogeneous">True</property>
</packing>
</child>
+ <child>
+ <object class="GtkToolButton" id="Default-DrawText">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:DrawText</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="Default-FontworkGalleryFloater">
+ <property name="visible">False</property>
+ <property name="can_focus">False</property>
+ <property name="action_name">.uno:FontworkGalleryFloater</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -1094,7 +1443,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">17</property>
+ <property name="position">18</property>
</packing>
</child>
<child>
@@ -1180,7 +1529,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">18</property>
+ <property name="position">19</property>
</packing>
</child>
<child>
@@ -1254,7 +1603,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">19</property>
+ <property name="position">20</property>
</packing>
</child>
<child>
@@ -1329,7 +1678,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">20</property>
+ <property name="position">21</property>
</packing>
</child>
<style>
@@ -1345,7 +1694,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="TableContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Table">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Table-Section-Paintbrush">
@@ -3049,7 +3398,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="GraphicContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Graphic">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Graphic-Section-Label">
@@ -4107,7 +4456,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="DrawContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Draw">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Draw-Section-Label">
@@ -4863,7 +5212,7 @@
<child>
<object class="sfxlo-NotebookbarToolBox" id="SectionBottom37">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can_focus">False</property>
<property name="toolbar_style">text</property>
<property name="show_arrow">False</property>
<child>
@@ -4938,7 +5287,7 @@
<child>
<object class="sfxlo-NotebookbarToolBox" id="Draw2">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can_focus">False</property>
<property name="show_arrow">False</property>
<child>
<object class="GtkToolButton" id="Draw-FormatArea2">
@@ -5395,7 +5744,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="MediaContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Media">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Media-Section-Label">
@@ -6134,7 +6483,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="ObjectContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Object">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Object-Section-Label">
@@ -6857,7 +7206,7 @@
<child>
<object class="sfxlo-NotebookbarToolBox" id="SectionBottom43">
<property name="visible">True</property>
- <property name="can_focus">True</property>
+ <property name="can_focus">False</property>
<property name="toolbar_style">text</property>
<property name="show_arrow">False</property>
<child>
@@ -7146,7 +7495,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="FormContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Form">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Form-Section-Label1">
@@ -8110,7 +8459,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="PrintContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Print">
<property name="visible">True</property>
<property name="can_focus">False</property>
<child>
@@ -8726,7 +9075,7 @@
</packing>
</child>
<child>
- <object class="sfxlo-PriorityMergedHBox" id="ReviewContainer">
+ <object class="sfxlo-PriorityMergedHBox" id="Context Review">
<property name="can_focus">False</property>
<child>
<object class="sfxlo-OptionalBox" id="Review-Section-Language">
More information about the Libreoffice-commits
mailing list