[Libreoffice-commits] core.git: officecfg/registry sw/inc sw/sdi sw/source sw/uiconfig

Justin Luth justin_luth at sil.org
Mon Jul 10 21:15:58 UTC 2017


 officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu |    5 ++
 sw/inc/cmdid.h                                                      |    3 -
 sw/sdi/_basesh.sdi                                                  |    8 +++
 sw/sdi/swriter.sdi                                                  |   17 ++++++++
 sw/source/uibase/shells/basesh.cxx                                  |   21 +++++++++-
 sw/uiconfig/sglobal/menubar/menubar.xml                             |    2 
 sw/uiconfig/sglobal/popupmenu/draw.xml                              |    2 
 sw/uiconfig/sglobal/popupmenu/form.xml                              |    2 
 sw/uiconfig/sglobal/popupmenu/frame.xml                             |    2 
 sw/uiconfig/sglobal/popupmenu/graphic.xml                           |    2 
 sw/uiconfig/sglobal/popupmenu/media.xml                             |    2 
 sw/uiconfig/sglobal/popupmenu/oleobject.xml                         |    2 
 sw/uiconfig/sweb/menubar/menubar.xml                                |    2 
 sw/uiconfig/sweb/popupmenu/form.xml                                 |    2 
 sw/uiconfig/sweb/popupmenu/frame.xml                                |    2 
 sw/uiconfig/sweb/popupmenu/graphic.xml                              |    2 
 sw/uiconfig/sweb/popupmenu/oleobject.xml                            |    2 
 sw/uiconfig/swform/menubar/menubar.xml                              |    2 
 sw/uiconfig/swform/popupmenu/draw.xml                               |    2 
 sw/uiconfig/swform/popupmenu/form.xml                               |    2 
 sw/uiconfig/swform/popupmenu/frame.xml                              |    2 
 sw/uiconfig/swform/popupmenu/graphic.xml                            |    2 
 sw/uiconfig/swform/popupmenu/media.xml                              |    2 
 sw/uiconfig/swform/popupmenu/oleobject.xml                          |    2 
 sw/uiconfig/swreport/menubar/menubar.xml                            |    2 
 sw/uiconfig/swreport/popupmenu/draw.xml                             |    2 
 sw/uiconfig/swreport/popupmenu/form.xml                             |    2 
 sw/uiconfig/swreport/popupmenu/frame.xml                            |    2 
 sw/uiconfig/swreport/popupmenu/graphic.xml                          |    2 
 sw/uiconfig/swreport/popupmenu/media.xml                            |    2 
 sw/uiconfig/swreport/popupmenu/oleobject.xml                        |    2 
 sw/uiconfig/swriter/menubar/menubar.xml                             |    2 
 sw/uiconfig/swriter/popupmenu/draw.xml                              |    2 
 sw/uiconfig/swriter/popupmenu/form.xml                              |    2 
 sw/uiconfig/swriter/popupmenu/frame.xml                             |    2 
 sw/uiconfig/swriter/popupmenu/graphic.xml                           |    2 
 sw/uiconfig/swriter/popupmenu/media.xml                             |    2 
 sw/uiconfig/swriter/popupmenu/oleobject.xml                         |    2 
 sw/uiconfig/swxform/menubar/menubar.xml                             |    2 
 sw/uiconfig/swxform/popupmenu/draw.xml                              |    2 
 sw/uiconfig/swxform/popupmenu/form.xml                              |    2 
 sw/uiconfig/swxform/popupmenu/frame.xml                             |    2 
 sw/uiconfig/swxform/popupmenu/graphic.xml                           |    2 
 sw/uiconfig/swxform/popupmenu/media.xml                             |    2 
 sw/uiconfig/swxform/popupmenu/oleobject.xml                         |    2 
 45 files changed, 91 insertions(+), 43 deletions(-)

