summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-04-02 12:53:21 +0000
committerRüdiger Timm <rt@openoffice.org>2004-04-02 12:53:21 +0000
commit2e056539cdd39c82d41411744ac8eb14bd40d497 (patch)
treeba1cfd1f0492c2fccc229d144a8c70f3f5ea5640 /xmloff
parente1e83986c1b3c1d25460d3db6e197ffd37620b35 (diff)
INTEGRATION: CWS sj05 (1.47.146); FILE MERGED
2004/02/06 10:09:36 sj 1.47.146.2: name changes 2003/10/31 17:23:42 sj 1.47.146.1: added support for autoshapes
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/draw/shapeimport.cxx12
1 files changed, 10 insertions, 2 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx
index 4443e2df1373..77fa527aaa76 100644
--- a/xmloff/source/draw/shapeimport.cxx
+++ b/xmloff/source/draw/shapeimport.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: shapeimport.cxx,v $
*
- * $Revision: 1.48 $
+ * $Revision: 1.49 $
*
- * last change: $Author: rt $ $Date: 2004-03-30 16:15:28 $
+ * last change: $Author: rt $ $Date: 2004-04-02 13:53:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -363,6 +363,8 @@ static __FAR_DATA SvXMLTokenMapEntry aGroupShapeElemTokenMap[] =
{ XML_NAMESPACE_DRAW, XML_FLOATING_FRAME, XML_TOK_GROUP_FRAME },
{ XML_NAMESPACE_DRAW, XML_APPLET, XML_TOK_GROUP_APPLET },
+ { XML_NAMESPACE_DRAW, XML_CUSTOM_SHAPE, XML_TOK_GROUP_CUSTOM_SHAPE },
+
XML_TOKEN_MAP_END
};
@@ -904,6 +906,12 @@ SvXMLImportContext* XMLShapeImportHelper::CreateGroupChildContext(
pContext = new SdXMLAppletShapeContext( rImport, nPrefix, rLocalName, xAttrList, rShapes );
break;
}
+ case XML_TOK_GROUP_CUSTOM_SHAPE:
+ {
+ // draw:customshape
+ pContext = new SdXMLCustomShapeContext( rImport, nPrefix, rLocalName, xAttrList, rShapes );
+ break;
+ }
// add other shapes here...
default:
return new SvXMLImportContext( rImport, nPrefix, rLocalName );