summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-04-02 12:53:00 +0000
committerRüdiger Timm <rt@openoffice.org>2004-04-02 12:53:00 +0000
commit81b04dce9a993ed3772e195c80e1e5d70c02f4ab (patch)
tree2e08fe46bc59804e251a621c66a9a0c0732b6648 /xmloff
parent6fd2a4732a40444735c6cbf63a39d8a04744f0a9 (diff)
INTEGRATION: CWS sj05 (1.57.14); FILE MERGED
2004/02/06 10:09:35 sj 1.57.14.2: name changes 2003/10/31 17:23:42 sj 1.57.14.1: added support for autoshapes
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeexport.cxx11
1 files changed, 9 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx
index 2f9d756a8f10..8f8243076d25 100644
--- a/xmloff/source/draw/shapeexport.cxx
+++ b/xmloff/source/draw/shapeexport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeexport.cxx,v $
*
- * $Revision: 1.58 $
+ * $Revision: 1.59 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:15:01 $
+ * last change: $Author: rt $ $Date: 2004-04-02 13:53:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -772,6 +772,12 @@ void XMLShapeExport::exportShape(const uno::Reference< drawing::XShape >& xShape
break;
}
+ case XmlShapeTypeDrawCustomShape:
+ {
+ ImpExportCustomShape( xShape, aShapeInfo.meShapeType, nFeatures, pRefPoint );
+ break;
+ }
+
case XmlShapeTypePresOrgChartShape:
case XmlShapeTypeUnknown:
case XmlShapeTypeNotYetSet:
@@ -956,6 +962,7 @@ void XMLShapeExport::ImpCalcShapeType(const uno::Reference< drawing::XShape >& x
{
// drawing shapes
if (aType.EqualsAscii("Rectangle", 21, 9)) { eShapeType = XmlShapeTypeDrawRectangleShape; }
+ else if(aType.EqualsAscii("CustomShape", 21, 9)) { eShapeType = XmlShapeTypeDrawCustomShape; }
else if(aType.EqualsAscii("Ellipse", 21, 7)) { eShapeType = XmlShapeTypeDrawEllipseShape; }
else if(aType.EqualsAscii("Control", 21, 7)) { eShapeType = XmlShapeTypeDrawControlShape; }
else if(aType.EqualsAscii("Connector", 21, 9)) { eShapeType = XmlShapeTypeDrawConnectorShape; }