diff options
author | Christian Lippka <cl@openoffice.org> | 2001-02-21 17:05:31 +0000 |
---|---|---|
committer | Christian Lippka <cl@openoffice.org> | 2001-02-21 17:05:31 +0000 |
commit | 2f147dbea05ca73e332ec21ed05bab2cd93f63b3 (patch) | |
tree | a904f594cd7e7d1771f070a4ff727c08eb47cb59 /xmloff/inc/VisAreaContext.hxx | |
parent | 50063bb8abe5e726d79ab61cac1bca72514909f3 (diff) |
added api friendlier interface
Diffstat (limited to 'xmloff/inc/VisAreaContext.hxx')
-rw-r--r-- | xmloff/inc/VisAreaContext.hxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/xmloff/inc/VisAreaContext.hxx b/xmloff/inc/VisAreaContext.hxx index 86143d30ee58..70a7179ed39c 100644 --- a/xmloff/inc/VisAreaContext.hxx +++ b/xmloff/inc/VisAreaContext.hxx @@ -2,9 +2,9 @@ * * $RCSfile: VisAreaContext.hxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: sab $ $Date: 2001-02-15 11:04:10 $ + * last change: $Author: cl $ $Date: 2001-02-21 18:04:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -72,6 +72,10 @@ class Rectangle; +namespace com { namespace sun { namespace star { namespace awt { + struct Rectangle; +} } } } + class XMLVisAreaContext : public SvXMLImportContext { public: @@ -80,6 +84,12 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList, Rectangle& rRect, const MapUnit aMapUnit); + + XMLVisAreaContext( SvXMLImport& rImport, USHORT nPrfx, const NAMESPACE_RTL(OUString)& rLName, + const ::com::sun::star::uno::Reference< + ::com::sun::star::xml::sax::XAttributeList>& xAttrList, + ::com::sun::star::awt::Rectangle& rRect, const sal_Int16 nMeasureUnit); + virtual ~XMLVisAreaContext(); virtual SvXMLImportContext *CreateChildContext( USHORT nPrefix, @@ -87,6 +97,12 @@ public: const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList ); virtual void EndElement(); + +private: + void process( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList>& xAttrList, + ::com::sun::star::awt::Rectangle& rRect, + const sal_Int16 nMeasureUnit ); + }; #endif |