New commits:
commit 959be1b5a9cd522394dba9366686a1256588223b
Author: Justin Luth <justin_luth at sil.org>
Date:   Thu Jul 6 19:29:00 2017 -0400

    UI Wrap InBackground: transition to wrapthru transparency toggle
    
    The UI for placing a frame in the background is confusing because:
    -in menus, the icon looks like a checkbox, but functions as a radio button
    -it isn't obvious that "in background" is the opposite of "wrap through"
    -it doesn't act like the checkboxes below it like "First paragraph"
    -in dialog boxes, it is actually implemented as a checkbox toggle.
    
    So it looks like a checkbox, and you can enable the checkbox, but
    once enabled it can never be disabled.  (The currently designed way is to
    select wrap off/page/optimal/through in order to disable in background.)
    
    This patch creates FN_FRAME_WRAPTHRU_TOGGLE to replace
    most uses of the previous function.
    
    Change-Id: Ia46ddbd47899e8ca569bf3adb2b1c4ad7cfa1920
    Reviewed-on: https://gerrit.libreoffice.org/39673
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Heiko Tietze <tietze.heiko at googlemail.com>

diff --git a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
index 20704835e0f7..cf0e0cb1f400 100644
--- a/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
+++ b/officecfg/registry/data/org/openoffice/Office/UI/WriterCommands.xcu
@@ -2078,6 +2078,11 @@
           <value xml:lang="en-US">In ~Background</value>
         </prop>
       </node>
+      <node oor:name=".uno:WrapThroughTransparencyToggle" oor:op="replace">
+        <prop oor:name="Label" oor:type="xs:string">
+          <value xml:lang="en-US">In ~Background</value>
+        </prop>
+      </node>
       <node oor:name=".uno:GoToStartOfPrevColumn" oor:op="replace">
         <prop oor:name="Label" oor:type="xs:string">
           <value xml:lang="en-US">To Begin of Previous Column</value>
diff --git a/sw/inc/cmdid.h b/sw/inc/cmdid.h
index e7dd58be6c9c..2e84ed3197f9 100644
--- a/sw/inc/cmdid.h
+++ b/sw/inc/cmdid.h
@@ -370,7 +370,8 @@
 #define FN_FORMULA_APPLY            (FN_FORMAT + 158)  /* apply formula */
 #define FN_TABLE_UNSET_READ_ONLY    (FN_FORMAT + 159)  /* undo cell protection for table */
 
-#define FN_FRAME_WRAP_IDEAL         (FN_FORMAT + 163)  /* frame ideal wrapping */
+#define FN_FRAME_WRAP_IDEAL         (FN_FORMAT + 162)  /* frame ideal wrapping */
+#define FN_FRAME_WRAPTHRU_TOGGLE    (FN_FORMAT + 163)  /* toggle frame transparent wrapping */
 #define FN_FRAME_WRAPTHRU_TRANSP    (FN_FORMAT + 164)  /* frame transparent wrapping */
 
 #define FN_FRAME_ALIGN_VERT_ROW_TOP     (FN_FORMAT + 165)  /* */
diff --git a/sw/sdi/_basesh.sdi b/sw/sdi/_basesh.sdi
index 52b3a031d3a5..5a113a5a6f53 100644
--- a/sw/sdi/_basesh.sdi
+++ b/sw/sdi/_basesh.sdi
@@ -486,6 +486,14 @@ interface BaseTextSelection
         Export = FALSE;
     ]
 
+    FN_FRAME_WRAPTHRU_TOGGLE // status()
+    [
+        ExecMethod = Execute ;
+        StateMethod = GetState ;
+        DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
+        Export = FALSE;
+    ]
+
     FN_FRAME_WRAP_CONTOUR // status()
     [
         ExecMethod = Execute ;
diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi
index efcf9a9ffe43..58e6aed7772f 100644
--- a/sw/sdi/swriter.sdi
+++ b/sw/sdi/swriter.sdi
@@ -6395,6 +6395,23 @@ SfxVoidItem WrapThroughTransparent FN_FRAME_WRAPTHRU_TRANSP
     GroupId = GID_FRAME;
 ]
 
