diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 09:39:04 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-03-12 09:39:04 +0000 |
commit | 35fd22350aa6e8c90c81990a752a4e27e544ce4c (patch) | |
tree | 5d762bedec6980c5d6d01c02f37c07d7ff223af1 | |
parent | 0260358ca5df57ce3ca0b3a3872da55b89c9c9fd (diff) |
INTEGRATION: CWS impresstables2 (1.44.30); FILE MERGED
2008/02/13 20:09:57 cl 1.44.30.4: #i68103# import table shapes only in impress and draw
2007/11/29 18:50:29 cl 1.44.30.3: #i68103# working on table templates
2007/08/01 14:15:38 cl 1.44.30.2: RESYNC: (1.44-1.45); FILE MERGED
2007/04/18 14:51:18 cl 1.44.30.1: #i68103# draft code for table shape import and export
-rw-r--r-- | xmloff/source/draw/ximpshap.hxx | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/xmloff/source/draw/ximpshap.hxx b/xmloff/source/draw/ximpshap.hxx index 38b51a4da7bc..2e897827f3f7 100644 --- a/xmloff/source/draw/ximpshap.hxx +++ b/xmloff/source/draw/ximpshap.hxx @@ -4,9 +4,9 @@ * * $RCSfile: ximpshap.hxx,v $ * - * $Revision: 1.45 $ + * $Revision: 1.46 $ * - * last change: $Author: hr $ $Date: 2007-06-27 15:11:41 $ + * last change: $Author: rt $ $Date: 2008-03-12 10:39:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -671,4 +671,32 @@ public: virtual void processAttribute( sal_uInt16 nPrefix, const ::rtl::OUString& rLocalName, const ::rtl::OUString& rValue ); }; +////////////////////////////////////////////////////////////////////////////// +// draw:table + +class SdXMLTableShapeContext : public SdXMLShapeContext +{ +public: + TYPEINFO(); + + SdXMLTableShapeContext( 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 ~SdXMLTableShapeContext(); + + 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 ); + +private: + SvXMLImportContextRef mxTableImportContext; + rtl::OUString msTemplateStyleName; + sal_Bool maTemplateStylesUsed[6]; +}; + #endif // _XIMPSHAPE_HXX |