summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2004-10-22 06:53:49 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2004-10-22 06:53:49 +0000
commitb4e7b988ff6bcda3a9dd69115765c1ab4a034545 (patch)
tree2f0d409354a7fd21a8ad18e5356503a2ddd80d33 /xmloff
parent31e9d5ce1c49045785bec0bad531a211b0e7d7be (diff)
INTEGRATION: CWS calc23 (1.6.398); FILE MERGED
2004/10/04 14:42:34 sab 1.6.398.1: #i34953#; add temporary shape functionality
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/ximp3dobject.cxx34
1 files changed, 20 insertions, 14 deletions
diff --git a/xmloff/source/draw/ximp3dobject.cxx b/xmloff/source/draw/ximp3dobject.cxx
index 6827e3da23..60181c9f5e 100644
--- a/xmloff/source/draw/ximp3dobject.cxx
+++ b/xmloff/source/draw/ximp3dobject.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximp3dobject.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:13 $
+ * last change: $Author: rt $ $Date: 2004-10-22 07:53:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -130,8 +130,9 @@ SdXML3DObjectContext::SdXML3DObjectContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes ),
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXMLShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ),
mbSetTransform( FALSE )
{
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
@@ -265,8 +266,9 @@ SdXML3DCubeObjectShapeContext::SdXML3DCubeObjectShapeContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes ),
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ),
maMinEdge(-2500.0, -2500.0, -2500.0),
maMaxEdge(2500.0, 2500.0, 2500.0),
mbMinEdgeUsed(FALSE),
@@ -375,8 +377,9 @@ SdXML3DSphereObjectShapeContext::SdXML3DSphereObjectShapeContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes ),
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape ),
maCenter(0.0, 0.0, 0.0),
maSize(5000.0, 5000.0, 5000.0),
mbCenterUsed(FALSE),
@@ -482,8 +485,9 @@ SdXML3DPolygonBasedShapeContext::SdXML3DPolygonBasedShapeContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes )
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXML3DObjectContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape )
{
sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for(sal_Int16 i=0; i < nAttrCount; i++)
@@ -602,8 +606,9 @@ SdXML3DLatheObjectShapeContext::SdXML3DLatheObjectShapeContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXML3DPolygonBasedShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes )
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXML3DPolygonBasedShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape )
{
}
@@ -645,8 +650,9 @@ SdXML3DExtrudeObjectShapeContext::SdXML3DExtrudeObjectShapeContext(
sal_uInt16 nPrfx,
const OUString& rLocalName,
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
- uno::Reference< drawing::XShapes >& rShapes)
-: SdXML3DPolygonBasedShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes )
+ uno::Reference< drawing::XShapes >& rShapes,
+ sal_Bool bTemporaryShape)
+: SdXML3DPolygonBasedShapeContext( rImport, nPrfx, rLocalName, xAttrList, rShapes, bTemporaryShape )
{
}