diff options
author | Artur Dorda <artur.dorda+libo@gmail.com> | 2012-06-14 03:07:15 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-12 03:10:12 +0200 |
commit | 3524c1a4dcdb07e8cb808ebb2311df164ab7a04b (patch) | |
tree | 3671cf8c374daa8bc047b59d54a19d092892e89f /drawinglayer/inc/drawinglayer/XShapeDumper.hxx | |
parent | 8dac6140af00ede681a7bca53ac8148ee55de16f (diff) |
Refactoring dumping - separate methods for the main services
Change-Id: Icbe8ba80e10669ccb5162ba2f2723cfc95393775
Diffstat (limited to 'drawinglayer/inc/drawinglayer/XShapeDumper.hxx')
-rw-r--r-- | drawinglayer/inc/drawinglayer/XShapeDumper.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx index 347499562b36..b4294b0572d4 100644 --- a/drawinglayer/inc/drawinglayer/XShapeDumper.hxx +++ b/drawinglayer/inc/drawinglayer/XShapeDumper.hxx @@ -36,6 +36,7 @@ #include <com/sun/star/awt/XBitmap.hpp> #include <com/sun/star/drawing/RectanglePoint.hpp> #include <com/sun/star/drawing/BitmapMode.hpp> +#include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/drawing/LineStyle.hpp> #include <com/sun/star/drawing/LineDash.hpp> @@ -167,9 +168,17 @@ private: // XShape.idl void dumpPositionAsAttribute(const com::sun::star::awt::Point& rPoint, xmlTextWriterPtr xmlWriter); void dumpSizeAsAttribute(const com::sun::star::awt::Size& rSize, xmlTextWriterPtr xmlWriter); + + // the rest void dumpShapeDescriptorAsAttribute( com::sun::star::uno::Reference< com::sun::star::drawing::XShapeDescriptor > xDescr, xmlTextWriterPtr xmlWriter ); void dumpXShape(com::sun::star::uno::Reference< com::sun::star::drawing::XShape > xShape, xmlTextWriterPtr xmlWriter); void dumpXShapes( com::sun::star::uno::Reference< com::sun::star::drawing::XShapes > xShapes, xmlTextWriterPtr xmlWriter ); + void dumpTextPropertiesService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter); + void dumpFillPropertiesService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter); + void dumpLinePropertiesService(com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > xPropSet, xmlTextWriterPtr xmlWriter); + 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); }; #endif |