summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLDetectiveContext.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLDetectiveContext.hxx')
-rw-r--r--sc/source/filter/xml/XMLDetectiveContext.hxx72
1 files changed, 36 insertions, 36 deletions
diff --git a/sc/source/filter/xml/XMLDetectiveContext.hxx b/sc/source/filter/xml/XMLDetectiveContext.hxx
index 4e2d6b402574..67be1637ba01 100644
--- a/sc/source/filter/xml/XMLDetectiveContext.hxx
+++ b/sc/source/filter/xml/XMLDetectiveContext.hxx
@@ -2,7 +2,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -43,9 +43,9 @@ class ScXMLImport;
struct ScMyImpDetectiveObj
{
- ScRange aSourceRange;
- ScDetectiveObjType eObjType;
- sal_Bool bHasError;
+ ScRange aSourceRange;
+ ScDetectiveObjType eObjType;
+ sal_Bool bHasError;
ScMyImpDetectiveObj();
};
@@ -57,12 +57,12 @@ typedef ::std::vector< ScMyImpDetectiveObj > ScMyImpDetectiveObjVec;
struct ScMyImpDetectiveOp
{
- ScAddress aPosition;
- ScDetOpType eOpType;
- sal_Int32 nIndex;
+ ScAddress aPosition;
+ ScDetOpType eOpType;
+ sal_Int32 nIndex;
- inline ScMyImpDetectiveOp() : nIndex( -1 ) {}
- sal_Bool operator<(const ScMyImpDetectiveOp& rDetOp) const;
+ inline ScMyImpDetectiveOp() : nIndex( -1 ) {}
+ sal_Bool operator<(const ScMyImpDetectiveOp& rDetOp) const;
};
typedef ::std::list< ScMyImpDetectiveOp > ScMyImpDetectiveOpList;
@@ -70,17 +70,17 @@ typedef ::std::list< ScMyImpDetectiveOp > ScMyImpDetectiveOpList;
class ScMyImpDetectiveOpArray
{
private:
- ScMyImpDetectiveOpList aDetectiveOpList;
+ ScMyImpDetectiveOpList aDetectiveOpList;
public:
- inline ScMyImpDetectiveOpArray() :
- aDetectiveOpList() {}
+ inline ScMyImpDetectiveOpArray() :
+ aDetectiveOpList() {}
- inline void AddDetectiveOp( const ScMyImpDetectiveOp& rDetOp )
+ inline void AddDetectiveOp( const ScMyImpDetectiveOp& rDetOp )
{ aDetectiveOpList.push_back( rDetOp ); }
- void Sort();
- sal_Bool GetFirstOp( ScMyImpDetectiveOp& rDetOp );
+ void Sort();
+ sal_Bool GetFirstOp( ScMyImpDetectiveOp& rDetOp );
};
@@ -89,10 +89,10 @@ public:
class ScXMLDetectiveContext : public SvXMLImportContext
{
private:
- ScMyImpDetectiveObjVec* pDetectiveObjVec;
+ ScMyImpDetectiveObjVec* pDetectiveObjVec;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
+ ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
ScXMLDetectiveContext(
@@ -101,14 +101,14 @@ public:
const ::rtl::OUString& rLName,
ScMyImpDetectiveObjVec* pNewDetectiveObjVec
);
- virtual ~ScXMLDetectiveContext();
+ virtual ~ScXMLDetectiveContext();
- virtual SvXMLImportContext* CreateChildContext(
+ virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const ::rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList
);
- virtual void EndElement();
+ virtual void EndElement();
};
@@ -117,12 +117,12 @@ public:
class ScXMLDetectiveHighlightedContext : public SvXMLImportContext
{
private:
- ScMyImpDetectiveObjVec* pDetectiveObjVec;
- ScMyImpDetectiveObj aDetectiveObj;
- sal_Bool bValid;
+ ScMyImpDetectiveObjVec* pDetectiveObjVec;
+ ScMyImpDetectiveObj aDetectiveObj;
+ sal_Bool bValid;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
+ ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
ScXMLDetectiveHighlightedContext(
@@ -132,14 +132,14 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList,
ScMyImpDetectiveObjVec* pNewDetectiveObjVec
);
- virtual ~ScXMLDetectiveHighlightedContext();
+ virtual ~ScXMLDetectiveHighlightedContext();
- virtual SvXMLImportContext* CreateChildContext(
+ virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const ::rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList
);
- virtual void EndElement();
+ virtual void EndElement();
};
@@ -148,11 +148,11 @@ public:
class ScXMLDetectiveOperationContext : public SvXMLImportContext
{
private:
- ScMyImpDetectiveOp aDetectiveOp;
- sal_Bool bHasType;
+ ScMyImpDetectiveOp aDetectiveOp;
+ sal_Bool bHasType;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
- ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
+ const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
+ ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
ScXMLDetectiveOperationContext(
@@ -161,14 +161,14 @@ public:
const ::rtl::OUString& rLName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList
);
- virtual ~ScXMLDetectiveOperationContext();
+ virtual ~ScXMLDetectiveOperationContext();
- virtual SvXMLImportContext* CreateChildContext(
+ virtual SvXMLImportContext* CreateChildContext(
USHORT nPrefix,
const ::rtl::OUString& rLocalName,
const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList
);
- virtual void EndElement();
+ virtual void EndElement();
};