[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/plugins/pathshapes/enhancedpath
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2010-03-09 22:46:52
Message-ID: 1268174812.935778.25135.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1101343 by jaham:

save mirroring attributes



 M  +7 -0      EnhancedPathShape.cpp  


--- trunk/koffice/plugins/pathshapes/enhancedpath/EnhancedPathShape.cpp #1101342:1101343
@@ -354,6 +354,13 @@
         context.xmlWriter().endElement(); // draw:enhanced-geometry
         saveOdfCommonChildElements(context);
         context.xmlWriter().endElement(); // draw:custom-shape
+
+        if (m_mirrorHorizontally) {
+            context.xmlWriter().addAttribute("draw:mirror-horizontal", "true");
+        }
+        if (m_mirrorVertically) {
+            context.xmlWriter().addAttribute("draw:mirror-vertical", "true");
+        }
     } else {
         KoPathShape::saveOdf(context);
     }
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic