summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/excrecds.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/excrecds.hxx')
-rw-r--r--sc/source/filter/inc/excrecds.hxx122
1 files changed, 61 insertions, 61 deletions
diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx
index a450fb00f368..dfd2e5683198 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.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
@@ -72,14 +72,14 @@ class ExcTable;
class ExcRecord : public XclExpRecord
{
public:
- virtual void Save( XclExpStream& rStrm );
- virtual void SaveXml( XclExpXmlStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
+ virtual void SaveXml( XclExpXmlStream& rStrm );
- virtual UINT16 GetNum() const = 0;
+ virtual UINT16 GetNum() const = 0;
virtual sal_Size GetLen() const = 0;
protected:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
private:
/** Writes the body of the record. */
@@ -94,8 +94,8 @@ class ExcEmptyRec : public ExcRecord
private:
protected:
public:
- virtual void Save( XclExpStream& rStrm );
- virtual UINT16 GetNum() const;
+ virtual void Save( XclExpStream& rStrm );
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -107,17 +107,17 @@ class ExcRecordList : protected List, public ExcEmptyRec
private:
protected:
public:
- virtual ~ExcRecordList();
+ virtual ~ExcRecordList();
using List::Count;
- inline ExcRecord* First( void ) { return ( ExcRecord* ) List::First(); }
- inline ExcRecord* Next( void ) { return ( ExcRecord* ) List::Next(); }
+ inline ExcRecord* First( void ) { return ( ExcRecord* ) List::First(); }
+ inline ExcRecord* Next( void ) { return ( ExcRecord* ) List::Next(); }
- inline void Append( ExcRecord* pNew ) { if( pNew ) List::Insert( pNew, LIST_APPEND ); }
- inline const ExcRecord* Get( UINT32 nNum ) const { return ( ExcRecord* ) List::GetObject( nNum ); }
+ inline void Append( ExcRecord* pNew ) { if( pNew ) List::Insert( pNew, LIST_APPEND ); }
+ inline const ExcRecord* Get( UINT32 nNum ) const { return ( ExcRecord* ) List::GetObject( nNum ); }
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
@@ -127,9 +127,9 @@ class ExcDummyRec : public ExcRecord
{
protected:
public:
- virtual void Save( XclExpStream& rStrm );
- virtual UINT16 GetNum() const;
- virtual const BYTE* GetData() const = 0; // byte data must contain header and body
+ virtual void Save( XclExpStream& rStrm );
+ virtual UINT16 GetNum() const;
+ virtual const BYTE* GetData() const = 0; // byte data must contain header and body
};
@@ -139,15 +139,15 @@ public:
class ExcBoolRecord : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
protected:
- BOOL bVal;
+ BOOL bVal;
- inline ExcBoolRecord() : bVal( FALSE ) {}
+ inline ExcBoolRecord() : bVal( FALSE ) {}
public:
- inline ExcBoolRecord( const BOOL bDefault ) : bVal( bDefault ) {}
+ inline ExcBoolRecord( const BOOL bDefault ) : bVal( bDefault ) {}
virtual sal_Size GetLen( void ) const;
};
@@ -159,10 +159,10 @@ class ExcBof_Base : public ExcRecord
{
private:
protected:
- UINT16 nDocType;
- UINT16 nVers;
- UINT16 nRupBuild;
- UINT16 nRupYear;
+ UINT16 nDocType;
+ UINT16 nVers;
+ UINT16 nRupBuild;
+ UINT16 nRupYear;
public:
ExcBof_Base( void );
};
@@ -174,11 +174,11 @@ public:
class ExcBof : public ExcBof_Base
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBof( void );
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual sal_Size GetLen( void ) const;
};
@@ -189,11 +189,11 @@ public:
class ExcBofW : public ExcBof_Base
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBofW( void );
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual sal_Size GetLen( void ) const;
};
@@ -204,7 +204,7 @@ class ExcEof : public ExcRecord
{
private:
public:
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual sal_Size GetLen( void ) const;
};
@@ -215,15 +215,15 @@ public:
class ExcDummy_00 : public ExcDummyRec
{
private:
- static const BYTE pMyData[];
+ static const BYTE pMyData[];
static const sal_Size nMyLen;
public:
virtual sal_Size GetLen( void ) const;
- virtual const BYTE* GetData( void ) const;
+ virtual const BYTE* GetData( void ) const;
};
// EXC_ID_WINDOWPROTECTION
-class XclExpWindowProtection : public XclExpBoolRecord
+class XclExpWindowProtection : public XclExpBoolRecord
{
public:
XclExpWindowProtection(bool bValue);
@@ -232,7 +232,7 @@ class XclExpWindowProtection : public XclExpBoolRecord
};
// EXC_ID_PROTECT Document Protection
-class XclExpProtection : public XclExpBoolRecord
+class XclExpProtection : public XclExpBoolRecord
{
public:
XclExpProtection(bool bValue);
@@ -258,11 +258,11 @@ private:
class ExcDummy_040 : public ExcDummyRec
{
private:
- static const BYTE pMyData[];
+ static const BYTE pMyData[];
static const sal_Size nMyLen;
public:
virtual sal_Size GetLen( void ) const;
- virtual const BYTE* GetData( void ) const;
+ virtual const BYTE* GetData( void ) const;
};
@@ -270,11 +270,11 @@ public:
class ExcDummy_041 : public ExcDummyRec
{
private:
- static const BYTE pMyData[];
+ static const BYTE pMyData[];
static const sal_Size nMyLen;
public:
virtual sal_Size GetLen( void ) const;
- virtual const BYTE* GetData( void ) const;
+ virtual const BYTE* GetData( void ) const;
};
@@ -284,7 +284,7 @@ class Exc1904 : public ExcBoolRecord
{
public:
Exc1904( ScDocument& rDoc );
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual void SaveXml( XclExpXmlStream& rStrm );
private:
@@ -299,7 +299,7 @@ class ExcBundlesheetBase : public ExcRecord
protected:
sal_Size nStrPos;
sal_Size nOwnPos; // Position NACH # und Len
- UINT16 nGrbit;
+ UINT16 nGrbit;
SCTAB nTab;
ExcBundlesheetBase();
@@ -308,9 +308,9 @@ public:
ExcBundlesheetBase( RootData& rRootData, SCTAB nTab );
inline void SetStreamPos( sal_Size nNewStrPos ) { nStrPos = nNewStrPos; }
- void UpdateStreamPos( XclExpStream& rStrm );
+ void UpdateStreamPos( XclExpStream& rStrm );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
};
@@ -318,9 +318,9 @@ public:
class ExcBundlesheet : public ExcBundlesheetBase
{
private:
- ByteString aName;
+ ByteString aName;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBundlesheet( RootData& rRootData, SCTAB nTab );
@@ -333,11 +333,11 @@ public:
class ExcDummy_02a : public ExcDummyRec
{
private:
- static const BYTE pMyData[];
+ static const BYTE pMyData[];
static const sal_Size nMyLen;
public:
virtual sal_Size GetLen( void ) const;
- virtual const BYTE* GetData( void ) const;
+ virtual const BYTE* GetData( void ) const;
};
@@ -399,9 +399,9 @@ private:
class ExcFilterCondition
{
private:
- UINT8 nType;
- UINT8 nOper;
- double fVal;
+ UINT8 nType;
+ UINT8 nOper;
+ double fVal;
XclExpString* pText;
protected:
@@ -409,15 +409,15 @@ public:
ExcFilterCondition();
~ExcFilterCondition();
- inline BOOL IsEmpty() const { return (nType == EXC_AFTYPE_NOTUSED); }
- inline BOOL HasEqual() const { return (nOper == EXC_AFOPER_EQUAL); }
- ULONG GetTextBytes() const;
+ inline BOOL IsEmpty() const { return (nType == EXC_AFTYPE_NOTUSED); }
+ inline BOOL HasEqual() const { return (nOper == EXC_AFOPER_EQUAL); }
+ ULONG GetTextBytes() const;
- void SetCondition( UINT8 nTp, UINT8 nOp, double fV, String* pT );
+ void SetCondition( UINT8 nTp, UINT8 nOp, double fV, String* pT );
- void Save( XclExpStream& rStrm );
- void SaveXml( XclExpXmlStream& rStrm );
- void SaveText( XclExpStream& rStrm );
+ void Save( XclExpStream& rStrm );
+ void SaveXml( XclExpXmlStream& rStrm );
+ void SaveText( XclExpStream& rStrm );
};
// ----------------------------------------------------------------------------
@@ -425,11 +425,11 @@ public:
class XclExpAutofilter : public XclExpRecord, protected XclExpRoot
{
private:
- UINT16 nCol;
- UINT16 nFlags;
- ExcFilterCondition aCond[ 2 ];
+ UINT16 nCol;
+ UINT16 nFlags;
+ ExcFilterCondition aCond[ 2 ];
- BOOL AddCondition( ScQueryConnect eConn, UINT8 nType,
+ BOOL AddCondition( ScQueryConnect eConn, UINT8 nType,
UINT8 nOp, double fVal, String* pText,
BOOL bSimple = FALSE );
@@ -439,8 +439,8 @@ protected:
public:
XclExpAutofilter( const XclExpRoot& rRoot, UINT16 nC );
- inline UINT16 GetCol() const { return nCol; }
- inline BOOL HasCondition() const { return !aCond[ 0 ].IsEmpty(); }
+ inline UINT16 GetCol() const { return nCol; }
+ inline BOOL HasCondition() const { return !aCond[ 0 ].IsEmpty(); }
inline BOOL HasTop10() const { return ::get_flag( nFlags, EXC_AFFLAG_TOP10 ); }
BOOL AddEntry( const ScQueryEntry& rEntry );