[Libreoffice-commits] .: Branch 'feature/gsoc_test_improvements' - 6 commits - drawinglayer/inc drawinglayer/source

Artur Dorda adorda at kemper.freedesktop.org
Fri Jun 15 18:05:23 PDT 2012


 drawinglayer/inc/drawinglayer/XShapeDumper.hxx |   14 ++
 drawinglayer/source/dumper/XShapeDumper.cxx    |  136 +++++++++++++++++++++++++
 2 files changed, 150 insertions(+)

New commits:
commit abfb0bfdd18e9a73bbf63ed62daec9d92b59f82b
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Sat Jun 16 02:43:21 2012 +0200

    Added CustomShapeReplacementURL property
    
    Change-Id: Ie0f2b1993392a8ba6974d891ca5147c69bf9a59d

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index 6cce5d2..f497e0a 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -175,6 +175,7 @@ private:
     void dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter);
     void dumpCustomShapeDataAsAttribute(rtl::OUString sCustomShapeData, xmlTextWriterPtr xmlWriter);
     void dumpCustomShapeGeometryAsElement(com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue> aCustomShapeGeometry, xmlTextWriterPtr xmlWriter);
+    void dumpCustomShapeReplacementURLAsAttribute(rtl::OUString sCustomShapeReplacementURL, xmlTextWriterPtr xmlWriter);
 
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 5f76e1c..dcf3921 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1046,6 +1046,12 @@ namespace {
         xmlTextWriterEndElement( xmlWriter );
     }
 
+    void XShapeDumper::dumpCustomShapeReplacementURLAsAttribute(rtl::OUString sCustomShapeReplacementURL, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("customShapeReplacementURL"), "%s",
+            rtl::OUStringToOString(sCustomShapeReplacementURL, RTL_TEXTENCODING_UTF8).getStr());
+    }
+
     // methods dumping whole services
 
     void XShapeDumper::dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
@@ -1604,6 +1610,12 @@ namespace {
             if(anotherAny >>= aCustomShapeGeometry)
                 dumpCustomShapeGeometryAsElement(aCustomShapeGeometry, xmlWriter);
         }
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("CustomShapeReplacementURL");
+            rtl::OUString sCustomShapeReplacementURL;
+            if(anotherAny >>= sCustomShapeReplacementURL)
+                dumpCustomShapeReplacementURLAsAttribute(sCustomShapeReplacementURL, xmlWriter);
+        }
     }
 
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
commit 15cb39d523124fe453f5ba507ed4ee2b805ecfe1
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Sat Jun 16 02:40:37 2012 +0200

    Added CustomShapeGeometry property
    
    Change-Id: I2a4a22cef0c31a8535d33f920a74f61d712e9080

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index 135b157..6cce5d2 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -55,6 +55,8 @@
 #include <com/sun/star/drawing/HomogenMatrixLine3.hpp>
 #include <com/sun/star/drawing/HomogenMatrix3.hpp>
 
+#include <com/sun/star/beans/PropertyValue.hpp>
+
 #ifndef ChartViewDumper_hxx
 #define ChartViewDumper_hxx
 
@@ -172,6 +174,7 @@ private:
     // CustomShape.idl
     void dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter);
     void dumpCustomShapeDataAsAttribute(rtl::OUString sCustomShapeData, xmlTextWriterPtr xmlWriter);
+    void dumpCustomShapeGeometryAsElement(com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue> aCustomShapeGeometry, xmlTextWriterPtr xmlWriter);
 
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 9eb524b..5f76e1c 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1008,6 +1008,44 @@ namespace {
             rtl::OUStringToOString(sCustomShapeData, RTL_TEXTENCODING_UTF8).getStr());
     }
 
