diff options
author | Katarina Machalkova <kmachalkova@suse.cz> | 2010-10-20 18:31:49 +0200 |
---|---|---|
committer | Katarina Machalkova <kmachalkova@suse.cz> | 2010-10-21 09:37:15 +0200 |
commit | f4fa39e90ef0bd28f883226e2954482b31a741e5 (patch) | |
tree | 6a057b4dd2902193fa183ddfeaa65b27d1ef6eb6 /oox/source/drawingml/shape.cxx | |
parent | a3e61bf09120a70a6f209a0b61df9df68d19ba2b (diff) |
Undoing pptx filter as a separate lib ( + related changes)
Shared ppt + pptx filter will be merged from cws later
Diffstat (limited to 'oox/source/drawingml/shape.cxx')
-rw-r--r-- | oox/source/drawingml/shape.cxx | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/oox/source/drawingml/shape.cxx b/oox/source/drawingml/shape.cxx index 8483e730a2c0..d7b2bc7b1bb2 100644 --- a/oox/source/drawingml/shape.cxx +++ b/oox/source/drawingml/shape.cxx @@ -42,10 +42,8 @@ #include <tools/solar.h> // for the F_PI180 define #include <com/sun/star/graphic/XGraphic.hpp> #include <com/sun/star/container/XNamed.hpp> -#include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/beans/XMultiPropertySet.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp> -#include <com/sun/star/xml/AttributeData.hpp> #include <com/sun/star/drawing/HomogenMatrix3.hpp> #include <com/sun/star/drawing/TextVerticalAdjust.hpp> #include <com/sun/star/text/XText.hpp> @@ -108,34 +106,6 @@ Shape::Shape( const sal_Char* pServiceName ) msServiceName = OUString::createFromAscii( pServiceName ); setDefaults(); } - -Shape::Shape( const ShapePtr& pSourceShape ) -: maChildren() -, mbIsChild( pSourceShape->mbIsChild ) -, mpTextBody(pSourceShape->mpTextBody) -, mpLinePropertiesPtr( pSourceShape->mpLinePropertiesPtr ) -, mpFillPropertiesPtr( pSourceShape->mpFillPropertiesPtr ) -, mpGraphicPropertiesPtr( pSourceShape->mpGraphicPropertiesPtr ) -, mpCustomShapePropertiesPtr( pSourceShape->mpCustomShapePropertiesPtr ) -, mpTablePropertiesPtr( pSourceShape->mpTablePropertiesPtr ) -, mp3DPropertiesPtr( pSourceShape->mp3DPropertiesPtr ) -, maShapeProperties( pSourceShape->maShapeProperties ) -, mpMasterTextListStyle( pSourceShape->mpMasterTextListStyle ) -, mxShape() -, msServiceName( pSourceShape->msServiceName ) -, msName( pSourceShape->msName ) -, msId( pSourceShape->msId ) -, mnSubType( pSourceShape->mnSubType ) -, mnSubTypeIndex( pSourceShape->mnSubTypeIndex ) -, maShapeStyleRefs( pSourceShape->maShapeStyleRefs ) -, maSize( pSourceShape->maSize ) -, maPosition( pSourceShape->maPosition ) -, mxCreateCallback( pSourceShape->mxCreateCallback ) -, mnRotation( pSourceShape->mnRotation ) -, mbFlipH( pSourceShape->mbFlipH ) -, mbFlipV( pSourceShape->mbFlipV ) -{} - Shape::~Shape() { } @@ -208,7 +178,6 @@ void Shape::addShape( void Shape::applyShapeReference( const Shape& rReferencedShape ) { - if( rReferencedShape.mpTextBody.get() ) mpTextBody = TextBodyPtr( new TextBody( *rReferencedShape.mpTextBody.get() ) ); maShapeProperties = rReferencedShape.maShapeProperties; mpLinePropertiesPtr = LinePropertiesPtr( new LineProperties( *rReferencedShape.mpLinePropertiesPtr.get() ) ); @@ -225,19 +194,6 @@ void Shape::applyShapeReference( const Shape& rReferencedShape ) mbHidden = rReferencedShape.mbHidden; } -void Shape::addChildren( const ::oox::core::XmlFilterBase& rFilterBase, - const Theme* pTheme, - const Reference< XShapes >& rxShapes, - const awt::Rectangle* pShapeRect, - ShapeIdMap* pShapeMap ) -{ - addChildren(rFilterBase, *this, pTheme, rxShapes, - pShapeRect ? - *pShapeRect : - awt::Rectangle( maPosition.X, maPosition.Y, maSize.Width, maSize.Height ), - pShapeMap); -} - // for group shapes, the following method is also adding each child void Shape::addChildren( const ::oox::core::XmlFilterBase& rFilterBase, |