+SfxVoidItem WrapThroughTransparencyToggle FN_FRAME_WRAPTHRU_TOGGLE
+()
+[
+    AutoUpdate = TRUE,
+    FastCall = FALSE,
+    ReadOnlyDoc = FALSE,
+    Toggle = FALSE,
+    Container = FALSE,
+    RecordAbsolute = FALSE,
+    RecordPerSet;
+
+    AccelConfig = TRUE,
+    MenuConfig = TRUE,
+    ToolBoxConfig = TRUE,
+    GroupId = GID_FRAME;
+]
+
 SfxVoidItem InsertText FN_INSERT_STRING
 (SfxStringItem Text FN_INSERT_STRING)
 [
diff --git a/sw/source/uibase/shells/basesh.cxx b/sw/source/uibase/shells/basesh.cxx
index ba6113e5f8d2..5ef7c73dd101 100644
--- a/sw/source/uibase/shells/basesh.cxx
+++ b/sw/source/uibase/shells/basesh.cxx
@@ -1149,6 +1149,7 @@ void SwBaseShell::Execute(SfxRequest &rReq)
         case FN_FRAME_WRAP_IDEAL:
         case FN_FRAME_WRAPTHRU:
         case FN_FRAME_WRAPTHRU_TRANSP:
+        case FN_FRAME_WRAPTHRU_TOGGLE:
         case FN_FRAME_WRAP_CONTOUR:
         case FN_WRAP_ANCHOR_ONLY:
         case FN_FRAME_WRAP_LEFT:
@@ -1646,6 +1647,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
             case FN_FRAME_WRAP_IDEAL:
             case FN_FRAME_WRAPTHRU:
             case FN_FRAME_WRAPTHRU_TRANSP:
+            case FN_FRAME_WRAPTHRU_TOGGLE:
             case FN_FRAME_WRAP_CONTOUR:
             case FN_WRAP_ANCHOR_ONLY:
             case FN_FRAME_WRAP_LEFT:
@@ -1708,6 +1710,7 @@ void SwBaseShell::GetState( SfxItemSet &rSet )
                                 bSet = nSurround == css::text::WrapTextMode_THROUGH && bOpaque;
                         break;
                         case FN_FRAME_WRAPTHRU_TRANSP:
+                        case FN_FRAME_WRAPTHRU_TOGGLE:
                             bDisable |= bHtmlMode;
                             if(bObj)
                                 bSet = nSurround == css::text::WrapTextMode_THROUGH && !rSh.GetLayerId();
@@ -1864,6 +1867,7 @@ void SwBaseShell::SetWrapMode( sal_uInt16 nSlot )
                 aWrap.SetContour(!aWrap.IsContour());
                 break;
             case FN_FRAME_WRAPTHRU_TRANSP:
+            case FN_FRAME_WRAPTHRU_TOGGLE:
                 if (aWrap.IsContour())
                     aWrap.SetContour(false);
                 SAL_FALLTHROUGH;
@@ -1895,11 +1899,24 @@ void SwBaseShell::SetWrapMode( sal_uInt16 nSlot )
         }
 
         aSet.Put( aWrap );
