[Libreoffice-commits] core.git: sw/uiconfig

Yousuf Philips philipz85 at hotmail.com
Tue Jun 13 13:26:02 UTC 2017


 sw/uiconfig/swriter/popupmenu/table.xml |    6 ++++++
 sw/uiconfig/swriter/popupmenu/text.xml  |    6 ++++++
 2 files changed, 12 insertions(+)

New commits:
commit 41b8cdd0f4130f60027002f1d6daa9f6169b04d9
Author: Yousuf Philips <philipz85 at hotmail.com>
Date:   Sun Jun 11 04:48:47 2017 +0400

    tdf#85940 Add basic character styles to context menu
    
    Change-Id: Id25768dfd2c8db530a31ddf8a31108f9b5c67855
    Reviewed-on: https://gerrit.libreoffice.org/38652
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Yousuf Philips <philipz85 at hotmail.com>

diff --git a/sw/uiconfig/swriter/popupmenu/table.xml b/sw/uiconfig/swriter/popupmenu/table.xml
index 63f079f80134..2ee473826f59 100644
--- a/sw/uiconfig/swriter/popupmenu/table.xml
+++ b/sw/uiconfig/swriter/popupmenu/table.xml
@@ -76,6 +76,12 @@
       <menu:menuitem menu:id=".uno:ResetAttributes"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:EditStyle"/>
+      <menu:menuseparator/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Default Style&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Emphasis&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Strong Emphasis&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Quotation&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Source Text&FamilyName:string=CharacterStyles"/>
     </menu:menupopup>
   </menu:menu>
   <menu:menuseparator/>
diff --git a/sw/uiconfig/swriter/popupmenu/text.xml b/sw/uiconfig/swriter/popupmenu/text.xml
index 8374a5e4d8ce..568ff95dd5b6 100644
--- a/sw/uiconfig/swriter/popupmenu/text.xml
+++ b/sw/uiconfig/swriter/popupmenu/text.xml
@@ -47,6 +47,12 @@
       <menu:menuitem menu:id=".uno:ResetAttributes"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:EditStyle"/>
+      <menu:menuseparator/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Default Style&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Emphasis&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Strong Emphasis&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Quotation&FamilyName:string=CharacterStyles"/>
+      <menu:menuitem menu:id=".uno:StyleApply?Style:string=Source Text&FamilyName:string=CharacterStyles"/>
     </menu:menupopup>
   </menu:menu>
   <menu:menuseparator/>


More information about the Libreoffice-commits mailing list