summaryrefslogtreecommitdiff
path: root/svx/inc
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2012-01-19 09:43:41 +0100
committerRadek Doulik <rodo@novell.com>2012-01-19 09:46:52 +0100
commit4d51363986c899f363a2788d82d3b7cd7040a0fb (patch)
tree98cb63ddc8599b05bd28d6af3f9aeb25f3c4dd71 /svx/inc
parentc04678b6e7f9cbd3b41295c7b3debafd5d2ff6e7 (diff)
implemented SubViewSize property for EnhancedCustomShapePath
Diffstat (limited to 'svx/inc')
-rw-r--r--svx/inc/svx/EnhancedCustomShape2d.hxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/svx/inc/svx/EnhancedCustomShape2d.hxx b/svx/inc/svx/EnhancedCustomShape2d.hxx
index fa2a07970f18..415385cea83f 100644
--- a/svx/inc/svx/EnhancedCustomShape2d.hxx
+++ b/svx/inc/svx/EnhancedCustomShape2d.hxx
@@ -34,6 +34,7 @@
#include <com/sun/star/uno/Sequence.h>
#include <com/sun/star/beans/PropertyValues.hpp>
#include <com/sun/star/awt/Point.hpp>
+#include <com/sun/star/awt/Size.hpp>
#include <svl/itemset.hxx>
#include <com/sun/star/drawing/EnhancedCustomShapeParameterPair.hpp>
#include <com/sun/star/drawing/EnhancedCustomShapeSegment.hpp>
@@ -86,6 +87,8 @@ class EnhancedCustomShape2d : public SfxItemSet
sal_Int32 nCoordLeft;
sal_Int32 nCoordTop;
+ sal_Int32 nCoordWidthG;
+ sal_Int32 nCoordHeightG;
sal_Int32 nCoordWidth;
sal_Int32 nCoordHeight;
Rectangle aLogicRect;
@@ -119,6 +122,7 @@ class EnhancedCustomShape2d : public SfxItemSet
com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeParameterPair> seqGluePoints;
com::sun::star::uno::Sequence< com::sun::star::drawing::EnhancedCustomShapeAdjustmentValue > seqAdjustmentValues;
com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValues > seqHandles;
+ com::sun::star::uno::Sequence< com::sun::star::awt::Size > seqSubViewSize;
sal_Bool bTextFlow : 1;
sal_Bool bFilled : 1;
@@ -139,10 +143,13 @@ class EnhancedCustomShape2d : public SfxItemSet
const sal_Bool bScale = sal_True, const sal_Bool bReplaceGeoSize = sal_False ) const;
void CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegmentInd, std::vector< SdrPathObj* >& rObjectList,
- sal_Bool bLineGeometryNeededOnly, sal_Bool bSortFilledObjectsToBack );
+ sal_Bool bLineGeometryNeededOnly, sal_Bool bSortFilledObjectsToBack,
+ sal_Int32 nIndex );
SdrObject* CreatePathObj( sal_Bool bLineGeometryNeededOnly );
const sal_Int32* ApplyShapeAttributes( const SdrCustomShapeGeometryItem& rItem );
+ void SetPathSize( sal_Int32 nIndex = 0 );
+
public :
struct Handle