summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/shapeimport.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-02-21 17:04:45 +0000
committerChristian Lippka <cl@openoffice.org>2001-02-21 17:04:45 +0000
commit50063bb8abe5e726d79ab61cac1bca72514909f3 (patch)
tree85e263f3018249da2a8ae07e591e2cc80ad703ad /xmloff/source/draw/shapeimport.cxx
parent9fdab163069206ef84aa317efe88b2984d522340 (diff)
added ole2 support
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r--xmloff/source/draw/shapeimport.cxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index fd033b590588..d6a4957f0d86 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeimport.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: cl $ $Date: 2001-02-15 17:35:27 $
+ * last change: $Author: cl $ $Date: 2001-02-21 18:04:45 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -269,7 +269,9 @@ static __FAR_DATA SvXMLTokenMapEntry aGroupShapeElemTokenMap[] =
{ XML_NAMESPACE_CHART, sXML_chart, XML_TOK_GROUP_CHART },
{ XML_NAMESPACE_DRAW, sXML_image, XML_TOK_GROUP_IMAGE },
- { XML_NAMESPACE_DR3D, sXML_scene, XML_TOK_GROUP_3DSCENE },
+ { XML_NAMESPACE_DR3D, sXML_scene, XML_TOK_GROUP_3DSCENE },
+ { XML_NAMESPACE_DRAW, sXML_object, XML_TOK_GROUP_OBJECT },
+ { XML_NAMESPACE_DRAW, sXML_object_ole, XML_TOK_GROUP_OBJECT_OLE },
XML_TOKEN_MAP_END
};
@@ -775,6 +777,13 @@ SvXMLImportContext* XMLShapeImportHelper::CreateGroupChildContext(
pContext = new SdXMLGraphicObjectShapeContext( rImport, nPrefix, rLocalName, xAttrList, rShapes );
break;
}
+ case XML_TOK_GROUP_OBJECT:
+ case XML_TOK_GROUP_OBJECT_OLE:
+ {
+ // draw:object or draw:object_ole
+ pContext = new SdXMLObjectShapeContext( rImport, nPrefix, rLocalName, xAttrList, rShapes );
+ break;
+ }
// add other shapes here...
default:
return new SvXMLImportContext( rImport, nPrefix, rLocalName );