+    void XShapeDumper::dumpCustomShapeGeometryAsElement(uno::Sequence< beans::PropertyValue> aCustomShapeGeometry, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterStartElement(xmlWriter, BAD_CAST( "CustomShapeGeometry" ));
+        sal_Int32 nLength = aCustomShapeGeometry.getLength();
+        for (sal_Int32 i = 0; i < nLength; ++i)
+        {
+            xmlTextWriterStartElement(xmlWriter, BAD_CAST( "PropertyValue" ));
+
+            xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("name"), "%s",
+                rtl::OUStringToOString(aCustomShapeGeometry[i].Name, RTL_TEXTENCODING_UTF8).getStr());
+            xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("handle"), "%" SAL_PRIdINT32, aCustomShapeGeometry[i].Handle);
+
+            uno::Any aAny = aCustomShapeGeometry[i].Value;
+            rtl::OUString sValue;
+            if(aAny >>= sValue)
+            {
+                xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("value"), "%s",
+                    rtl::OUStringToOString(aCustomShapeGeometry[i].Name, RTL_TEXTENCODING_UTF8).getStr());
+            }
+            switch(aCustomShapeGeometry[i].State)
+            {
+                case beans::PropertyState_DIRECT_VALUE:
+                    xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("propertyState"), "%s", "DIRECT_VALUE");
+                    break;
+                case beans::PropertyState_DEFAULT_VALUE:
+                    xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("propertyState"), "%s", "DEFAULT_VALUE");
+                    break;
+                case beans::PropertyState_AMBIGUOUS_VALUE:
+                    xmlTextWriterWriteFormatAttribute( xmlWriter, BAD_CAST("propertyState"), "%s", "AMBIGUOUS_VALUE");
+                    break;
+                default:
+                    break;
+            }
+            xmlTextWriterEndElement( xmlWriter );
+        }
+        xmlTextWriterEndElement( xmlWriter );
+    }
+
     // methods dumping whole services
 
     void XShapeDumper::dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
@@ -1560,6 +1598,12 @@ namespace {
             if(anotherAny >>= sCustomShapeData)
                 dumpCustomShapeDataAsAttribute(sCustomShapeData, xmlWriter);
         }
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("CustomShapeGeometry");
+            uno::Sequence< beans::PropertyValue> aCustomShapeGeometry;
+            if(anotherAny >>= aCustomShapeGeometry)
+                dumpCustomShapeGeometryAsElement(aCustomShapeGeometry, xmlWriter);
+        }
     }
 
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
@@ -1618,6 +1662,9 @@ namespace {
         if(xServiceInfo->supportsService("com.sun.star.drawing.PolyPolygonBezierDescriptor"))
             dumpPolyPolygonBezierDescriptorService(xPropSet, xmlWriter);
 
+        if(xServiceInfo->supportsService("com.sun.star.drawing.CustomShape"))
+            dumpCustomShapeService(xPropSet, xmlWriter);
+
         #if DEBUG_DUMPER
             sal_Int32 nServices = aServiceNames.getLength();
             for (sal_Int32 i = 0; i < nServices; ++i)
commit a3bc3750ce6bbe7c86b572bcfa182e33a99bd935
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Sat Jun 16 01:52:24 2012 +0200

    Added CustomShapeData property
    
    Change-Id: I9b41a8b427098126224bff268bf0b9be9ec3e2ef

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index 9caec46..135b157 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -171,6 +171,7 @@ private:
 
     // CustomShape.idl
     void dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter);
+    void dumpCustomShapeDataAsAttribute(rtl::OUString sCustomShapeData, xmlTextWriterPtr xmlWriter);
 
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 63b8a79..9eb524b 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1002,6 +1002,12 @@ namespace {
             rtl::OUStringToOString(sCustomShapeEngine, RTL_TEXTENCODING_UTF8).getStr());
     }
 
+    void XShapeDumper::dumpCustomShapeDataAsAttribute(rtl::OUString sCustomShapeData, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("customShapeData"), "%s",
+            rtl::OUStringToOString(sCustomShapeData, RTL_TEXTENCODING_UTF8).getStr());
+    }
+
     // methods dumping whole services
 
     void XShapeDumper::dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