-        aSet.Put(SvxOpaqueItem(RES_OPAQUE, nSlot != FN_FRAME_WRAPTHRU_TRANSP));
+
+        bool bOpaque = nSlot != FN_FRAME_WRAPTHRU_TRANSP && nSlot != FN_FRAME_WRAPTHRU_TOGGLE;
+        if( nSlot == FN_FRAME_WRAPTHRU_TOGGLE )
+        {
+            if( bObj )
+                bOpaque = !rSh.GetLayerId();
+            else
+            {
+                const SvxOpaqueItem aOpaque( static_cast<const SvxOpaqueItem&>(aSet.Get(RES_OPAQUE)) );
+                bOpaque = !aOpaque.GetValue();
+            }
+        }
+        aSet.Put(SvxOpaqueItem(RES_OPAQUE, bOpaque ));
+
         if(bObj)
         {
             rSh.SetObjAttr(aSet);
-            if (nSlot != FN_FRAME_WRAPTHRU_TRANSP)
+            if ( bOpaque )
                 rSh.SelectionToHeaven();
             else
                 rSh.SelectionToHell();
diff --git a/sw/uiconfig/sglobal/menubar/menubar.xml b/sw/uiconfig/sglobal/menubar/menubar.xml
index 2c5e690ba8c8..fe24c286f757 100644
--- a/sw/uiconfig/sglobal/menubar/menubar.xml
+++ b/sw/uiconfig/sglobal/menubar/menubar.xml
@@ -286,7 +286,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/draw.xml b/sw/uiconfig/sglobal/popupmenu/draw.xml
index fc12e15ae0bb..0f2c33cf4dd4 100644
--- a/sw/uiconfig/sglobal/popupmenu/draw.xml
+++ b/sw/uiconfig/sglobal/popupmenu/draw.xml
@@ -26,7 +26,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/form.xml b/sw/uiconfig/sglobal/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/sglobal/popupmenu/form.xml
+++ b/sw/uiconfig/sglobal/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/frame.xml b/sw/uiconfig/sglobal/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/sglobal/popupmenu/frame.xml
+++ b/sw/uiconfig/sglobal/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/graphic.xml b/sw/uiconfig/sglobal/popupmenu/graphic.xml
index ae7bad963939..689b6a3fd358 100644
--- a/sw/uiconfig/sglobal/popupmenu/graphic.xml
+++ b/sw/uiconfig/sglobal/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/media.xml b/sw/uiconfig/sglobal/popupmenu/media.xml
index 30b6baae954a..92da6abb5744 100644
--- a/sw/uiconfig/sglobal/popupmenu/media.xml
+++ b/sw/uiconfig/sglobal/popupmenu/media.xml
@@ -41,7 +41,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/sglobal/popupmenu/oleobject.xml b/sw/uiconfig/sglobal/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/sglobal/popupmenu/oleobject.xml
+++ b/sw/uiconfig/sglobal/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sweb/menubar/menubar.xml b/sw/uiconfig/sweb/menubar/menubar.xml
index 0b28a1f5503e..25ff1afbac2d 100644
--- a/sw/uiconfig/sweb/menubar/menubar.xml
+++ b/sw/uiconfig/sweb/menubar/menubar.xml
@@ -231,7 +231,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sweb/popupmenu/form.xml b/sw/uiconfig/sweb/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/sweb/popupmenu/form.xml
+++ b/sw/uiconfig/sweb/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/sweb/popupmenu/frame.xml b/sw/uiconfig/sweb/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/sweb/popupmenu/frame.xml
+++ b/sw/uiconfig/sweb/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sweb/popupmenu/graphic.xml b/sw/uiconfig/sweb/popupmenu/graphic.xml
index ae7bad963939..689b6a3fd358 100644
--- a/sw/uiconfig/sweb/popupmenu/graphic.xml
+++ b/sw/uiconfig/sweb/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/sweb/popupmenu/oleobject.xml b/sw/uiconfig/sweb/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/sweb/popupmenu/oleobject.xml
+++ b/sw/uiconfig/sweb/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swform/menubar/menubar.xml b/sw/uiconfig/swform/menubar/menubar.xml
index 6f85776d74db..3f61b2e67d80 100644
--- a/sw/uiconfig/swform/menubar/menubar.xml
+++ b/sw/uiconfig/swform/menubar/menubar.xml
@@ -285,7 +285,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swform/popupmenu/draw.xml b/sw/uiconfig/swform/popupmenu/draw.xml
index fc12e15ae0bb..0f2c33cf4dd4 100644
--- a/sw/uiconfig/swform/popupmenu/draw.xml
+++ b/sw/uiconfig/swform/popupmenu/draw.xml
@@ -26,7 +26,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swform/popupmenu/form.xml b/sw/uiconfig/swform/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/swform/popupmenu/form.xml
+++ b/sw/uiconfig/swform/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swform/popupmenu/frame.xml b/sw/uiconfig/swform/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swform/popupmenu/frame.xml
+++ b/sw/uiconfig/swform/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swform/popupmenu/graphic.xml b/sw/uiconfig/swform/popupmenu/graphic.xml
index ae7bad963939..689b6a3fd358 100644
--- a/sw/uiconfig/swform/popupmenu/graphic.xml
+++ b/sw/uiconfig/swform/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swform/popupmenu/media.xml b/sw/uiconfig/swform/popupmenu/media.xml
index 30b6baae954a..92da6abb5744 100644
--- a/sw/uiconfig/swform/popupmenu/media.xml
+++ b/sw/uiconfig/swform/popupmenu/media.xml
@@ -41,7 +41,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swform/popupmenu/oleobject.xml b/sw/uiconfig/swform/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swform/popupmenu/oleobject.xml
+++ b/sw/uiconfig/swform/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swreport/menubar/menubar.xml b/sw/uiconfig/swreport/menubar/menubar.xml
index 9807628f2e7b..41e438cdebe3 100644
--- a/sw/uiconfig/swreport/menubar/menubar.xml
+++ b/sw/uiconfig/swreport/menubar/menubar.xml
@@ -287,7 +287,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swreport/popupmenu/draw.xml b/sw/uiconfig/swreport/popupmenu/draw.xml
index fc12e15ae0bb..0f2c33cf4dd4 100644
--- a/sw/uiconfig/swreport/popupmenu/draw.xml
+++ b/sw/uiconfig/swreport/popupmenu/draw.xml
@@ -26,7 +26,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swreport/popupmenu/form.xml b/sw/uiconfig/swreport/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/swreport/popupmenu/form.xml
+++ b/sw/uiconfig/swreport/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swreport/popupmenu/frame.xml b/sw/uiconfig/swreport/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swreport/popupmenu/frame.xml
+++ b/sw/uiconfig/swreport/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swreport/popupmenu/graphic.xml b/sw/uiconfig/swreport/popupmenu/graphic.xml
index ae7bad963939..689b6a3fd358 100644
--- a/sw/uiconfig/swreport/popupmenu/graphic.xml
+++ b/sw/uiconfig/swreport/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swreport/popupmenu/media.xml b/sw/uiconfig/swreport/popupmenu/media.xml
index 30b6baae954a..92da6abb5744 100644
--- a/sw/uiconfig/swreport/popupmenu/media.xml
+++ b/sw/uiconfig/swreport/popupmenu/media.xml
@@ -41,7 +41,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swreport/popupmenu/oleobject.xml b/sw/uiconfig/swreport/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swreport/popupmenu/oleobject.xml
+++ b/sw/uiconfig/swreport/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swriter/menubar/menubar.xml b/sw/uiconfig/swriter/menubar/menubar.xml
index 373958867fb2..9cf2a603b57f 100644
--- a/sw/uiconfig/swriter/menubar/menubar.xml
+++ b/sw/uiconfig/swriter/menubar/menubar.xml
@@ -519,7 +519,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swriter/popupmenu/draw.xml b/sw/uiconfig/swriter/popupmenu/draw.xml
index fc12e15ae0bb..0f2c33cf4dd4 100644
--- a/sw/uiconfig/swriter/popupmenu/draw.xml
+++ b/sw/uiconfig/swriter/popupmenu/draw.xml
@@ -26,7 +26,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swriter/popupmenu/form.xml b/sw/uiconfig/swriter/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/swriter/popupmenu/form.xml
+++ b/sw/uiconfig/swriter/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swriter/popupmenu/frame.xml b/sw/uiconfig/swriter/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swriter/popupmenu/frame.xml
+++ b/sw/uiconfig/swriter/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swriter/popupmenu/graphic.xml b/sw/uiconfig/swriter/popupmenu/graphic.xml
index 2f50aa865dbd..afd5b89285c2 100644
--- a/sw/uiconfig/swriter/popupmenu/graphic.xml
+++ b/sw/uiconfig/swriter/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swriter/popupmenu/media.xml b/sw/uiconfig/swriter/popupmenu/media.xml
index 30b6baae954a..92da6abb5744 100644
--- a/sw/uiconfig/swriter/popupmenu/media.xml
+++ b/sw/uiconfig/swriter/popupmenu/media.xml
@@ -41,7 +41,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swriter/popupmenu/oleobject.xml b/sw/uiconfig/swriter/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swriter/popupmenu/oleobject.xml
+++ b/sw/uiconfig/swriter/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swxform/menubar/menubar.xml b/sw/uiconfig/swxform/menubar/menubar.xml
index d3534b91a531..f4b58ebe8b1b 100644
--- a/sw/uiconfig/swxform/menubar/menubar.xml
+++ b/sw/uiconfig/swxform/menubar/menubar.xml
@@ -287,7 +287,7 @@
           <menu:menuitem menu:id=".uno:WrapOn"/>
           <menu:menuitem menu:id=".uno:WrapIdeal"/>
           <menu:menuitem menu:id=".uno:WrapThrough"/>
-          <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+          <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
           <menu:menuseparator/>
           <menu:menuitem menu:id=".uno:WrapContour"/>
           <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swxform/popupmenu/draw.xml b/sw/uiconfig/swxform/popupmenu/draw.xml
index fc12e15ae0bb..0f2c33cf4dd4 100644
--- a/sw/uiconfig/swxform/popupmenu/draw.xml
+++ b/sw/uiconfig/swxform/popupmenu/draw.xml
@@ -26,7 +26,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swxform/popupmenu/form.xml b/sw/uiconfig/swxform/popupmenu/form.xml
index 6c2cf9e9da5c..af77788a519f 100644
--- a/sw/uiconfig/swxform/popupmenu/form.xml
+++ b/sw/uiconfig/swxform/popupmenu/form.xml
@@ -45,7 +45,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swxform/popupmenu/frame.xml b/sw/uiconfig/swxform/popupmenu/frame.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swxform/popupmenu/frame.xml
+++ b/sw/uiconfig/swxform/popupmenu/frame.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swxform/popupmenu/graphic.xml b/sw/uiconfig/swxform/popupmenu/graphic.xml
index ae7bad963939..689b6a3fd358 100644
--- a/sw/uiconfig/swxform/popupmenu/graphic.xml
+++ b/sw/uiconfig/swxform/popupmenu/graphic.xml
@@ -28,7 +28,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>
diff --git a/sw/uiconfig/swxform/popupmenu/media.xml b/sw/uiconfig/swxform/popupmenu/media.xml
index 30b6baae954a..92da6abb5744 100644
--- a/sw/uiconfig/swxform/popupmenu/media.xml
+++ b/sw/uiconfig/swxform/popupmenu/media.xml
@@ -41,7 +41,7 @@
       <menu:menuitem menu:id=".uno:WrapOn"/>
       <menu:menuitem menu:id=".uno:WrapIdeal"/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:WrapAnchorOnly"/>
diff --git a/sw/uiconfig/swxform/popupmenu/oleobject.xml b/sw/uiconfig/swxform/popupmenu/oleobject.xml
index 3cd900b12283..3820491d9333 100644
--- a/sw/uiconfig/swxform/popupmenu/oleobject.xml
+++ b/sw/uiconfig/swxform/popupmenu/oleobject.xml
@@ -22,7 +22,7 @@
       <menu:menuitem menu:id=".uno:WrapRight"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapThrough"/>
-      <menu:menuitem menu:id=".uno:WrapThroughTransparent"/>
+      <menu:menuitem menu:id=".uno:WrapThroughTransparencyToggle"/>
       <menu:menuseparator/>
       <menu:menuitem menu:id=".uno:WrapContour"/>
       <menu:menuitem menu:id=".uno:ContourDialog"/>


More information about the Libreoffice-commits mailing list