summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorPascal Junck <pjunck@openoffice.org>2004-11-03 09:50:32 +0000
committerPascal Junck <pjunck@openoffice.org>2004-11-03 09:50:32 +0000
commit325a8b4aa4fdee797365028c0ad5c1948f4bc9e3 (patch)
treeeec1494a1c1804c32a6c287df9f350cb532c0400 /svx/source/sdr
parent0c911989b7568a06254d807dea36de7425237d5f (diff)
INTEGRATION: CWS aw019 (1.3.428); FILE MERGED
2004/10/06 16:18:15 aw 1.3.428.2: #i34831# 2004/09/28 15:53:12 aw 1.3.428.1: #i11190#
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/properties/e3dsceneproperties.cxx55
1 files changed, 32 insertions, 23 deletions
diff --git a/svx/source/sdr/properties/e3dsceneproperties.cxx b/svx/source/sdr/properties/e3dsceneproperties.cxx
index 92dca6326c41..f115dcb3a6b3 100644
--- a/svx/source/sdr/properties/e3dsceneproperties.cxx
+++ b/svx/source/sdr/properties/e3dsceneproperties.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: e3dsceneproperties.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: vg $ $Date: 2003-12-16 13:10:12 $
+ * last change: $Author: pjunck $ $Date: 2004-11-03 10:50:32 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -413,6 +413,15 @@ namespace sdr
rObj.GetLightGroup().SetDirection( rObj.GetLightDirection8(), Base3DLight7);
break;
}
+
+ // these are Item changes which may shrink/expand the object, e.g. line
+ // size and line on/off
+ case XATTR_LINESTYLE :
+ case XATTR_LINEWIDTH :
+ {
+ rObj.CorrectSceneDimensions();
+ break;
+ }
}
}
@@ -455,27 +464,27 @@ namespace sdr
return pRetval;
}
- void E3dSceneProperties::PreProcessSave()
- {
- const SdrObjList* pSub = ((const E3dScene&)GetSdrObject()).GetSubList();
- const sal_uInt32 nCount(pSub->GetObjCount());
-
- for(sal_uInt32 a(0L); a < nCount; a++)
- {
- pSub->GetObj(a)->GetProperties().PreProcessSave();
- }
- }
-
- void E3dSceneProperties::PostProcessSave()
- {
- const SdrObjList* pSub = ((const E3dScene&)GetSdrObject()).GetSubList();
- const sal_uInt32 nCount(pSub->GetObjCount());
-
- for(sal_uInt32 a(0L); a < nCount; a++)
- {
- pSub->GetObj(a)->GetProperties().PostProcessSave();
- }
- }
+//BFS01 void E3dSceneProperties::PreProcessSave()
+//BFS01 {
+//BFS01 const SdrObjList* pSub = ((const E3dScene&)GetSdrObject()).GetSubList();
+//BFS01 const sal_uInt32 nCount(pSub->GetObjCount());
+//BFS01
+//BFS01 for(sal_uInt32 a(0L); a < nCount; a++)
+//BFS01 {
+//BFS01 pSub->GetObj(a)->GetProperties().PreProcessSave();
+//BFS01 }
+//BFS01 }
+
+//BFS01 void E3dSceneProperties::PostProcessSave()
+//BFS01 {
+//BFS01 const SdrObjList* pSub = ((const E3dScene&)GetSdrObject()).GetSubList();
+//BFS01 const sal_uInt32 nCount(pSub->GetObjCount());
+//BFS01
+//BFS01 for(sal_uInt32 a(0L); a < nCount; a++)
+//BFS01 {
+//BFS01 pSub->GetObj(a)->GetProperties().PostProcessSave();
+//BFS01 }
+//BFS01 }
void E3dSceneProperties::MoveToItemPool(SfxItemPool* pSrcPool, SfxItemPool* pDestPool, SdrModel* pNewModel)
{