@@ -1548,6 +1554,12 @@ namespace {
             if(anotherAny >>= sCustomShapeEngine)
                 dumpCustomShapeEngineAsAttribute(sCustomShapeEngine, xmlWriter);
         }
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("CustomShapeData");
+            rtl::OUString sCustomShapeData;
+            if(anotherAny >>= sCustomShapeData)
+                dumpCustomShapeDataAsAttribute(sCustomShapeData, xmlWriter);
+        }
     }
 
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
commit 4a6995116aa6af8b928ce5697eeb6a66d5386779
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Fri Jun 15 23:48:58 2012 +0200

    Started dumping CustomShape service. Added CustomShapeEngine property
    
    Change-Id: If1d11d5dfcf101a3599bc828f6ac515624b087a1

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index ccf613f..9caec46 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -169,6 +169,9 @@ private:
     void dumpPolyPolygonBezierAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aPolyPolygonBezier, xmlTextWriterPtr xmlWriter);
     void dumpGeometryAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aGeometry, xmlTextWriterPtr xmlWriter);
 
+    // CustomShape.idl
+    void dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter);
+
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
     void dumpSizeAsAttribute(const com::sun::star::awt::Size& rSize, xmlTextWriterPtr xmlWriter);
@@ -184,6 +187,7 @@ private:
     void dumpPolyPolygonDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
     void dumpShapeService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
     void dumpPolyPolygonBezierDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
+    void dumpCustomShapeService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
 
 };
 #endif
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index e7e6f00..63b8a79 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -992,7 +992,17 @@ namespace {
         xmlTextWriterEndElement( xmlWriter );
     }
 
-    // dumping services
+    // -------------------------------------
+    // ---------- CustomShape.idl ----------
+    // -------------------------------------
+
+    void XShapeDumper::dumpCustomShapeEngineAsAttribute(rtl::OUString sCustomShapeEngine, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterWriteFormatAttribute(xmlWriter, BAD_CAST("customShapeEngine"), "%s",
+            rtl::OUStringToOString(sCustomShapeEngine, RTL_TEXTENCODING_UTF8).getStr());
+    }
+
+    // methods dumping whole services
 
     void XShapeDumper::dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
     {
@@ -1530,6 +1540,16 @@ namespace {
         }
     }
 
+    void XShapeDumper::dumpCustomShapeService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
+    {
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("CustomShapeEngine");
+            rtl::OUString sCustomShapeEngine;
+            if(anotherAny >>= sCustomShapeEngine)
+                dumpCustomShapeEngineAsAttribute(sCustomShapeEngine, xmlWriter);
+        }
+    }
+
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
     {
         xmlTextWriterStartElement( xmlWriter, BAD_CAST( "XShape" ) );
commit dc4f974149528223557f194cceebf13186e97215
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Fri Jun 15 23:24:53 2012 +0200

    Added PolyPolygonBezier & Geometry properties
    
    Change-Id: I8c7bad77c5904cc63ab1ff2e2cc1adeb7afbdc62

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index 8ce450e..ccf613f 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -166,7 +166,8 @@ private:
     void dumpHyperlinkAsAttribute(rtl::OUString sHyperlink, xmlTextWriterPtr xmlWriter);
 
     // PolyPolygonBezierDescriptor.idl
-    void dumpPolyPolygonBezierDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
+    void dumpPolyPolygonBezierAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aPolyPolygonBezier, xmlTextWriterPtr xmlWriter);
+    void dumpGeometryAsElement(com::sun::star::drawing::PolyPolygonBezierCoords aGeometry, xmlTextWriterPtr xmlWriter);
 
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
@@ -182,6 +183,7 @@ private:
     void dumpShadowPropertiesService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
     void dumpPolyPolygonDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
     void dumpShapeService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
+    void dumpPolyPolygonBezierDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
 
 };
 #endif
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index c0cc783..e7e6f00 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -974,6 +974,26 @@ namespace {
             rtl::OUStringToOString(xDescr->getShapeType(), RTL_TEXTENCODING_UTF8).getStr());
     }
 
