summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-20 05:51:20 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-20 05:51:20 +0000
commit97d937dc09f4c9b53b77be5ac437724e4cd5d402 (patch)
treef16c8ee139237c49829d925905426931b0a2f75f /oox/source
parentb29e30d45cfcdb4526d885ac0eada8e96754557d (diff)
INTEGRATION: CWS ooxtablefilter (1.3.2); FILE MERGED
2008/06/10 09:52:14 sj 1.3.2.3: RESYNC: (1.3-1.5); FILE MERGED 2008/04/02 17:43:48 sj 1.3.2.2: added table import 2008/03/28 20:21:26 sj 1.3.2.1: added table import
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/drawingml/fillproperties.cxx82
1 files changed, 42 insertions, 40 deletions
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 7be2d415db35..927e9eb3a7d6 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fillproperties.cxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -30,6 +30,8 @@
#include <comphelper/processfactory.hxx>
#include "oox/drawingml/fillproperties.hxx"
+#include "oox/core/xmlfilterbase.hxx"
+#include "oox/helper/helper.hxx"
#include "oox/helper/propertyset.hxx"
#include "oox/core/namespaces.hxx"
#include "oox/core/xmlfilterbase.hxx"
@@ -117,46 +119,46 @@ FillProperties::~FillProperties()
{
}
-void FillProperties::apply( const FillPropertiesPtr& rSourceFillProperties )
+void FillProperties::apply( const FillProperties& rSourceFillProperties )
{
- if ( rSourceFillProperties->moFillStyle )
- moFillStyle = rSourceFillProperties->moFillStyle;
- if ( rSourceFillProperties->maFillColor->isUsed() )
- maFillColor = rSourceFillProperties->maFillColor;
- if ( rSourceFillProperties->moBitmapMode )
- moBitmapMode = rSourceFillProperties->moBitmapMode;
- if ( rSourceFillProperties->moRotateWithShape )
- moRotateWithShape = rSourceFillProperties->moRotateWithShape;
- if ( rSourceFillProperties->moShadeScaled )
- moShadeScaled = rSourceFillProperties->moShadeScaled;
- if ( rSourceFillProperties->moShadeAngle )
- moShadeAngle = rSourceFillProperties->moShadeAngle;
- if ( rSourceFillProperties->moShadeTypeToken )
- moShadeTypeToken = rSourceFillProperties->moShadeTypeToken;
- if ( rSourceFillProperties->moFlipModeToken )
- moFlipModeToken = rSourceFillProperties->moFlipModeToken;
- if ( rSourceFillProperties->moFillToRect )
- moFillToRect = rSourceFillProperties->moFillToRect;
- if ( rSourceFillProperties->moTileRect )
- moTileRect = rSourceFillProperties->moTileRect;
- if ( rSourceFillProperties->moTileAlign )
- moTileAlign = rSourceFillProperties->moTileAlign;
- if ( rSourceFillProperties->moTileX )
- moTileX = rSourceFillProperties->moTileX;
- if ( rSourceFillProperties->moTileY )
- moTileY = rSourceFillProperties->moTileY;
- if ( rSourceFillProperties->moTileSX )
- moTileSX = rSourceFillProperties->moTileSX;
- if ( rSourceFillProperties->moTileSY )
- moTileSY = rSourceFillProperties->moTileSY;
- if ( rSourceFillProperties->mvGradientStops.size() )
- mvGradientStops = rSourceFillProperties->mvGradientStops;
- if ( rSourceFillProperties->mxGraphic.is() )
- mxGraphic = rSourceFillProperties->mxGraphic;
- if ( rSourceFillProperties->maColorChangeFrom->isUsed() )
- maColorChangeFrom = rSourceFillProperties->maColorChangeFrom;
- if ( rSourceFillProperties->maColorChangeTo->isUsed() )
- maColorChangeTo = rSourceFillProperties->maColorChangeTo;
+ if ( rSourceFillProperties.moFillStyle )
+ moFillStyle = rSourceFillProperties.moFillStyle;
+ if ( rSourceFillProperties.maFillColor->isUsed() )
+ maFillColor = rSourceFillProperties.maFillColor;
+ if ( rSourceFillProperties.moBitmapMode )
+ moBitmapMode = rSourceFillProperties.moBitmapMode;
+ if ( rSourceFillProperties.moRotateWithShape )
+ moRotateWithShape = rSourceFillProperties.moRotateWithShape;
+ if ( rSourceFillProperties.moShadeScaled )
+ moShadeScaled = rSourceFillProperties.moShadeScaled;
+ if ( rSourceFillProperties.moShadeAngle )
+ moShadeAngle = rSourceFillProperties.moShadeAngle;
+ if ( rSourceFillProperties.moShadeTypeToken )
+ moShadeTypeToken = rSourceFillProperties.moShadeTypeToken;
+ if ( rSourceFillProperties.moFlipModeToken )
+ moFlipModeToken = rSourceFillProperties.moFlipModeToken;
+ if ( rSourceFillProperties.moFillToRect )
+ moFillToRect = rSourceFillProperties.moFillToRect;
+ if ( rSourceFillProperties.moTileRect )
+ moTileRect = rSourceFillProperties.moTileRect;
+ if ( rSourceFillProperties.moTileAlign )
+ moTileAlign = rSourceFillProperties.moTileAlign;
+ if ( rSourceFillProperties.moTileX )
+ moTileX = rSourceFillProperties.moTileX;
+ if ( rSourceFillProperties.moTileY )
+ moTileY = rSourceFillProperties.moTileY;
+ if ( rSourceFillProperties.moTileSX )
+ moTileSX = rSourceFillProperties.moTileSX;
+ if ( rSourceFillProperties.moTileSY )
+ moTileSY = rSourceFillProperties.moTileSY;
+ if ( rSourceFillProperties.mvGradientStops.size() )
+ mvGradientStops = rSourceFillProperties.mvGradientStops;
+ if ( rSourceFillProperties.mxGraphic.is() )
+ mxGraphic = rSourceFillProperties.mxGraphic;
+ if ( rSourceFillProperties.maColorChangeFrom->isUsed() )
+ maColorChangeFrom = rSourceFillProperties.maColorChangeFrom;
+ if ( rSourceFillProperties.maColorChangeTo->isUsed() )
+ maColorChangeTo = rSourceFillProperties.maColorChangeTo;
}
void FillProperties::pushToPropSet( const ::oox::core::XmlFilterBase& rFilterBase,