summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorDaniel Vogelheim <dvo@openoffice.org>2001-10-19 17:43:58 +0000
committerDaniel Vogelheim <dvo@openoffice.org>2001-10-19 17:43:58 +0000
commit4895a4b9d9e66892a1ef249a7df3226fa9c5341b (patch)
tree2ae887d342adf4be1e165b6596937c248387fc77 /xmloff/inc
parent0d2ee20f34b139649cb404723f1cd92beb9a66bc (diff)
#93467# eliminated (most) direct calls on XDocumentHandler
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/DashStyle.hxx60
-rw-r--r--xmloff/inc/GradientStyle.hxx62
-rw-r--r--xmloff/inc/HatchStyle.hxx62
-rw-r--r--xmloff/inc/MarkerStyle.hxx63
-rw-r--r--xmloff/inc/TransGradientStyle.hxx61
-rw-r--r--xmloff/inc/xmltabe.hxx58
6 files changed, 167 insertions, 199 deletions
diff --git a/xmloff/inc/DashStyle.hxx b/xmloff/inc/DashStyle.hxx
index 7242160a38e6..39436a562f0d 100644
--- a/xmloff/inc/DashStyle.hxx
+++ b/xmloff/inc/DashStyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: DashStyle.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,44 +62,46 @@
#ifndef _XMLOFF_DASHSTYLE_HXX
#define _XMLOFF_DASHSTYLE_HXX
-#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
#endif
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
-#endif
+class SvXMLImport;
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace uno { template<class A> class Reference; }
+ namespace xml { namespace sax { class XAttributeList; } }
+ namespace uno { class Any; }
+} } }
+namespace rtl { class OUString; }
-class SvXMLNamespaceMap;
-class SvXMLAttributeList;
-class SvXMLUnitConverter;
-class XMLDashStyle
+class XMLDashStyleImport
{
-public:
- XMLDashStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > * _pHandler,
- const SvXMLNamespaceMap& _rNamespaceMap, const SvXMLUnitConverter& _rUnitConverter );
- ~XMLDashStyle();
+ SvXMLImport& rImport;
- sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool importXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+public:
+ XMLDashStyleImport( SvXMLImport& rImport );
+ ~XMLDashStyleImport();
-private:
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > * mpHandler;
- const SvXMLNamespaceMap& mrNamespaceMap;
- const SvXMLUnitConverter& mrUnitConverter;
+ sal_Bool importXML(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
+ ::com::sun::star::uno::Any& rValue,
+ ::rtl::OUString& rStrName );
+};
- SvXMLAttributeList *mpAttrList;
- sal_Bool ImpExportXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLNamespaceMap& rNamespaceMap, const SvXMLUnitConverter& rUnitConverter,
- const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool ImpImportXML( const SvXMLUnitConverter& rUnitConverter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLDashStyleExport
+{
+ SvXMLExport& rExport;
- void AddAttribute( sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const ::rtl::OUString& rStrValue );
+public:
+ XMLDashStyleExport( SvXMLExport& rExport );
+ ~XMLDashStyleExport();
+ sal_Bool exportXML( const ::rtl::OUString& rStrName,
+ const ::com::sun::star::uno::Any& rValue );
};
#endif // _XMLOFF_DASHSTYLE_HXX
diff --git a/xmloff/inc/GradientStyle.hxx b/xmloff/inc/GradientStyle.hxx
index db9445fd4592..24b177bc653b 100644
--- a/xmloff/inc/GradientStyle.hxx
+++ b/xmloff/inc/GradientStyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: GradientStyle.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,45 +62,47 @@
#ifndef _XMLOFF_GRADIENTSTYLE_HXX
#define _XMLOFF_GRADIENTSTYLE_HXX
-#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#endif
-
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
#endif
+class SvXMLImport;
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace uno { template<class A> class Reference; }
+ namespace xml { namespace sax { class XAttributeList; } }
+ namespace uno { class Any; }
+} } }
+namespace rtl { class OUString; }
-class SvXMLNamespaceMap;
-class SvXMLAttributeList;
-class SvXMLUnitConverter;
-class XMLGradientStyle
+class XMLGradientStyleImport
{
-public:
- XMLGradientStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > * _pHandler,
- const SvXMLNamespaceMap& _rNamespaceMap, const SvXMLUnitConverter& _rUnitConverter );
- ~XMLGradientStyle();
+ SvXMLImport& rImport;
- sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool importXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+public:
+ XMLGradientStyleImport( SvXMLImport& rImport );
+ ~XMLGradientStyleImport();
-private:
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > * mpHandler;
- const SvXMLNamespaceMap& mrNamespaceMap;
- const SvXMLUnitConverter& mrUnitConverter;
+ sal_Bool importXML(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
+ ::com::sun::star::uno::Any& rValue,
+ ::rtl::OUString& rStrName );
+};
- SvXMLAttributeList *mpAttrList;
- sal_Bool ImpExportXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLNamespaceMap& rNamespaceMap, const SvXMLUnitConverter& rUnitConverter,
- const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool ImpImportXML( const SvXMLUnitConverter& rUnitConverter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLGradientStyleExport
+{
+ SvXMLExport& rExport;
- void AddAttribute( sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const ::rtl::OUString& rStrValue );
+public:
+ XMLGradientStyleExport( SvXMLExport& rExport );
+ ~XMLGradientStyleExport();
+ sal_Bool exportXML(
+ const ::rtl::OUString& rStrName,
+ const ::com::sun::star::uno::Any& rValue );
};
#endif // _XMLOFF_GRADIENTSTYLE_HXX
diff --git a/xmloff/inc/HatchStyle.hxx b/xmloff/inc/HatchStyle.hxx
index 236dcd822f80..489b8b06400a 100644
--- a/xmloff/inc/HatchStyle.hxx
+++ b/xmloff/inc/HatchStyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: HatchStyle.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,46 +62,44 @@
#ifndef _XMLOFF_HATCHSTYLE_HXX
#define _XMLOFF_HATCHSTYLE_HXX
-#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
#endif
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
-#endif
-
-class SvXMLNamespaceMap;
-class SvXMLAttributeList;
-class SvXMLUnitConverter;
+class SvXMLImport;
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace uno { template<class A> class Reference; }
+ namespace xml { namespace sax { class XAttributeList; } }
+ namespace uno { class Any; }
+} } }
+namespace rtl { class OUString; }
-namespace com { namespace sun { namespace star { namespace rtl { class OUString; } } } }
-class XMLHatchStyle
+class XMLHatchStyleImport
{
-public:
- XMLHatchStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & _rHandler,
- const SvXMLNamespaceMap& _rNamespaceMap, const SvXMLUnitConverter& _rUnitConverter );
- ~XMLHatchStyle();
-
- sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool importXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+ SvXMLImport& rImport;
-private:
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler;
- const SvXMLNamespaceMap& mrNamespaceMap;
- const SvXMLUnitConverter& rUnitConverter;
+public:
+ XMLHatchStyleImport( SvXMLImport& rImport );
+ ~XMLHatchStyleImport();
- SvXMLAttributeList *pAttrList;
+ sal_Bool importXML(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList>& xAttrList,
+ ::com::sun::star::uno::Any& rValue,
+ ::rtl::OUString& rStrName );
+};
- sal_Bool ImpExportXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLNamespaceMap& rNamespaceMap, const SvXMLUnitConverter& rUnitConverter,
- const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool ImpImportXML( const SvXMLUnitConverter& rUnitConverter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLHatchStyleExport
+{
+ SvXMLExport& rExport;
- void AddAttribute( sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const ::rtl::OUString& rStrValue );
+public:
+ XMLHatchStyleExport( SvXMLExport& rExport );
+ ~XMLHatchStyleExport();
+ sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
};
#endif // _XMLOFF_HATCHELEMENT_HXX
diff --git a/xmloff/inc/MarkerStyle.hxx b/xmloff/inc/MarkerStyle.hxx
index 1f83e854d9aa..003317653aec 100644
--- a/xmloff/inc/MarkerStyle.hxx
+++ b/xmloff/inc/MarkerStyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: MarkerStyle.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,44 +62,47 @@
#ifndef _XMLOFF_MARKERSTYLE_HXX
#define _XMLOFF_MARKERSTYLE_HXX
-#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#endif
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
#endif
-class SvXMLNamespaceMap;
-class SvXMLAttributeList;
-class SvXMLUnitConverter;
+class SvXMLImport;
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace uno { template<class A> class Reference; }
+ namespace xml { namespace sax { class XAttributeList; } }
+ namespace uno { class Any; }
+} } }
+namespace rtl { class OUString; }
-class XMLMarkerStyle
-{
-public:
- XMLMarkerStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & _rHandler,
- const SvXMLNamespaceMap& _rNamespaceMap, const SvXMLUnitConverter& _rUnitConverter );
- ~XMLMarkerStyle();
- sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool importXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLMarkerStyleImport
+{
+ SvXMLImport& rImport;
-private:
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler;
- const SvXMLNamespaceMap& mrNamespaceMap;
- const SvXMLUnitConverter& rUnitConverter;
+public:
+ XMLMarkerStyleImport( SvXMLImport& rImport );
+ ~XMLMarkerStyleImport();
- SvXMLAttributeList *pAttrList;
+ sal_Bool importXML(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
+ ::com::sun::star::uno::Any& rValue,
+ ::rtl::OUString& rStrName );
+};
- sal_Bool ImpExportXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLNamespaceMap& rNamespaceMap, const SvXMLUnitConverter& rUnitConverter,
- const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool ImpImportXML( const SvXMLUnitConverter& rUnitConverter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLMarkerStyleExport
+{
+ SvXMLExport& rExport;
- void AddAttribute( sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const ::rtl::OUString& rStrValue );
+public:
+ XMLMarkerStyleExport( SvXMLExport& rExport );
+ ~XMLMarkerStyleExport();
+ sal_Bool exportXML(
+ const ::rtl::OUString& rStrName,
+ const ::com::sun::star::uno::Any& rValue );
};
#endif // _XMLOFF_MARKERSTYLE_HXX
diff --git a/xmloff/inc/TransGradientStyle.hxx b/xmloff/inc/TransGradientStyle.hxx
index e8f0fc078d06..510ce58b4df5 100644
--- a/xmloff/inc/TransGradientStyle.hxx
+++ b/xmloff/inc/TransGradientStyle.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: TransGradientStyle.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,44 +62,45 @@
#ifndef _XMLOFF_TRANSGRADIENTSTYLE_HXX
#define _XMLOFF_TRANSGRADIENTSTYLE_HXX
-#ifndef _COM_SUN_STAR_XML_SAX_XDOCUMENTHANDLER_HPP_
-#include <com/sun/star/xml/sax/XDocumentHandler.hpp>
-#endif
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
+
+#ifndef _SAL_TYPES_H_
+#include <sal/types.h>
#endif
+class SvXMLImport;
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace uno { template<class A> class Reference; }
+ namespace xml { namespace sax { class XAttributeList; } }
+ namespace uno { class Any; }
+} } }
+namespace rtl { class OUString; }
-class SvXMLNamespaceMap;
-class SvXMLAttributeList;
-class SvXMLUnitConverter;
-class XMLTransGradientStyle
+class XMLTransGradientStyleImport
{
-public:
- XMLTransGradientStyle( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & _rHandler,
- const SvXMLNamespaceMap& _rNamespaceMap, const SvXMLUnitConverter& _rUnitConverter );
- ~XMLTransGradientStyle();
-
- sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool importXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList, ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+ SvXMLImport& rImport;
-private:
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler;
- const SvXMLNamespaceMap& mrNamespaceMap;
- const SvXMLUnitConverter& rUnitConverter;
+public:
+ XMLTransGradientStyleImport( SvXMLImport& rImport );
+ ~XMLTransGradientStyleImport();
- SvXMLAttributeList *pAttrList;
+ sal_Bool importXML(
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
+ ::com::sun::star::uno::Any& rValue,
+ ::rtl::OUString& rStrName );
+};
- sal_Bool ImpExportXML( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLNamespaceMap& rNamespaceMap, const SvXMLUnitConverter& rUnitConverter,
- const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
- sal_Bool ImpImportXML( const SvXMLUnitConverter& rUnitConverter,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
- ::com::sun::star::uno::Any& rValue, ::rtl::OUString& rStrName );
+class XMLTransGradientStyleExport
+{
+ SvXMLExport& rExport;
- void AddAttribute( sal_uInt16 nPrefix, enum ::xmloff::token::XMLTokenEnum eName, const ::rtl::OUString& rStrValue );
+public:
+ XMLTransGradientStyleExport( SvXMLExport& rExport );
+ ~XMLTransGradientStyleExport();
+ sal_Bool exportXML( const ::rtl::OUString& rStrName, const ::com::sun::star::uno::Any& rValue );
};
#endif // _XMLOFF_TRANSGRADIENTSTYLE_HXX
diff --git a/xmloff/inc/xmltabe.hxx b/xmloff/inc/xmltabe.hxx
index 2cda9ff108b6..1b08241b72eb 100644
--- a/xmloff/inc/xmltabe.hxx
+++ b/xmloff/inc/xmltabe.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xmltabe.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: dvo $ $Date: 2001-06-29 21:07:26 $
+ * last change: $Author: dvo $ $Date: 2001-10-19 18:43:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -62,66 +62,28 @@
#ifndef _XMLOFF_XMLTABE_HXX
#define _XMLOFF_XMLTABE_HXX
-#ifndef _RTL_USTRING_HXX_
-#include <rtl/ustring.hxx>
-#endif
-#ifndef _VCL_MAPUNIT_HXX
-#include <vcl/mapunit.hxx>
-#endif
+class SvXMLExport;
+namespace com { namespace sun { namespace star {
+ namespace style { struct TabStop; }
+ namespace uno { class Any; }
+} } }
-#ifndef _XMLOFF_ATTRLIST_HXX
-#include "attrlist.hxx"
-#endif
-
-#ifndef _XMLOFF_XMLTOKEN_HXX
-#include "xmltoken.hxx"
-#endif
-
-class SvXMLNamespaceMap;
-class SvXMLUnitConverter;
-
-#ifndef _COM_SUN_STAR_STYLE_TABSTOP_HPP_
-#include <com/sun/star/style/TabStop.hpp>
-#endif
class SvxXMLTabStopExport
{
- const ::rtl::OUString msCDATA;
- const ::rtl::OUString msWS;
-
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > mxHandler; // the handlers
-
- SvXMLAttributeList *mpAttrList; // a common attribute list
- ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > mxAttrList; // and an interface of it
-
- const SvXMLNamespaceMap *mpNamespaceMap; // the namepspace map
- const SvXMLUnitConverter& mrUnitConv;
+ SvXMLExport& rExport; // for access to document handler
protected:
- // Check if common attribute list is empty.
-#ifdef PRODUCT
- void CheckAttrList() {}
-#else
- void CheckAttrList();
-#endif
- void ClearAttrList();
- void AddAttribute( sal_uInt16 nPrefixKey,
- enum ::xmloff::token::XMLTokenEnum eName,
- const ::rtl::OUString& rValue );
- ::rtl::OUString GetQNameByKey( sal_uInt16 nKey,
- const ::rtl::OUString& rLocalName ) const;
-
void exportTabStop( const ::com::sun::star::style::TabStop* pTabStop );
public:
- SvxXMLTabStopExport( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XDocumentHandler > & rHandler,
- const SvXMLUnitConverter& rUnitConverter );
+ SvxXMLTabStopExport( SvXMLExport& rExport );
virtual ~SvxXMLTabStopExport();
// core API
- void Export( const ::com::sun::star::uno::Any& rAny, const SvXMLNamespaceMap& rNamespMap );
+ void Export( const ::com::sun::star::uno::Any& rAny );
};