+    // -----------------------------------------------------
+    // ---------- PolyPolygonBezierDescriptor.idl ----------
+    // -----------------------------------------------------
+
+    void XShapeDumper::dumpPolyPolygonBezierAsElement(drawing::PolyPolygonBezierCoords aPolyPolygonBezier, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterStartElement(xmlWriter, BAD_CAST( "PolyPolygonBezier" ));
+        dumpPolyPolygonBezierCoords(aPolyPolygonBezier, xmlWriter);
+        xmlTextWriterEndElement( xmlWriter );
+    }
+
+    void XShapeDumper::dumpGeometryAsElement(drawing::PolyPolygonBezierCoords aGeometry, xmlTextWriterPtr xmlWriter)
+    {
+        xmlTextWriterStartElement(xmlWriter, BAD_CAST( "Geometry" ));
+        dumpPolyPolygonBezierCoords(aGeometry, xmlWriter);
+        xmlTextWriterEndElement( xmlWriter );
+    }
+
+    // dumping services
+
     void XShapeDumper::dumpTextPropertiesService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
     {
         uno::Reference< beans::XPropertySetInfo> xInfo = xPropSet->getPropertySetInfo();
@@ -1496,6 +1516,18 @@ namespace {
             if(anotherAny >>= ePolygonKind)
                 dumpPolygonKindAsAttribute(ePolygonKind, xmlWriter);
         }
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("PolyPolygonBezier");
+            drawing::PolyPolygonBezierCoords aPolyPolygonBezier;
+            if(anotherAny >>= aPolyPolygonBezier)
+                dumpPolyPolygonBezierCoords(aPolyPolygonBezier, xmlWriter);
+        }
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("Geometry");
+            drawing::PolyPolygonBezierCoords aGeometry;
+            if(anotherAny >>= aGeometry)
+                dumpPolyPolygonBezierCoords(aGeometry, xmlWriter);
+        }
     }
 
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
commit e77f4c653ccf0d5849ca951a5bd627553a31d45a
Author: Artur Dorda <artur.dorda+libo at gmail.com>
Date:   Fri Jun 15 22:59:09 2012 +0200

    Started dumping PolyPolygonBezierDescriptor service.Added PolygonKind property
    
    Change-Id: I17461a86120f0d05137c8b8410c47f9fc3097e8f

diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
index b4294b0..8ce450e 100644
--- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
+++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx
@@ -165,6 +165,9 @@ private:
     void dumpNavigationOrderAsAttribute(sal_Int32 aNavigationOrder, xmlTextWriterPtr xmlWriter);
     void dumpHyperlinkAsAttribute(rtl::OUString sHyperlink, xmlTextWriterPtr xmlWriter);
 
+    // PolyPolygonBezierDescriptor.idl
+    void dumpPolyPolygonBezierDescriptorService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter);
+
     // XShape.idl
     void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter);
     void dumpSizeAsAttribute(const com::sun::star::awt::Size& rSize, xmlTextWriterPtr xmlWriter);
diff --git a/drawinglayer/source/dumper/XShapeDumper.cxx b/drawinglayer/source/dumper/XShapeDumper.cxx
index 58633f6..c0cc783 100644
--- a/drawinglayer/source/dumper/XShapeDumper.cxx
+++ b/drawinglayer/source/dumper/XShapeDumper.cxx
@@ -1488,6 +1488,16 @@ namespace {
         }
     }
 
+    void XShapeDumper::dumpPolyPolygonBezierDescriptorService(uno::Reference< beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter)
+    {
+        {
+            uno::Any anotherAny = xPropSet->getPropertyValue("PolygonKind");
+            drawing::PolygonKind ePolygonKind;
+            if(anotherAny >>= ePolygonKind)
+                dumpPolygonKindAsAttribute(ePolygonKind, xmlWriter);
+        }
+    }
+
     void XShapeDumper::dumpXShape(uno::Reference< drawing::XShape > xShape, xmlTextWriterPtr xmlWriter)
     {
         xmlTextWriterStartElement( xmlWriter, BAD_CAST( "XShape" ) );
@@ -1541,6 +1551,9 @@ namespace {
         if(xServiceInfo->supportsService("com.sun.star.drawing.Shape"))
             dumpShapeService(xPropSet, xmlWriter);
 
+        if(xServiceInfo->supportsService("com.sun.star.drawing.PolyPolygonBezierDescriptor"))
+            dumpPolyPolygonBezierDescriptorService(xPropSet, xmlWriter);
+
         #if DEBUG_DUMPER
             sal_Int32 nServices = aServiceNames.getLength();
             for (sal_Int32 i = 0; i < nServices; ++i)


More information about the Libreoffice-commits mailing list