summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/ximpshap.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-04-02 12:54:01 +0000
committerRüdiger Timm <rt@openoffice.org>2004-04-02 12:54:01 +0000
commitf6ea99465a7c7661a4bec782e17ee253edc48f38 (patch)
treeaefa15288987114760ea46aeecfd946e804437e9 /xmloff/source/draw/ximpshap.hxx
parentdb898d6f844be2f27085898e9c0820e210dcd566 (diff)
INTEGRATION: CWS sj05 (1.34.72); FILE MERGED
2004/02/06 10:09:37 sj 1.34.72.3: name changes 2003/11/07 17:50:45 sj 1.34.72.2: added autoshape import 2003/10/31 17:23:08 sj 1.34.72.1: added autoshape context
Diffstat (limited to 'xmloff/source/draw/ximpshap.hxx')
-rw-r--r--xmloff/source/draw/ximpshap.hxx36
1 files changed, 34 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx
index bde7171026a3..00c6aab552fb 100644
--- a/xmloff/source/draw/ximpshap.hxx
+++ b/xmloff/source/draw/ximpshap.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ximpshap.hxx,v $
*
- * $Revision: 1.34 $
+ * $Revision: 1.35 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 18:20:18 $
+ * last change: $Author: rt $ $Date: 2004-04-02 13:54:01 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -106,6 +106,8 @@
#include "xexptran.hxx"
#endif
+#include <vector>
+
//////////////////////////////////////////////////////////////////////////////
// common shape context
@@ -608,4 +610,34 @@ public:
// this is called from the parent group for each unparsed attribute in the attribute list
virtual void processAttribute( sal_uInt16 nPrefix, const ::rtl::OUString& rLocalName, const ::rtl::OUString& rValue );
};
+
+class SdXMLCustomShapeContext : public SdXMLShapeContext
+{
+
+protected :
+
+ rtl::OUString maCustomShapeEngine;
+ rtl::OUString maCustomShapeData;
+
+ std::vector< com::sun::star::beans::PropertyValue > maCustomShapeGeometry;
+
+public:
+
+ TYPEINFO();
+
+ SdXMLCustomShapeContext( SvXMLImport& rImport, sal_uInt16 nPrfx, const rtl::OUString& rLocalName,
+ const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
+ com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes);
+ virtual ~SdXMLCustomShapeContext();
+
+ virtual void StartElement( const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList );
+ virtual void EndElement();
+
+ virtual SvXMLImportContext * CreateChildContext( USHORT nPrefix, const ::rtl::OUString& rLocalName,
+ const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList );
+
+ // this is called from the parent group for each unparsed attribute in the attribute list
+ virtual void processAttribute( sal_uInt16 nPrefix, const ::rtl::OUString& rLocalName, const ::rtl::OUString& rValue );
+};
+
#endif // _XIMPSHAPE_HXX