summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc')
-rw-r--r--sc/source/filter/inc/XclExpChangeTrack.hxx320
-rw-r--r--sc/source/filter/inc/XclImpChangeTrack.hxx86
-rw-r--r--sc/source/filter/inc/biff.hxx12
-rw-r--r--sc/source/filter/inc/colrowst.hxx2
-rw-r--r--sc/source/filter/inc/decl.h2
-rw-r--r--sc/source/filter/inc/dif.hxx96
-rw-r--r--sc/source/filter/inc/eeimport.hxx2
-rw-r--r--sc/source/filter/inc/eeparser.hxx84
-rw-r--r--sc/source/filter/inc/excdefs.hxx52
-rw-r--r--sc/source/filter/inc/excdoc.hxx22
-rw-r--r--sc/source/filter/inc/excform.hxx32
-rw-r--r--sc/source/filter/inc/excimp8.hxx90
-rw-r--r--sc/source/filter/inc/excrecds.hxx120
-rw-r--r--sc/source/filter/inc/excscen.hxx44
-rw-r--r--sc/source/filter/inc/exp_op.hxx76
-rw-r--r--sc/source/filter/inc/expbase.hxx24
-rw-r--r--sc/source/filter/inc/fapihelper.hxx2
-rw-r--r--sc/source/filter/inc/filt_pch.hxx10
-rw-r--r--sc/source/filter/inc/fkttab.h2
-rw-r--r--sc/source/filter/inc/flttypes.hxx2
-rw-r--r--sc/source/filter/inc/formel.hxx96
-rw-r--r--sc/source/filter/inc/fprogressbar.hxx2
-rw-r--r--sc/source/filter/inc/ftools.hxx12
-rw-r--r--sc/source/filter/inc/funktion.h32
-rw-r--r--sc/source/filter/inc/htmlexp.hxx110
-rw-r--r--sc/source/filter/inc/htmlimp.hxx8
-rw-r--r--sc/source/filter/inc/htmlpars.hxx120
-rw-r--r--sc/source/filter/inc/imp_op.hxx114
-rw-r--r--sc/source/filter/inc/lotattr.hxx68
-rw-r--r--sc/source/filter/inc/lotfntbf.hxx40
-rw-r--r--sc/source/filter/inc/lotform.hxx90
-rw-r--r--sc/source/filter/inc/lotimpop.hxx76
-rw-r--r--sc/source/filter/inc/lotrange.hxx54
-rw-r--r--sc/source/filter/inc/namebuff.hxx116
-rw-r--r--sc/source/filter/inc/op.h10
-rw-r--r--sc/source/filter/inc/optab.h10
-rw-r--r--sc/source/filter/inc/otlnbuff.hxx32
-rw-r--r--sc/source/filter/inc/qpro.hxx2
-rw-r--r--sc/source/filter/inc/qproform.hxx44
-rw-r--r--sc/source/filter/inc/qprostyle.hxx2
-rw-r--r--sc/source/filter/inc/root.hxx40
-rw-r--r--sc/source/filter/inc/rtfexp.hxx16
-rw-r--r--sc/source/filter/inc/rtfimp.hxx2
-rw-r--r--sc/source/filter/inc/rtfparse.hxx44
-rw-r--r--sc/source/filter/inc/scflt.hxx842
-rw-r--r--sc/source/filter/inc/scfobj.hxx2
-rw-r--r--sc/source/filter/inc/scmem.h2
-rw-r--r--sc/source/filter/inc/tokstack.hxx198
-rw-r--r--sc/source/filter/inc/tool.h62
-rw-r--r--sc/source/filter/inc/xcl97dum.hxx2
-rw-r--r--sc/source/filter/inc/xcl97esc.hxx14
-rw-r--r--sc/source/filter/inc/xcl97rec.hxx126
-rw-r--r--sc/source/filter/inc/xechart.hxx2
-rw-r--r--sc/source/filter/inc/xecontent.hxx2
-rw-r--r--sc/source/filter/inc/xeescher.hxx2
-rw-r--r--sc/source/filter/inc/xeformula.hxx2
-rw-r--r--sc/source/filter/inc/xehelper.hxx2
-rw-r--r--sc/source/filter/inc/xename.hxx2
-rw-r--r--sc/source/filter/inc/xepage.hxx2
-rw-r--r--sc/source/filter/inc/xepivot.hxx2
-rw-r--r--sc/source/filter/inc/xerecord.hxx2
-rw-r--r--sc/source/filter/inc/xestream.hxx2
-rw-r--r--sc/source/filter/inc/xestring.hxx4
-rw-r--r--sc/source/filter/inc/xestyle.hxx2
-rw-r--r--sc/source/filter/inc/xetable.hxx8
-rw-r--r--sc/source/filter/inc/xeview.hxx2
-rw-r--r--sc/source/filter/inc/xichart.hxx2
-rw-r--r--sc/source/filter/inc/xicontent.hxx2
-rw-r--r--sc/source/filter/inc/xiescher.hxx2
-rw-r--r--sc/source/filter/inc/xiformula.hxx12
-rw-r--r--sc/source/filter/inc/xilink.hxx2
-rw-r--r--sc/source/filter/inc/xiname.hxx2
-rw-r--r--sc/source/filter/inc/xipage.hxx2
-rw-r--r--sc/source/filter/inc/xipivot.hxx2
-rw-r--r--sc/source/filter/inc/xiroot.hxx2
-rw-r--r--sc/source/filter/inc/xistream.hxx2
-rw-r--r--sc/source/filter/inc/xistring.hxx2
-rw-r--r--sc/source/filter/inc/xistyle.hxx2
-rw-r--r--sc/source/filter/inc/xiview.hxx2
-rw-r--r--sc/source/filter/inc/xladdress.hxx2
-rwxr-xr-xsc/source/filter/inc/xlchart.hxx4
-rw-r--r--sc/source/filter/inc/xlconst.hxx2
-rw-r--r--sc/source/filter/inc/xlcontent.hxx2
-rw-r--r--sc/source/filter/inc/xlescher.hxx2
-rw-r--r--sc/source/filter/inc/xlformula.hxx2
-rw-r--r--sc/source/filter/inc/xllink.hxx2
-rw-r--r--sc/source/filter/inc/xlname.hxx2
-rw-r--r--sc/source/filter/inc/xlpage.hxx2
-rw-r--r--sc/source/filter/inc/xlpivot.hxx4
-rw-r--r--sc/source/filter/inc/xlroot.hxx2
-rw-r--r--sc/source/filter/inc/xlstream.hxx2
-rw-r--r--sc/source/filter/inc/xlstring.hxx2
-rw-r--r--sc/source/filter/inc/xlstyle.hxx2
-rw-r--r--sc/source/filter/inc/xltable.hxx2
-rw-r--r--sc/source/filter/inc/xltools.hxx4
-rw-r--r--sc/source/filter/inc/xltracer.hxx2
-rw-r--r--sc/source/filter/inc/xlview.hxx6
97 files changed, 1793 insertions, 1793 deletions
diff --git a/sc/source/filter/inc/XclExpChangeTrack.hxx b/sc/source/filter/inc/XclExpChangeTrack.hxx
index 01eb076f6b3d..24b723ef9a20 100644
--- a/sc/source/filter/inc/XclExpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclExpChangeTrack.hxx
@@ -1,7 +1,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
@@ -48,16 +48,16 @@ class XclExpUserBView : public ExcRecord
{
private:
XclExpString sUsername;
- sal_uInt8 aGUID[ 16 ];
+ sal_uInt8 aGUID[ 16 ];
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclExpUserBView( const String& rUsername, const sal_uInt8* pGUID );
- inline const sal_uInt8* GetGUID() const { return aGUID; }
+ inline const sal_uInt8* GetGUID() const { return aGUID; }
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -67,17 +67,17 @@ public:
class XclExpUserBViewList : public ExcEmptyRec, private List
{
private:
- inline XclExpUserBView* _First() { return (XclExpUserBView*) List::First(); }
- inline XclExpUserBView* _Next() { return (XclExpUserBView*) List::Next(); }
+ inline XclExpUserBView* _First() { return (XclExpUserBView*) List::First(); }
+ inline XclExpUserBView* _Next() { return (XclExpUserBView*) List::Next(); }
public:
XclExpUserBViewList( const ScChangeTrack& rChangeTrack );
- virtual ~XclExpUserBViewList();
+ virtual ~XclExpUserBViewList();
- inline const XclExpUserBView* First() { return (const XclExpUserBView*) List::First(); }
- inline const XclExpUserBView* Next() { return (const XclExpUserBView*) List::Next(); }
+ inline const XclExpUserBView* First() { return (const XclExpUserBView*) List::First(); }
+ inline const XclExpUserBView* Next() { return (const XclExpUserBView*) List::Next(); }
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
//___________________________________________________________________
@@ -86,14 +86,14 @@ public:
class XclExpUsersViewBegin : public ExcRecord
{
private:
- sal_uInt8 aGUID[ 16 ];
- sal_uInt32 nCurrTab;
+ sal_uInt8 aGUID[ 16 ];
+ sal_uInt32 nCurrTab;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclExpUsersViewBegin( const sal_uInt8* pGUID, sal_uInt32 nTab );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -103,10 +103,10 @@ public:
class XclExpUsersViewEnd : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -116,10 +116,10 @@ public:
class XclExpChTr0x0191 : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -129,10 +129,10 @@ public:
class XclExpChTr0x0198 : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -142,10 +142,10 @@ public:
class XclExpChTr0x0192 : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -155,10 +155,10 @@ public:
class XclExpChTr0x0197 : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -168,13 +168,13 @@ public:
class XclExpChTrEmpty : public ExcRecord
{
private:
- UINT16 nRecNum;
+ UINT16 nRecNum;
public:
- inline XclExpChTrEmpty( UINT16 nNum ) : nRecNum( nNum ) {}
- virtual ~XclExpChTrEmpty();
+ inline XclExpChTrEmpty( UINT16 nNum ) : nRecNum( nNum ) {}
+ virtual ~XclExpChTrEmpty();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -184,12 +184,12 @@ public:
class XclExpChTr0x0195 : public ExcRecord
{
private:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- virtual ~XclExpChTr0x0195();
+ virtual ~XclExpChTr0x0195();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -200,15 +200,15 @@ class XclExpChTr0x0194 : public ExcRecord
{
private:
XclExpString sUsername;
- DateTime aDateTime;
+ DateTime aDateTime;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- inline XclExpChTr0x0194( const ScChangeTrack& rChangeTrack );
- virtual ~XclExpChTr0x0194();
+ inline XclExpChTr0x0194( const ScChangeTrack& rChangeTrack );
+ virtual ~XclExpChTr0x0194();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -224,19 +224,19 @@ inline XclExpChTr0x0194::XclExpChTr0x0194( const ScChangeTrack& rChangeTrack ) :
class XclExpChTrHeader : public ExcRecord
{
private:
- sal_uInt8 aGUID[ 16 ];
- sal_uInt32 nCount;
+ sal_uInt8 aGUID[ 16 ];
+ sal_uInt32 nCount;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- inline XclExpChTrHeader() : nCount( 0 ) {}
- virtual ~XclExpChTrHeader();
+ inline XclExpChTrHeader() : nCount( 0 ) {}
+ virtual ~XclExpChTrHeader();
- inline void SetGUID( const sal_uInt8* pGUID ) { memcpy( aGUID, pGUID, 16 ); }
- inline void SetCount( sal_uInt32 nNew ) { nCount = nNew; }
+ inline void SetGUID( const sal_uInt8* pGUID ) { memcpy( aGUID, pGUID, 16 ); }
+ inline void SetCount( sal_uInt32 nNew ) { nCount = nNew; }
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -247,19 +247,19 @@ class XclExpChTrInfo : public ExcRecord
{
private:
XclExpString sUsername;
- DateTime aDateTime;
- sal_uInt8 aGUID[ 16 ];
+ DateTime aDateTime;
+ sal_uInt8 aGUID[ 16 ];
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- inline XclExpChTrInfo(
+ inline XclExpChTrInfo(
const String& rUsername,
const DateTime& rDateTime,
const sal_uInt8* pGUID );
- virtual ~XclExpChTrInfo();
+ virtual ~XclExpChTrInfo();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -276,25 +276,25 @@ inline XclExpChTrInfo::XclExpChTrInfo( const String& rUsername, const DateTime&
class XclExpChTrTabIdBuffer
{
private:
- sal_uInt16* pBuffer;
- sal_uInt16* pLast;
- sal_uInt16 nBufSize;
- sal_uInt16 nLastId;
+ sal_uInt16* pBuffer;
+ sal_uInt16* pLast;
+ sal_uInt16 nBufSize;
+ sal_uInt16 nLastId;
public:
XclExpChTrTabIdBuffer( sal_uInt16 nCount );
XclExpChTrTabIdBuffer( const XclExpChTrTabIdBuffer& rCopy );
~XclExpChTrTabIdBuffer();
- void InitFill( sal_uInt16 nIndex );
- void InitFillup();
+ void InitFill( sal_uInt16 nIndex );
+ void InitFillup();
- sal_uInt16 GetId( sal_uInt16 nIndex ) const;
- void Remove();
+ sal_uInt16 GetId( sal_uInt16 nIndex ) const;
+ void Remove();
- inline sal_uInt16 GetBufferCount() const
+ inline sal_uInt16 GetBufferCount() const
{ return static_cast< sal_uInt16 >( (pLast - pBuffer) + 1 ); }
- inline void GetBufferCopy( sal_uInt16* pDest ) const
+ inline void GetBufferCopy( sal_uInt16* pDest ) const
{ memcpy( pDest, pBuffer, sizeof(sal_uInt16) * GetBufferCount() ); }
};
@@ -304,13 +304,13 @@ public:
class XclExpChTrTabIdBufferList : private List
{
private:
- inline XclExpChTrTabIdBuffer* First() { return (XclExpChTrTabIdBuffer*) List::First(); }
- inline XclExpChTrTabIdBuffer* Next() { return (XclExpChTrTabIdBuffer*) List::Next(); }
+ inline XclExpChTrTabIdBuffer* First() { return (XclExpChTrTabIdBuffer*) List::First(); }
+ inline XclExpChTrTabIdBuffer* Next() { return (XclExpChTrTabIdBuffer*) List::Next(); }
public:
- virtual ~XclExpChTrTabIdBufferList();
+ virtual ~XclExpChTrTabIdBufferList();
- inline void Append( XclExpChTrTabIdBuffer* pNew )
+ inline void Append( XclExpChTrTabIdBuffer* pNew )
{ List::Insert( pNew, LIST_APPEND ); }
};
@@ -320,22 +320,22 @@ public:
class XclExpChTrTabId : public ExcRecord
{
private:
- sal_uInt16* pBuffer;
- sal_uInt16 nTabCount;
+ sal_uInt16* pBuffer;
+ sal_uInt16 nTabCount;
- inline void Clear() { if( pBuffer ) delete[] pBuffer; pBuffer = NULL; }
+ inline void Clear() { if( pBuffer ) delete[] pBuffer; pBuffer = NULL; }
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
- inline XclExpChTrTabId( sal_uInt16 nCount ) :
+ inline XclExpChTrTabId( sal_uInt16 nCount ) :
pBuffer( NULL ), nTabCount( nCount ) {}
XclExpChTrTabId( const XclExpChTrTabIdBuffer& rBuffer );
- virtual ~XclExpChTrTabId();
+ virtual ~XclExpChTrTabId();
- void Copy( const XclExpChTrTabIdBuffer& rBuffer );
+ void Copy( const XclExpChTrTabIdBuffer& rBuffer );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -345,44 +345,44 @@ public:
class XclExpChTrAction : public ExcRecord
{
private:
- String sUsername;
- DateTime aDateTime;
- sal_uInt32 nIndex; // action number
- XclExpChTrAction* pAddAction; // additional record for this action
- sal_Bool bAccepted;
+ String sUsername;
+ DateTime aDateTime;
+ sal_uInt32 nIndex; // action number
+ XclExpChTrAction* pAddAction; // additional record for this action
+ sal_Bool bAccepted;
protected:
const XclExpTabInfo& rTabInfo; // for table num export (sc num -> xcl num)
- const XclExpChTrTabIdBuffer& rIdBuffer; // for table num export (xcl num -> tab id)
- sal_uInt32 nLength; // this is not the record size
- sal_uInt16 nOpCode; // EXC_CHTR_OP_***
- sal_Bool bForceInfo;
+ const XclExpChTrTabIdBuffer& rIdBuffer; // for table num export (xcl num -> tab id)
+ sal_uInt32 nLength; // this is not the record size
+ sal_uInt16 nOpCode; // EXC_CHTR_OP_***
+ sal_Bool bForceInfo;
XclExpChTrAction( const XclExpChTrAction& rCopy );
- void SetAddAction( XclExpChTrAction* pAction );
- void AddDependentContents(
+ void SetAddAction( XclExpChTrAction* pAction );
+ void AddDependentContents(
const ScChangeAction& rAction,
const XclExpRoot& rRoot,
ScChangeTrack& rChangeTrack );
- inline void Write2DAddress( XclExpStream& rStrm, const ScAddress& rAddress ) const;
- inline void Write2DRange( XclExpStream& rStrm, const ScRange& rRange ) const;
- inline void WriteTabId( XclExpStream& rStrm, SCTAB nTabId ) const;
+ inline void Write2DAddress( XclExpStream& rStrm, const ScAddress& rAddress ) const;
+ inline void Write2DRange( XclExpStream& rStrm, const ScRange& rRange ) const;
+ inline void WriteTabId( XclExpStream& rStrm, SCTAB nTabId ) const;
// save header data, call SaveActionData()
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
inline sal_Size GetHeaderByteCount() const { return 12; }
// overload to save action data without header, called by SaveCont()
- virtual void SaveActionData( XclExpStream& rStrm ) const = 0;
+ virtual void SaveActionData( XclExpStream& rStrm ) const = 0;
// overload to get action size without header, called by GetLen()
virtual sal_Size GetActionByteCount() const = 0;
// do something before writing the record
- virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
+ virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
// do something after writing the record
- virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
+ virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
public:
XclExpChTrAction(
@@ -390,33 +390,33 @@ public:
const XclExpRoot& rRoot,
const XclExpChTrTabIdBuffer& rTabIdBuffer,
sal_uInt16 nNewOpCode = EXC_CHTR_OP_UNKNOWN );
- virtual ~XclExpChTrAction();
+ virtual ~XclExpChTrAction();
- inline const String& GetUsername() const { return sUsername; }
- inline const DateTime& GetDateTime() const { return aDateTime; }
- inline const XclExpChTrTabIdBuffer& GetTabIdBuffer() const { return rIdBuffer; }
- inline sal_Bool ForceInfoRecord() const { return bForceInfo; }
+ inline const String& GetUsername() const { return sUsername; }
+ inline const DateTime& GetDateTime() const { return aDateTime; }
+ inline const XclExpChTrTabIdBuffer& GetTabIdBuffer() const { return rIdBuffer; }
+ inline sal_Bool ForceInfoRecord() const { return bForceInfo; }
// set own index & return new index
// could be overloaded to use more indexes per action
- virtual void SetIndex( sal_uInt32& rIndex );
+ virtual void SetIndex( sal_uInt32& rIndex );
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
virtual sal_Size GetLen() const;
};
inline void XclExpChTrAction::Write2DAddress( XclExpStream& rStrm, const ScAddress& rAddress ) const
{
- rStrm << (sal_uInt16) rAddress.Row()
- << (sal_uInt16) rAddress.Col();
+ rStrm << (sal_uInt16) rAddress.Row()
+ << (sal_uInt16) rAddress.Col();
}
inline void XclExpChTrAction::Write2DRange( XclExpStream& rStrm, const ScRange& rRange ) const
{
- rStrm << (sal_uInt16) rRange.aStart.Row()
- << (sal_uInt16) rRange.aEnd.Row()
- << (sal_uInt16) rRange.aStart.Col()
- << (sal_uInt16) rRange.aEnd.Col();
+ rStrm << (sal_uInt16) rRange.aStart.Row()
+ << (sal_uInt16) rRange.aEnd.Row()
+ << (sal_uInt16) rRange.aStart.Col()
+ << (sal_uInt16) rRange.aEnd.Col();
}
inline void XclExpChTrAction::WriteTabId( XclExpStream& rStrm, SCTAB nTab ) const
@@ -432,19 +432,19 @@ struct XclExpChTrData
XclExpString* pString;
XclTokenArrayRef mxTokArr;
XclExpRefLog maRefLog;
- double fValue;
- sal_Int32 nRKValue;
- sal_uInt16 nType;
+ double fValue;
+ sal_Int32 nRKValue;
+ sal_uInt16 nType;
sal_Size nSize;
XclExpChTrData();
~XclExpChTrData();
- void Clear();
+ void Clear();
- void WriteFormula(
+ void WriteFormula(
XclExpStream& rStrm,
const XclExpChTrTabIdBuffer& rTabIdBuffer );
- void Write(
+ void Write(
XclExpStream& rStrm,
const XclExpChTrTabIdBuffer& rTabIdBuffer );
};
@@ -455,31 +455,31 @@ struct XclExpChTrData
class XclExpChTrCellContent : public XclExpChTrAction, protected XclExpRoot
{
private:
- XclExpChTrData* pOldData;
- XclExpChTrData* pNewData;
- sal_uInt16 nOldLength; // this is not the record size
+ XclExpChTrData* pOldData;
+ XclExpChTrData* pNewData;
+ sal_uInt16 nOldLength; // this is not the record size
- void MakeEmptyChTrData( XclExpChTrData*& rpData );
+ void MakeEmptyChTrData( XclExpChTrData*& rpData );
protected:
- ScAddress aPosition;
+ ScAddress aPosition;
- void GetCellData(
+ void GetCellData(
const ScBaseCell* pScCell,
XclExpChTrData*& rpData,
sal_uInt32& rXclLength1,
sal_uInt16& rXclLength2 );
- virtual void SaveActionData( XclExpStream& rStrm ) const;
+ virtual void SaveActionData( XclExpStream& rStrm ) const;
public:
XclExpChTrCellContent(
const ScChangeActionContent& rAction,
const XclExpRoot& rRoot,
const XclExpChTrTabIdBuffer& rTabIdBuffer );
- virtual ~XclExpChTrCellContent();
+ virtual ~XclExpChTrCellContent();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetActionByteCount() const;
};
@@ -489,14 +489,14 @@ public:
class XclExpChTrInsert : public XclExpChTrAction
{
protected:
- ScRange aRange;
+ ScRange aRange;
XclExpChTrInsert( const XclExpChTrInsert& rCopy ) :
XclExpChTrAction( rCopy ), aRange( rCopy.aRange ) {}
- virtual void SaveActionData( XclExpStream& rStrm ) const;
- virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
- virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
+ virtual void SaveActionData( XclExpStream& rStrm ) const;
+ virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
+ virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
public:
XclExpChTrInsert(
@@ -504,9 +504,9 @@ public:
const XclExpRoot& rRoot,
const XclExpChTrTabIdBuffer& rTabIdBuffer,
ScChangeTrack& rChangeTrack );
- virtual ~XclExpChTrInsert();
+ virtual ~XclExpChTrInsert();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetActionByteCount() const;
};
@@ -516,19 +516,19 @@ public:
class XclExpChTrInsertTab : public XclExpChTrAction, protected XclExpRoot
{
private:
- SCTAB nTab;
+ SCTAB nTab;
protected:
- virtual void SaveActionData( XclExpStream& rStrm ) const;
+ virtual void SaveActionData( XclExpStream& rStrm ) const;
public:
XclExpChTrInsertTab(
const ScChangeAction& rAction,
const XclExpRoot& rRoot,
const XclExpChTrTabIdBuffer& rTabIdBuffer );
- virtual ~XclExpChTrInsertTab();
+ virtual ~XclExpChTrInsertTab();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetActionByteCount() const;
};
@@ -538,12 +538,12 @@ public:
class XclExpChTrMoveRange : public XclExpChTrAction
{
protected:
- ScRange aSourceRange;
- ScRange aDestRange;
+ ScRange aSourceRange;
+ ScRange aDestRange;
- virtual void SaveActionData( XclExpStream& rStrm ) const;
- virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
- virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
+ virtual void SaveActionData( XclExpStream& rStrm ) const;
+ virtual void PrepareSaveAction( XclExpStream& rStrm ) const;
+ virtual void CompleteSaveAction( XclExpStream& rStrm ) const;
public:
XclExpChTrMoveRange(
@@ -551,9 +551,9 @@ public:
const XclExpRoot& rRoot,
const XclExpChTrTabIdBuffer& rTabIdBuffer,
ScChangeTrack& rChangeTrack );
- virtual ~XclExpChTrMoveRange();
+ virtual ~XclExpChTrMoveRange();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetActionByteCount() const;
};
@@ -563,13 +563,13 @@ public:
class XclExpChTr0x014A : public XclExpChTrInsert
{
protected:
- virtual void SaveActionData( XclExpStream& rStrm ) const;
+ virtual void SaveActionData( XclExpStream& rStrm ) const;
public:
XclExpChTr0x014A( const XclExpChTrInsert& rAction );
- virtual ~XclExpChTr0x014A();
+ virtual ~XclExpChTr0x014A();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetActionByteCount() const;
};
@@ -579,10 +579,10 @@ public:
class XclExpChTrActionStack : private Stack
{
public:
- virtual ~XclExpChTrActionStack();
+ virtual ~XclExpChTrActionStack();
- void Push( XclExpChTrAction* pNewRec );
- inline XclExpChTrAction* Pop() { return (XclExpChTrAction*) Stack::Pop(); }
+ void Push( XclExpChTrAction* pNewRec );
+ inline XclExpChTrAction* Pop() { return (XclExpChTrAction*) Stack::Pop(); }
private:
using Stack::Push;
@@ -594,15 +594,15 @@ private:
class XclExpChTrRecordList : private List
{
private:
- inline ExcRecord* First() { return (ExcRecord*) List::First(); }
- inline ExcRecord* Next() { return (ExcRecord*) List::Next(); }
+ inline ExcRecord* First() { return (ExcRecord*) List::First(); }
+ inline ExcRecord* Next() { return (ExcRecord*) List::Next(); }
public:
- virtual ~XclExpChTrRecordList();
+ virtual ~XclExpChTrRecordList();
using List::Count;
- void Append( ExcRecord* pNewRec );
- void Save( XclExpStream& rStrm );
+ void Append( ExcRecord* pNewRec );
+ void Save( XclExpStream& rStrm );
};
//___________________________________________________________________
@@ -611,28 +611,28 @@ public:
class XclExpChangeTrack : protected XclExpRoot
{
private:
- XclExpChTrRecordList aRecList;
- XclExpChTrActionStack aActionStack;
- XclExpChTrTabIdBufferList aTabIdBufferList;
- XclExpChTrTabIdBuffer* pTabIdBuffer;
+ XclExpChTrRecordList aRecList;
+ XclExpChTrActionStack aActionStack;
+ XclExpChTrTabIdBufferList aTabIdBufferList;
+ XclExpChTrTabIdBuffer* pTabIdBuffer;
- ScDocument* pTempDoc; // empty document
+ ScDocument* pTempDoc; // empty document
- sal_uInt32 nNewAction; // action number, 1-based
- XclExpChTrHeader* pHeader; // header record for last GUID
- sal_uInt8 aGUID[ 16 ]; // GUID for action info records
- sal_Bool bValidGUID;
+ sal_uInt32 nNewAction; // action number, 1-based
+ XclExpChTrHeader* pHeader; // header record for last GUID
+ sal_uInt8 aGUID[ 16 ]; // GUID for action info records
+ sal_Bool bValidGUID;
- ScChangeTrack* CreateTempChangeTrack();
- void PushActionRecord( const ScChangeAction& rAction );
+ ScChangeTrack* CreateTempChangeTrack();
+ void PushActionRecord( const ScChangeAction& rAction );
- sal_Bool WriteUserNamesStream();
+ sal_Bool WriteUserNamesStream();
public:
XclExpChangeTrack( const XclExpRoot& rRoot );
~XclExpChangeTrack();
- void Write();
+ void Write();
};
//___________________________________________________________________
diff --git a/sc/source/filter/inc/XclImpChangeTrack.hxx b/sc/source/filter/inc/XclImpChangeTrack.hxx
index c850d6681235..32eae17063fe 100644
--- a/sc/source/filter/inc/XclImpChangeTrack.hxx
+++ b/sc/source/filter/inc/XclImpChangeTrack.hxx
@@ -1,7 +1,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
@@ -46,10 +46,10 @@ class XclImpChTrFmlConverter;
struct XclImpChTrRecHeader
{
- sal_uInt32 nSize;
- sal_uInt32 nIndex;
- sal_uInt16 nOpCode;
- sal_uInt16 nAccept;
+ sal_uInt32 nSize;
+ sal_uInt32 nIndex;
+ sal_uInt16 nOpCode;
+ sal_uInt16 nAccept;
};
inline XclImpStream& operator>>( XclImpStream& rStrm, XclImpChTrRecHeader& rRecHeader )
@@ -63,59 +63,59 @@ inline XclImpStream& operator>>( XclImpStream& rStrm, XclImpChTrRecHeader& rRecH
class XclImpChangeTrack : protected XclImpRoot
{
private:
- XclImpChTrRecHeader aRecHeader;
- String sOldUsername;
+ XclImpChTrRecHeader aRecHeader;
+ String sOldUsername;
- ScChangeTrack* pChangeTrack;
+ ScChangeTrack* pChangeTrack;
SotStorageStreamRef xInStrm; // input stream
- XclImpStream* pStrm; // stream import class
- sal_uInt16 nTabIdCount;
- sal_Bool bGlobExit; // global exit loop
+ XclImpStream* pStrm; // stream import class
+ sal_uInt16 nTabIdCount;
+ sal_Bool bGlobExit; // global exit loop
enum { nmBase, nmFound, nmNested }
- eNestedMode; // action with nested content actions
+ eNestedMode; // action with nested content actions
- inline sal_Bool FoundNestedMode() { return eNestedMode == nmFound; }
+ inline sal_Bool FoundNestedMode() { return eNestedMode == nmFound; }
- void DoAcceptRejectAction( ScChangeAction* pAction );
- void DoAcceptRejectAction( sal_uInt32 nFirst, sal_uInt32 nLast );
+ void DoAcceptRejectAction( ScChangeAction* pAction );
+ void DoAcceptRejectAction( sal_uInt32 nFirst, sal_uInt32 nLast );
- void DoInsertRange( const ScRange& rRange );
- void DoDeleteRange( const ScRange& rRange );
+ void DoInsertRange( const ScRange& rRange );
+ void DoDeleteRange( const ScRange& rRange );
- inline sal_uInt8 LookAtuInt8();
- inline double ReadRK();
- inline sal_Bool ReadBool();
- inline void Read2DAddress( ScAddress& rAddress );
- inline void Read2DRange( ScRange& rRange );
+ inline sal_uInt8 LookAtuInt8();
+ inline double ReadRK();
+ inline sal_Bool ReadBool();
+ inline void Read2DAddress( ScAddress& rAddress );
+ inline void Read2DRange( ScRange& rRange );
SCTAB ReadTabNum();
- void ReadDateTime( DateTime& rDateTime );
+ void ReadDateTime( DateTime& rDateTime );
- inline void ReadString( String& rString );
- inline void IgnoreString();
+ inline void ReadString( String& rString );
+ inline void IgnoreString();
- sal_Bool CheckRecord( sal_uInt16 nOpCode );
+ sal_Bool CheckRecord( sal_uInt16 nOpCode );
- void ReadFormula(
+ void ReadFormula(
ScTokenArray*& rpTokenArray,
const ScAddress& rPosition );
- void ReadCell(
+ void ReadCell(
ScBaseCell*& rpCell,
sal_uInt32& rFormat,
sal_uInt16 nFlags,
const ScAddress& rPosition );
- void ReadChTrInsert(); // 0x0137
- void ReadChTrInfo(); // 0x0138
- void ReadChTrCellContent(); // 0x013B
- void ReadChTrTabId(); // 0x013D
- void ReadChTrMoveRange(); // 0x0140
- void ReadChTrInsertTab(); // 0x014D
- void InitNestedMode(); // 0x014E, 0x0150
- void ReadNestedRecords();
- sal_Bool EndNestedMode(); // 0x014F, 0x0151
+ void ReadChTrInsert(); // 0x0137
+ void ReadChTrInfo(); // 0x0138
+ void ReadChTrCellContent(); // 0x013B
+ void ReadChTrTabId(); // 0x013D
+ void ReadChTrMoveRange(); // 0x0140
+ void ReadChTrInsertTab(); // 0x014D
+ void InitNestedMode(); // 0x014E, 0x0150
+ void ReadNestedRecords();
+ sal_Bool EndNestedMode(); // 0x014F, 0x0151
- void ReadRecords();
+ void ReadRecords();
public:
XclImpChangeTrack( const XclImpRoot& rRoot, const XclImpStream& rBookStrm );
@@ -123,9 +123,9 @@ public:
// reads extended 3D ref info following the formulas, returns sc tab nums
// ( called by XclImpChTrFmlConverter::Read3DTabReference() )
- sal_Bool Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo );
+ sal_Bool Read3DTabRefInfo( SCTAB& rFirstTab, SCTAB& rLastTab, ExcelToSc8::ExternalTabInfo& rExtInfo );
- void Apply();
+ void Apply();
};
inline sal_uInt8 XclImpChangeTrack::LookAtuInt8()
@@ -177,15 +177,15 @@ inline void XclImpChangeTrack::IgnoreString()
class XclImpChTrFmlConverter : public ExcelToSc8
{
private:
- XclImpChangeTrack& rChangeTrack;
+ XclImpChangeTrack& rChangeTrack;
virtual bool Read3DTabReference( UINT16 nIxti, SCTAB& rFirstTab, SCTAB& rLastTab, ExternalTabInfo& rExtInfo );
public:
- inline XclImpChTrFmlConverter(
+ inline XclImpChTrFmlConverter(
const XclImpRoot& rRoot,
XclImpChangeTrack& rXclChTr );
- virtual ~XclImpChTrFmlConverter();
+ virtual ~XclImpChTrFmlConverter();
};
inline XclImpChTrFmlConverter::XclImpChTrFmlConverter(
diff --git a/sc/source/filter/inc/biff.hxx b/sc/source/filter/inc/biff.hxx
index 479dc0f577f5..e6d6f1b2d6a1 100644
--- a/sc/source/filter/inc/biff.hxx
+++ b/sc/source/filter/inc/biff.hxx
@@ -1,7 +1,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
@@ -34,11 +34,11 @@
#include "document.hxx"
#include "cell.hxx"
#include <tools/string.hxx>
-
+
#include <tools/color.hxx>
#include "flttypes.hxx"
#include "ftools.hxx"
-
+
// Stream wrapper class
class ScBiffReader
{
@@ -48,17 +48,17 @@ class ScBiffReader
sal_uInt32 mnOffset;
SvStream *mpStream;
bool mbEndOfFile;
-
+
public:
ScBiffReader( SfxMedium& rMedium );
~ScBiffReader();
bool recordsLeft() { return mpStream && !mpStream->IsEof(); }
bool IsEndOfFile() { return mbEndOfFile; }
- void SetEof( bool bValue ){ mbEndOfFile = bValue; }
+ void SetEof( bool bValue ){ mbEndOfFile = bValue; }
bool nextRecord();
sal_uInt16 getId() { return mnId; }
sal_uInt16 getLength() { return mnLength; }
- SvStream& getStream() { return *mpStream; }
+ SvStream& getStream() { return *mpStream; }
};
#endif
diff --git a/sc/source/filter/inc/colrowst.hxx b/sc/source/filter/inc/colrowst.hxx
index 325d380cc19c..768622cc9071 100644
--- a/sc/source/filter/inc/colrowst.hxx
+++ b/sc/source/filter/inc/colrowst.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/decl.h b/sc/source/filter/inc/decl.h
index e888b7dca5fe..91e251af08c4 100644
--- a/sc/source/filter/inc/decl.h
+++ b/sc/source/filter/inc/decl.h
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/dif.hxx b/sc/source/filter/inc/dif.hxx
index 20b2400cf5a2..f0efb122b317 100644
--- a/sc/source/filter/inc/dif.hxx
+++ b/sc/source/filter/inc/dif.hxx
@@ -1,7 +1,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
@@ -69,74 +69,74 @@ enum DATASET { D_BOT, D_EOD, D_NUMERIC, D_STRING, D_UNKNOWN, D_SYNT_ERROR };
class DifParser
{
public:
- String aData;
- double fVal;
- UINT32 nVector;
- UINT32 nVal;
- UINT32 nNumFormat;
- CharSet eCharSet;
+ String aData;
+ double fVal;
+ UINT32 nVector;
+ UINT32 nVal;
+ UINT32 nNumFormat;
+ CharSet eCharSet;
private:
- SvNumberFormatter* pNumFormatter;
- SvStream& rIn;
- BOOL bPlain;
+ SvNumberFormatter* pNumFormatter;
+ SvStream& rIn;
+ BOOL bPlain;
String aLookAheadLine;
bool ReadNextLine( String& rStr );
bool LookAhead();
DATASET GetNumberDataset( const sal_Unicode* pPossibleNumericData );
- static inline BOOL IsBOT( const sal_Unicode* pRef );
- static inline BOOL IsEOD( const sal_Unicode* pRef );
- static inline BOOL Is1_0( const sal_Unicode* pRef );
+ static inline BOOL IsBOT( const sal_Unicode* pRef );
+ static inline BOOL IsEOD( const sal_Unicode* pRef );
+ static inline BOOL Is1_0( const sal_Unicode* pRef );
public:
DifParser( SvStream&, const UINT32 nOption, ScDocument&, CharSet );
- TOPIC GetNextTopic( void );
+ TOPIC GetNextTopic( void );
- DATASET GetNextDataset( void );
+ DATASET GetNextDataset( void );
const sal_Unicode* ScanIntVal( const sal_Unicode* pStart, UINT32& rRet );
- BOOL ScanFloatVal( const sal_Unicode* pStart );
+ BOOL ScanFloatVal( const sal_Unicode* pStart );
- inline BOOL IsNumber( const sal_Unicode cChar );
- inline BOOL IsNumberEnding( const sal_Unicode cChar );
+ inline BOOL IsNumber( const sal_Unicode cChar );
+ inline BOOL IsNumberEnding( const sal_Unicode cChar );
- static inline BOOL IsV( const sal_Unicode* pRef );
+ static inline BOOL IsV( const sal_Unicode* pRef );
- inline BOOL IsPlain( void ) const;
+ inline BOOL IsPlain( void ) const;
};
-inline BOOL DifParser::IsBOT( const sal_Unicode* pRef )
+inline BOOL DifParser::IsBOT( const sal_Unicode* pRef )
{
- return ( pRef[ 0 ] == pKeyBOT[0] &&
+ return ( pRef[ 0 ] == pKeyBOT[0] &&
pRef[ 1 ] == pKeyBOT[1] &&
pRef[ 2 ] == pKeyBOT[2] &&
- pRef[ 3 ] == pKeyBOT[3] );
+ pRef[ 3 ] == pKeyBOT[3] );
}
-inline BOOL DifParser::IsEOD( const sal_Unicode* pRef )
+inline BOOL DifParser::IsEOD( const sal_Unicode* pRef )
{
- return ( pRef[ 0 ] == pKeyEOD[0] &&
+ return ( pRef[ 0 ] == pKeyEOD[0] &&
pRef[ 1 ] == pKeyEOD[1] &&
pRef[ 2 ] == pKeyEOD[2] &&
- pRef[ 3 ] == pKeyEOD[3] );
+ pRef[ 3 ] == pKeyEOD[3] );
}
-inline BOOL DifParser::Is1_0( const sal_Unicode* pRef )
+inline BOOL DifParser::Is1_0( const sal_Unicode* pRef )
{
- return ( pRef[ 0 ] == pKey1_0[0] &&
+ return ( pRef[ 0 ] == pKey1_0[0] &&
pRef[ 1 ] == pKey1_0[1] &&
pRef[ 2 ] == pKey1_0[2] &&
- pRef[ 3 ] == pKey1_0[3] );
+ pRef[ 3 ] == pKey1_0[3] );
}
-inline BOOL DifParser::IsV( const sal_Unicode* pRef )
+inline BOOL DifParser::IsV( const sal_Unicode* pRef )
{
- return ( pRef[ 0 ] == pKeyV[0] &&
- pRef[ 1 ] == pKeyV[1] );
+ return ( pRef[ 0 ] == pKeyV[0] &&
+ pRef[ 1 ] == pKeyV[1] );
}
@@ -170,22 +170,22 @@ private:
friend class DifAttrCache;
struct ENTRY
{
- UINT32 nNumFormat;
+ UINT32 nNumFormat;
- SCROW nStart;
- SCROW nEnd;
+ SCROW nStart;
+ SCROW nEnd;
};
- ENTRY* pAkt;
+ ENTRY* pAkt;
- inline DifColumn( void );
+ inline DifColumn( void );
~DifColumn();
- void SetLogical( SCROW nRow );
- void SetNumFormat( SCROW nRow, const UINT32 nNumFormat );
- void NewEntry( const SCROW nPos, const UINT32 nNumFormat );
- void Apply( ScDocument&, const SCCOL nCol, const SCTAB nTab, const ScPatternAttr& );
- void Apply( ScDocument &rDoc, const SCCOL nCol, const SCTAB nTab );
-public: // geht niemanden etwas an...
+ void SetLogical( SCROW nRow );
+ void SetNumFormat( SCROW nRow, const UINT32 nNumFormat );
+ void NewEntry( const SCROW nPos, const UINT32 nNumFormat );
+ void Apply( ScDocument&, const SCCOL nCol, const SCTAB nTab, const ScPatternAttr& );
+ void Apply( ScDocument &rDoc, const SCCOL nCol, const SCTAB nTab );
+public: // geht niemanden etwas an...
};
@@ -200,14 +200,14 @@ inline DifColumn::DifColumn( void )
class DifAttrCache
{
private:
- DifColumn** ppCols;
- BOOL bPlain;
+ DifColumn** ppCols;
+ BOOL bPlain;
public:
DifAttrCache( const BOOL bPlain );
~DifAttrCache();
- inline void SetLogical( const SCCOL nCol, const SCROW nRow );
- void SetNumFormat( const SCCOL nCol, const SCROW nRow, const UINT32 nNumFormat );
- void Apply( ScDocument&, SCTAB nTab );
+ inline void SetLogical( const SCCOL nCol, const SCROW nRow );
+ void SetNumFormat( const SCCOL nCol, const SCROW nRow, const UINT32 nNumFormat );
+ void Apply( ScDocument&, SCTAB nTab );
};
diff --git a/sc/source/filter/inc/eeimport.hxx b/sc/source/filter/inc/eeimport.hxx
index 634dfd1b4a33..6e8817133485 100644
--- a/sc/source/filter/inc/eeimport.hxx
+++ b/sc/source/filter/inc/eeimport.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/eeparser.hxx b/sc/source/filter/inc/eeparser.hxx
index afc8c959392b..2a06cbc31c71 100644
--- a/sc/source/filter/inc/eeparser.hxx
+++ b/sc/source/filter/inc/eeparser.hxx
@@ -1,7 +1,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
@@ -42,12 +42,12 @@ const sal_Char nHoriVerti = nHorizontal | nVertical;
struct ScHTMLImage
{
- String aURL;
- Size aSize;
- Point aSpace;
- String aFilterName;
- Graphic* pGraphic; // wird von WriteToDocument uebernommen
- sal_Char nDir; // 1==hori, 2==verti, 3==beides
+ String aURL;
+ Size aSize;
+ Point aSpace;
+ String aFilterName;
+ Graphic* pGraphic; // wird von WriteToDocument uebernommen
+ sal_Char nDir; // 1==hori, 2==verti, 3==beides
ScHTMLImage() :
aSize( 0, 0 ), aSpace( 0, 0 ), pGraphic( NULL ),
@@ -60,22 +60,22 @@ DECLARE_LIST( ScHTMLImageList, ScHTMLImage* )
struct ScEEParseEntry
{
- SfxItemSet aItemSet;
- ESelection aSel; // Selection in EditEngine
- String* pValStr; // HTML evtl. SDVAL String
- String* pNumStr; // HTML evtl. SDNUM String
- String* pName; // HTML evtl. Anchor/RangeName
- String aAltText; // HTML IMG ALT Text
- ScHTMLImageList* pImageList; // Grafiken in dieser Zelle
- SCCOL nCol; // relativ zum Beginn des Parse
- SCROW nRow;
- USHORT nTab; // HTML TableInTable
- USHORT nTwips; // RTF ColAdjust etc.
- SCCOL nColOverlap; // merged cells wenn >1
- SCROW nRowOverlap; // merged cells wenn >1
- USHORT nOffset; // HTML PixelOffset
- USHORT nWidth; // HTML PixelWidth
- BOOL bHasGraphic; // HTML any image loaded
+ SfxItemSet aItemSet;
+ ESelection aSel; // Selection in EditEngine
+ String* pValStr; // HTML evtl. SDVAL String
+ String* pNumStr; // HTML evtl. SDNUM String
+ String* pName; // HTML evtl. Anchor/RangeName
+ String aAltText; // HTML IMG ALT Text
+ ScHTMLImageList* pImageList; // Grafiken in dieser Zelle
+ SCCOL nCol; // relativ zum Beginn des Parse
+ SCROW nRow;
+ USHORT nTab; // HTML TableInTable
+ USHORT nTwips; // RTF ColAdjust etc.
+ SCCOL nColOverlap; // merged cells wenn >1
+ SCROW nRowOverlap; // merged cells wenn >1
+ USHORT nOffset; // HTML PixelOffset
+ USHORT nWidth; // HTML PixelWidth
+ BOOL bHasGraphic; // HTML any image loaded
bool bEntirePara; // TRUE = use entire paragraph, false = use selection
ScEEParseEntry( SfxItemPool* pPool ) :
@@ -119,32 +119,32 @@ class EditEngine;
class ScEEParser
{
protected:
- EditEngine* pEdit;
- SfxItemPool* pPool;
- SfxItemPool* pDocPool;
- ScEEParseList* pList;
- ScEEParseEntry* pActEntry;
- Table* pColWidths;
- int nLastToken;
- SCCOL nColCnt;
- SCROW nRowCnt;
- SCCOL nColMax;
- SCROW nRowMax;
-
- void NewActEntry( ScEEParseEntry* );
+ EditEngine* pEdit;
+ SfxItemPool* pPool;
+ SfxItemPool* pDocPool;
+ ScEEParseList* pList;
+ ScEEParseEntry* pActEntry;
+ Table* pColWidths;
+ int nLastToken;
+ SCCOL nColCnt;
+ SCROW nRowCnt;
+ SCCOL nColMax;
+ SCROW nRowMax;
+
+ void NewActEntry( ScEEParseEntry* );
public:
ScEEParser( EditEngine* );
- virtual ~ScEEParser();
+ virtual ~ScEEParser();
virtual ULONG Read( SvStream&, const String& rBaseURL ) = 0;
- void GetDimensions( SCCOL& nCols, SCROW& nRows ) const
+ void GetDimensions( SCCOL& nCols, SCROW& nRows ) const
{ nCols = nColMax; nRows = nRowMax; }
- ULONG Count() const { return pList->Count(); }
- ScEEParseEntry* First() const { return pList->First(); }
- ScEEParseEntry* Next() const { return pList->Next(); }
- Table* GetColWidths() const { return pColWidths; }
+ ULONG Count() const { return pList->Count(); }
+ ScEEParseEntry* First() const { return pList->First(); }
+ ScEEParseEntry* Next() const { return pList->Next(); }
+ Table* GetColWidths() const { return pColWidths; }
};
diff --git a/sc/source/filter/inc/excdefs.hxx b/sc/source/filter/inc/excdefs.hxx
index 2d489af7e427..3a1d7c52e012 100644
--- a/sc/source/filter/inc/excdefs.hxx
+++ b/sc/source/filter/inc/excdefs.hxx
@@ -1,7 +1,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
@@ -63,7 +63,7 @@ const sal_uInt8 EXC_AFOPER_GREATEREQUAL = 0x06;
// (0x00AE, 0x00AF) SCENARIO, SCENMAN =========================================
-#define EXC_SCEN_MAXCELL 32
+#define EXC_SCEN_MAXCELL 32
// defines for change tracking ================================================
@@ -71,34 +71,34 @@ const sal_uInt8 EXC_AFOPER_GREATEREQUAL = 0x06;
#define EXC_STREAM_REVLOG CREATE_STRING( "Revision Log" )
// opcodes
-#define EXC_CHTR_OP_COLFLAG 0x0001
-#define EXC_CHTR_OP_DELFLAG 0x0002
-#define EXC_CHTR_OP_INSROW 0x0000
-#define EXC_CHTR_OP_INSCOL EXC_CHTR_OP_COLFLAG
-#define EXC_CHTR_OP_DELROW EXC_CHTR_OP_DELFLAG
-#define EXC_CHTR_OP_DELCOL (EXC_CHTR_OP_COLFLAG|EXC_CHTR_OP_DELFLAG)
-#define EXC_CHTR_OP_MOVE 0x0004
-#define EXC_CHTR_OP_INSTAB 0x0005
-#define EXC_CHTR_OP_CELL 0x0008
-#define EXC_CHTR_OP_RENAME 0x0009
-#define EXC_CHTR_OP_NAME 0x000A
-#define EXC_CHTR_OP_FORMAT 0x000B
-#define EXC_CHTR_OP_UNKNOWN 0xFFFF
+#define EXC_CHTR_OP_COLFLAG 0x0001
+#define EXC_CHTR_OP_DELFLAG 0x0002
+#define EXC_CHTR_OP_INSROW 0x0000
+#define EXC_CHTR_OP_INSCOL EXC_CHTR_OP_COLFLAG
+#define EXC_CHTR_OP_DELROW EXC_CHTR_OP_DELFLAG
+#define EXC_CHTR_OP_DELCOL (EXC_CHTR_OP_COLFLAG|EXC_CHTR_OP_DELFLAG)
+#define EXC_CHTR_OP_MOVE 0x0004
+#define EXC_CHTR_OP_INSTAB 0x0005
+#define EXC_CHTR_OP_CELL 0x0008
+#define EXC_CHTR_OP_RENAME 0x0009
+#define EXC_CHTR_OP_NAME 0x000A
+#define EXC_CHTR_OP_FORMAT 0x000B
+#define EXC_CHTR_OP_UNKNOWN 0xFFFF
// data types
-#define EXC_CHTR_TYPE_MASK 0x0007
-#define EXC_CHTR_TYPE_FORMATMASK 0xFF00
-#define EXC_CHTR_TYPE_EMPTY 0x0000
-#define EXC_CHTR_TYPE_RK 0x0001
-#define EXC_CHTR_TYPE_DOUBLE 0x0002
-#define EXC_CHTR_TYPE_STRING 0x0003
-#define EXC_CHTR_TYPE_BOOL 0x0004
-#define EXC_CHTR_TYPE_FORMULA 0x0005
+#define EXC_CHTR_TYPE_MASK 0x0007
+#define EXC_CHTR_TYPE_FORMATMASK 0xFF00
+#define EXC_CHTR_TYPE_EMPTY 0x0000
+#define EXC_CHTR_TYPE_RK 0x0001
+#define EXC_CHTR_TYPE_DOUBLE 0x0002
+#define EXC_CHTR_TYPE_STRING 0x0003
+#define EXC_CHTR_TYPE_BOOL 0x0004
+#define EXC_CHTR_TYPE_FORMULA 0x0005
// accept flags
-#define EXC_CHTR_NOTHING 0x0000
-#define EXC_CHTR_ACCEPT 0x0001
-#define EXC_CHTR_REJECT 0x0003
+#define EXC_CHTR_NOTHING 0x0000
+#define EXC_CHTR_ACCEPT 0x0001
+#define EXC_CHTR_REJECT 0x0003
// ============================================================================
diff --git a/sc/source/filter/inc/excdoc.hxx b/sc/source/filter/inc/excdoc.hxx
index 5da6a5d38d83..a05305d808cd 100644
--- a/sc/source/filter/inc/excdoc.hxx
+++ b/sc/source/filter/inc/excdoc.hxx
@@ -1,7 +1,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
@@ -60,9 +60,9 @@ private:
XclExpCellTableRef mxCellTable;
SCTAB mnScTab; // table number SC document
- UINT16 nExcTab; // table number Excel document
- UINT16 nAktRow; // fuer'n Iterator
- UINT16 nAktCol;
+ UINT16 nExcTab; // table number Excel document
+ UINT16 nAktRow; // fuer'n Iterator
+ UINT16 nAktCol;
NameBuffer* pTabNames;
@@ -80,8 +80,8 @@ public:
void FillAsTable( SCTAB nCodeNameIdx );
void FillAsEmptyTable( SCTAB nCodeNameIdx );
- void Write( XclExpStream& );
- void WriteXml( XclExpXmlStream& );
+ void Write( XclExpStream& );
+ void WriteXml( XclExpXmlStream& );
};
@@ -97,20 +97,20 @@ private:
typedef XclExpRecordList< ExcBundlesheetBase > ExcBoundsheetList;
typedef ExcBoundsheetList::RecordRefType ExcBoundsheetRef;
- ExcTable aHeader;
+ ExcTable aHeader;
ExcTableList maTableList;
ExcBoundsheetList maBoundsheetList;
- XclExpChangeTrack* pExpChangeTrack;
+ XclExpChangeTrack* pExpChangeTrack;
public:
explicit ExcDocument( const XclExpRoot& rRoot );
virtual ~ExcDocument();
- void ReadDoc( void );
- void Write( SvStream& rSvStrm );
- void WriteXml( SvStream& rSvStrm );
+ void ReadDoc( void );
+ void Write( SvStream& rSvStrm );
+ void WriteXml( SvStream& rSvStrm );
};
diff --git a/sc/source/filter/inc/excform.hxx b/sc/source/filter/inc/excform.hxx
index ed771637b704..ab96e6387871 100644
--- a/sc/source/filter/inc/excform.hxx
+++ b/sc/source/filter/inc/excform.hxx
@@ -1,7 +1,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,21 +43,21 @@ protected:
enum ExtensionType { EXTENSION_ARRAY, EXTENSION_NLR, EXTENSION_MEMAREA };
typedef ::std::vector< ExtensionType > ExtensionTypeVec;
- BOOL bExternName; // wenn External Name gefunden wurde
- static const UINT16 nRowMask;
- static const UINT16 nLastInd; // letzter Index fuer Excel->SC-
+ BOOL bExternName; // wenn External Name gefunden wurde
+ static const UINT16 nRowMask;
+ static const UINT16 nLastInd; // letzter Index fuer Excel->SC-
// Token Umsetzung
XclFunctionProvider maFuncProv;
const XclBiff meBiff;
// ---------------------------------------------------------------
- void DoMulArgs( DefTokenId eId, sal_uInt8 nNumArgs, sal_uInt8 mnMinParamCount = 0 );
+ void DoMulArgs( DefTokenId eId, sal_uInt8 nNumArgs, sal_uInt8 mnMinParamCount = 0 );
- void ExcRelToScRel( UINT16 nRow, UINT8 nCol, ScSingleRefData&, const BOOL bName );
+ void ExcRelToScRel( UINT16 nRow, UINT8 nCol, ScSingleRefData&, const BOOL bName );
public:
ExcelToSc( const XclImpRoot& rRoot );
- virtual ~ExcelToSc();
+ virtual ~ExcelToSc();
virtual ConvErr Convert( const ScTokenArray*&, XclImpStream& rStrm, sal_Size nFormulaLen,
bool bAllowArrays, const FORMULA_TYPE eFT = FT_CellFormula );
@@ -68,21 +68,21 @@ public:
virtual BOOL GetAbsRefs( ScRangeList& rRangeList, XclImpStream& rStrm, sal_Size nLen );
- void GetDummy( const ScTokenArray*& );
+ void GetDummy( const ScTokenArray*& );
const ScTokenArray* GetBoolErr( XclBoolError );
BOOL GetShrFmla( const ScTokenArray*&, XclImpStream& rStrm, sal_Size nFormulaLen );
#if 0
// return = TRUE -> String-Record folgt!
- static BOOL SetCurVal( ScFormulaCell& rCell, double& rCurVal );
+ static BOOL SetCurVal( ScFormulaCell& rCell, double& rCurVal );
#endif
- static void SetError( ScFormulaCell& rCell, const ConvErr eErr );
+ static void SetError( ScFormulaCell& rCell, const ConvErr eErr );
- static inline BOOL IsComplColRange( const UINT16 nCol1, const UINT16 nCol2 );
- static inline BOOL IsComplRowRange( const UINT16 nRow1, const UINT16 nRow2 );
+ static inline BOOL IsComplColRange( const UINT16 nCol1, const UINT16 nCol2 );
+ static inline BOOL IsComplRowRange( const UINT16 nRow1, const UINT16 nRow2 );
- void SetComplCol( ScComplexRefData& );
- void SetComplRow( ScComplexRefData& );
+ void SetComplCol( ScComplexRefData& );
+ void SetComplRow( ScComplexRefData& );
void ReadExtensions( const ExtensionTypeVec& rExtensions,
XclImpStream& aIn );
@@ -133,7 +133,7 @@ private:
public:
ExcelToSc8( const XclImpRoot& rRoot );
- virtual ~ExcelToSc8();
+ virtual ~ExcelToSc8();
virtual ConvErr Convert( const ScTokenArray*& rpTokArray, XclImpStream& rStrm, sal_Size nFormulaLen, bool bAllowArrays, const FORMULA_TYPE eFT = FT_CellFormula );
@@ -142,7 +142,7 @@ public:
virtual ConvErr ConvertExternName( const ScTokenArray*& rpArray, XclImpStream& rStrm, sal_Size nFormulaLen,
const String& rUrl, const ::std::vector<String>& rTabNames );
- static inline BOOL IsComplRowRange( const UINT16 nRow1, const UINT16 nRow2 );
+ static inline BOOL IsComplRowRange( const UINT16 nRow1, const UINT16 nRow2 );
virtual BOOL GetAbsRefs( ScRangeList& rRangeList, XclImpStream& rStrm, sal_Size nLen );
};
diff --git a/sc/source/filter/inc/excimp8.hxx b/sc/source/filter/inc/excimp8.hxx
index 7e4cca15dfe1..d3cca163d33f 100644
--- a/sc/source/filter/inc/excimp8.hxx
+++ b/sc/source/filter/inc/excimp8.hxx
@@ -1,7 +1,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
@@ -52,32 +52,32 @@ class ImportExcel8 : public ImportExcel
{
public:
ImportExcel8( XclImpRootData& rImpData, SvStream& rStrm );
- virtual ~ImportExcel8( void );
+ virtual ~ImportExcel8( void );
- virtual FltError Read( void );
+ virtual FltError Read( void );
protected:
ExcScenarioList aScenList;
- void Calccount( void ); // 0x0C
+ void Calccount( void ); // 0x0C
void Precision( void ); // 0x0E
- void Delta( void ); // 0x10
- void Iteration( void ); // 0x11
- void Boundsheet( void ); // 0x85
- void FilterMode( void ); // 0x9B
- void AutoFilterInfo( void ); // 0x9D
- void AutoFilter( void ); // 0x9E
- void Scenman( void ); // 0xAE
- void Scenario( void ); // 0xAF
- void ReadBasic( void ); // 0xD3
- void Labelsst( void ); // 0xFD
-
- void Hlink( void ); // 0x01B8
- void Codename( BOOL bWBGlobals ); // 0x01BA
+ void Delta( void ); // 0x10
+ void Iteration( void ); // 0x11
+ void Boundsheet( void ); // 0x85
+ void FilterMode( void ); // 0x9B
+ void AutoFilterInfo( void ); // 0x9D
+ void AutoFilter( void ); // 0x9E
+ void Scenman( void ); // 0xAE
+ void Scenario( void ); // 0xAF
+ void ReadBasic( void ); // 0xD3
+ void Labelsst( void ); // 0xFD
+
+ void Hlink( void ); // 0x01B8
+ void Codename( BOOL bWBGlobals ); // 0x01BA
void SheetProtection( void ); // 0x0867
virtual void EndSheet( void );
- virtual void PostDocLoad( void );
+ virtual void PostDocLoad( void );
private:
void LoadDocumentProperties();
@@ -91,20 +91,20 @@ private:
class XclImpAutoFilterData : private ExcRoot
{
private:
- ScDBData* pCurrDBData;
- ScQueryParam aParam;
- SCSIZE nFirstEmpty;
- BOOL bActive;
- BOOL bHasConflict;
+ ScDBData* pCurrDBData;
+ ScQueryParam aParam;
+ SCSIZE nFirstEmpty;
+ BOOL bActive;
+ BOOL bHasConflict;
BOOL bCriteria;
BOOL bAutoOrAdvanced;
ScRange aCriteriaRange;
String aFilterName;
- void CreateFromDouble( String& rStr, double fVal );
- void SetCellAttribs();
- void InsertQueryParam();
- void AmendAFName(const BOOL bUseUnNamed);
+ void CreateFromDouble( String& rStr, double fVal );
+ void SetCellAttribs();
+ void InsertQueryParam();
+ void AmendAFName(const BOOL bUseUnNamed);
protected:
public:
@@ -115,19 +115,19 @@ public:
inline bool IsActive() const { return bActive; }
inline bool IsFiltered() const { return bAutoOrAdvanced; }
- inline SCTAB Tab() const { return aParam.nTab; }
- inline SCCOL StartCol() const { return aParam.nCol1; }
- inline SCROW StartRow() const { return aParam.nRow1; }
- inline SCCOL EndCol() const { return aParam.nCol2; }
- inline SCROW EndRow() const { return aParam.nRow2; }
+ inline SCTAB Tab() const { return aParam.nTab; }
+ inline SCCOL StartCol() const { return aParam.nCol1; }
+ inline SCROW StartRow() const { return aParam.nRow1; }
+ inline SCCOL EndCol() const { return aParam.nCol2; }
+ inline SCROW EndRow() const { return aParam.nRow2; }
- void ReadAutoFilter( XclImpStream& rStrm );
+ void ReadAutoFilter( XclImpStream& rStrm );
- inline void Activate() { bActive = TRUE; }
+ inline void Activate() { bActive = TRUE; }
void SetAdvancedRange( const ScRange* pRange );
- void SetExtractPos( const ScAddress& rAddr );
+ void SetExtractPos( const ScAddress& rAddr );
inline void SetAutoOrAdvanced() { bAutoOrAdvanced = TRUE; }
- void Apply( const BOOL bUseUnNamed = FALSE );
+ void Apply( const BOOL bUseUnNamed = FALSE );
void CreateScDBData( const BOOL bUseUnNamed );
void EnableRemoveFilter();
};
@@ -140,23 +140,23 @@ private:
UINT16 nAFActiveCount;
- inline XclImpAutoFilterData* _First() { return (XclImpAutoFilterData*) List::First(); }
- inline XclImpAutoFilterData* _Next() { return (XclImpAutoFilterData*) List::Next(); }
+ inline XclImpAutoFilterData* _First() { return (XclImpAutoFilterData*) List::First(); }
+ inline XclImpAutoFilterData* _Next() { return (XclImpAutoFilterData*) List::Next(); }
- inline void Append( XclImpAutoFilterData* pData )
+ inline void Append( XclImpAutoFilterData* pData )
{ List::Insert( pData, LIST_APPEND ); }
protected:
public:
XclImpAutoFilterBuffer();
- virtual ~XclImpAutoFilterBuffer();
+ virtual ~XclImpAutoFilterBuffer();
- void Insert( RootData* pRoot, const ScRange& rRange,
+ void Insert( RootData* pRoot, const ScRange& rRange,
const String& rName );
- void AddAdvancedRange( const ScRange& rRange );
- void AddExtractPos( const ScRange& rRange );
- void Apply();
+ void AddAdvancedRange( const ScRange& rRange );
+ void AddExtractPos( const ScRange& rRange );
+ void Apply();
- XclImpAutoFilterData* GetByTab( SCTAB nTab );
+ XclImpAutoFilterData* GetByTab( SCTAB nTab );
inline void IncrementActiveAF() { nAFActiveCount++; }
inline BOOL UseUnNamed() { return nAFActiveCount == 1; }
};
diff --git a/sc/source/filter/inc/excrecds.hxx b/sc/source/filter/inc/excrecds.hxx
index bc960f05b3a5..1f7acfd7829f 100644
--- a/sc/source/filter/inc/excrecds.hxx
+++ b/sc/source/filter/inc/excrecds.hxx
@@ -1,7 +1,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
@@ -71,13 +71,13 @@ class ExcTable;
class ExcRecord : public XclExpRecord
{
public:
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& 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. */
@@ -92,8 +92,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;
};
@@ -105,17 +105,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 );
};
@@ -125,9 +125,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
};
@@ -137,15 +137,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;
};
@@ -157,10 +157,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 );
};
@@ -172,11 +172,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;
};
@@ -187,11 +187,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;
};
@@ -202,7 +202,7 @@ class ExcEof : public ExcRecord
{
private:
public:
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual sal_Size GetLen( void ) const;
};
@@ -213,15 +213,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);
@@ -230,7 +230,7 @@ class XclExpWindowProtection : public XclExpBoolRecord
};
// EXC_ID_PROTECT Document Protection
-class XclExpProtection : public XclExpBoolRecord
+class XclExpProtection : public XclExpBoolRecord
{
public:
XclExpProtection(bool bValue);
@@ -256,11 +256,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;
};
@@ -268,11 +268,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;
};
@@ -282,7 +282,7 @@ class Exc1904 : public ExcBoolRecord
{
public:
Exc1904( ScDocument& rDoc );
- virtual UINT16 GetNum( void ) const;
+ virtual UINT16 GetNum( void ) const;
virtual void SaveXml( XclExpXmlStream& rStrm );
};
@@ -295,7 +295,7 @@ class ExcBundlesheetBase : public ExcRecord
protected:
sal_Size nStrPos;
sal_Size nOwnPos; // Position NACH # und Len
- UINT16 nGrbit;
+ UINT16 nGrbit;
SCTAB nTab;
ExcBundlesheetBase();
@@ -304,9 +304,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;
};
@@ -314,9 +314,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 );
@@ -329,11 +329,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;
};
@@ -395,9 +395,9 @@ private:
class ExcFilterCondition
{
private:
- UINT8 nType;
- UINT8 nOper;
- double fVal;
+ UINT8 nType;
+ UINT8 nOper;
+ double fVal;
XclExpString* pText;
protected:
@@ -405,15 +405,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 );
};
// ----------------------------------------------------------------------------
@@ -421,11 +421,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 );
@@ -435,8 +435,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 );
diff --git a/sc/source/filter/inc/excscen.hxx b/sc/source/filter/inc/excscen.hxx
index 125f74e9fa54..e90aa921d1f2 100644
--- a/sc/source/filter/inc/excscen.hxx
+++ b/sc/source/filter/inc/excscen.hxx
@@ -1,7 +1,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,14 +43,14 @@ class ScDocument;
class ExcScenarioCell
{
private:
- String aValue;
+ String aValue;
public:
- const UINT16 nCol;
- const UINT16 nRow;
+ const UINT16 nCol;
+ const UINT16 nRow;
ExcScenarioCell( const UINT16 nC, const UINT16 nR );
- void SetValue( const String& rVal );
- inline const String& GetValue( void ) const;
+ void SetValue( const String& rVal );
+ inline const String& GetValue( void ) const;
};
@@ -61,17 +61,17 @@ class ExcScenario : protected List
private:
friend class ExcScenarioList;
protected:
- String* pName;
- String* pComment;
- String* pUserName;
- UINT8 nProtected;
+ String* pName;
+ String* pComment;
+ String* pUserName;
+ UINT8 nProtected;
- const UINT16 nTab;
+ const UINT16 nTab;
void Apply( const XclImpRoot& rRoot, const BOOL bLast = FALSE );
public:
ExcScenario( XclImpStream& rIn, const RootData& rRoot );
- virtual ~ExcScenario();
+ virtual ~ExcScenario();
};
@@ -80,22 +80,22 @@ public:
class ExcScenarioList : protected List
{
private:
- UINT16 nLastScenario;
- inline ExcScenario* _First( void ) { return ( ExcScenario* ) List::First(); }
- inline ExcScenario* _Next( void ) { return ( ExcScenario* ) List::Next(); }
- inline ExcScenario* _Last( void ) { return ( ExcScenario* ) List::Last(); }
- inline ExcScenario* _Prev( void ) { return ( ExcScenario* ) List::Prev(); }
+ UINT16 nLastScenario;
+ inline ExcScenario* _First( void ) { return ( ExcScenario* ) List::First(); }
+ inline ExcScenario* _Next( void ) { return ( ExcScenario* ) List::Next(); }
+ inline ExcScenario* _Last( void ) { return ( ExcScenario* ) List::Last(); }
+ inline ExcScenario* _Prev( void ) { return ( ExcScenario* ) List::Prev(); }
protected:
public:
ExcScenarioList( void );
- virtual ~ExcScenarioList();
+ virtual ~ExcScenarioList();
- inline void Append( ExcScenario* pNew );
+ inline void Append( ExcScenario* pNew );
- inline void SetLast( const UINT16 nIndex4Last );
+ inline void SetLast( const UINT16 nIndex4Last );
- inline const ExcScenario* First( void );
- inline const ExcScenario* Next( void );
+ inline const ExcScenario* First( void );
+ inline const ExcScenario* Next( void );
using List::Count;
diff --git a/sc/source/filter/inc/exp_op.hxx b/sc/source/filter/inc/exp_op.hxx
index 79fff8675d84..a115c7b6e91e 100644
--- a/sc/source/filter/inc/exp_op.hxx
+++ b/sc/source/filter/inc/exp_op.hxx
@@ -1,7 +1,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 SotStorage;
class ExportTyp
{
protected:
- SvStream& aOut; // Ausgabe-Stream
- ScDocument* pD; // Dokument
- CharSet eZielChar; // Ziel-Zeichensatz
+ SvStream& aOut; // Ausgabe-Stream
+ ScDocument* pD; // Dokument
+ CharSet eZielChar; // Ziel-Zeichensatz
public:
ExportTyp( SvStream& aStream, ScDocument* pDoc, CharSet eDest ):
aOut( aStream )
@@ -54,7 +54,7 @@ public:
pD = pDoc;
}
- virtual FltError Write() = 0;
+ virtual FltError Write() = 0;
};
@@ -63,40 +63,40 @@ public:
class ExportWK1 : public ExportTyp
{
private:
- BYTE GenFormByte( const ScPatternAttr& );
- void Bof();
- void Eof();
- void Calcmode();
- void Calcorder();
- void Split();
- void Sync();
- void Dimensions();
- void Window1();
- void Colw();
- void Blank( const UINT16 nC, const UINT16 nR, const ScPatternAttr& );
- void Number( const UINT16 nC, const UINT16 nR, const double f, const ScPatternAttr& );
- void Label( const UINT16 nC, const UINT16 nR, const String&, const ScPatternAttr& );
- void Formula( const UINT16 nC, const UINT16 nR, const ScFormulaCell*, const ScPatternAttr& );
- void Protect();
- void Footer();
- void Header();
- void Margins();
- void Labelfmt();
- void Calccount();
- void Cursorw12();
- void WKString( const UINT16 nC, const UINT16 nR, const ScFormulaCell*, const ScPatternAttr& );
- void Snrange();
- void Hidcol();
- void Cpi();
+ BYTE GenFormByte( const ScPatternAttr& );
+ void Bof();
+ void Eof();
+ void Calcmode();
+ void Calcorder();
+ void Split();
+ void Sync();
+ void Dimensions();
+ void Window1();
+ void Colw();
+ void Blank( const UINT16 nC, const UINT16 nR, const ScPatternAttr& );
+ void Number( const UINT16 nC, const UINT16 nR, const double f, const ScPatternAttr& );
+ void Label( const UINT16 nC, const UINT16 nR, const String&, const ScPatternAttr& );
+ void Formula( const UINT16 nC, const UINT16 nR, const ScFormulaCell*, const ScPatternAttr& );
+ void Protect();
+ void Footer();
+ void Header();
+ void Margins();
+ void Labelfmt();
+ void Calccount();
+ void Cursorw12();
+ void WKString( const UINT16 nC, const UINT16 nR, const ScFormulaCell*, const ScPatternAttr& );
+ void Snrange();
+ void Hidcol();
+ void Cpi();
public:
static const USHORT WK1MAXCOL;
static const USHORT WK1MAXROW;
- inline ExportWK1( SvStream& r, ScDocument* p, CharSet e ) :
+ inline ExportWK1( SvStream& r, ScDocument* p, CharSet e ) :
ExportTyp( r, p, e ) {};
- FltError Write();
+ FltError Write();
};
#endif
@@ -105,15 +105,15 @@ public:
class ExportBiff5 : public ExportTyp, protected XclExpRoot
{
private:
- ExcDocument* pExcDoc;
+ ExcDocument* pExcDoc;
protected:
RootData* pExcRoot;
public:
ExportBiff5( XclExpRootData& rExpData, SvStream& rStrm );
- virtual ~ExportBiff5();
- FltError Write();
+ virtual ~ExportBiff5();
+ FltError Write();
};
@@ -123,7 +123,7 @@ class ExportBiff8 : public ExportBiff5
{
public:
ExportBiff8( XclExpRootData& rExpData, SvStream& rStrm );
- virtual ~ExportBiff8();
+ virtual ~ExportBiff8();
};
@@ -137,8 +137,8 @@ protected:
public:
ExportXml2007( XclExpRootData& rExpData, SvStream& rStrm );
- virtual ~ExportXml2007();
- FltError Write();
+ virtual ~ExportXml2007();
+ FltError Write();
};
diff --git a/sc/source/filter/inc/expbase.hxx b/sc/source/filter/inc/expbase.hxx
index 3744bf497927..cd41a7619e26 100644
--- a/sc/source/filter/inc/expbase.hxx
+++ b/sc/source/filter/inc/expbase.hxx
@@ -1,7 +1,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
@@ -47,36 +47,36 @@ public:
protected:
- SvStream& rStrm;
- ScRange aRange;
- ScDocument* pDoc;
- SvNumberFormatter* pFormatter;
- ScFieldEditEngine* pEditEngine;
+ SvStream& rStrm;
+ ScRange aRange;
+ ScDocument* pDoc;
+ SvNumberFormatter* pFormatter;
+ ScFieldEditEngine* pEditEngine;
public:
ScExportBase( SvStream&, ScDocument*, const ScRange& );
- virtual ~ScExportBase();
+ virtual ~ScExportBase();
// Hidden Cols/Rows an den Raendern trimmen,
// return: TRUE wenn Bereich vorhanden
// Start/End/Col/Row muessen gueltige Ausgangswerte sein
- BOOL TrimDataArea( SCTAB nTab, SCCOL& nStartCol,
+ BOOL TrimDataArea( SCTAB nTab, SCCOL& nStartCol,
SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const;
// Ausgabebereich einer Tabelle ermitteln,
// Hidden Cols/Rows an den Raendern beruecksichtigt,
// return: TRUE wenn Bereich vorhanden
- BOOL GetDataArea( SCTAB nTab, SCCOL& nStartCol,
+ BOOL GetDataArea( SCTAB nTab, SCCOL& nStartCol,
SCROW& nStartRow, SCCOL& nEndCol, SCROW& nEndRow ) const;
// Tabelle nicht vorhanden oder leer
- BOOL IsEmptyTable( SCTAB nTab ) const;
+ BOOL IsEmptyTable( SCTAB nTab ) const;
- ScFieldEditEngine& GetEditEngine() const;
+ ScFieldEditEngine& GetEditEngine() const;
};
-#endif // SC_EXPBASE_HXX
+#endif // SC_EXPBASE_HXX
diff --git a/sc/source/filter/inc/fapihelper.hxx b/sc/source/filter/inc/fapihelper.hxx
index 8c204f1cef35..c6c3483c6b7a 100644
--- a/sc/source/filter/inc/fapihelper.hxx
+++ b/sc/source/filter/inc/fapihelper.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/filt_pch.hxx b/sc/source/filter/inc/filt_pch.hxx
index 7ab2aadf1511..0f1c7543e05a 100644
--- a/sc/source/filter/inc/filt_pch.hxx
+++ b/sc/source/filter/inc/filt_pch.hxx
@@ -1,7 +1,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
@@ -25,7 +25,7 @@
*
************************************************************************/
-// ItemID-Defines etc. muessen immer ganz vorne stehen
+// ItemID-Defines etc. muessen immer ganz vorne stehen
#include "scitems.hxx"
@@ -34,9 +34,9 @@
#define SC_PROGRESS_CXX
-// ab hier automatisch per makepch generiert
-// folgende duerfen nicht aufgenommen werden:
-// ...
+// ab hier automatisch per makepch generiert
+// folgende duerfen nicht aufgenommen werden:
+// ...
#include <tools/solar.h>
#include <tools/string.hxx>
diff --git a/sc/source/filter/inc/fkttab.h b/sc/source/filter/inc/fkttab.h
index 3d834c5cf04d..a8b1c832aa7c 100644
--- a/sc/source/filter/inc/fkttab.h
+++ b/sc/source/filter/inc/fkttab.h
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/flttypes.hxx b/sc/source/filter/inc/flttypes.hxx
index 0a78889feb8c..e362b1dc0b54 100644
--- a/sc/source/filter/inc/flttypes.hxx
+++ b/sc/source/filter/inc/flttypes.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/formel.hxx b/sc/source/filter/inc/formel.hxx
index 6c7d4288c372..53a08ec84d1b 100644
--- a/sc/source/filter/inc/formel.hxx
+++ b/sc/source/filter/inc/formel.hxx
@@ -1,7 +1,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
@@ -53,10 +53,10 @@ struct ScComplexRefData;
enum ConvErr
{
ConvOK = 0,
- ConvErrNi, // nicht implemntierter/unbekannter Opcode aufgetreten
- ConvErrNoMem, // Fehler beim Speicheranfordern
+ ConvErrNi, // nicht implemntierter/unbekannter Opcode aufgetreten
+ ConvErrNoMem, // Fehler beim Speicheranfordern
ConvErrExternal,// Add-Ins aus Excel werden nicht umgesetzt
- ConvErrCount // Nicht alle Bytes der Formel 'erwischt'
+ ConvErrCount // Nicht alle Bytes der Formel 'erwischt'
};
@@ -77,17 +77,17 @@ class _ScRangeList : protected List
private:
protected:
public:
- virtual ~_ScRangeList();
- inline void Append( const ScRange& rRange );
- inline void Append( ScRange* pRange );
- inline void Append( const ScSingleRefData& rSRD );
- inline void Append( const ScComplexRefData& rCRD );
+ virtual ~_ScRangeList();
+ inline void Append( const ScRange& rRange );
+ inline void Append( ScRange* pRange );
+ inline void Append( const ScSingleRefData& rSRD );
+ inline void Append( const ScComplexRefData& rCRD );
using List::Count;
- inline BOOL HasRanges( void ) const;
+ inline BOOL HasRanges( void ) const;
- inline const ScRange* First( void );
- inline const ScRange* Next( void );
+ inline const ScRange* First( void );
+ inline const ScRange* Next( void );
};
@@ -129,7 +129,7 @@ inline void _ScRangeList::Append( const ScSingleRefData& r )
inline void _ScRangeList::Append( const ScComplexRefData& r )
{
- List::Insert( new ScRange( r.Ref1.nCol, r.Ref1.nRow, r.Ref1.nTab,
+ List::Insert( new ScRange( r.Ref1.nCol, r.Ref1.nRow, r.Ref1.nTab,
r.Ref2.nCol, r.Ref2.nRow, r.Ref2.nTab ),
LIST_APPEND );
}
@@ -143,23 +143,23 @@ class _ScRangeListTabs
{
private:
protected:
- BOOL bHasRanges;
- _ScRangeList** ppTabLists;
- _ScRangeList* pAct;
- UINT16 nAct;
+ BOOL bHasRanges;
+ _ScRangeList** ppTabLists;
+ _ScRangeList* pAct;
+ UINT16 nAct;
public:
_ScRangeListTabs( void );
- virtual ~_ScRangeListTabs();
+ virtual ~_ScRangeListTabs();
- void Append( ScSingleRefData aSRD, const BOOL bLimit = TRUE );
- void Append( ScComplexRefData aCRD, const BOOL bLimit = TRUE );
+ void Append( ScSingleRefData aSRD, const BOOL bLimit = TRUE );
+ void Append( ScComplexRefData aCRD, const BOOL bLimit = TRUE );
- inline BOOL HasRanges( void ) const;
+ inline BOOL HasRanges( void ) const;
- const ScRange* First( const UINT16 nTab = 0 );
- const ScRange* Next( void );
-// const ScRange* NextContinue( void );
- inline const _ScRangeList* GetActList( void ) const;
+ const ScRange* First( const UINT16 nTab = 0 );
+ const ScRange* Next( void );
+// const ScRange* NextContinue( void );
+ inline const _ScRangeList* GetActList( void ) const;
};
@@ -180,23 +180,23 @@ inline const _ScRangeList* _ScRangeListTabs::GetActList( void ) const
class ConverterBase
{
protected:
- TokenPool aPool; // User Token + Predefined Token
- TokenStack aStack;
+ TokenPool aPool; // User Token + Predefined Token
+ TokenStack aStack;
ScAddress aEingPos;
ConvErr eStatus;
- sal_Char* pBuffer; // Universal-Puffer
- UINT16 nBufferSize; // ...und seine Groesse
+ sal_Char* pBuffer; // Universal-Puffer
+ UINT16 nBufferSize; // ...und seine Groesse
ConverterBase( UINT16 nNewBuffer );
- virtual ~ConverterBase();
+ virtual ~ConverterBase();
- void Reset();
+ void Reset();
public:
- inline SCCOL GetEingabeCol( void ) const { return aEingPos.Col(); }
- inline SCROW GetEingabeRow( void ) const { return aEingPos.Row(); }
- inline SCTAB GetEingabeTab( void ) const { return aEingPos.Tab(); }
- inline ScAddress GetEingPos( void ) const { return aEingPos; }
+ inline SCCOL GetEingabeCol( void ) const { return aEingPos.Col(); }
+ inline SCROW GetEingabeRow( void ) const { return aEingPos.Row(); }
+ inline SCTAB GetEingabeTab( void ) const { return aEingPos.Tab(); }
+ inline ScAddress GetEingPos( void ) const { return aEingPos; }
};
@@ -205,10 +205,10 @@ class ExcelConverterBase : public ConverterBase
{
protected:
ExcelConverterBase( UINT16 nNewBuffer );
- virtual ~ExcelConverterBase();
+ virtual ~ExcelConverterBase();
public:
- void Reset();
+ void Reset();
void Reset( const ScAddress& rEingPos );
virtual ConvErr Convert( const ScTokenArray*& rpErg, XclImpStream& rStrm, sal_Size nFormulaLen,
@@ -222,26 +222,26 @@ public:
class LotusConverterBase : public ConverterBase
{
protected:
- SvStream& aIn;
- INT32 nBytesLeft;
-
- inline void Ignore( const long nSeekRel );
- inline void Read( sal_Char& nByte );
- inline void Read( BYTE& nByte );
- inline void Read( UINT16& nUINT16 );
- inline void Read( INT16& nINT16 );
- inline void Read( double& fDouble );
+ SvStream& aIn;
+ INT32 nBytesLeft;
+
+ inline void Ignore( const long nSeekRel );
+ inline void Read( sal_Char& nByte );
+ inline void Read( BYTE& nByte );
+ inline void Read( UINT16& nUINT16 );
+ inline void Read( INT16& nINT16 );
+ inline void Read( double& fDouble );
inline void Read( UINT32& nUINT32 );
LotusConverterBase( SvStream& rStr, UINT16 nNewBuffer );
- virtual ~LotusConverterBase();
+ virtual ~LotusConverterBase();
public:
//UNUSED2008-05 void Reset( INT32 nLen );
//UNUSED2008-05 void Reset( INT32 nLen, const ScAddress& rEingPos );
void Reset( const ScAddress& rEingPos );
- virtual ConvErr Convert( const ScTokenArray*& rpErg, INT32& nRest,
+ virtual ConvErr Convert( const ScTokenArray*& rpErg, INT32& nRest,
const FORMULA_TYPE eFT = FT_CellFormula ) = 0;
protected:
diff --git a/sc/source/filter/inc/fprogressbar.hxx b/sc/source/filter/inc/fprogressbar.hxx
index f399d7ea5064..56f0182f9333 100644
--- a/sc/source/filter/inc/fprogressbar.hxx
+++ b/sc/source/filter/inc/fprogressbar.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/ftools.hxx b/sc/source/filter/inc/ftools.hxx
index c17aaa70445c..57050bbb0315 100644
--- a/sc/source/filter/inc/ftools.hxx
+++ b/sc/source/filter/inc/ftools.hxx
@@ -1,7 +1,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
@@ -509,16 +509,16 @@ class ScFormatFilterPluginImpl : public ScFormatFilterPlugin {
virtual FltError ScImportLotus123( SfxMedium&, ScDocument*, CharSet eSrc = RTL_TEXTENCODING_DONTKNOW );
virtual FltError ScImportQuattroPro( SfxMedium &rMedium, ScDocument *pDoc );
virtual FltError ScImportExcel( SfxMedium&, ScDocument*, const EXCIMPFORMAT );
- // eFormat == EIF_AUTO -> passender Filter wird automatisch verwendet
- // eFormat == EIF_BIFF5 -> nur Biff5-Stream fuehrt zum Erfolg (auch wenn in einem Excel97-Doc)
- // eFormat == EIF_BIFF8 -> nur Biff8-Stream fuehrt zum Erfolg (nur in Excel97-Docs)
+ // eFormat == EIF_AUTO -> passender Filter wird automatisch verwendet
+ // eFormat == EIF_BIFF5 -> nur Biff5-Stream fuehrt zum Erfolg (auch wenn in einem Excel97-Doc)
+ // eFormat == EIF_BIFF8 -> nur Biff8-Stream fuehrt zum Erfolg (nur in Excel97-Docs)
// eFormat == EIF_BIFF_LE4 -> nur Nicht-Storage-Dateien _koennen_ zum Erfolg fuehren
virtual FltError ScImportStarCalc10( SvStream&, ScDocument* );
virtual FltError ScImportDif( SvStream&, ScDocument*, const ScAddress& rInsPos,
const CharSet eSrc = RTL_TEXTENCODING_DONTKNOW, UINT32 nDifOption = SC_DIFOPT_EXCEL );
virtual FltError ScImportRTF( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange );
- virtual FltError ScImportHTML( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange,
- double nOutputFactor = 1.0, BOOL bCalcWidthHeight = TRUE,
+ virtual FltError ScImportHTML( SvStream&, const String& rBaseURL, ScDocument*, ScRange& rRange,
+ double nOutputFactor = 1.0, BOOL bCalcWidthHeight = TRUE,
SvNumberFormatter* pFormatter = NULL, bool bConvertDate = true );
virtual ScEEAbsImport *CreateRTFImport( ScDocument* pDoc, const ScRange& rRange );
diff --git a/sc/source/filter/inc/funktion.h b/sc/source/filter/inc/funktion.h
index ef8ecabc256a..d04286335a4d 100644
--- a/sc/source/filter/inc/funktion.h
+++ b/sc/source/filter/inc/funktion.h
@@ -1,7 +1,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
@@ -29,21 +29,21 @@
#define SC_FUNKTION_H
// Bearbeitungsfunktionen
-void P0( void ); // 0 Parameter
-void P1( void ); // 1 Parameter
-void P2( void ); // 2 Parameter
-void P3( void ); // 3 Parameter
-void P4( void ); // 4 Parameter
-void P5( void ); // 5 Parameter
-void Pn( void ); // n Parameter
-void NI( void ); // nicht implementiert
-void ConstFloat( void ); // 0
-void Variable( void ); // 1
-void LotusRange( void ); // 2
-void FormulaReturn( void ); // 3
-void Klammer( void ); // 4
-void ConstInt( void ); // 5
-void ConstString( void ); // 6
+void P0( void ); // 0 Parameter
+void P1( void ); // 1 Parameter
+void P2( void ); // 2 Parameter
+void P3( void ); // 3 Parameter
+void P4( void ); // 4 Parameter
+void P5( void ); // 5 Parameter
+void Pn( void ); // n Parameter
+void NI( void ); // nicht implementiert
+void ConstFloat( void ); // 0
+void Variable( void ); // 1
+void LotusRange( void ); // 2
+void FormulaReturn( void ); // 3
+void Klammer( void ); // 4
+void ConstInt( void ); // 5
+void ConstString( void ); // 6
// ACHTUNG: unbekannte Funktionen -> P0()
#endif
diff --git a/sc/source/filter/inc/htmlexp.hxx b/sc/source/filter/inc/htmlexp.hxx
index 4cdf71b8610d..444ce48ef4aa 100644
--- a/sc/source/filter/inc/htmlexp.hxx
+++ b/sc/source/filter/inc/htmlexp.hxx
@@ -1,7 +1,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
@@ -48,10 +48,10 @@ class ScEditCell;
class SvxBorderLine;
struct ScHTMLStyle
-{ // Defaults aus StyleSheet
- Color aBackgroundColor;
- String aFontFamilyName;
- UINT32 nFontHeight; // Item-Value
+{ // Defaults aus StyleSheet
+ Color aBackgroundColor;
+ String aFontFamilyName;
+ UINT32 nFontHeight; // Item-Value
USHORT nFontSizeNumber; // HTML value 1-7
BYTE nDefaultScriptType; // Font values are valid for the default script type
BOOL bInitialized;
@@ -61,9 +61,9 @@ struct ScHTMLStyle
const ScHTMLStyle& operator=( const ScHTMLStyle& r )
{
- aBackgroundColor = r.aBackgroundColor;
- aFontFamilyName = r.aFontFamilyName;
- nFontHeight = r.nFontHeight;
+ aBackgroundColor = r.aBackgroundColor;
+ aFontFamilyName = r.aFontFamilyName;
+ nFontHeight = r.nFontHeight;
nFontSizeNumber = r.nFontSizeNumber;
nDefaultScriptType = r.nDefaultScriptType;
bInitialized = r.bInitialized;
@@ -73,15 +73,15 @@ struct ScHTMLStyle
struct ScHTMLGraphEntry
{
- ScRange aRange; // ueberlagerter Zellbereich
- Size aSize; // Groesse in Pixeln
- Size aSpace; // Spacing in Pixeln
- SdrObject* pObject;
- BOOL bInCell; // ob in Zelle ausgegeben wird
- BOOL bWritten;
+ ScRange aRange; // ueberlagerter Zellbereich
+ Size aSize; // Groesse in Pixeln
+ Size aSpace; // Spacing in Pixeln
+ SdrObject* pObject;
+ BOOL bInCell; // ob in Zelle ausgegeben wird
+ BOOL bWritten;
ScHTMLGraphEntry( SdrObject* pObj, const ScRange& rRange,
- const Size& rSize, BOOL bIn, const Size& rSpace ) :
+ const Size& rSize, BOOL bIn, const Size& rSpace ) :
aRange( rRange ), aSize( rSize ), aSpace( rSpace ),
pObject( pObj ), bInCell( bIn ), bWritten( FALSE ) {}
};
@@ -94,77 +94,77 @@ const short nIndentMax = 23;
class ScHTMLExport : public ScExportBase
{
// default HtmlFontSz[1-7]
- static const USHORT nDefaultFontSize[SC_HTML_FONTSIZES];
+ static const USHORT nDefaultFontSize[SC_HTML_FONTSIZES];
// HtmlFontSz[1-7] in s*3.ini [user]
- static USHORT nFontSize[SC_HTML_FONTSIZES];
- static const char* pFontSizeCss[SC_HTML_FONTSIZES];
- static const USHORT nCellSpacing;
+ static USHORT nFontSize[SC_HTML_FONTSIZES];
+ static const char* pFontSizeCss[SC_HTML_FONTSIZES];
+ static const USHORT nCellSpacing;
static const sal_Char __FAR_DATA sIndentSource[];
- ScHTMLGraphList aGraphList;
- ScHTMLStyle aHTMLStyle;
+ ScHTMLGraphList aGraphList;
+ ScHTMLStyle aHTMLStyle;
String aBaseURL;
- String aStreamPath;
- String aCId; // Content-Id fuer Mail-Export
- OutputDevice* pAppWin; // fuer Pixelei
- SvStringsSortDtor* pSrcArr; // fuer CopyLocalFileToINet
- SvStringsSortDtor* pDestArr;
+ String aStreamPath;
+ String aCId; // Content-Id fuer Mail-Export
+ OutputDevice* pAppWin; // fuer Pixelei
+ SvStringsSortDtor* pSrcArr; // fuer CopyLocalFileToINet
+ SvStringsSortDtor* pDestArr;
String aNonConvertibleChars; // collect nonconvertible characters
- rtl_TextEncoding eDestEnc;
- SCTAB nUsedTables;
- short nIndent;
- sal_Char sIndent[nIndentMax+1];
- BOOL bAll; // ganzes Dokument
- BOOL bTabHasGraphics;
- BOOL bTabAlignedLeft;
- BOOL bCalcAsShown;
- BOOL bCopyLocalFileToINet;
+ rtl_TextEncoding eDestEnc;
+ SCTAB nUsedTables;
+ short nIndent;
+ sal_Char sIndent[nIndentMax+1];
+ BOOL bAll; // ganzes Dokument
+ BOOL bTabHasGraphics;
+ BOOL bTabAlignedLeft;
+ BOOL bCalcAsShown;
+ BOOL bCopyLocalFileToINet;
BOOL bTableDataWidth;
BOOL bTableDataHeight;
- const SfxItemSet& PageDefaults( SCTAB nTab );
+ const SfxItemSet& PageDefaults( SCTAB nTab );
void WriteBody();
- void WriteHeader();
- void WriteOverview();
- void WriteTables();
- void WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab );
- void WriteGraphEntry( ScHTMLGraphEntry* );
+ void WriteHeader();
+ void WriteOverview();
+ void WriteTables();
+ void WriteCell( SCCOL nCol, SCROW nRow, SCTAB nTab );
+ void WriteGraphEntry( ScHTMLGraphEntry* );
void WriteImage( String& rLinkName,
const Graphic&, const ByteString& rImgOptions,
ULONG nXOutFlags = 0 );
// nXOutFlags fuer XOutBitmap::WriteGraphic
// write to stream if and only if URL fields in edit cell
- BOOL WriteFieldText( const ScEditCell* pCell );
+ BOOL WriteFieldText( const ScEditCell* pCell );
// kopiere ggfs. eine lokale Datei ins Internet
- BOOL CopyLocalFileToINet( String& rFileNm,
+ BOOL CopyLocalFileToINet( String& rFileNm,
const String& rTargetNm, BOOL bFileToFile = FALSE );
- BOOL HasCId() { return aCId.Len() > 0; }
- void MakeCIdURL( String& rURL );
+ BOOL HasCId() { return aCId.Len() > 0; }
+ void MakeCIdURL( String& rURL );
- void PrepareGraphics( ScDrawLayer*, SCTAB nTab,
+ void PrepareGraphics( ScDrawLayer*, SCTAB nTab,
SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow );
- void FillGraphList( const SdrPage*, SCTAB nTab,
+ void FillGraphList( const SdrPage*, SCTAB nTab,
SCCOL nStartCol, SCROW nStartRow,
SCCOL nEndCol, SCROW nEndRow );
- void BorderToStyle( ByteString& rOut, const char* pBorderName,
+ void BorderToStyle( ByteString& rOut, const char* pBorderName,
const SvxBorderLine* pLine, bool& bInsertSemicolon );
- USHORT GetFontSizeNumber( USHORT nHeight );
- const char* GetFontSizeCss( USHORT nHeight );
- USHORT ToPixel( USHORT nTwips );
- Size MMToPixel( const Size& r100thMMSize );
- void IncIndent( short nVal );
- const sal_Char* GetIndentStr() { return sIndent; }
+ USHORT GetFontSizeNumber( USHORT nHeight );
+ const char* GetFontSizeCss( USHORT nHeight );
+ USHORT ToPixel( USHORT nTwips );
+ Size MMToPixel( const Size& r100thMMSize );
+ void IncIndent( short nVal );
+ const sal_Char* GetIndentStr() { return sIndent; }
public:
ScHTMLExport( SvStream&, const String&, ScDocument*, const ScRange&,
BOOL bAll, const String& aStreamPath );
- virtual ~ScHTMLExport();
+ virtual ~ScHTMLExport();
ULONG Write();
const String& GetNonConvertibleChars() const
{ return aNonConvertibleChars; }
diff --git a/sc/source/filter/inc/htmlimp.hxx b/sc/source/filter/inc/htmlimp.hxx
index 0376b3cd72f5..9625fff3d2bc 100644
--- a/sc/source/filter/inc/htmlimp.hxx
+++ b/sc/source/filter/inc/htmlimp.hxx
@@ -1,7 +1,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
@@ -35,17 +35,17 @@ class ScHTMLParser;
class ScHTMLImport : public ScEEImport
{
private:
- static void InsertRangeName( ScDocument* pDoc, const String& rName, const ScRange& rRange );
+ static void InsertRangeName( ScDocument* pDoc, const String& rName, const ScRange& rRange );
public:
ScHTMLImport( ScDocument* pDoc, const String& rBaseURL, const ScRange& rRange, BOOL bCalcWidthHeight = TRUE );
virtual ~ScHTMLImport();
const ScHTMLParser* GetParser() const { return (ScHTMLParser*)mpParser; }
- virtual void WriteToDocument( BOOL bSizeColsRows = FALSE, double nOutputFactor = 1.0,
+ virtual void WriteToDocument( BOOL bSizeColsRows = FALSE, double nOutputFactor = 1.0,
SvNumberFormatter* pFormatter = NULL, bool bConvertDate = true );
- static String GetHTMLRangeNameList( ScDocument* pDoc, const String& rOrigName );
+ static String GetHTMLRangeNameList( ScDocument* pDoc, const String& rOrigName );
};
diff --git a/sc/source/filter/inc/htmlpars.hxx b/sc/source/filter/inc/htmlpars.hxx
index f053a1088ff1..20e84eedb806 100644
--- a/sc/source/filter/inc/htmlpars.hxx
+++ b/sc/source/filter/inc/htmlpars.hxx
@@ -1,7 +1,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
@@ -61,7 +61,7 @@ public:
explicit ScHTMLParser( EditEngine* pEditEngine, ScDocument* pDoc );
virtual ~ScHTMLParser();
- virtual ULONG Read( SvStream& rStrm, const String& rBaseURL ) = 0;
+ virtual ULONG Read( SvStream& rStrm, const String& rBaseURL ) = 0;
/** Returns the "global table" which contains the entire HTML document. */
virtual const ScHTMLTable* GetGlobalTable() const = 0;
@@ -74,19 +74,19 @@ SV_DECL_VARARR_SORT( ScHTMLColOffset, ULONG, 16, 4)
struct ScHTMLTableStackEntry
{
- ScRangeListRef xLockedList;
- ScEEParseEntry* pCellEntry;
- ScHTMLColOffset* pLocalColOffset;
- ULONG nFirstTableCell;
- SCCOL nColCnt;
- SCROW nRowCnt;
- SCCOL nColCntStart;
- SCCOL nMaxCol;
- USHORT nTable;
- USHORT nTableWidth;
- USHORT nColOffset;
- USHORT nColOffsetStart;
- BOOL bFirstRow;
+ ScRangeListRef xLockedList;
+ ScEEParseEntry* pCellEntry;
+ ScHTMLColOffset* pLocalColOffset;
+ ULONG nFirstTableCell;
+ SCCOL nColCnt;
+ SCROW nRowCnt;
+ SCCOL nColCntStart;
+ SCCOL nMaxCol;
+ USHORT nTable;
+ USHORT nTableWidth;
+ USHORT nColOffset;
+ USHORT nColOffsetStart;
+ BOOL bFirstRow;
ScHTMLTableStackEntry( ScEEParseEntry* pE,
const ScRangeListRef& rL, ScHTMLColOffset* pTO,
ULONG nFTC,
@@ -109,9 +109,9 @@ DECLARE_STACK( ScHTMLTableStack, ScHTMLTableStackEntry* )
struct ScHTMLAdjustStackEntry
{
- SCCOL nLastCol;
- SCROW nNextRow;
- SCROW nCurRow;
+ SCCOL nLastCol;
+ SCROW nNextRow;
+ SCROW nCurRow;
ScHTMLAdjustStackEntry( SCCOL nLCol, SCROW nNRow,
SCROW nCRow )
: nLastCol( nLCol ), nNextRow( nNRow ),
@@ -132,65 +132,65 @@ class ScHTMLLayoutParser : public ScHTMLParser
private:
Size aPageSize;
String aBaseURL;
- ScHTMLTableStack aTableStack;
- String aString;
- ScRangeListRef xLockedList; // je Table
- Table* pTables;
- ScHTMLColOffset* pColOffset;
- ScHTMLColOffset* pLocalColOffset; // je Table
- ULONG nFirstTableCell; // je Table
- short nTableLevel;
- USHORT nTable;
- USHORT nMaxTable;
- SCCOL nColCntStart; // erste Col je Table
- SCCOL nMaxCol; // je Table
- USHORT nTableWidth; // je Table
- USHORT nColOffset; // aktuell, Pixel
- USHORT nColOffsetStart; // Startwert je Table, in Pixel
- USHORT nMetaCnt; // fuer ParseMetaOptions
+ ScHTMLTableStack aTableStack;
+ String aString;
+ ScRangeListRef xLockedList; // je Table
+ Table* pTables;
+ ScHTMLColOffset* pColOffset;
+ ScHTMLColOffset* pLocalColOffset; // je Table
+ ULONG nFirstTableCell; // je Table
+ short nTableLevel;
+ USHORT nTable;
+ USHORT nMaxTable;
+ SCCOL nColCntStart; // erste Col je Table
+ SCCOL nMaxCol; // je Table
+ USHORT nTableWidth; // je Table
+ USHORT nColOffset; // aktuell, Pixel
+ USHORT nColOffsetStart; // Startwert je Table, in Pixel
+ USHORT nMetaCnt; // fuer ParseMetaOptions
USHORT nOffsetTolerance; // for use with SeekOffset and related
- BOOL bCalcWidthHeight; // TRUE: calculate real column width
+ BOOL bCalcWidthHeight; // TRUE: calculate real column width
// FALSE: 1 html-col = 1 sc-col
- BOOL bTabInTabCell;
- BOOL bFirstRow; // je Table, ob in erster Zeile
- BOOL bInCell;
- BOOL bInTitle;
+ BOOL bTabInTabCell;
+ BOOL bFirstRow; // je Table, ob in erster Zeile
+ BOOL bInCell;
+ BOOL bInTitle;
DECL_LINK( HTMLImportHdl, ImportInfo* );
- void NewActEntry( ScEEParseEntry* );
- void EntryEnd( ScEEParseEntry*, const ESelection& );
- void ProcToken( ImportInfo* );
- void CloseEntry( ImportInfo* );
- void NextRow( ImportInfo* );
- void SkipLocked( ScEEParseEntry*, BOOL bJoin = TRUE );
- static BOOL SeekOffset( ScHTMLColOffset*, USHORT nOffset,
+ void NewActEntry( ScEEParseEntry* );
+ void EntryEnd( ScEEParseEntry*, const ESelection& );
+ void ProcToken( ImportInfo* );
+ void CloseEntry( ImportInfo* );
+ void NextRow( ImportInfo* );
+ void SkipLocked( ScEEParseEntry*, BOOL bJoin = TRUE );
+ static BOOL SeekOffset( ScHTMLColOffset*, USHORT nOffset,
SCCOL* pCol, USHORT nOffsetTol );
- static void MakeCol( ScHTMLColOffset*, USHORT& nOffset,
+ static void MakeCol( ScHTMLColOffset*, USHORT& nOffset,
USHORT& nWidth, USHORT nOffsetTol,
USHORT nWidthTol );
- static void MakeColNoRef( ScHTMLColOffset*, USHORT nOffset,
+ static void MakeColNoRef( ScHTMLColOffset*, USHORT nOffset,
USHORT nWidth, USHORT nOffsetTol,
USHORT nWidthTol );
- static void ModifyOffset( ScHTMLColOffset*, USHORT& nOldOffset,
+ static void ModifyOffset( ScHTMLColOffset*, USHORT& nOldOffset,
USHORT& nNewOffset, USHORT nOffsetTol );
- void Colonize( ScEEParseEntry* );
- USHORT GetWidth( ScEEParseEntry* );
- void SetWidths();
- void Adjust();
+ void Colonize( ScEEParseEntry* );
+ USHORT GetWidth( ScEEParseEntry* );
+ void SetWidths();
+ void Adjust();
- USHORT GetWidthPixel( const HTMLOption* );
- BOOL IsAtBeginningOfText( ImportInfo* );
+ USHORT GetWidthPixel( const HTMLOption* );
+ BOOL IsAtBeginningOfText( ImportInfo* );
- void TableOn( ImportInfo* );
+ void TableOn( ImportInfo* );
void ColOn( ImportInfo* );
void TableRowOn( ImportInfo* );
void TableRowOff( ImportInfo* );
- void TableDataOn( ImportInfo* );
+ void TableDataOn( ImportInfo* );
void TableDataOff( ImportInfo* );
- void TableOff( ImportInfo* );
+ void TableOff( ImportInfo* );
void Image( ImportInfo* );
- void AnchorOn( ImportInfo* );
- void FontOn( ImportInfo* );
+ void AnchorOn( ImportInfo* );
+ void FontOn( ImportInfo* );
public:
ScHTMLLayoutParser( EditEngine*, const String& rBaseURL, const Size& aPageSize, ScDocument* );
diff --git a/sc/source/filter/inc/imp_op.hxx b/sc/source/filter/inc/imp_op.hxx
index 2df58173a63a..3775d4ea0abc 100644
--- a/sc/source/filter/inc/imp_op.hxx
+++ b/sc/source/filter/inc/imp_op.hxx
@@ -1,7 +1,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
@@ -55,14 +55,14 @@ class ExcelToSc;
class ImportTyp
{
protected:
- CharSet eQuellChar; // Quell-Zeichensatz
- ScDocument* pD; // Dokument
+ CharSet eQuellChar; // Quell-Zeichensatz
+ ScDocument* pD; // Dokument
public:
ImportTyp( ScDocument*, CharSet eSrc );
- virtual ~ImportTyp();
+ virtual ~ImportTyp();
- virtual FltError Read( void );
+ virtual FltError Read( void );
};
class XclImpOutlineDataBuffer : protected XclImpRoot
@@ -89,7 +89,7 @@ private:
class ImportExcel : public ImportTyp, protected XclImpRoot
{
protected:
- static const double fExcToTwips; // Umrechnung 1/256 Zeichen -> Twips
+ static const double fExcToTwips; // Umrechnung 1/256 Zeichen -> Twips
RootData* pExcRoot;
@@ -100,7 +100,7 @@ protected:
ScRange maScOleSize; /// Visible range if embedded.
NameBuffer* pExtNameBuff; // ... externe Namen (Ind.-Basis=1)
- ExcelToSc* pFormConv; // Formel-Konverter
+ ExcelToSc* pFormConv; // Formel-Konverter
XclImpOutlineBuffer* pColOutlineBuff;
XclImpOutlineBuffer* pRowOutlineBuff;
@@ -110,13 +110,13 @@ protected:
XclImpOutlineListBuffer* pOutlineListBuffer;
sal_Int16 mnLastRefIdx;
- UINT16 nIxfeIndex; // merkt sich Angabe im IXFE-Record
- UINT16 nLastXF; // letzter XF in Formula-Record
- SCTAB nBdshtTab; // Counter fuer Boundsheet
- ScFormulaCell* pLastFormCell; // fuer String-Records
+ UINT16 nIxfeIndex; // merkt sich Angabe im IXFE-Record
+ UINT16 nLastXF; // letzter XF in Formula-Record
+ SCTAB nBdshtTab; // Counter fuer Boundsheet
+ ScFormulaCell* pLastFormCell; // fuer String-Records
- BOOL bTabTruncated; // wenn Bereichsueberschreitung zum
- // Abschneiden von Zellen fuehrt
+ BOOL bTabTruncated; // wenn Bereichsueberschreitung zum
+ // Abschneiden von Zellen fuehrt
// Record-Funktionen
void ReadFileSharing();
@@ -132,62 +132,62 @@ protected:
void ReadRk();
void Window1();
- void Formula25( void ); // 0x06 -> excform.cxx
- void Row25( void ); // 0x08
- void Bof2( void ); // 0x09
- void Eof( void ); // 0x0A
- void DocProtect( void ); // 0x12
+ void Formula25( void ); // 0x06 -> excform.cxx
+ void Row25( void ); // 0x08
+ void Bof2( void ); // 0x09
+ void Eof( void ); // 0x0A
+ void DocProtect( void ); // 0x12
void SheetProtect( void ); // 0x12 Sheet Protection
void DocPasssword( void ); // 0x13 document password
void SheetPassword( void ); // 0x13 sheet password
- void Externsheet( void ); // 0x17
+ void Externsheet( void ); // 0x17
void WinProtection( void ); // 0x19
- void Columndefault( void ); // 0x20
- void Array25( void ); // 0x21
- void Rec1904( void ); // 0x22
- void Externname25( void ); // 0x23
- void Colwidth( void ); // 0x24
- void Defrowheight2( void ); // 0x25
-// void Window1( void ); // 0x3D
- void Codepage( void ); // 0x42
- void Ixfe( void ); // 0x44
- void DefColWidth( void ); // 0x55
- void Builtinfmtcnt( void ); // 0x56
- void Colinfo( void ); // 0x7D
- void Wsbool( void ); // 0x81
- void Boundsheet( void ); // 0x85
- void Country( void ); // 0x8C
- void Hideobj( void ); // 0x8D
- void Bundleheader( void ); // 0x8F
- void Standardwidth( void ); // 0x99
- void Shrfmla( void ); // 0xBC
- void Mulrk( void ); // 0xBD
- void Mulblank( void ); // 0xBE
- void Rstring( void ); // 0xD6
+ void Columndefault( void ); // 0x20
+ void Array25( void ); // 0x21
+ void Rec1904( void ); // 0x22
+ void Externname25( void ); // 0x23
+ void Colwidth( void ); // 0x24
+ void Defrowheight2( void ); // 0x25
+// void Window1( void ); // 0x3D
+ void Codepage( void ); // 0x42
+ void Ixfe( void ); // 0x44
+ void DefColWidth( void ); // 0x55
+ void Builtinfmtcnt( void ); // 0x56
+ void Colinfo( void ); // 0x7D
+ void Wsbool( void ); // 0x81
+ void Boundsheet( void ); // 0x85
+ void Country( void ); // 0x8C
+ void Hideobj( void ); // 0x8D
+ void Bundleheader( void ); // 0x8F
+ void Standardwidth( void ); // 0x99
+ void Shrfmla( void ); // 0xBC
+ void Mulrk( void ); // 0xBD
+ void Mulblank( void ); // 0xBE
+ void Rstring( void ); // 0xD6
void Cellmerging( void ); // 0xE5
void Olesize( void ); // 0xDE
void ReadUsesElfs(); // 0x0160
- void Formula3( void ); // 0x0206 -> excform.cxx
+ void Formula3( void ); // 0x0206 -> excform.cxx
// 0x0207 -> 0x07
- void Row34( void ); // 0x0208
- void Bof3( void ); // 0x0209
- void Array34( void ); // 0x0221
- void Externname34( void ); // 0x0223
- void Defrowheight345( void ); // 0x0225
- void TableOp( void ); // 0x0236
- //void Rk( void ); // 0x027E -> 0x7E
- void Formula4( void ); // 0x0406 -> excform.cxx
- void Bof4( void ); // 0x0409
- void Bof5( void ); // 0x0809
+ void Row34( void ); // 0x0208
+ void Bof3( void ); // 0x0209
+ void Array34( void ); // 0x0221
+ void Externname34( void ); // 0x0223
+ void Defrowheight345( void ); // 0x0225
+ void TableOp( void ); // 0x0236
+ //void Rk( void ); // 0x027E -> 0x7E
+ void Formula4( void ); // 0x0406 -> excform.cxx
+ void Bof4( void ); // 0x0409
+ void Bof5( void ); // 0x0809
// ---------------------------------------------------------------
void Formula( const XclAddress& rXclPos,
UINT16 nXF, UINT16 nFormLen, double &rCurVal, BOOL bShrFmla );
- // -> excform.cxx
+ // -> excform.cxx
virtual void EndSheet( void );
- void NeueTabelle( void );
- const ScTokenArray* ErrorToFormula( BYTE bErrOrVal, BYTE nError,
+ void NeueTabelle( void );
+ const ScTokenArray* ErrorToFormula( BYTE bErrOrVal, BYTE nError,
double& rVal );
virtual void AdjustRowHeight();
@@ -196,9 +196,9 @@ protected:
public:
ImportExcel( XclImpRootData& rImpData, SvStream& rStrm );
- virtual ~ImportExcel( void );
+ virtual ~ImportExcel( void );
- virtual FltError Read( void );
+ virtual FltError Read( void );
};
#endif
diff --git a/sc/source/filter/inc/lotattr.hxx b/sc/source/filter/inc/lotattr.hxx
index 7015136f1be1..302decc30b47 100644
--- a/sc/source/filter/inc/lotattr.hxx
+++ b/sc/source/filter/inc/lotattr.hxx
@@ -1,7 +1,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
@@ -46,13 +46,13 @@ class LotAttrTable;
struct LotAttrWK3
{
- UINT8 nFont;
- UINT8 nLineStyle;
- UINT8 nFontCol;
- UINT8 nBack;
+ UINT8 nFont;
+ UINT8 nLineStyle;
+ UINT8 nFontCol;
+ UINT8 nBack;
- inline BOOL HasStyles( void );
- inline BOOL IsCentered( void );
+ inline BOOL HasStyles( void );
+ inline BOOL IsCentered( void );
};
@@ -76,41 +76,41 @@ private:
struct ENTRY
{
- ScPatternAttr* pPattAttr;
- UINT32 nHash0;
+ ScPatternAttr* pPattAttr;
+ UINT32 nHash0;
- inline ENTRY( const ScPatternAttr& r ) { pPattAttr = new ScPatternAttr( r ); }
+ inline ENTRY( const ScPatternAttr& r ) { pPattAttr = new ScPatternAttr( r ); }
- inline ENTRY( ScPatternAttr* p ) { pPattAttr = p; }
+ inline ENTRY( ScPatternAttr* p ) { pPattAttr = p; }
- inline ~ENTRY() { delete pPattAttr; }
+ inline ~ENTRY() { delete pPattAttr; }
- inline BOOL operator ==( const ENTRY& r ) const { return nHash0 == r.nHash0; }
+ inline BOOL operator ==( const ENTRY& r ) const { return nHash0 == r.nHash0; }
- inline BOOL operator ==( const UINT32& r ) const { return nHash0 == r; }
+ inline BOOL operator ==( const UINT32& r ) const { return nHash0 == r; }
};
- ScDocumentPool* pDocPool;
- SvxColorItem* ppColorItems[ 6 ]; // 0 und 7 fehlen!
- SvxColorItem* pBlack;
- SvxColorItem* pWhite;
- Color* pColTab;
+ ScDocumentPool* pDocPool;
+ SvxColorItem* ppColorItems[ 6 ]; // 0 und 7 fehlen!
+ SvxColorItem* pBlack;
+ SvxColorItem* pWhite;
+ Color* pColTab;
- inline static void MakeHash( const LotAttrWK3& rAttr, UINT32& rOut )
+ inline static void MakeHash( const LotAttrWK3& rAttr, UINT32& rOut )
{
( ( UINT8* ) &rOut )[ 0 ] = rAttr.nFont & 0x7F;
( ( UINT8* ) &rOut )[ 1 ] = rAttr.nLineStyle;
( ( UINT8* ) &rOut )[ 2 ] = rAttr.nFontCol;
( ( UINT8* ) &rOut )[ 3 ] = rAttr.nBack;
}
- static void LotusToScBorderLine( UINT8 nLine, SvxBorderLine& );
- const SvxColorItem& GetColorItem( const UINT8 nLotIndex ) const;
- const Color& GetColor( const UINT8 nLotIndex ) const;
+ static void LotusToScBorderLine( UINT8 nLine, SvxBorderLine& );
+ const SvxColorItem& GetColorItem( const UINT8 nLotIndex ) const;
+ const Color& GetColor( const UINT8 nLotIndex ) const;
public:
LotAttrCache( void );
~LotAttrCache();
- const ScPatternAttr& GetPattAttr( const LotAttrWK3& );
+ const ScPatternAttr& GetPattAttr( const LotAttrWK3& );
};
@@ -119,30 +119,30 @@ class LotAttrCol : private List
private:
struct ENTRY
{
- const ScPatternAttr* pPattAttr;
- SCROW nFirstRow;
- SCROW nLastRow;
+ const ScPatternAttr* pPattAttr;
+ SCROW nFirstRow;
+ SCROW nLastRow;
};
public:
~LotAttrCol( void );
- void SetAttr( const SCROW nRow, const ScPatternAttr& );
- void Apply( const SCCOL nCol, const SCTAB nTab, const BOOL bClear = TRUE );
- void Clear( void );
+ void SetAttr( const SCROW nRow, const ScPatternAttr& );
+ void Apply( const SCCOL nCol, const SCTAB nTab, const BOOL bClear = TRUE );
+ void Clear( void );
};
class LotAttrTable
{
private:
- LotAttrCol pCols[ MAXCOLCOUNT ];
- LotAttrCache aAttrCache;
+ LotAttrCol pCols[ MAXCOLCOUNT ];
+ LotAttrCache aAttrCache;
public:
LotAttrTable( void );
~LotAttrTable();
- void SetAttr( const SCCOL nColFirst, const SCCOL nColLast, const SCROW nRow, const LotAttrWK3& );
- void Apply( const SCTAB nTabNum );
+ void SetAttr( const SCCOL nColFirst, const SCCOL nColLast, const SCROW nRow, const LotAttrWK3& );
+ void Apply( const SCTAB nTabNum );
};
diff --git a/sc/source/filter/inc/lotfntbf.hxx b/sc/source/filter/inc/lotfntbf.hxx
index 5c8771814206..8f9bd35724f2 100644
--- a/sc/source/filter/inc/lotfntbf.hxx
+++ b/sc/source/filter/inc/lotfntbf.hxx
@@ -1,7 +1,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
@@ -44,12 +44,12 @@ class LotusFontBuffer
private:
struct ENTRY
{
- String* pTmpName;
- SvxFontItem* pFont;
- SvxFontHeightItem* pHeight;
- SvxColorItem* pColor;
- INT32 nType; // < 0 -> undefiniert
- inline ENTRY( void )
+ String* pTmpName;
+ SvxFontItem* pFont;
+ SvxFontHeightItem* pHeight;
+ SvxColorItem* pColor;
+ INT32 nType; // < 0 -> undefiniert
+ inline ENTRY( void )
{
pTmpName = NULL;
pFont = NULL;
@@ -57,7 +57,7 @@ private:
pColor = NULL;
nType = -1;
}
- inline ~ENTRY()
+ inline ~ENTRY()
{
if( pTmpName )
delete pTmpName;
@@ -68,42 +68,42 @@ private:
if( pColor )
delete pColor;
}
- inline void TmpName( const String &rNew )
+ inline void TmpName( const String &rNew )
{
if( pTmpName )
*pTmpName = rNew;
else
pTmpName = new String( rNew );
}
- inline void Font( SvxFontItem& rNew )
+ inline void Font( SvxFontItem& rNew )
{
if( pFont )
delete pFont;
pFont = &rNew;
}
- inline void Height( SvxFontHeightItem& rNew )
+ inline void Height( SvxFontHeightItem& rNew )
{
if( pHeight )
delete pHeight;
pHeight = &rNew;
}
- inline void Color( SvxColorItem& rNew )
+ inline void Color( SvxColorItem& rNew )
{
if( pColor )
delete pColor;
pColor = &rNew;
}
- inline void Type( const UINT16 nNew ) { nType = nNew; }
+ inline void Type( const UINT16 nNew ) { nType = nNew; }
};
- ENTRY pData[ 8 ];
- const static UINT16 nSize;
- void MakeFont( ENTRY* pEntry );
+ ENTRY pData[ 8 ];
+ const static UINT16 nSize;
+ void MakeFont( ENTRY* pEntry );
public:
- void Fill( const UINT8 nIndex, SfxItemSet& rItemSet );
- void SetName( const UINT16 nIndex, const String& rName );
- void SetHeight( const UINT16 nIndex, const UINT16 nHeight );
- void SetType( const UINT16 nIndex, const UINT16 nType );
+ void Fill( const UINT8 nIndex, SfxItemSet& rItemSet );
+ void SetName( const UINT16 nIndex, const String& rName );
+ void SetHeight( const UINT16 nIndex, const UINT16 nHeight );
+ void SetType( const UINT16 nIndex, const UINT16 nType );
};
diff --git a/sc/source/filter/inc/lotform.hxx b/sc/source/filter/inc/lotform.hxx
index 0a341e29ae51..198fe0a3f7ac 100644
--- a/sc/source/filter/inc/lotform.hxx
+++ b/sc/source/filter/inc/lotform.hxx
@@ -1,7 +1,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
@@ -36,34 +36,34 @@
enum FUNC_TYPE
{
- FT_Return = 0, // End Formula
- FT_FuncFix0, // Funktion, 0 Parameter
- FT_FuncFix1, // Funktion, 0 Parameter
- FT_FuncFix2, // Funktion, 0 Parameter
- FT_FuncFix3, // Funktion, 0 Parameter
- FT_FuncFix4, // Funktion, 0 Parameter
- FT_FuncVar, // ~, var. P.
- FT_Neg, // Negierung
- FT_Op, // Operator
- FT_NotImpl, // nicht implementiert
- FT_ConstFloat, // Double (8-Byte)
- FT_Variable, // Single Ref
- FT_Range, // Double Ref
- FT_Braces, // Klammmern
- FT_ConstInt, // Integer
- FT_ConstString, // String
- FT_NOP, // nichts
+ FT_Return = 0, // End Formula
+ FT_FuncFix0, // Funktion, 0 Parameter
+ FT_FuncFix1, // Funktion, 0 Parameter
+ FT_FuncFix2, // Funktion, 0 Parameter
+ FT_FuncFix3, // Funktion, 0 Parameter
+ FT_FuncFix4, // Funktion, 0 Parameter
+ FT_FuncVar, // ~, var. P.
+ FT_Neg, // Negierung
+ FT_Op, // Operator
+ FT_NotImpl, // nicht implementiert
+ FT_ConstFloat, // Double (8-Byte)
+ FT_Variable, // Single Ref
+ FT_Range, // Double Ref
+ FT_Braces, // Klammmern
+ FT_ConstInt, // Integer
+ FT_ConstString, // String
+ FT_NOP, // nichts
// zusaetzlich ab WK3
- FT_Cref, // Cell Reference
- FT_Rref, // Range Reference
- FT_Nrref, // Named range reference
- FT_Absnref, // Absolut named range
- FT_Erref, // Err range reference
- FT_Ecref, // Err cell reference
- FT_Econstant, // Err constant
- FT_Splfunc, // SPLfunction
+ FT_Cref, // Cell Reference
+ FT_Rref, // Range Reference
+ FT_Nrref, // Named range reference
+ FT_Absnref, // Absolut named range
+ FT_Erref, // Err range reference
+ FT_Ecref, // Err cell reference
+ FT_Econstant, // Err constant
+ FT_Splfunc, // SPLfunction
FT_Const10Float,// Float (10-Byte)
- FT_Snum // Const Short Num
+ FT_Snum // Const Short Num
// fuer 'Problemfaelle' beim Import
};
@@ -73,38 +73,38 @@ enum FUNC_TYPE
class LotusToSc : public LotusConverterBase
{
private:
- CharSet eSrcChar;
- TokenId nAddToken; // ')+1.0'
- TokenId nSubToken; // ~
- TokenId n0Token; // '0.0';
+ CharSet eSrcChar;
+ TokenId nAddToken; // ')+1.0'
+ TokenId nSubToken; // ~
+ TokenId n0Token; // '0.0';
// ---------------------------------------------------------------
- static FUNC_TYPE IndexToType( BYTE );
- static DefTokenId IndexToToken( BYTE );
- static FUNC_TYPE IndexToTypeWK123( BYTE );
- static DefTokenId IndexToTokenWK123( BYTE );
- void DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtName );
- void LotusRelToScRel( UINT16 nCol, UINT16 nRow,
+ static FUNC_TYPE IndexToType( BYTE );
+ static DefTokenId IndexToToken( BYTE );
+ static FUNC_TYPE IndexToTypeWK123( BYTE );
+ static DefTokenId IndexToTokenWK123( BYTE );
+ void DoFunc( DefTokenId eOc, BYTE nAnz, const sal_Char* pExtName );
+ void LotusRelToScRel( UINT16 nCol, UINT16 nRow,
ScSingleRefData& rSRD );
- BOOL bWK3; // alternative Codeumsetzung statt fuer < WK1
+ BOOL bWK3; // alternative Codeumsetzung statt fuer < WK1
BOOL bWK123; // alternative for 123
// -------------------------------------------------------------------
- void ReadSRD( ScSingleRefData& rSRD, BYTE nFlags );
- inline void ReadCRD( ScComplexRefData& rCRD, BYTE nFlags );
- void IncToken( TokenId &rParam );
+ void ReadSRD( ScSingleRefData& rSRD, BYTE nFlags );
+ inline void ReadCRD( ScComplexRefData& rCRD, BYTE nFlags );
+ void IncToken( TokenId &rParam );
// ACHTUNG: hier wird die aktuelle Token-Kette im Pool
// mit '(<rParam>)+1' fortgeschrieben und mit
// Store() abgeschlossen!
- void DecToken( TokenId& rParam );
+ void DecToken( TokenId& rParam );
// ACHTUNG: ~
- void NegToken( TokenId& rParam );
+ void NegToken( TokenId& rParam );
// ACHTUNG: wie ~, nur wird '-(<rParam>)' gebildet
public:
LotusToSc( SvStream& aStr, CharSet eSrc, BOOL b );
- virtual ConvErr Convert( const ScTokenArray*& rpErg, INT32& nRest,
+ virtual ConvErr Convert( const ScTokenArray*& rpErg, INT32& nRest,
const FORMULA_TYPE eFT = FT_CellFormula );
void Reset( const ScAddress& rEingPos );
- inline void SetWK3( void );
+ inline void SetWK3( void );
private:
using LotusConverterBase::Reset;
diff --git a/sc/source/filter/inc/lotimpop.hxx b/sc/source/filter/inc/lotimpop.hxx
index 15c0a2931dc4..01df311623d6 100644
--- a/sc/source/filter/inc/lotimpop.hxx
+++ b/sc/source/filter/inc/lotimpop.hxx
@@ -1,7 +1,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
@@ -44,56 +44,56 @@ class SvxBorderLine;
class ImportLotus : public ImportTyp
{
private:
- SvStream* pIn; // benoetigt wegen multiplem Read()!
- LotusFontBuffer* pFontBuff;
- LotusToSc aConv;
+ SvStream* pIn; // benoetigt wegen multiplem Read()!
+ LotusFontBuffer* pFontBuff;
+ LotusToSc aConv;
UINT16 nTab; // z.Zt. bearbeitete Tabelle
- INT32 nExtTab;
+ INT32 nExtTab;
// -------------------------------------------------------------------
// in WK?-Datei
- void Bof( void ); // 0x0000 00
- BOOL BofFm3( void ); // 0x0000 00
- void Columnwidth( UINT16 nRecLen ); // 0x0007 07
- void Hiddencolumn( UINT16 nRecLen ); // 0x0008 08
- void Userrange( void ); // 0x0009 09
- void Errcell( void ); // 0x0014 20
- void Nacell( void ); // 0x0015 21
- void Labelcell( void ); // 0x0016 22
- void Numbercell( void ); // 0x0017 23
- void Smallnumcell( void ); // 0x0018 24
- ScFormulaCell* Formulacell( UINT16 nRecLen ); // 0x0019 25
- void Formulastring( ScFormulaCell& ); // 0x001a 26
- // 0x001b 27 special
- void NamedSheet( void ); // 14000
- void RowPresentation( UINT16 nRecLen ); // 2007
+ void Bof( void ); // 0x0000 00
+ BOOL BofFm3( void ); // 0x0000 00
+ void Columnwidth( UINT16 nRecLen ); // 0x0007 07
+ void Hiddencolumn( UINT16 nRecLen ); // 0x0008 08
+ void Userrange( void ); // 0x0009 09
+ void Errcell( void ); // 0x0014 20
+ void Nacell( void ); // 0x0015 21
+ void Labelcell( void ); // 0x0016 22
+ void Numbercell( void ); // 0x0017 23
+ void Smallnumcell( void ); // 0x0018 24
+ ScFormulaCell* Formulacell( UINT16 nRecLen ); // 0x0019 25
+ void Formulastring( ScFormulaCell& ); // 0x001a 26
+ // 0x001b 27 special
+ void NamedSheet( void ); // 14000
+ void RowPresentation( UINT16 nRecLen ); // 2007
// -------------------------------------------------------------------
// in FM?-Datei
- void Font_Face( void ); // 174
- void Font_Type( void ); // 176
- void Font_Ysize( void ); // 177
- void _Row( const UINT16 nRecLen ); // 197 ?
+ void Font_Face( void ); // 174
+ void Font_Type( void ); // 176
+ void Font_Ysize( void ); // 177
+ void _Row( const UINT16 nRecLen ); // 197 ?
// -------------------------------------------------------------------
- inline void Read( ScAddress& );
- inline void Read( ScRange& );
+ inline void Read( ScAddress& );
+ inline void Read( ScRange& );
// fuer Addresses/Ranges im Format Row(16)/Tab(8)/Col(8)
- inline void Read( sal_Char& );
- inline void Read( BYTE& );
- inline void Read( UINT16& );
- inline void Read( INT16& );
- inline void Read( UINT32& );
- inline void Read( double& ); // 10-Byte-IEEE lesen
- inline void Read( LotAttrWK3& );
- void Read( String& ); // 0-terminierten String einlesen
- inline void Skip( const UINT16 nNumBytes );
+ inline void Read( sal_Char& );
+ inline void Read( BYTE& );
+ inline void Read( UINT16& );
+ inline void Read( INT16& );
+ inline void Read( UINT32& );
+ inline void Read( double& ); // 10-Byte-IEEE lesen
+ inline void Read( LotAttrWK3& );
+ void Read( String& ); // 0-terminierten String einlesen
+ inline void Skip( const UINT16 nNumBytes );
// -------------------------------------------------------------------
public:
ImportLotus( SvStream&, ScDocument*, CharSet eSrc );
- virtual ~ImportLotus();
+ virtual ~ImportLotus();
- FltError Read();
- FltError Read( SvStream& ); // special for *.fm3-Dateien
+ FltError Read();
+ FltError Read( SvStream& ); // special for *.fm3-Dateien
};
diff --git a/sc/source/filter/inc/lotrange.hxx b/sc/source/filter/inc/lotrange.hxx
index ab9acf9f476e..a1515007ea85 100644
--- a/sc/source/filter/inc/lotrange.hxx
+++ b/sc/source/filter/inc/lotrange.hxx
@@ -1,7 +1,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
@@ -35,30 +35,30 @@
class LotusRangeList;
-typedef UINT16 LR_ID;
-#define ID_FAIL 0xFFFF
+typedef UINT16 LR_ID;
+#define ID_FAIL 0xFFFF
class LotusRange
{
friend class LotusRangeList;
private:
- UINT32 nHash;
- SCCOL nColStart;
- SCROW nRowStart;
- SCCOL nColEnd;
- SCROW nRowEnd;
- LR_ID nId;
- void MakeHash( void );
- inline void Copy( const LotusRange& );
- inline void SetId( LR_ID nId );
+ UINT32 nHash;
+ SCCOL nColStart;
+ SCROW nRowStart;
+ SCCOL nColEnd;
+ SCROW nRowEnd;
+ LR_ID nId;
+ void MakeHash( void );
+ inline void Copy( const LotusRange& );
+ inline void SetId( LR_ID nId );
public:
LotusRange( SCCOL nCol, SCROW nRow );
LotusRange( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE );
LotusRange( const LotusRange& );
- inline LotusRange &operator =( const LotusRange& );
- inline BOOL operator ==( const LotusRange& ) const;
- inline BOOL operator !=( const LotusRange& ) const;
- inline BOOL IsSingle( void ) const;
+ inline LotusRange &operator =( const LotusRange& );
+ inline BOOL operator ==( const LotusRange& ) const;
+ inline BOOL operator !=( const LotusRange& ) const;
+ inline BOOL IsSingle( void ) const;
};
@@ -112,20 +112,20 @@ inline BOOL LotusRange::IsSingle( void ) const
class LotusRangeList : private List
{
private:
- LR_ID nIdCnt;
- ScComplexRefData aComplRef;
- static SCCOL nEingCol;
- static SCROW nEingRow;
+ LR_ID nIdCnt;
+ ScComplexRefData aComplRef;
+ static SCCOL nEingCol;
+ static SCROW nEingRow;
public:
LotusRangeList( void );
~LotusRangeList( void );
- inline UINT16 GetIndex( SCCOL nCol, SCROW nRow );
- inline UINT16 GetIndex( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE );
- UINT16 GetIndex( const LotusRange& );
- inline void Append( SCCOL nCol, SCROW nRow, const String& );
- inline void Append( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE, const String& );
- void Append( LotusRange* pLR, const String& rName );
- inline static void SetEing( const SCCOL nCol, const SCROW nRow );
+ inline UINT16 GetIndex( SCCOL nCol, SCROW nRow );
+ inline UINT16 GetIndex( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE );
+ UINT16 GetIndex( const LotusRange& );
+ inline void Append( SCCOL nCol, SCROW nRow, const String& );
+ inline void Append( SCCOL nColS, SCROW nRowS, SCCOL nColE, SCROW nRowE, const String& );
+ void Append( LotusRange* pLR, const String& rName );
+ inline static void SetEing( const SCCOL nCol, const SCROW nRow );
};
diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index c8182e8c0c17..ddf928ef5346 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -1,7 +1,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
@@ -49,17 +49,17 @@ class StringHashEntry
{
private:
friend class NameBuffer;
- String aString;
- UINT32 nHash;
+ String aString;
+ UINT32 nHash;
- static UINT32 MakeHashCode( const String& );
+ static UINT32 MakeHashCode( const String& );
public:
- inline StringHashEntry( const String& );
- inline StringHashEntry( void );
- inline void operator =( const sal_Char* );
- inline void operator =( const String& );
- inline void operator =( const StringHashEntry& );
- inline BOOL operator ==( const StringHashEntry& ) const;
+ inline StringHashEntry( const String& );
+ inline StringHashEntry( void );
+ inline void operator =( const sal_Char* );
+ inline void operator =( const String& );
+ inline void operator =( const StringHashEntry& );
+ inline BOOL operator ==( const StringHashEntry& ) const;
};
@@ -105,17 +105,17 @@ inline BOOL StringHashEntry::operator ==( const StringHashEntry& r ) const
class NameBuffer : private List, public ExcRoot
{
private:
- UINT16 nBase; // Index-Basis
+ UINT16 nBase; // Index-Basis
public:
// inline NameBuffer( void ); //#94039# prevent empty rootdata
- inline NameBuffer( RootData* );
- inline NameBuffer( RootData*, UINT16 nNewBase );
-
- virtual ~NameBuffer();
- inline const String* Get( UINT16 nIndex );
- inline UINT16 GetLastIndex( void );
- inline void SetBase( UINT16 nNewBase = 0 );
- void operator <<( const String& rNewString );
+ inline NameBuffer( RootData* );
+ inline NameBuffer( RootData*, UINT16 nNewBase );
+
+ virtual ~NameBuffer();
+ inline const String* Get( UINT16 nIndex );
+ inline UINT16 GetLastIndex( void );
+ inline void SetBase( UINT16 nNewBase = 0 );
+ void operator <<( const String& rNewString );
};
//#94039# prevent empty rootdata
@@ -176,20 +176,20 @@ class ShrfmlaBuffer : public ExcRoot
size_t operator() (const ScAddress &addr) const;
};
typedef std::hash_map <ScAddress, USHORT, ScAddressHashFunc> ShrfmlaHash;
- typedef std::list <ScRange> ShrfmlaList;
+ typedef std::list <ScRange> ShrfmlaList;
- ShrfmlaHash index_hash;
- ShrfmlaList index_list;
+ ShrfmlaHash index_hash;
+ ShrfmlaList index_list;
size_t mnCurrIdx;
public:
ShrfmlaBuffer( RootData* pRD );
- virtual ~ShrfmlaBuffer();
+ virtual ~ShrfmlaBuffer();
void Clear();
- void Store( const ScRange& rRange, const ScTokenArray& );
+ void Store( const ScRange& rRange, const ScTokenArray& );
USHORT Find (const ScAddress & rAddress ) const;
- static String CreateName( const ScRange& );
+ static String CreateName( const ScRange& );
};
@@ -200,12 +200,12 @@ class RangeNameBufferWK3 : private List
private:
struct ENTRY
{
- StringHashEntry aStrHashEntry;
- ScComplexRefData aScComplexRefDataRel;
- String aScAbsName;
- UINT16 nAbsInd; // == 0 -> noch keine Abs-Name!
- UINT16 nRelInd;
- BOOL bSingleRef;
+ StringHashEntry aStrHashEntry;
+ ScComplexRefData aScComplexRefDataRel;
+ String aScAbsName;
+ UINT16 nAbsInd; // == 0 -> noch keine Abs-Name!
+ UINT16 nRelInd;
+ BOOL bSingleRef;
ENTRY( const String& rName, const String& rScName, const ScComplexRefData& rCRD ) :
aStrHashEntry( rName ),
aScComplexRefDataRel( rCRD ),
@@ -216,23 +216,23 @@ private:
}
};
- ScTokenArray* pScTokenArray;
- UINT16 nIntCount;
+ ScTokenArray* pScTokenArray;
+ UINT16 nIntCount;
public:
RangeNameBufferWK3( void );
- virtual ~RangeNameBufferWK3();
- void Add( const String& rName, const ScComplexRefData& rCRD );
- inline void Add( const String& rName, const ScRange& aScRange );
- BOOL FindRel( const String& rRef, UINT16& rIndex );
- BOOL FindAbs( const String& rRef, UINT16& rIndex );
+ virtual ~RangeNameBufferWK3();
+ void Add( const String& rName, const ScComplexRefData& rCRD );
+ inline void Add( const String& rName, const ScRange& aScRange );
+ BOOL FindRel( const String& rRef, UINT16& rIndex );
+ BOOL FindAbs( const String& rRef, UINT16& rIndex );
};
inline void RangeNameBufferWK3::Add( const String& rName, const ScRange& aScRange )
{
- ScComplexRefData aCRD;
- ScSingleRefData* pSRD;
- const ScAddress* pScAddr;
+ ScComplexRefData aCRD;
+ ScSingleRefData* pSRD;
+ const ScAddress* pScAddr;
pSRD = &aCRD.Ref1;
pScAddr = &aScRange.aStart;
@@ -269,18 +269,18 @@ class ExtSheetBuffer : private List, public ExcRoot
private:
struct Cont
{
- String aFile;
- String aTab;
- UINT16 nTabNum; // 0xFFFF -> noch nicht angelegt
+ String aFile;
+ String aTab;
+ UINT16 nTabNum; // 0xFFFF -> noch nicht angelegt
// 0xFFFE -> versucht anzulegen, ging aber schief
// 0xFFFD -> soll im selben Workbook sein, findet's aber nicht
- BOOL bSWB;
- BOOL bLink;
+ BOOL bSWB;
+ BOOL bLink;
Cont( const String& rFilePathAndName, const String& rTabName ) :
aFile( rFilePathAndName ),
aTab( rTabName )
{
- nTabNum = 0xFFFF; // -> Tabelle noch nicht erzeugt
+ nTabNum = 0xFFFF; // -> Tabelle noch nicht erzeugt
bSWB = bLink = FALSE;
}
Cont( const String& rFilePathAndName, const String& rTabName,
@@ -288,23 +288,23 @@ private:
aFile( rFilePathAndName ),
aTab( rTabName )
{
- nTabNum = 0xFFFF; // -> Tabelle noch nicht erzeugt
+ nTabNum = 0xFFFF; // -> Tabelle noch nicht erzeugt
bSWB = bSameWB;
bLink = FALSE;
}
};
public:
- inline ExtSheetBuffer( RootData* );
- virtual ~ExtSheetBuffer();
+ inline ExtSheetBuffer( RootData* );
+ virtual ~ExtSheetBuffer();
sal_Int16 Add( const String& rFilePathAndName,
const String& rTabName, const BOOL bSameWorkbook = FALSE );
- BOOL GetScTabIndex( UINT16 nExcSheetIndex, UINT16& rIn_LastTab_Out_ScIndex );
- BOOL IsLink( const UINT16 nExcSheetIndex ) const;
- BOOL GetLink( const UINT16 nExcSheetIndex, String &rAppl, String &rDoc ) const;
+ BOOL GetScTabIndex( UINT16 nExcSheetIndex, UINT16& rIn_LastTab_Out_ScIndex );
+ BOOL IsLink( const UINT16 nExcSheetIndex ) const;
+ BOOL GetLink( const UINT16 nExcSheetIndex, String &rAppl, String &rDoc ) const;
- void Reset( void );
+ void Reset( void );
};
@@ -317,13 +317,13 @@ inline ExtSheetBuffer::ExtSheetBuffer( RootData* p ) : ExcRoot( p )
struct ExtName
{
- String aName;
- UINT32 nStorageId;
- UINT16 nFlags;
+ String aName;
+ UINT32 nStorageId;
+ UINT16 nFlags;
inline ExtName( const String& r, sal_uInt16 n ) : aName( r ), nStorageId( 0 ), nFlags( n ) {}
- BOOL IsDDE( void ) const;
+ BOOL IsDDE( void ) const;
BOOL IsOLE( void ) const;
};
diff --git a/sc/source/filter/inc/op.h b/sc/source/filter/inc/op.h
index 2548bdfa34c3..8bcf8abd8e14 100644
--- a/sc/source/filter/inc/op.h
+++ b/sc/source/filter/inc/op.h
@@ -1,7 +1,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
@@ -39,11 +39,11 @@ void OP_EOF( SvStream &aStream, USHORT nLaenge );
void OP_Integer( SvStream &aStream, USHORT nLaenge );
void OP_Number( SvStream &aStream, USHORT nLaenge );
void OP_Label( SvStream &aStream, USHORT nLaenge );
-//UNUSED2009-05 void OP_Text( SvStream &aStream, USHORT nLaenge ); // WK3
-void OP_Integer3( SvStream &aStream, USHORT nLaenge ); // WK3
-void OP_Number3( SvStream &aStream, USHORT nLaenge ); // WK3
+//UNUSED2009-05 void OP_Text( SvStream &aStream, USHORT nLaenge ); // WK3
+void OP_Integer3( SvStream &aStream, USHORT nLaenge ); // WK3
+void OP_Number3( SvStream &aStream, USHORT nLaenge ); // WK3
void OP_Formula( SvStream &aStream, USHORT nLaenge );
-void OP_Formula3( SvStream &aStream, USHORT nLaenge ); // WK3
+void OP_Formula3( SvStream &aStream, USHORT nLaenge ); // WK3
void OP_ColumnWidth( SvStream &aStream, USHORT nLaenge );
void OP_NamedRange( SvStream &aStream, USHORT nLaenge );
void OP_SymphNamedRange( SvStream &aStream, USHORT nLaenge );
diff --git a/sc/source/filter/inc/optab.h b/sc/source/filter/inc/optab.h
index d70eb1f29bb0..cb579b94e4b5 100644
--- a/sc/source/filter/inc/optab.h
+++ b/sc/source/filter/inc/optab.h
@@ -1,7 +1,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
@@ -30,15 +30,15 @@
typedef void ( *OPCODE_FKT )( SvStream &aStream, USHORT nLaenge );
-#define FKT_LIMIT 101
+#define FKT_LIMIT 101
-#define FKT_LIMIT123 101
+#define FKT_LIMIT123 101
-#define LOTUS_EOF 0x01
+#define LOTUS_EOF 0x01
#define LOTUS_FILEPASSWD 0x4b
-#define LOTUS_PATTERN 0x284
+#define LOTUS_PATTERN 0x284
#define LOTUS_FORMAT_INDEX 0x800
diff --git a/sc/source/filter/inc/otlnbuff.hxx b/sc/source/filter/inc/otlnbuff.hxx
index 6ccca361345b..036a55f859ae 100644
--- a/sc/source/filter/inc/otlnbuff.hxx
+++ b/sc/source/filter/inc/otlnbuff.hxx
@@ -1,7 +1,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
@@ -36,27 +36,27 @@ class XclImpOutlineBuffer
{
// -> exctools.cxx
private:
- BYTE* pLevel;
- BOOL* pOuted;
- BOOL* pHidden;
- SCSIZE nSize;
- SCSIZE nLast;
- BYTE nMaxLevel;
- ScOutlineArray* pOutlineArray;
- BOOL bButtonNormal; // TRUE -> right / under
+ BYTE* pLevel;
+ BOOL* pOuted;
+ BOOL* pHidden;
+ SCSIZE nSize;
+ SCSIZE nLast;
+ BYTE nMaxLevel;
+ ScOutlineArray* pOutlineArray;
+ BOOL bButtonNormal; // TRUE -> right / under
public:
XclImpOutlineBuffer( SCSIZE nNewSize );
~XclImpOutlineBuffer();
- void SetLevel( SCSIZE nIndex, BYTE nVal, BOOL bOuted, BOOL bHidden );
- void SetOutlineArray( ScOutlineArray* pOArray );
- void Reset( void );
- void MakeScOutline( void );
- void SetLevelRange( SCSIZE nF, SCSIZE nL, BYTE nVal,
+ void SetLevel( SCSIZE nIndex, BYTE nVal, BOOL bOuted, BOOL bHidden );
+ void SetOutlineArray( ScOutlineArray* pOArray );
+ void Reset( void );
+ void MakeScOutline( void );
+ void SetLevelRange( SCSIZE nF, SCSIZE nL, BYTE nVal,
BOOL bOuted, BOOL bHidden );
- inline BOOL HasOutline( void ) const;
+ inline BOOL HasOutline( void ) const;
- inline void SetButtonMode( const BOOL bRightOrUnder );
+ inline void SetButtonMode( const BOOL bRightOrUnder );
};
diff --git a/sc/source/filter/inc/qpro.hxx b/sc/source/filter/inc/qpro.hxx
index f631da120373..479e4a6c2ddd 100644
--- a/sc/source/filter/inc/qpro.hxx
+++ b/sc/source/filter/inc/qpro.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/qproform.hxx b/sc/source/filter/inc/qproform.hxx
index 18327cd141df..85bdf8ae8443 100644
--- a/sc/source/filter/inc/qproform.hxx
+++ b/sc/source/filter/inc/qproform.hxx
@@ -1,7 +1,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
@@ -24,7 +24,7 @@
* for a copy of the LGPLv3 License.
*
************************************************************************/
-
+
#ifndef SC_QPROFORM_HXX
#define SC_QPROFORM_HXX
@@ -39,35 +39,35 @@ typedef OpCode DefTokenId;
enum FUNC_TYPE
{
- FT_Return,
+ FT_Return,
FT_FuncFix0,
- FT_FuncFix1,
- FT_FuncFix2,
- FT_FuncFix3,
- FT_FuncFix4,
+ FT_FuncFix1,
+ FT_FuncFix2,
+ FT_FuncFix3,
+ FT_FuncFix4,
FT_FuncFix5,
FT_FuncFix6,
- FT_FuncVar,
+ FT_FuncVar,
FT_DLL,
- FT_Neg,
- FT_Op,
- FT_NotImpl,
- FT_ConstFloat,
- FT_Range,
+ FT_Neg,
+ FT_Op,
+ FT_NotImpl,
+ FT_ConstFloat,
+ FT_Range,
FT_Braces,
- FT_ConstInt,
+ FT_ConstInt,
FT_ConstString,
- FT_NOP,
- FT_Cref
+ FT_NOP,
+ FT_Cref
};
-
+
class QProToSc : public ConverterBase
{
private:
- TokenId mnAddToken;
- TokenId mnSubToken;
- TokenId mn0Token;
- SvStream& maIn;
+ TokenId mnAddToken;
+ TokenId mnSubToken;
+ TokenId mn0Token;
+ SvStream& maIn;
public:
static const size_t nBufSize = 256;
@@ -76,7 +76,7 @@ class QProToSc : public ConverterBase
ConvErr Convert( const ScTokenArray*& pArray, sal_uInt16 nLen,
const FORMULA_TYPE eFT = FT_CellFormula );
void DoFunc( DefTokenId eOc, sal_uInt16 nArgs, const sal_Char* pExtString );
- void ReadSRD( ScSingleRefData& rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel );
+ void ReadSRD( ScSingleRefData& rR, sal_Int8 nPage, sal_Int8 nCol, sal_uInt16 rRel );
void IncToken( TokenId &aParam );
DefTokenId IndexToToken( sal_uInt16 nToken );
FUNC_TYPE IndexToType( sal_uInt8 nToken );
diff --git a/sc/source/filter/inc/qprostyle.hxx b/sc/source/filter/inc/qprostyle.hxx
index ffce2630b310..37dd74d27791 100644
--- a/sc/source/filter/inc/qprostyle.hxx
+++ b/sc/source/filter/inc/qprostyle.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/root.hxx b/sc/source/filter/inc/root.hxx
index facc8b1b2fa0..0e1551c8c41d 100644
--- a/sc/source/filter/inc/root.hxx
+++ b/sc/source/filter/inc/root.hxx
@@ -1,7 +1,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
@@ -57,12 +57,12 @@ class XclExpRoot;
// ---------------------------------------------------------- Excel Imp~/Exp~ -
-struct RootData // -> Inkarnation jeweils im ImportExcel-Objekt!
+struct RootData // -> Inkarnation jeweils im ImportExcel-Objekt!
{
- BiffTyp eDateiTyp; // feine Differenzierung
- ExtSheetBuffer* pExtSheetBuff;
- ShrfmlaBuffer* pShrfmlaBuff;
- ExtNameBuff* pExtNameBuff;
+ BiffTyp eDateiTyp; // feine Differenzierung
+ ExtSheetBuffer* pExtSheetBuff;
+ ShrfmlaBuffer* pShrfmlaBuff;
+ ExtNameBuff* pExtNameBuff;
ExcelToSc* pFmlaConverter;
XclImpColRowSettings* pColRowBuff; // Col/Row-Einstellungen 1 Tabelle
@@ -78,14 +78,14 @@ struct RootData // -> Inkarnation jeweils im ImportExcel-Objekt!
XclImpRoot* pIR;
XclExpRoot* pER;
- RootData( void ); // -> exctools.cxx
- ~RootData(); // -> exctools.cxx
+ RootData( void ); // -> exctools.cxx
+ ~RootData(); // -> exctools.cxx
};
class ExcRoot
{
protected:
- RootData* pExcRoot;
+ RootData* pExcRoot;
inline ExcRoot( RootData* pNexExcRoot ) : pExcRoot( pNexExcRoot ) {}
inline ExcRoot( const ExcRoot& rCopy ) : pExcRoot( rCopy.pExcRoot ) {}
};
@@ -99,19 +99,19 @@ class LotAttrTable;
struct LOTUS_ROOT
{
- ScDocument* pDoc;
- LotusRangeList* pRangeNames;
- ScRangeName* pScRangeName;
- CharSet eCharsetQ;
- Lotus123Typ eFirstType;
- Lotus123Typ eActType;
- ScRange aActRange;
- RangeNameBufferWK3* pRngNmBffWK3;
- LotusFontBuffer* pFontBuff;
- LotAttrTable* pAttrTable;
+ ScDocument* pDoc;
+ LotusRangeList* pRangeNames;
+ ScRangeName* pScRangeName;
+ CharSet eCharsetQ;
+ Lotus123Typ eFirstType;
+ Lotus123Typ eActType;
+ ScRange aActRange;
+ RangeNameBufferWK3* pRngNmBffWK3;
+ LotusFontBuffer* pFontBuff;
+ LotAttrTable* pAttrTable;
};
-extern LOTUS_ROOT* pLotusRoot; // -> Inkarn. in filter.cxx
+extern LOTUS_ROOT* pLotusRoot; // -> Inkarn. in filter.cxx
// ----------------------------------------------------------------------------
diff --git a/sc/source/filter/inc/rtfexp.hxx b/sc/source/filter/inc/rtfexp.hxx
index 4733d243d1a5..562724ffbc78 100644
--- a/sc/source/filter/inc/rtfexp.hxx
+++ b/sc/source/filter/inc/rtfexp.hxx
@@ -1,7 +1,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
@@ -33,20 +33,20 @@
class ScRTFExport : public ScExportBase
{
- ULONG* pCellX; // kumulierte Zellbreiten einer Tabelle
+ ULONG* pCellX; // kumulierte Zellbreiten einer Tabelle
- void WriteTab( SCTAB nTab );
- void WriteRow( SCTAB nTab, SCROW nRow );
- void WriteCell( SCTAB nTab, SCROW nRow, SCCOL nCol );
+ void WriteTab( SCTAB nTab );
+ void WriteRow( SCTAB nTab, SCROW nRow );
+ void WriteCell( SCTAB nTab, SCROW nRow, SCCOL nCol );
public:
ScRTFExport( SvStream&, ScDocument*, const ScRange& );
- virtual ~ScRTFExport();
+ virtual ~ScRTFExport();
- ULONG Write();
+ ULONG Write();
};
-#endif // SC_RTFEXP_HXX
+#endif // SC_RTFEXP_HXX
diff --git a/sc/source/filter/inc/rtfimp.hxx b/sc/source/filter/inc/rtfimp.hxx
index 13ade86b7cd5..01a5b8a1ec54 100644
--- a/sc/source/filter/inc/rtfimp.hxx
+++ b/sc/source/filter/inc/rtfimp.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/rtfparse.hxx b/sc/source/filter/inc/rtfparse.hxx
index 135e11e572ae..6b8289e417d0 100644
--- a/sc/source/filter/inc/rtfparse.hxx
+++ b/sc/source/filter/inc/rtfparse.hxx
@@ -1,7 +1,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
@@ -34,10 +34,10 @@
struct ScRTFCellDefault
{
- SfxItemSet aItemSet;
- SCCOL nCol;
- USHORT nTwips; // rechter Rand der Zelle
- SCCOL nColOverlap; // MergeCell wenn >1, merged cells wenn 0
+ SfxItemSet aItemSet;
+ SCCOL nCol;
+ USHORT nTwips; // rechter Rand der Zelle
+ SCCOL nColOverlap; // MergeCell wenn >1, merged cells wenn 0
ScRTFCellDefault( SfxItemPool* pPool ) :
aItemSet( *pPool ), nColOverlap(1) {}
@@ -48,13 +48,13 @@ DECLARE_LIST( ScRTFDefaultList, ScRTFCellDefault* )
// deswegen ULONG, typedef bringt's auch nicht :-(
SV_DECL_VARARR_SORT( ScRTFColTwips, ULONG, 16, 4)
-#else // SC_RTFPARSE_CXX
+#else // SC_RTFPARSE_CXX
struct ScRTFCellDefault;
class ScRTFDefaultList;
class ScRTFColTwips;
-#endif // SC_RTFPARSE_CXX
+#endif // SC_RTFPARSE_CXX
class EditEngine;
@@ -62,26 +62,26 @@ class EditEngine;
class ScRTFParser : public ScEEParser
{
private:
- ScRTFDefaultList* pDefaultList;
- ScRTFColTwips* pColTwips;
- ScRTFCellDefault* pInsDefault;
- ScRTFCellDefault* pActDefault;
- ScRTFCellDefault* pDefMerge;
- ULONG nStartAdjust;
- USHORT nLastWidth;
- BOOL bNewDef;
+ ScRTFDefaultList* pDefaultList;
+ ScRTFColTwips* pColTwips;
+ ScRTFCellDefault* pInsDefault;
+ ScRTFCellDefault* pActDefault;
+ ScRTFCellDefault* pDefMerge;
+ ULONG nStartAdjust;
+ USHORT nLastWidth;
+ BOOL bNewDef;
DECL_LINK( RTFImportHdl, ImportInfo* );
- inline void NextRow();
- void EntryEnd( ScEEParseEntry*, const ESelection& );
- void ProcToken( ImportInfo* );
- void ColAdjust();
- BOOL SeekTwips( USHORT nTwips, SCCOL* pCol );
- void NewCellRow( ImportInfo* );
+ inline void NextRow();
+ void EntryEnd( ScEEParseEntry*, const ESelection& );
+ void ProcToken( ImportInfo* );
+ void ColAdjust();
+ BOOL SeekTwips( USHORT nTwips, SCCOL* pCol );
+ void NewCellRow( ImportInfo* );
public:
ScRTFParser( EditEngine* );
- virtual ~ScRTFParser();
+ virtual ~ScRTFParser();
virtual ULONG Read( SvStream&, const String& rBaseURL );
};
diff --git a/sc/source/filter/inc/scflt.hxx b/sc/source/filter/inc/scflt.hxx
index 995de274b28b..5f72600ed4ee 100644
--- a/sc/source/filter/inc/scflt.hxx
+++ b/sc/source/filter/inc/scflt.hxx
@@ -1,7 +1,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
@@ -33,192 +33,192 @@
#include <tools/solar.h>
// FehlerNummern
-#define errUnknownFormat 1
-#define errUnknownID 2
-#define errOutOfMemory 3
+#define errUnknownFormat 1
+#define errUnknownID 2
+#define errOutOfMemory 3
// Identifiers im FileFormat
-#define ColWidthID 1
-#define ColAttrID 2
-#define RowHeightID 3
-#define RowAttrID 4
-#define FontID 5
-#define NameID 6
-#define TableID 7
-#define ObjectID 8
-#define PatternID 9
-#define DataBaseID 10
+#define ColWidthID 1
+#define ColAttrID 2
+#define RowHeightID 3
+#define RowAttrID 4
+#define FontID 5
+#define NameID 6
+#define TableID 7
+#define ObjectID 8
+#define PatternID 9
+#define DataBaseID 10
// Zeilen/Spalten Flags
-#define crfSoftBreak 1
-#define crfHardBreak 2
-#define crfHidden 4
+#define crfSoftBreak 1
+#define crfHardBreak 2
+#define crfHidden 4
// Zelltypen
-#define ctValue 1
-#define ctString 2
-#define ctFormula 3
-#define ctNote 4
+#define ctValue 1
+#define ctString 2
+#define ctFormula 3
+#define ctNote 4
// FontStyles
-#define ffDontCare 0x00
-#define ffRoman 0x10
-#define ffSwiss 0x20
-#define ffModern 0x30
-#define ffScript 0x40
-#define ffDecorative 0x50
+#define ffDontCare 0x00
+#define ffRoman 0x10
+#define ffSwiss 0x20
+#define ffModern 0x30
+#define ffScript 0x40
+#define ffDecorative 0x50
// FontWeight
-#define fwNormal 400
+#define fwNormal 400
// FontAttribute
-#define atNone 0
-#define atBold 1
-#define atItalic 2
-#define atUnderline 4
-#define atStrikeOut 8
+#define atNone 0
+#define atBold 1
+#define atItalic 2
+#define atUnderline 4
+#define atStrikeOut 8
// Horizontale Ausrichtung
-#define hjNone 0
-#define hjLeft 1
-#define hjCenter 2
-#define hjRight 3
+#define hjNone 0
+#define hjLeft 1
+#define hjCenter 2
+#define hjRight 3
// Vertikale Ausrichtung
-#define vjNone 0
-#define vjTop 1
-#define vjCenter 2
-#define vjBottom 3
+#define vjNone 0
+#define vjTop 1
+#define vjCenter 2
+#define vjBottom 3
// AusrichtungsFlags
-#define ojWordBreak 0x01
-#define ojBottomTop 0x02
-#define ojTopBottom 0x04
+#define ojWordBreak 0x01
+#define ojBottomTop 0x02
+#define ojTopBottom 0x04
// ZellRaster
-#define raNone 0
-#define raGray12 1
-#define raGray25 2
-#define raGray50 3
-#define raGray75 4
-#define raGray100 5
+#define raNone 0
+#define raGray12 1
+#define raGray25 2
+#define raGray50 3
+#define raGray75 4
+#define raGray100 5
// Zellschutz
-#define paProtect 1
-#define paHideFormula 2
-#define paHideAll 4
-#define paHidePrint 8
+#define paProtect 1
+#define paHideFormula 2
+#define paHideAll 4
+#define paHidePrint 8
// ZahlenFormatFlags
-#define vfStandard 0
-#define vfMoney 1
-#define vfThousend 2
-#define vfPercent 3
-#define vfExponent 4
-#define vfZerro 5
-#define vfDate 6
-#define vfTime 7
-#define vfBoolean 8
-#define vfStandardRed 9
-#define vfMoneyRed 10
-#define vfThousendRed 11
-#define vfPercentRed 12
-#define vfExponentRed 13
-#define vfFormula 14
-#define vfString 15
-#define vfNone 16
+#define vfStandard 0
+#define vfMoney 1
+#define vfThousend 2
+#define vfPercent 3
+#define vfExponent 4
+#define vfZerro 5
+#define vfDate 6
+#define vfTime 7
+#define vfBoolean 8
+#define vfStandardRed 9
+#define vfMoneyRed 10
+#define vfThousendRed 11
+#define vfPercentRed 12
+#define vfExponentRed 13
+#define vfFormula 14
+#define vfString 15
+#define vfNone 16
// DatumsFormatFlags
-#define df_NDMY_Long 0
-#define df_DMY_Long 1
-#define df_MY_Long 2
-#define df_NDM_Long 3
-#define df_DM_Long 4
-#define df_M_Long 5
-#define df_NDMY_Short 6
-#define df_DMY_Short 7
-#define df_MY_Short 8
-#define df_NDM_Short 9
-#define df_DM_Short 10
-#define df_M_Short 11
-#define df_Q_Long 12
-#define df_Q_Short 13
+#define df_NDMY_Long 0
+#define df_DMY_Long 1
+#define df_MY_Long 2
+#define df_NDM_Long 3
+#define df_DM_Long 4
+#define df_M_Long 5
+#define df_NDMY_Short 6
+#define df_DMY_Short 7
+#define df_MY_Short 8
+#define df_NDM_Short 9
+#define df_DM_Short 10
+#define df_M_Short 11
+#define df_Q_Long 12
+#define df_Q_Short 13
// ZeitFormatFlags
-#define tf_HMS_Long 0
-#define tf_HM_Long 1
-#define tf_HMS_Short 2
-#define tf_HM_Short 3
+#define tf_HMS_Long 0
+#define tf_HM_Long 1
+#define tf_HMS_Short 2
+#define tf_HM_Short 3
// Attribute fuer FormatVorlage
-#define pfValue 0x01
-#define pfFont 0x02
-#define pfJustify 0x04
-#define pfFrame 0x08
-#define pfRaster 0x10
-#define pfProtection 0x20
+#define pfValue 0x01
+#define pfFont 0x02
+#define pfJustify 0x04
+#define pfFrame 0x08
+#define pfRaster 0x10
+#define pfProtection 0x20
// Displayflags fuer die Tabelle
-#define dfFormula 0x0001 // Formeln
-#define dfZerro 0x0002 // Nullwerte
-#define dfGrid 0x0004 // Gitternetz
-#define dfPageBreak 0x0008 // Seitenumbruch
+#define dfFormula 0x0001 // Formeln
+#define dfZerro 0x0002 // Nullwerte
+#define dfGrid 0x0004 // Gitternetz
+#define dfPageBreak 0x0008 // Seitenumbruch
#define dfColRowBar 0x0010 // Zeilen/Spalten Koepfe (Dummy)
-#define dfSyntax 0x0020 // Syntax Highlighting
-#define dfPrintPage 0x0040 // Druckbildansicht (Dummy)
-#define dfObjectAll 0x0080 // Objekte anzeigen
-#define dfObjectFrame 0x0100 // Objekte als Platzhalter
-#define dfObjectNone 0x0200 // Objekte nicht anzeigen
-#define dfNoteMark 0x0400 // Notizanzeiger
-#define dfProtectMark 0x0800 // Schutzanzeiger
+#define dfSyntax 0x0020 // Syntax Highlighting
+#define dfPrintPage 0x0040 // Druckbildansicht (Dummy)
+#define dfObjectAll 0x0080 // Objekte anzeigen
+#define dfObjectFrame 0x0100 // Objekte als Platzhalter
+#define dfObjectNone 0x0200 // Objekte nicht anzeigen
+#define dfNoteMark 0x0400 // Notizanzeiger
+#define dfProtectMark 0x0800 // Schutzanzeiger
// Objekt Typen
-#define otNone 0 // s.u.
-#define otOle 1
-#define otImage 2
-#define otChart 3
+#define otNone 0 // s.u.
+#define otOle 1
+#define otImage 2
+#define otChart 3
// Grafik Typen
-#define gtNone 0 // Kann nicht vorkommen
-#define gtOle 1 // Ole 1.0 Objekt
-#define gtImage 2 // Image (Bitmap oder Metafile)
-#define gtChart 3 // Chart
+#define gtNone 0 // Kann nicht vorkommen
+#define gtOle 1 // Ole 1.0 Objekt
+#define gtImage 2 // Image (Bitmap oder Metafile)
+#define gtChart 3 // Chart
// Datum/Uhrzeit
struct Sc10DateTime
{
- USHORT Year;
- USHORT Month;
- USHORT Day;
- USHORT Hour;
- USHORT Min;
- USHORT Sec;
+ USHORT Year;
+ USHORT Month;
+ USHORT Day;
+ USHORT Hour;
+ USHORT Min;
+ USHORT Sec;
};
// ZahlenFormate
struct Sc10ValueFormat
{
- BYTE Format; // Zahl, Waehrung, Prozent etc.
- BYTE Info; // Anzahl Nachkommastellen, Anzahl Stellen, bzw. Datums/Zeitformat
+ BYTE Format; // Zahl, Waehrung, Prozent etc.
+ BYTE Info; // Anzahl Nachkommastellen, Anzahl Stellen, bzw. Datums/Zeitformat
};
// Fontbeschreibung
struct Sc10LogFont
{
- INT16 lfHeight;
- INT16 lfWidth;
- INT16 lfEscapement;
- INT16 lfOrientation;
- INT16 lfWeight;
- BYTE lfItalic;
- BYTE lfUnderline;
- BYTE lfStrikeOut;
- BYTE lfCharSet;
- BYTE lfOutPrecision;
- BYTE lfClipPrecision;
- BYTE lfQuality;
- BYTE lfPitchAndFamily;
- sal_Char lfFaceName[32];
+ INT16 lfHeight;
+ INT16 lfWidth;
+ INT16 lfEscapement;
+ INT16 lfOrientation;
+ INT16 lfWeight;
+ BYTE lfItalic;
+ BYTE lfUnderline;
+ BYTE lfStrikeOut;
+ BYTE lfCharSet;
+ BYTE lfOutPrecision;
+ BYTE lfClipPrecision;
+ BYTE lfQuality;
+ BYTE lfPitchAndFamily;
+ sal_Char lfFaceName[32];
int operator==( const Sc10LogFont& rData ) const;
};
@@ -226,69 +226,69 @@ struct Sc10LogFont
// RGB-Frabwerte
struct Sc10Color
{
- BYTE Dummy;
- BYTE Blue;
- BYTE Green;
- BYTE Red;
+ BYTE Dummy;
+ BYTE Blue;
+ BYTE Green;
+ BYTE Red;
int operator==( const Sc10Color& rColor ) const;
};
// Blockbeschreibung
struct Sc10BlockRect
{
- INT16 x1;
- INT16 y1;
- INT16 x2;
- INT16 y2;
+ INT16 x1;
+ INT16 y1;
+ INT16 x2;
+ INT16 y2;
};
// Datenbank-Bereich
struct Sc10DataBaseRec
{
- sal_Char Name[32];
- INT16 Tab;
- Sc10BlockRect Block;
- BYTE RowHeader;
- INT16 SortField0;
- BYTE SortUpOrder0;
- INT16 SortField1;
- BYTE SortUpOrder1;
- INT16 SortField2;
- BYTE SortUpOrder2;
- BYTE IncludeFormat;
- INT16 QueryField0;
- INT16 QueryOp0;
- BYTE QueryByString0;
- sal_Char QueryString0[64];
- double QueryValue0;
- INT16 QueryConnect1;
- INT16 QueryField1;
- INT16 QueryOp1;
- BYTE QueryByString1;
- sal_Char QueryString1[64];
- double QueryValue1;
- INT16 QueryConnect2;
- INT16 QueryField2;
- INT16 QueryOp2;
- BYTE QueryByString2;
- sal_Char QueryString2[64];
- double QueryValue2;
+ sal_Char Name[32];
+ INT16 Tab;
+ Sc10BlockRect Block;
+ BYTE RowHeader;
+ INT16 SortField0;
+ BYTE SortUpOrder0;
+ INT16 SortField1;
+ BYTE SortUpOrder1;
+ INT16 SortField2;
+ BYTE SortUpOrder2;
+ BYTE IncludeFormat;
+ INT16 QueryField0;
+ INT16 QueryOp0;
+ BYTE QueryByString0;
+ sal_Char QueryString0[64];
+ double QueryValue0;
+ INT16 QueryConnect1;
+ INT16 QueryField1;
+ INT16 QueryOp1;
+ BYTE QueryByString1;
+ sal_Char QueryString1[64];
+ double QueryValue1;
+ INT16 QueryConnect2;
+ INT16 QueryField2;
+ INT16 QueryOp2;
+ BYTE QueryByString2;
+ sal_Char QueryString2[64];
+ double QueryValue2;
};
// Kopf/Fusszeilen-Beschreibung
struct Sc10HeadFootLine
{
- sal_Char Title[128];
- Sc10LogFont LogFont;
- BYTE HorJustify;
- BYTE VerJustify;
- USHORT Raster;
- USHORT Frame;
- Sc10Color TextColor;
- Sc10Color BackColor;
- Sc10Color RasterColor;
- USHORT FrameColor; // Nibble Codierte Farben link oben rechts unten
- USHORT Reserved;
+ sal_Char Title[128];
+ Sc10LogFont LogFont;
+ BYTE HorJustify;
+ BYTE VerJustify;
+ USHORT Raster;
+ USHORT Frame;
+ Sc10Color TextColor;
+ Sc10Color BackColor;
+ Sc10Color RasterColor;
+ USHORT FrameColor; // Nibble Codierte Farben link oben rechts unten
+ USHORT Reserved;
int operator==( const Sc10HeadFootLine& rData ) const;
};
@@ -296,34 +296,34 @@ struct Sc10HeadFootLine
// Seitenformat
struct Sc10PageFormat
{
- Sc10HeadFootLine HeadLine;
- Sc10HeadFootLine FootLine;
- INT16 Orientation;
- INT16 Width;
- INT16 Height;
- INT16 NonPrintableX;
- INT16 NonPrintableY;
- INT16 Left;
- INT16 Top;
- INT16 Right;
- INT16 Bottom;
- INT16 Head;
- INT16 Foot;
- BYTE HorCenter;
- BYTE VerCenter;
- BYTE PrintGrid;
- BYTE PrintColRow;
- BYTE PrintNote;
- BYTE TopBottomDir;
- sal_Char PrintAreaName[32];
- Sc10BlockRect PrintArea;
- sal_Char PrnZoom[6]; // Pascal 6 Byte Realzahl
- USHORT FirstPageNo;
- INT16 RowRepeatStart;
- INT16 RowRepeatEnd;
- INT16 ColRepeatStart;
- INT16 ColRepeatEnd;
- sal_Char Reserved[26];
+ Sc10HeadFootLine HeadLine;
+ Sc10HeadFootLine FootLine;
+ INT16 Orientation;
+ INT16 Width;
+ INT16 Height;
+ INT16 NonPrintableX;
+ INT16 NonPrintableY;
+ INT16 Left;
+ INT16 Top;
+ INT16 Right;
+ INT16 Bottom;
+ INT16 Head;
+ INT16 Foot;
+ BYTE HorCenter;
+ BYTE VerCenter;
+ BYTE PrintGrid;
+ BYTE PrintColRow;
+ BYTE PrintNote;
+ BYTE TopBottomDir;
+ sal_Char PrintAreaName[32];
+ Sc10BlockRect PrintArea;
+ sal_Char PrnZoom[6]; // Pascal 6 Byte Realzahl
+ USHORT FirstPageNo;
+ INT16 RowRepeatStart;
+ INT16 RowRepeatEnd;
+ INT16 ColRepeatStart;
+ INT16 ColRepeatEnd;
+ sal_Char Reserved[26];
int operator==( const Sc10PageFormat& rData ) const;
};
@@ -331,89 +331,89 @@ struct Sc10PageFormat
// Tabellenschutz
struct Sc10TableProtect
{
- sal_Char PassWord[16];
- USHORT Flags;
- BYTE Protect;
+ sal_Char PassWord[16];
+ USHORT Flags;
+ BYTE Protect;
};
// Documentschutz
struct Sc10SheetProtect
{
- sal_Char PassWord[16];
- USHORT Flags;
- BYTE Protect;
+ sal_Char PassWord[16];
+ USHORT Flags;
+ BYTE Protect;
};
// Dateikopf StarCalc 1.0 Datei
struct Sc10FileHeader
{
- sal_Char CopyRight[30];
- USHORT Version;
- sal_Char Reserved[32];
+ sal_Char CopyRight[30];
+ USHORT Version;
+ sal_Char Reserved[32];
};
// Benutzer-Definierte Datei-Beschreibung
struct Sc10FileInfo
{
- sal_Char Title[64];
- sal_Char Thema[64];
- sal_Char Keys[64];
- sal_Char Note[256];
- sal_Char InfoLabel0[16];
- sal_Char InfoLabel1[16];
- sal_Char InfoLabel2[16];
- sal_Char InfoLabel3[16];
- sal_Char Info0[32];
- sal_Char Info1[32];
- sal_Char Info2[32];
- sal_Char Info3[32];
- sal_Char CreateAuthor[64];
- sal_Char ChangeAuthor[64];
- sal_Char PrintAuthor[64];
- Sc10DateTime CreateDate;
- Sc10DateTime ChangeDate;
- Sc10DateTime PrintDate;
- sal_uInt32 PageCount;
- sal_uInt32 ChartCount;
- sal_uInt32 PictureCount;
- sal_uInt32 GraphCount;
- sal_uInt32 OleCount;
- sal_uInt32 NoteCount;
- sal_uInt32 TextCellCount;
- sal_uInt32 ValueCellCount;
- sal_uInt32 FormulaCellCount;
- sal_uInt32 CellCount;
- sal_Char Reserved[52];
+ sal_Char Title[64];
+ sal_Char Thema[64];
+ sal_Char Keys[64];
+ sal_Char Note[256];
+ sal_Char InfoLabel0[16];
+ sal_Char InfoLabel1[16];
+ sal_Char InfoLabel2[16];
+ sal_Char InfoLabel3[16];
+ sal_Char Info0[32];
+ sal_Char Info1[32];
+ sal_Char Info2[32];
+ sal_Char Info3[32];
+ sal_Char CreateAuthor[64];
+ sal_Char ChangeAuthor[64];
+ sal_Char PrintAuthor[64];
+ Sc10DateTime CreateDate;
+ Sc10DateTime ChangeDate;
+ Sc10DateTime PrintDate;
+ sal_uInt32 PageCount;
+ sal_uInt32 ChartCount;
+ sal_uInt32 PictureCount;
+ sal_uInt32 GraphCount;
+ sal_uInt32 OleCount;
+ sal_uInt32 NoteCount;
+ sal_uInt32 TextCellCount;
+ sal_uInt32 ValueCellCount;
+ sal_uInt32 FormulaCellCount;
+ sal_uInt32 CellCount;
+ sal_Char Reserved[52];
};
// Letze Cursorposition
struct Sc10EditStateInfo
{
// Cursor Position
- USHORT CarretX;
- USHORT CarretY;
- USHORT CarretZ;
+ USHORT CarretX;
+ USHORT CarretY;
+ USHORT CarretZ;
// Linke obere Ecke der Tabelle im Fenster
- USHORT DeltaX;
- USHORT DeltaY;
- USHORT DeltaZ;
+ USHORT DeltaX;
+ USHORT DeltaY;
+ USHORT DeltaZ;
// Ueberfluessig in StarCalc 3.0
- BYTE DataBaseMode;
- sal_Char Reserved[51];
+ BYTE DataBaseMode;
+ sal_Char Reserved[51];
};
// Attribut-Eintrag
struct Sc10ColData
{
- USHORT Row;
- USHORT Value;
+ USHORT Row;
+ USHORT Value;
};
// ZellAttribut-Beschreibung
struct Sc10ColAttr
{
- USHORT Count;
- Sc10ColData* pData;
+ USHORT Count;
+ Sc10ColData* pData;
Sc10ColAttr() : pData(NULL) {}
};
@@ -421,115 +421,115 @@ struct Sc10ColAttr
// GraphHeader
struct Sc10GraphHeader
{
- BYTE Typ; // Typ der Grafik (Ole-Objekt, Image (Bitmap oder MetaFile), Chart-Object)
- INT16 CarretX; // ZellPosition der Grafik
- INT16 CarretY;
- INT16 CarretZ;
- INT32 x; // x,y Abstand zum Zellrand in Pixel (Pixel weil ich Grafiken in Fenstern ablege)
- INT32 y;
- INT32 w; // w,h Breite und Hoehe in Pixel
- INT32 h;
- BYTE IsRelPos; // Ist die Position relativ zur Zelle oder absolute in der Tabelle
- BYTE DoPrint; // Soll die Grafik ausgedruckt werden
- USHORT FrameType; // Art der Umrandung um die Grafik (Keine, Einfach, Doppelt, Einfach Dick, Doppelt Dick)
- BYTE IsTransparent; // Soll der Hintergrund gezeichnet werden
- Sc10Color FrameColor; // Umrandungsfarbe als RGB-Wert
- Sc10Color BackColor; // Hintergrundfarbe als RGB-Wert
- sal_Char Reserved[32]; // Na was wohl
+ BYTE Typ; // Typ der Grafik (Ole-Objekt, Image (Bitmap oder MetaFile), Chart-Object)
+ INT16 CarretX; // ZellPosition der Grafik
+ INT16 CarretY;
+ INT16 CarretZ;
+ INT32 x; // x,y Abstand zum Zellrand in Pixel (Pixel weil ich Grafiken in Fenstern ablege)
+ INT32 y;
+ INT32 w; // w,h Breite und Hoehe in Pixel
+ INT32 h;
+ BYTE IsRelPos; // Ist die Position relativ zur Zelle oder absolute in der Tabelle
+ BYTE DoPrint; // Soll die Grafik ausgedruckt werden
+ USHORT FrameType; // Art der Umrandung um die Grafik (Keine, Einfach, Doppelt, Einfach Dick, Doppelt Dick)
+ BYTE IsTransparent; // Soll der Hintergrund gezeichnet werden
+ Sc10Color FrameColor; // Umrandungsfarbe als RGB-Wert
+ Sc10Color BackColor; // Hintergrundfarbe als RGB-Wert
+ sal_Char Reserved[32]; // Na was wohl
};
// ImageHeader
struct Sc10ImageHeader
{
sal_Char FileName[128]; // Dateiname des urspruenglich eingefuegten Bildes
- INT16 Typ; // Typ der Grafik (Bitmap oder Metafile)
- BYTE Linked; // Kann nicht vorkommen
- INT16 x1; // Urspruengliche Groesse der Grafik (nur fuer Metafiles)
- INT16 y1;
- INT16 x2;
- INT16 y2;
- sal_uInt32 Size; // Groesse der Grafik in BYTES
+ INT16 Typ; // Typ der Grafik (Bitmap oder Metafile)
+ BYTE Linked; // Kann nicht vorkommen
+ INT16 x1; // Urspruengliche Groesse der Grafik (nur fuer Metafiles)
+ INT16 y1;
+ INT16 x2;
+ INT16 y2;
+ sal_uInt32 Size; // Groesse der Grafik in BYTES
};
// ChartHeader
struct Sc10ChartHeader
{
- INT16 MM; // Meatfile Struktur MapMode, Breite, Hoehe
- INT16 xExt;
- INT16 yExt;
- sal_uInt32 Size; // Groesse der Grafik in BYTES
+ INT16 MM; // Meatfile Struktur MapMode, Breite, Hoehe
+ INT16 xExt;
+ INT16 yExt;
+ sal_uInt32 Size; // Groesse der Grafik in BYTES
};
// ChartSheetData
struct Sc10ChartSheetData
{
- BYTE HasTitle; // Hat das Chart Daten aus der Tabell fuer einen Titel
- INT16 TitleX; // Zellposition des Titels
- INT16 TitleY;
- BYTE HasSubTitle; // Hat das Chart Daten aus der Tabell fuer einen Untertitel
- INT16 SubTitleX; // Zellposition des Untertitels
- INT16 SubTitleY;
- BYTE HasLeftTitle; // Hat das Chart Daten aus der Tabelle fuer einen Linken-Titel
- INT16 LeftTitleX; // Zellposition des Linken-Titels
- INT16 LeftTitleY;
- BYTE HasLegend; // Hat das Chart Daten aus der Tabelle fuer eine Legende
- INT16 LegendX1; // Zellen der Legende
- INT16 LegendY1;
- INT16 LegendX2;
- INT16 LegendY2;
- BYTE HasLabel; // Hat das Chart Daten aus der Tabelle fuer die Achsbeschriftung
- INT16 LabelX1; // Zellen der Achsbeschriftung
- INT16 LabelY1;
- INT16 LabelX2;
- INT16 LabelY2;
- INT16 DataX1; // Zellen der Daten
- INT16 DataY1;
- INT16 DataX2;
- INT16 DataY2;
- sal_Char Reserved[64];
+ BYTE HasTitle; // Hat das Chart Daten aus der Tabell fuer einen Titel
+ INT16 TitleX; // Zellposition des Titels
+ INT16 TitleY;
+ BYTE HasSubTitle; // Hat das Chart Daten aus der Tabell fuer einen Untertitel
+ INT16 SubTitleX; // Zellposition des Untertitels
+ INT16 SubTitleY;
+ BYTE HasLeftTitle; // Hat das Chart Daten aus der Tabelle fuer einen Linken-Titel
+ INT16 LeftTitleX; // Zellposition des Linken-Titels
+ INT16 LeftTitleY;
+ BYTE HasLegend; // Hat das Chart Daten aus der Tabelle fuer eine Legende
+ INT16 LegendX1; // Zellen der Legende
+ INT16 LegendY1;
+ INT16 LegendX2;
+ INT16 LegendY2;
+ BYTE HasLabel; // Hat das Chart Daten aus der Tabelle fuer die Achsbeschriftung
+ INT16 LabelX1; // Zellen der Achsbeschriftung
+ INT16 LabelY1;
+ INT16 LabelX2;
+ INT16 LabelY2;
+ INT16 DataX1; // Zellen der Daten
+ INT16 DataY1;
+ INT16 DataX2;
+ INT16 DataY2;
+ sal_Char Reserved[64];
};
-#define AGPie2D 1 // Pie Chart 2D
-#define AGPie3D 2 // Pie Chart 3D
-#define AGBar2D 3 // Bar Chart 2D
-#define AGBar3D 4 // Bar Chart 3D
-#define AGGantt 5 // Gantt Diagramm
-#define AGLine 6 // Line Chart
-#define AGLogLine 7 // Logarythmic-Coordinate Chart
-#define AGArea 8 // Area Chart
-#define AGHLC 11 // High-Low-Close Chart
-#define AGPolar 10 // Polar-Coordinate Chart
+#define AGPie2D 1 // Pie Chart 2D
+#define AGPie3D 2 // Pie Chart 3D
+#define AGBar2D 3 // Bar Chart 2D
+#define AGBar3D 4 // Bar Chart 3D
+#define AGGantt 5 // Gantt Diagramm
+#define AGLine 6 // Line Chart
+#define AGLogLine 7 // Logarythmic-Coordinate Chart
+#define AGArea 8 // Area Chart
+#define AGHLC 11 // High-Low-Close Chart
+#define AGPolar 10 // Polar-Coordinate Chart
typedef sal_Char Sc10ChartText[30];
struct Sc10ChartTypeData
{
- INT16 NumSets;
- INT16 NumPoints;
- INT16 DrawMode;
- INT16 GraphType;
- INT16 GraphStyle;
- sal_Char GraphTitle[80];
- sal_Char BottomTitle[80];
- INT16 SymbolData[256];
- INT16 ColorData[256];
- INT16 ThickLines[256];
- INT16 PatternData[256];
- INT16 LinePatternData[256];
- INT16 NumGraphStyles[11];
- INT16 ShowLegend;
- Sc10ChartText LegendText[256];
- INT16 ExplodePie;
- INT16 FontUse;
- INT16 FontFamily[5];
- INT16 FontStyle[5];
- INT16 FontSize[5];
- INT16 GridStyle;
- INT16 Labels;
- INT16 LabelEvery;
- Sc10ChartText LabelText[50];
- sal_Char LeftTitle[80];
- sal_Char Reserved[4646];
+ INT16 NumSets;
+ INT16 NumPoints;
+ INT16 DrawMode;
+ INT16 GraphType;
+ INT16 GraphStyle;
+ sal_Char GraphTitle[80];
+ sal_Char BottomTitle[80];
+ INT16 SymbolData[256];
+ INT16 ColorData[256];
+ INT16 ThickLines[256];
+ INT16 PatternData[256];
+ INT16 LinePatternData[256];
+ INT16 NumGraphStyles[11];
+ INT16 ShowLegend;
+ Sc10ChartText LegendText[256];
+ INT16 ExplodePie;
+ INT16 FontUse;
+ INT16 FontFamily[5];
+ INT16 FontStyle[5];
+ INT16 FontSize[5];
+ INT16 GridStyle;
+ INT16 Labels;
+ INT16 LabelEvery;
+ Sc10ChartText LabelText[50];
+ sal_Char LeftTitle[80];
+ sal_Char Reserved[4646];
};
@@ -537,10 +537,10 @@ struct Sc10ChartTypeData
class Sc10FontData : public ScDataObject
{
public:
- INT16 Height;
- BYTE CharSet;
- BYTE PitchAndFamily;
- sal_Char FaceName[32];
+ INT16 Height;
+ BYTE CharSet;
+ BYTE PitchAndFamily;
+ sal_Char FaceName[32];
Sc10FontData( const Sc10FontData& rData ) :
ScDataObject( rData ),
@@ -552,7 +552,7 @@ public:
FaceName[sizeof(FaceName)-1] = 0;
}
Sc10FontData( SvStream& rStream );
- virtual ScDataObject* Clone() const { return new Sc10FontData(*this); }
+ virtual ScDataObject* Clone() const { return new Sc10FontData(*this); }
};
@@ -563,8 +563,8 @@ protected:
ULONG nError;
public:
Sc10FontCollection( SvStream& rStream );
- ULONG GetError() { return nError; }
- Sc10FontData* At(USHORT nIndex) { return (Sc10FontData*)ScCollection::At(nIndex); }
+ ULONG GetError() { return nError; }
+ Sc10FontData* At(USHORT nIndex) { return (Sc10FontData*)ScCollection::At(nIndex); }
private:
using ScCollection::At;
};
@@ -574,9 +574,9 @@ private:
class Sc10NameData : public ScDataObject
{
public :
- sal_Char Name[32];
- sal_Char Reference[64];
- sal_Char Reserved[12];
+ sal_Char Name[32];
+ sal_Char Reference[64];
+ sal_Char Reserved[12];
Sc10NameData(const Sc10NameData& rData) :
ScDataObject( rData )
@@ -588,7 +588,7 @@ public :
memcpy(Reserved, rData.Reserved, sizeof(Reserved));
}
Sc10NameData(SvStream& rStream);
- virtual ScDataObject* Clone() const { return new Sc10NameData(*this); }
+ virtual ScDataObject* Clone() const { return new Sc10NameData(*this); }
};
@@ -596,11 +596,11 @@ public :
class Sc10NameCollection : public ScCollection
{
protected:
- ULONG nError;
+ ULONG nError;
public:
Sc10NameCollection(SvStream& rStream);
-ULONG GetError() { return nError; }
-Sc10NameData* At(USHORT nIndex) { return (Sc10NameData*)ScCollection::At(nIndex); }
+ULONG GetError() { return nError; }
+Sc10NameData* At(USHORT nIndex) { return (Sc10NameData*)ScCollection::At(nIndex); }
private:
using ScCollection::At;
};
@@ -610,18 +610,18 @@ private:
class Sc10PatternData : public ScDataObject
{
public:
- sal_Char Name[32];
- Sc10ValueFormat ValueFormat;
- Sc10LogFont LogFont;
- USHORT Attr;
- USHORT Justify;
- USHORT Frame;
- USHORT Raster;
- USHORT nColor;
- USHORT FrameColor;
- USHORT Flags;
- USHORT FormatFlags;
- sal_Char Reserved[8];
+ sal_Char Name[32];
+ Sc10ValueFormat ValueFormat;
+ Sc10LogFont LogFont;
+ USHORT Attr;
+ USHORT Justify;
+ USHORT Frame;
+ USHORT Raster;
+ USHORT nColor;
+ USHORT FrameColor;
+ USHORT Flags;
+ USHORT FormatFlags;
+ sal_Char Reserved[8];
Sc10PatternData(const Sc10PatternData& rData) :
ScDataObject( rData )
@@ -641,7 +641,7 @@ public:
memcpy(Reserved, rData.Reserved, sizeof(Reserved));
}
Sc10PatternData(SvStream& rStream);
-virtual ScDataObject* Clone() const { return new Sc10PatternData(*this); }
+virtual ScDataObject* Clone() const { return new Sc10PatternData(*this); }
};
@@ -649,11 +649,11 @@ virtual ScDataObject* Clone() const { return new Sc10PatternData(*this); }
class Sc10PatternCollection : public ScCollection
{
protected:
- ULONG nError;
+ ULONG nError;
public:
Sc10PatternCollection(SvStream& rStream);
- ULONG GetError() { return nError; }
- Sc10PatternData* At(USHORT nIndex) { return (Sc10PatternData*)ScCollection::At(nIndex); }
+ ULONG GetError() { return nError; }
+ Sc10PatternData* At(USHORT nIndex) { return (Sc10PatternData*)ScCollection::At(nIndex); }
private:
using ScCollection::At;
};
@@ -663,7 +663,7 @@ private:
class Sc10DataBaseData : public ScDataObject
{
public:
- Sc10DataBaseRec DataBaseRec;
+ Sc10DataBaseRec DataBaseRec;
Sc10DataBaseData(const Sc10DataBaseData& rData) :
ScDataObject( rData )
@@ -671,7 +671,7 @@ public:
memcpy(&DataBaseRec, &rData.DataBaseRec, sizeof(DataBaseRec));
}
Sc10DataBaseData(SvStream& rStream);
-virtual ScDataObject* Clone() const { return new Sc10DataBaseData(*this); }
+virtual ScDataObject* Clone() const { return new Sc10DataBaseData(*this); }
};
@@ -679,12 +679,12 @@ virtual ScDataObject* Clone() const { return new Sc10DataBaseData(*this);
class Sc10DataBaseCollection : public ScCollection
{
protected:
- ULONG nError;
- sal_Char ActName[32];
+ ULONG nError;
+ sal_Char ActName[32];
public:
Sc10DataBaseCollection(SvStream& rStream);
- ULONG GetError() { return nError; }
- Sc10DataBaseData* At(USHORT nIndex) { return (Sc10DataBaseData*)ScCollection::At(nIndex); }
+ ULONG GetError() { return nError; }
+ Sc10DataBaseData* At(USHORT nIndex) { return (Sc10DataBaseData*)ScCollection::At(nIndex); }
private:
using ScCollection::At;
};
@@ -693,11 +693,11 @@ private:
class Sc10PageData : public ScDataObject
{
public:
- Sc10PageFormat aPageFormat;
+ Sc10PageFormat aPageFormat;
Sc10PageData( const Sc10PageFormat& rFormat ) : aPageFormat(rFormat) {}
- int operator==( const Sc10PageData& rData ) const
+ int operator==( const Sc10PageData& rData ) const
{ return aPageFormat == rData.aPageFormat; }
- virtual ScDataObject* Clone() const;
+ virtual ScDataObject* Clone() const;
};
// Seitenformat-Collection
@@ -705,9 +705,9 @@ class Sc10PageCollection : public ScCollection
{
public:
Sc10PageCollection() : ScCollection(1,1) {};
- Sc10PageData* At(USHORT nIndex) { return (Sc10PageData*)ScCollection::At(nIndex); }
+ Sc10PageData* At(USHORT nIndex) { return (Sc10PageData*)ScCollection::At(nIndex); }
USHORT InsertFormat( const Sc10PageFormat& rData );
- void PutToDoc( ScDocument* pDoc );
+ void PutToDoc( ScDocument* pDoc );
private:
using ScCollection::At;
};
@@ -718,46 +718,46 @@ class ScfStreamProgressBar;
// Import-Klasse
class Sc10Import
{
- SvStream& rStream;
- ScDocument* pDoc;
- Sc10Color TextPalette[16];
- Sc10Color BackPalette[16];
- Sc10Color RasterPalette[16];
- Sc10Color FramePalette[16];
- Sc10SheetProtect SheetProtect;
- Sc10FontCollection* pFontCollection;
- Sc10NameCollection* pNameCollection;
- Sc10PatternCollection* pPatternCollection;
- Sc10DataBaseCollection* pDataBaseCollection;
+ SvStream& rStream;
+ ScDocument* pDoc;
+ Sc10Color TextPalette[16];
+ Sc10Color BackPalette[16];
+ Sc10Color RasterPalette[16];
+ Sc10Color FramePalette[16];
+ Sc10SheetProtect SheetProtect;
+ Sc10FontCollection* pFontCollection;
+ Sc10NameCollection* pNameCollection;
+ Sc10PatternCollection* pPatternCollection;
+ Sc10DataBaseCollection* pDataBaseCollection;
ULONG nError;
- INT16 TabCount;
- SCTAB nShowTab;
- ScViewOptions aSc30ViewOpt;
+ INT16 TabCount;
+ SCTAB nShowTab;
+ ScViewOptions aSc30ViewOpt;
ScfStreamProgressBar* pPrgrsBar;
public:
Sc10Import( SvStream& rStr, ScDocument* pDocument );
~Sc10Import();
- ULONG Import();
- void LoadFileHeader();
- void LoadFileInfo();
- void LoadEditStateInfo();
- void LoadProtect();
- void LoadViewColRowBar();
- void LoadScrZoom();
- void LoadPalette();
- void LoadFontCollection();
- void LoadNameCollection();
- void ImportNameCollection();
- void LoadPatternCollection();
- void LoadDataBaseCollection();
- void LoadTables();
- void LoadCol(SCCOL Col, SCTAB Tab);
- void LoadColAttr(SCCOL Col, SCTAB Tab);
- void LoadAttr(Sc10ColAttr& rAttr);
- void ChangeFormat(USHORT nFormat, USHORT nInfo, ULONG& nKey);
- void LoadObjects();
+ ULONG Import();
+ void LoadFileHeader();
+ void LoadFileInfo();
+ void LoadEditStateInfo();
+ void LoadProtect();
+ void LoadViewColRowBar();
+ void LoadScrZoom();
+ void LoadPalette();
+ void LoadFontCollection();
+ void LoadNameCollection();
+ void ImportNameCollection();
+ void LoadPatternCollection();
+ void LoadDataBaseCollection();
+ void LoadTables();
+ void LoadCol(SCCOL Col, SCTAB Tab);
+ void LoadColAttr(SCCOL Col, SCTAB Tab);
+ void LoadAttr(Sc10ColAttr& rAttr);
+ void ChangeFormat(USHORT nFormat, USHORT nInfo, ULONG& nKey);
+ void LoadObjects();
};
#endif
diff --git a/sc/source/filter/inc/scfobj.hxx b/sc/source/filter/inc/scfobj.hxx
index 4ed1784f4354..4a1aad12efaf 100644
--- a/sc/source/filter/inc/scfobj.hxx
+++ b/sc/source/filter/inc/scfobj.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/scmem.h b/sc/source/filter/inc/scmem.h
index 03e30c1e9fc6..4b25ede595cc 100644
--- a/sc/source/filter/inc/scmem.h
+++ b/sc/source/filter/inc/scmem.h
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/tokstack.hxx b/sc/source/filter/inc/tokstack.hxx
index 06a37639be89..d0972786c3d2 100644
--- a/sc/source/filter/inc/tokstack.hxx
+++ b/sc/source/filter/inc/tokstack.hxx
@@ -1,7 +1,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
@@ -41,21 +41,21 @@ typedef OpCode DefTokenId;
//typedef UINT16 TokenId;
struct TokenId
{
- UINT16 nId;
+ UINT16 nId;
TokenId() : nId( 0 ) {}
TokenId( UINT16 n ) : nId( n ) {}
TokenId( const TokenId& r ) : nId( r.nId ) {}
- inline TokenId& operator =( const TokenId& r ) { nId = r.nId; return *this; }
- inline TokenId& operator =( UINT16 n ) { nId = n; return *this; }
- inline operator UINT16&() { return nId; }
- inline operator const UINT16&() const { return nId; }
- inline BOOL operator <( UINT16 n ) const { return nId < n; }
- inline BOOL operator >( UINT16 n ) const { return nId > n; }
- inline BOOL operator <=( UINT16 n ) const { return nId <= n; }
- inline BOOL operator >=( UINT16 n ) const { return nId >= n; }
- inline BOOL operator ==( UINT16 n ) const { return nId == n; }
- inline BOOL operator !=( UINT16 n ) const { return nId != n; }
+ inline TokenId& operator =( const TokenId& r ) { nId = r.nId; return *this; }
+ inline TokenId& operator =( UINT16 n ) { nId = n; return *this; }
+ inline operator UINT16&() { return nId; }
+ inline operator const UINT16&() const { return nId; }
+ inline BOOL operator <( UINT16 n ) const { return nId < n; }
+ inline BOOL operator >( UINT16 n ) const { return nId > n; }
+ inline BOOL operator <=( UINT16 n ) const { return nId <= n; }
+ inline BOOL operator >=( UINT16 n ) const { return nId >= n; }
+ inline BOOL operator ==( UINT16 n ) const { return nId == n; }
+ inline BOOL operator !=( UINT16 n ) const { return nId != n; }
};
@@ -67,20 +67,20 @@ class ScToken;
enum E_TYPE
{
- T_Id, // Id-Folge
- T_Str, // String
- T_D, // Double
+ T_Id, // Id-Folge
+ T_Str, // String
+ T_D, // Double
T_Err, // Error code
- T_RefC, // Cell Reference
- T_RefA, // Area Reference
- T_RN, // Range Name
- T_Ext, // irgendwas Unbekanntes mit Funktionsnamen
- T_Nlf, // token for natural language formula
- T_Matrix, // token for inline arrays
+ T_RefC, // Cell Reference
+ T_RefA, // Area Reference
+ T_RN, // Range Name
+ T_Ext, // irgendwas Unbekanntes mit Funktionsnamen
+ T_Nlf, // token for natural language formula
+ T_Matrix, // token for inline arrays
T_ExtName, // token for external names
T_ExtRefC,
T_ExtRefA,
- T_Error // fuer Abfrage im Fehlerfall
+ T_Error // fuer Abfrage im Fehlerfall
};
@@ -91,50 +91,50 @@ class TokenPool
// !ACHTUNG!: externe Id-Basis ist 1, interne 0!
// Ausgabe Id = 0 -> Fehlerfall
private:
- String** ppP_Str; // Pool fuer Strings
- UINT16 nP_Str; // ...mit Groesse
- UINT16 nP_StrAkt; // ...und Schreibmarke
+ String** ppP_Str; // Pool fuer Strings
+ UINT16 nP_Str; // ...mit Groesse
+ UINT16 nP_StrAkt; // ...und Schreibmarke
- double* pP_Dbl; // Pool fuer Doubles
- UINT16 nP_Dbl;
- UINT16 nP_DblAkt;
+ double* pP_Dbl; // Pool fuer Doubles
+ UINT16 nP_Dbl;
+ UINT16 nP_DblAkt;
USHORT* pP_Err; // Pool for error codes
UINT16 nP_Err;
UINT16 nP_ErrAkt;
- ScSingleRefData** ppP_RefTr; // Pool fuer Referenzen
- UINT16 nP_RefTr;
- UINT16 nP_RefTrAkt;
+ ScSingleRefData** ppP_RefTr; // Pool fuer Referenzen
+ UINT16 nP_RefTr;
+ UINT16 nP_RefTrAkt;
- UINT16* pP_Id; // Pool fuer Id-Folgen
- UINT16 nP_Id;
- UINT16 nP_IdAkt;
- UINT16 nP_IdLast; // letzter Folgen-Beginn
+ UINT16* pP_Id; // Pool fuer Id-Folgen
+ UINT16 nP_Id;
+ UINT16 nP_IdAkt;
+ UINT16 nP_IdLast; // letzter Folgen-Beginn
- struct EXTCONT
+ struct EXTCONT
{
- DefTokenId eId;
- String aText;
+ DefTokenId eId;
+ String aText;
EXTCONT( const DefTokenId e, const String& r ) :
eId( e ), aText( r ){}
};
- EXTCONT** ppP_Ext;
- UINT16 nP_Ext;
- UINT16 nP_ExtAkt;
+ EXTCONT** ppP_Ext;
+ UINT16 nP_Ext;
+ UINT16 nP_ExtAkt;
- struct NLFCONT
+ struct NLFCONT
{
- ScSingleRefData aRef;
- NLFCONT( const ScSingleRefData& r ) : aRef( r ) {}
+ ScSingleRefData aRef;
+ NLFCONT( const ScSingleRefData& r ) : aRef( r ) {}
};
- NLFCONT** ppP_Nlf;
- UINT16 nP_Nlf;
- UINT16 nP_NlfAkt;
+ NLFCONT** ppP_Nlf;
+ UINT16 nP_Nlf;
+ UINT16 nP_NlfAkt;
- ScMatrix** ppP_Matrix; // Pool fuer Matricies
- UINT16 nP_Matrix;
- UINT16 nP_MatrixAkt;
+ ScMatrix** ppP_Matrix; // Pool fuer Matricies
+ UINT16 nP_Matrix;
+ UINT16 nP_MatrixAkt;
/** for storage of external names */
struct ExtName
@@ -148,7 +148,7 @@ class TokenPool
struct ExtCellRef
{
sal_uInt16 mnFileId;
- String maTabName;
+ String maTabName;
ScSingleRefData maRef;
};
::std::vector<ExtCellRef> maExtCellRefs;
@@ -157,69 +157,69 @@ class TokenPool
struct ExtAreaRef
{
sal_uInt16 mnFileId;
- String maTabName;
+ String maTabName;
ScComplexRefData maRef;
};
::std::vector<ExtAreaRef> maExtAreaRefs;
- UINT16* pElement; // Array mit Indizes fuer Elemente
- E_TYPE* pType; // ...mit Typ-Info
- UINT16* pSize; // ...mit Laengenangabe (Anz. UINT16)
- UINT16 nElement;
- UINT16 nElementAkt;
+ UINT16* pElement; // Array mit Indizes fuer Elemente
+ E_TYPE* pType; // ...mit Typ-Info
+ UINT16* pSize; // ...mit Laengenangabe (Anz. UINT16)
+ UINT16 nElement;
+ UINT16 nElementAkt;
- static const UINT16 nScTokenOff;// Offset fuer SC-Token
+ static const UINT16 nScTokenOff;// Offset fuer SC-Token
#ifdef DBG_UTIL
- UINT16 nRek; // Rekursionszaehler
+ UINT16 nRek; // Rekursionszaehler
#endif
- ScTokenArray* pScToken; // Tokenbastler
+ ScTokenArray* pScToken; // Tokenbastler
- void GrowString( void );
- void GrowDouble( void );
+ void GrowString( void );
+ void GrowDouble( void );
//UNUSED2009-05 void GrowError( void );
- void GrowTripel( void );
- void GrowId( void );
- void GrowElement( void );
- void GrowExt( void );
- void GrowNlf( void );
- void GrowMatrix( void );
- void GetElement( const UINT16 nId );
- void GetElementRek( const UINT16 nId );
+ void GrowTripel( void );
+ void GrowId( void );
+ void GrowElement( void );
+ void GrowExt( void );
+ void GrowNlf( void );
+ void GrowMatrix( void );
+ void GetElement( const UINT16 nId );
+ void GetElementRek( const UINT16 nId );
public:
TokenPool( void );
~TokenPool();
- inline TokenPool& operator <<( const TokenId nId );
- inline TokenPool& operator <<( const DefTokenId eId );
- inline TokenPool& operator <<( TokenStack& rStack );
- void operator >>( TokenId& rId );
- inline void operator >>( TokenStack& rStack );
- inline const TokenId Store( void );
- const TokenId Store( const double& rDouble );
+ inline TokenPool& operator <<( const TokenId nId );
+ inline TokenPool& operator <<( const DefTokenId eId );
+ inline TokenPool& operator <<( TokenStack& rStack );
+ void operator >>( TokenId& rId );
+ inline void operator >>( TokenStack& rStack );
+ inline const TokenId Store( void );
+ const TokenId Store( const double& rDouble );
//UNUSED2008-05 const TokenId StoreError( USHORT nError );
// nur fuer Range-Names
- const TokenId Store( const UINT16 nIndex );
- inline const TokenId Store( const INT16 nWert );
- const TokenId Store( const String& rString );
- const TokenId Store( const ScSingleRefData& rTr );
- const TokenId Store( const ScComplexRefData& rTr );
+ const TokenId Store( const UINT16 nIndex );
+ inline const TokenId Store( const INT16 nWert );
+ const TokenId Store( const String& rString );
+ const TokenId Store( const ScSingleRefData& rTr );
+ const TokenId Store( const ScComplexRefData& rTr );
- const TokenId Store( const DefTokenId eId, const String& rName );
+ const TokenId Store( const DefTokenId eId, const String& rName );
// 4 externals (e.g. AddIns, Makros...)
- const TokenId StoreNlf( const ScSingleRefData& rTr );
+ const TokenId StoreNlf( const ScSingleRefData& rTr );
const TokenId StoreMatrix();
const TokenId StoreExtName( sal_uInt16 nFileId, const String& rName );
const TokenId StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScSingleRefData& rRef );
const TokenId StoreExtRef( sal_uInt16 nFileId, const String& rTabName, const ScComplexRefData& rRef );
- inline const TokenId LastId( void ) const;
- inline const ScTokenArray* operator []( const TokenId nId );
- void Reset( void );
- inline E_TYPE GetType( const TokenId& nId ) const;
- BOOL IsSingleOp( const TokenId& nId, const DefTokenId eId ) const;
+ inline const TokenId LastId( void ) const;
+ inline const ScTokenArray* operator []( const TokenId nId );
+ void Reset( void );
+ inline E_TYPE GetType( const TokenId& nId ) const;
+ BOOL IsSingleOp( const TokenId& nId, const DefTokenId eId ) const;
const String* GetExternal( const TokenId& nId ) const;
//UNUSED2008-05 const String* GetString( const TokenId& nId ) const;
- ScMatrix* GetMatrix( unsigned int n ) const;
+ ScMatrix* GetMatrix( unsigned int n ) const;
};
@@ -227,22 +227,22 @@ class TokenPool
class TokenStack
// Stack fuer Token-Ids: Id 0 sollte reserviert bleiben als
- // fehlerhafte Id, da z.B. Get() im Fehlerfall 0 liefert
+ // fehlerhafte Id, da z.B. Get() im Fehlerfall 0 liefert
{
private:
- TokenId* pStack; // Stack als Array
- UINT16 nPos; // Schreibmarke
- UINT16 nSize; // Erster Index ausserhalb des Stacks
+ TokenId* pStack; // Stack als Array
+ UINT16 nPos; // Schreibmarke
+ UINT16 nSize; // Erster Index ausserhalb des Stacks
public:
TokenStack( UINT16 nNewSize = 1024 );
~TokenStack();
- inline TokenStack& operator <<( const TokenId nNewId );
- inline void operator >>( TokenId &rId );
+ inline TokenStack& operator <<( const TokenId nNewId );
+ inline void operator >>( TokenId &rId );
- inline void Reset( void );
+ inline void Reset( void );
inline bool HasMoreTokens() const { return nPos > 0; }
- inline const TokenId Get( void );
+ inline const TokenId Get( void );
};
@@ -303,7 +303,7 @@ inline void TokenStack::Reset( void )
inline TokenPool& TokenPool::operator <<( const TokenId nId )
{
// POST: nId's werden hintereinander im Pool unter einer neuen Id
- // abgelegt. Vorgang wird mit >> oder Store() abgeschlossen
+ // abgelegt. Vorgang wird mit >> oder Store() abgeschlossen
// nId -> ( UINT16 ) nId - 1;
DBG_ASSERT( ( UINT16 ) nId < nScTokenOff,
"-TokenPool::operator <<: TokenId im DefToken-Bereich!" );
diff --git a/sc/source/filter/inc/tool.h b/sc/source/filter/inc/tool.h
index 93cc074d89f6..d7055b51e17d 100644
--- a/sc/source/filter/inc/tool.h
+++ b/sc/source/filter/inc/tool.h
@@ -1,7 +1,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
@@ -32,18 +32,18 @@
#include <document.hxx>
// Defaultwerte
-const BYTE nDezStd = 0; // Dezimalstellen fuer Standard-Zellen
-const BYTE nDezFloat = 2; // " " Float-Zellen
+const BYTE nDezStd = 0; // Dezimalstellen fuer Standard-Zellen
+const BYTE nDezFloat = 2; // " " Float-Zellen
-void PutFormString( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Char *pString );
+void PutFormString( SCCOL nCol, SCROW nRow, SCTAB nTab, sal_Char *pString );
-void SetFormat( SCCOL nCol, SCROW nRow, SCTAB nTab, BYTE nFormat, BYTE nSt );
+void SetFormat( SCCOL nCol, SCROW nRow, SCTAB nTab, BYTE nFormat, BYTE nSt );
-void InitPage( void );
+void InitPage( void );
-String DosToSystem( sal_Char *pSource );
+String DosToSystem( sal_Char *pSource );
-double SnumToDouble( INT16 nVal );
+double SnumToDouble( INT16 nVal );
double Snum32ToDouble( UINT32 nValue );
@@ -56,8 +56,8 @@ typedef UINT16 StampTyp;
class FormIdent
{
private:
- StampTyp nStamp; // Identifikations-Schluessel
- SfxUInt32Item* pAttr; // zugehoeriges Attribut
+ StampTyp nStamp; // Identifikations-Schluessel
+ SfxUInt32Item* pAttr; // zugehoeriges Attribut
public:
FormIdent( void )
{
@@ -77,27 +77,27 @@ public:
pAttr = NULL;
}
- BOOL operator ==( const FormIdent& rComp ) const
+ BOOL operator ==( const FormIdent& rComp ) const
{
return ( nStamp == rComp.nStamp );
}
- BOOL operator ==( const StampTyp& rStamp ) const
+ BOOL operator ==( const StampTyp& rStamp ) const
{
return ( nStamp == rStamp );
}
- StampTyp GetStamp( void ) const
+ StampTyp GetStamp( void ) const
{
return nStamp;
}
- SfxUInt32Item* GetAttr( void )
+ SfxUInt32Item* GetAttr( void )
{
return pAttr;
}
- void SetStamp( BYTE nFormat, BYTE nSt )
+ void SetStamp( BYTE nFormat, BYTE nSt )
{
nStamp = MAKE_STAMP( nFormat, nSt );
}
@@ -112,21 +112,21 @@ public:
class FormCache
{
private:
- FormIdent aIdents[ __nSize ]; //gepufferte Formate
- BOOL bValid[ __nSize ];
- FormIdent aCompareIdent; // zum Vergleichen
- BYTE nDefaultFormat; // Defaultformat der Datei
- SvNumberFormatter* pFormTable; // Value-Format-Table-Anker
- StampTyp nIndex;
- LanguageType eLanguage; // Systemsprache
-
- SfxUInt32Item* NewAttr( BYTE nFormat, BYTE nSt );
+ FormIdent aIdents[ __nSize ]; //gepufferte Formate
+ BOOL bValid[ __nSize ];
+ FormIdent aCompareIdent; // zum Vergleichen
+ BYTE nDefaultFormat; // Defaultformat der Datei
+ SvNumberFormatter* pFormTable; // Value-Format-Table-Anker
+ StampTyp nIndex;
+ LanguageType eLanguage; // Systemsprache
+
+ SfxUInt32Item* NewAttr( BYTE nFormat, BYTE nSt );
public:
FormCache( ScDocument*, BYTE nNewDefaultFormat = 0xFF );
~FormCache();
- inline const SfxUInt32Item* GetAttr( BYTE nFormat, BYTE nSt );
- void SetDefaultFormat( BYTE nD = 0xFF )
+ inline const SfxUInt32Item* GetAttr( BYTE nFormat, BYTE nSt );
+ void SetDefaultFormat( BYTE nD = 0xFF )
{
nDefaultFormat = nD;
}
@@ -135,11 +135,11 @@ public:
inline const SfxUInt32Item* FormCache::GetAttr( BYTE nFormat, BYTE nSt )
{
- // PREC: nFormat = Lotus-Format-Byte
- // nSt = Stellenzahl
- // POST: return = zu nFormat und nSt passendes SC-Format
- SfxUInt32Item* pAttr;
- SfxUInt32Item* pRet;
+ // PREC: nFormat = Lotus-Format-Byte
+ // nSt = Stellenzahl
+ // POST: return = zu nFormat und nSt passendes SC-Format
+ SfxUInt32Item* pAttr;
+ SfxUInt32Item* pRet;
aCompareIdent.SetStamp( nFormat, nSt );
nIndex = aCompareIdent.GetStamp();
diff --git a/sc/source/filter/inc/xcl97dum.hxx b/sc/source/filter/inc/xcl97dum.hxx
index a76a93321557..8f46b55a7c2c 100644
--- a/sc/source/filter/inc/xcl97dum.hxx
+++ b/sc/source/filter/inc/xcl97dum.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xcl97esc.hxx b/sc/source/filter/inc/xcl97esc.hxx
index fde03337cc0f..e40e3f1015a9 100644
--- a/sc/source/filter/inc/xcl97esc.hxx
+++ b/sc/source/filter/inc/xcl97esc.hxx
@@ -1,7 +1,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
@@ -103,11 +103,11 @@ public:
virtual EscherExHostAppData* StartShape(
const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape>& rxShape,
const Rectangle* pChildAnchor );
- virtual void EndShape( UINT16 nShapeType, UINT32 nShapeID );
- virtual EscherExHostAppData* EnterAdditionalTextGroup();
+ virtual void EndShape( UINT16 nShapeType, UINT32 nShapeID );
+ virtual EscherExHostAppData* EnterAdditionalTextGroup();
/// Flush and merge PicStream into EscherStream
- void EndDocument();
+ void EndDocument();
#if EXC_EXP_OCX_CTRL
/** Creates an OCX form control OBJ record from the passed form control.
@@ -151,13 +151,13 @@ private:
class XclEscherHostAppData : public EscherExHostAppData
{
private:
- BOOL bStackedGroup;
+ BOOL bStackedGroup;
public:
XclEscherHostAppData() : bStackedGroup( FALSE )
{}
- inline void SetStackedGroup( BOOL b ) { bStackedGroup = b; }
- inline BOOL IsStackedGroup() const { return bStackedGroup; }
+ inline void SetStackedGroup( BOOL b ) { bStackedGroup = b; }
+ inline BOOL IsStackedGroup() const { return bStackedGroup; }
};
diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx
index 201562fa752c..82db77305dff 100644
--- a/sc/source/filter/inc/xcl97rec.hxx
+++ b/sc/source/filter/inc/xcl97rec.hxx
@@ -1,7 +1,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
@@ -75,11 +75,11 @@ protected:
XclEscherEx& mrEscherEx;
XclExpMsoDrawing* pMsodrawing;
XclExpMsoDrawing* pClientTextbox;
- XclTxo* pTxo;
+ XclTxo* pTxo;
sal_uInt16 mnObjType;
- UINT16 nObjId;
- UINT16 nGrbit;
- BOOL bFirstOnSheet;
+ UINT16 nObjId;
+ UINT16 nGrbit;
+ BOOL bFirstOnSheet;
bool mbOwnEscher; /// true = Escher part created on the fly.
@@ -92,26 +92,26 @@ protected:
// overwritten for writing MSODRAWING record
virtual void WriteBody( XclExpStream& rStrm );
virtual void WriteSubRecs( XclExpStream& rStrm );
- void SaveTextRecs( XclExpStream& rStrm );
+ void SaveTextRecs( XclExpStream& rStrm );
public:
- virtual ~XclObj();
+ virtual ~XclObj();
inline sal_uInt16 GetObjType() const { return mnObjType; }
- inline void SetId( UINT16 nId ) { nObjId = nId; }
+ inline void SetId( UINT16 nId ) { nObjId = nId; }
- inline void SetLocked( BOOL b )
+ inline void SetLocked( BOOL b )
{ b ? nGrbit |= 0x0001 : nGrbit &= ~0x0001; }
- inline void SetPrintable( BOOL b )
+ inline void SetPrintable( BOOL b )
{ b ? nGrbit |= 0x0010 : nGrbit &= ~0x0010; }
- inline void SetAutoFill( BOOL b )
+ inline void SetAutoFill( BOOL b )
{ b ? nGrbit |= 0x2000 : nGrbit &= ~0x2000; }
- inline void SetAutoLine( BOOL b )
+ inline void SetAutoLine( BOOL b )
{ b ? nGrbit |= 0x4000 : nGrbit &= ~0x4000; }
// set corresponding Excel object type in OBJ/ftCmo
- void SetEscherShapeType( UINT16 nType );
+ void SetEscherShapeType( UINT16 nType );
inline void SetEscherShapeTypeGroup() { mnObjType = EXC_OBJTYPE_GROUP; }
/** If set to true, this object has created its own escher data.
@@ -129,7 +129,7 @@ public:
//! actually writes ESCHER_ClientTextbox
void SetText( const XclExpRoot& rRoot, const SdrTextObj& rObj );
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
// --- class XclObjComment -------------------------------------------
@@ -139,7 +139,7 @@ class XclObjComment : public XclObj
public:
XclObjComment( XclExpObjectManager& rObjMgr,
const Rectangle& rRect, const EditTextObject& rEditObj, SdrObject* pCaption, bool bVisible );
- virtual ~XclObjComment();
+ virtual ~XclObjComment();
/** c'tor process for formatted text objects above .
@descr used to construct the MSODRAWING Escher object properties. */
@@ -147,7 +147,7 @@ public:
const Rectangle& rRect, SdrObject* pCaption, bool bVisible );
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
@@ -156,14 +156,14 @@ public:
class XclObjDropDown : public XclObj
{
private:
- BOOL bIsFiltered;
+ BOOL bIsFiltered;
virtual void WriteSubRecs( XclExpStream& rStrm );
protected:
public:
XclObjDropDown( XclExpObjectManager& rObjMgr, const ScAddress& rPos, BOOL bFilt );
- virtual ~XclObjDropDown();
+ virtual ~XclObjDropDown();
};
@@ -181,9 +181,9 @@ public:
inline void SetHorAlign( sal_uInt8 nHorAlign ) { mnHorAlign = nHorAlign; }
inline void SetVerAlign( sal_uInt8 nVerAlign ) { mnVerAlign = nVerAlign; }
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
private:
@@ -203,16 +203,16 @@ class XclObjOle : public XclObj
{
private:
- const SdrObject& rOleObj;
+ const SdrObject& rOleObj;
SotStorage* pRootStorage;
virtual void WriteSubRecs( XclExpStream& rStrm );
public:
XclObjOle( XclExpObjectManager& rObjMgr, const SdrObject& rObj );
- virtual ~XclObjOle();
+ virtual ~XclObjOle();
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
@@ -225,9 +225,9 @@ private:
public:
XclObjAny( XclExpObjectManager& rObjMgr );
- virtual ~XclObjAny();
+ virtual ~XclObjAny();
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
};
@@ -236,15 +236,15 @@ public:
class ExcBof8_Base : public ExcBof_Base
{
protected:
- UINT32 nFileHistory; // bfh
- UINT32 nLowestBiffVer; // sfo
+ UINT32 nFileHistory; // bfh
+ UINT32 nLowestBiffVer; // sfo
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBof8_Base();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -277,7 +277,7 @@ private:
String sUnicodeName;
XclExpString GetName() const;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBundlesheet8( RootData& rRootData, SCTAB nTab );
@@ -294,7 +294,7 @@ public:
class XclObproj : public ExcRecord
{
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -305,25 +305,25 @@ class XclCodename : public ExcRecord
{
private:
XclExpString aName;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclCodename( const String& );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
// ---- Scenarios ----------------------------------------------------
-// - ExcEScenarioCell a cell of a scenario range
-// - ExcEScenario all ranges of a scenario table
-// - ExcEScenarioManager list of scenario tables
+// - ExcEScenarioCell a cell of a scenario range
+// - ExcEScenario all ranges of a scenario table
+// - ExcEScenarioManager list of scenario tables
class ExcEScenarioCell
{
private:
- UINT16 nCol;
- UINT16 nRow;
+ UINT16 nCol;
+ UINT16 nRow;
XclExpString sText;
protected:
@@ -333,8 +333,8 @@ public:
inline sal_Size GetStringBytes()
{ return sText.GetSize(); }
- void WriteAddress( XclExpStream& rStrm );
- void WriteText( XclExpStream& rStrm );
+ void WriteAddress( XclExpStream& rStrm );
+ void WriteText( XclExpStream& rStrm );
void SaveXml( XclExpXmlStream& rStrm );
};
@@ -350,19 +350,19 @@ private:
XclExpString sUserName;
UINT8 nProtected;
- inline ExcEScenarioCell* _First() { return (ExcEScenarioCell*) List::First(); }
- inline ExcEScenarioCell* _Next() { return (ExcEScenarioCell*) List::Next(); }
+ inline ExcEScenarioCell* _First() { return (ExcEScenarioCell*) List::First(); }
+ inline ExcEScenarioCell* _Next() { return (ExcEScenarioCell*) List::Next(); }
- BOOL Append( UINT16 nCol, UINT16 nRow, const String& rTxt );
+ BOOL Append( UINT16 nCol, UINT16 nRow, const String& rTxt );
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
protected:
public:
ExcEScenario( const XclExpRoot& rRoot, SCTAB nTab );
- virtual ~ExcEScenario();
+ virtual ~ExcEScenario();
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
virtual void SaveXml( XclExpXmlStream& rStrm );
@@ -373,25 +373,25 @@ public:
class ExcEScenarioManager : public ExcRecord, private List
{
private:
- UINT16 nActive;
+ UINT16 nActive;
- inline ExcEScenario* _First() { return (ExcEScenario*) List::First(); }
- inline ExcEScenario* _Next() { return (ExcEScenario*) List::Next(); }
+ inline ExcEScenario* _First() { return (ExcEScenario*) List::First(); }
+ inline ExcEScenario* _Next() { return (ExcEScenario*) List::Next(); }
- inline void Append( ExcEScenario* pScen )
+ inline void Append( ExcEScenario* pScen )
{ List::Insert( pScen, LIST_APPEND ); }
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
protected:
public:
ExcEScenarioManager( const XclExpRoot& rRoot, SCTAB nTab );
- virtual ~ExcEScenarioManager();
+ virtual ~ExcEScenarioManager();
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
virtual void SaveXml( XclExpXmlStream& rStrm );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -417,13 +417,13 @@ private:
class XclCalccount : public ExcRecord
{
private:
- UINT16 nCount;
+ UINT16 nCount;
protected:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclCalccount( const ScDocument& );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
virtual void SaveXml( XclExpXmlStream& rStrm );
@@ -435,13 +435,13 @@ public:
class XclIteration : public ExcRecord
{
private:
- UINT16 nIter;
+ UINT16 nIter;
protected:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclIteration( const ScDocument& );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
virtual void SaveXml( XclExpXmlStream& rStrm );
@@ -453,13 +453,13 @@ public:
class XclDelta : public ExcRecord
{
private:
- double fDelta;
+ double fDelta;
protected:
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
XclDelta( const ScDocument& );
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
virtual void SaveXml( XclExpXmlStream& rStrm );
diff --git a/sc/source/filter/inc/xechart.hxx b/sc/source/filter/inc/xechart.hxx
index 5bb75e029210..2bcdb996d7e9 100644
--- a/sc/source/filter/inc/xechart.hxx
+++ b/sc/source/filter/inc/xechart.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xecontent.hxx b/sc/source/filter/inc/xecontent.hxx
index 50c9466d2801..47838149f0dc 100644
--- a/sc/source/filter/inc/xecontent.hxx
+++ b/sc/source/filter/inc/xecontent.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xeescher.hxx b/sc/source/filter/inc/xeescher.hxx
index d227db184f1a..259ab9761b90 100644
--- a/sc/source/filter/inc/xeescher.hxx
+++ b/sc/source/filter/inc/xeescher.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xeformula.hxx b/sc/source/filter/inc/xeformula.hxx
index 258070f0791e..d48eb62cc29b 100644
--- a/sc/source/filter/inc/xeformula.hxx
+++ b/sc/source/filter/inc/xeformula.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xehelper.hxx b/sc/source/filter/inc/xehelper.hxx
index 606ce51c889b..8e4094ad6b80 100644
--- a/sc/source/filter/inc/xehelper.hxx
+++ b/sc/source/filter/inc/xehelper.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xename.hxx b/sc/source/filter/inc/xename.hxx
index f0740735ea28..d80b51faff01 100644
--- a/sc/source/filter/inc/xename.hxx
+++ b/sc/source/filter/inc/xename.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xepage.hxx b/sc/source/filter/inc/xepage.hxx
index b9454a3cdb3c..1e96c98419ca 100644
--- a/sc/source/filter/inc/xepage.hxx
+++ b/sc/source/filter/inc/xepage.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xepivot.hxx b/sc/source/filter/inc/xepivot.hxx
index 0c730952e69e..8841a71be495 100644
--- a/sc/source/filter/inc/xepivot.hxx
+++ b/sc/source/filter/inc/xepivot.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xerecord.hxx b/sc/source/filter/inc/xerecord.hxx
index a191cd9b1c20..6e1f7e7df350 100644
--- a/sc/source/filter/inc/xerecord.hxx
+++ b/sc/source/filter/inc/xerecord.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 3308827441dd..a8fae8fdf26a 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xestring.hxx b/sc/source/filter/inc/xestring.hxx
index b468696cb3ff..c612f3d85e47 100644
--- a/sc/source/filter/inc/xestring.hxx
+++ b/sc/source/filter/inc/xestring.hxx
@@ -1,7 +1,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
@@ -88,7 +88,7 @@ public:
//UNUSED2008-05 const XclFormatRunVec& rFormats,
//UNUSED2008-05 XclStrFlags nFlags = EXC_STR_DEFAULT,
//UNUSED2008-05 sal_uInt16 nMaxLen = EXC_STR_MAXLEN );
-//UNUSED2008-05
+//UNUSED2008-05
//UNUSED2008-05 /** Constructs a formatted BIFF8 Unicode string.
//UNUSED2008-05 @param rFormats The formatting runs.
//UNUSED2008-05 @param nFlags Modifiers for string export.
diff --git a/sc/source/filter/inc/xestyle.hxx b/sc/source/filter/inc/xestyle.hxx
index fd7303509688..81caa30b10a0 100644
--- a/sc/source/filter/inc/xestyle.hxx
+++ b/sc/source/filter/inc/xestyle.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xetable.hxx b/sc/source/filter/inc/xetable.hxx
index 723f9dde09e0..dcb7823d3868 100644
--- a/sc/source/filter/inc/xetable.hxx
+++ b/sc/source/filter/inc/xetable.hxx
@@ -1,7 +1,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
@@ -410,16 +410,16 @@ private:
//UNUSED2009-05 class XclExpErrorCell : public XclExpSingleCellBase
//UNUSED2009-05 {
//UNUSED2009-05 DECL_FIXEDMEMPOOL_NEWDEL( XclExpErrorCell )
-//UNUSED2009-05
+//UNUSED2009-05
//UNUSED2009-05 public:
//UNUSED2009-05 explicit XclExpErrorCell( const XclExpRoot rRoot, const XclAddress& rXclPos,
//UNUSED2009-05 const ScPatternAttr* pPattern, sal_uInt32 nForcedXFId,
//UNUSED2009-05 sal_uInt8 nErrCode );
-//UNUSED2009-05
+//UNUSED2009-05
//UNUSED2009-05 virtual void SaveXml( XclExpXmlStream& rStrm );
//UNUSED2009-05 private:
//UNUSED2009-05 virtual void WriteContents( XclExpStream& rStrm );
-//UNUSED2009-05
+//UNUSED2009-05
//UNUSED2009-05 private:
//UNUSED2009-05 sal_uInt8 mnErrCode; /// The error code.
//UNUSED2009-05 };
diff --git a/sc/source/filter/inc/xeview.hxx b/sc/source/filter/inc/xeview.hxx
index 61e349ab1e86..8373f8f7373c 100644
--- a/sc/source/filter/inc/xeview.hxx
+++ b/sc/source/filter/inc/xeview.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xichart.hxx b/sc/source/filter/inc/xichart.hxx
index d8289b3b671b..72e5d8c12b0c 100644
--- a/sc/source/filter/inc/xichart.hxx
+++ b/sc/source/filter/inc/xichart.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xicontent.hxx b/sc/source/filter/inc/xicontent.hxx
index 810c435d34bf..d8b1ec98ad74 100644
--- a/sc/source/filter/inc/xicontent.hxx
+++ b/sc/source/filter/inc/xicontent.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xiescher.hxx b/sc/source/filter/inc/xiescher.hxx
index 0167d160f297..b845207f3e79 100644
--- a/sc/source/filter/inc/xiescher.hxx
+++ b/sc/source/filter/inc/xiescher.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xiformula.hxx b/sc/source/filter/inc/xiformula.hxx
index 6151222746cd..105c96e571eb 100644
--- a/sc/source/filter/inc/xiformula.hxx
+++ b/sc/source/filter/inc/xiformula.hxx
@@ -1,7 +1,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
@@ -49,11 +49,11 @@ public:
ScRangeList& rScRanges, XclFormulaType eType,
const XclTokenArray& rXclTokArr, XclImpStream& rStrm );
- /**
- * Creates a formula token array from the Excel token array. Note that
- * the caller must create a copy of the token array instance returend by
- * this function if the caller needs to persistently store the array,
- * because the pointer points to an array instance on the stack.
+ /**
+ * Creates a formula token array from the Excel token array. Note that
+ * the caller must create a copy of the token array instance returend by
+ * this function if the caller needs to persistently store the array,
+ * because the pointer points to an array instance on the stack.
*/
const ScTokenArray* CreateFormula( XclFormulaType eType, const XclTokenArray& rXclTokArr );
diff --git a/sc/source/filter/inc/xilink.hxx b/sc/source/filter/inc/xilink.hxx
index dbbb4606114e..c84a03b53323 100644
--- a/sc/source/filter/inc/xilink.hxx
+++ b/sc/source/filter/inc/xilink.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xiname.hxx b/sc/source/filter/inc/xiname.hxx
index ccf1b88af947..174b46c69edc 100644
--- a/sc/source/filter/inc/xiname.hxx
+++ b/sc/source/filter/inc/xiname.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xipage.hxx b/sc/source/filter/inc/xipage.hxx
index 0571e10e7046..bb1e4003569c 100644
--- a/sc/source/filter/inc/xipage.hxx
+++ b/sc/source/filter/inc/xipage.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xipivot.hxx b/sc/source/filter/inc/xipivot.hxx
index edac8a0fd99f..ae0c78dd7d89 100644
--- a/sc/source/filter/inc/xipivot.hxx
+++ b/sc/source/filter/inc/xipivot.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xiroot.hxx b/sc/source/filter/inc/xiroot.hxx
index c5cf284d2d2e..4d811ae2445b 100644
--- a/sc/source/filter/inc/xiroot.hxx
+++ b/sc/source/filter/inc/xiroot.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xistream.hxx b/sc/source/filter/inc/xistream.hxx
index 9b27077d78e7..de4e86bf0745 100644
--- a/sc/source/filter/inc/xistream.hxx
+++ b/sc/source/filter/inc/xistream.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xistring.hxx b/sc/source/filter/inc/xistring.hxx
index a6f00d26d2e2..002e3a7be508 100644
--- a/sc/source/filter/inc/xistring.hxx
+++ b/sc/source/filter/inc/xistring.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xistyle.hxx b/sc/source/filter/inc/xistyle.hxx
index 104002542a17..1d3047eb5856 100644
--- a/sc/source/filter/inc/xistyle.hxx
+++ b/sc/source/filter/inc/xistyle.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xiview.hxx b/sc/source/filter/inc/xiview.hxx
index 2451d69ee01c..7a40d19a1a2c 100644
--- a/sc/source/filter/inc/xiview.hxx
+++ b/sc/source/filter/inc/xiview.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xladdress.hxx b/sc/source/filter/inc/xladdress.hxx
index 0ac5ca3031a4..b8705aeeabb0 100644
--- a/sc/source/filter/inc/xladdress.hxx
+++ b/sc/source/filter/inc/xladdress.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlchart.hxx b/sc/source/filter/inc/xlchart.hxx
index 13eda8619cc0..f039c74ae945 100755
--- a/sc/source/filter/inc/xlchart.hxx
+++ b/sc/source/filter/inc/xlchart.hxx
@@ -1,7 +1,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
@@ -1474,7 +1474,7 @@ struct XclChRootData
const Rectangle& rChartRect );
/** Finishes the API chart document conversion. Must be called once before any API access. */
void FinishConversion();
-
+
/** Returns the drawing shape interface of the specified title object. */
::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape >
GetTitleShape( const XclChTextKey& rTitleKey ) const;
diff --git a/sc/source/filter/inc/xlconst.hxx b/sc/source/filter/inc/xlconst.hxx
index 42160aae7529..510088246d2b 100644
--- a/sc/source/filter/inc/xlconst.hxx
+++ b/sc/source/filter/inc/xlconst.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlcontent.hxx b/sc/source/filter/inc/xlcontent.hxx
index 41e916472e70..6fe86757e1a4 100644
--- a/sc/source/filter/inc/xlcontent.hxx
+++ b/sc/source/filter/inc/xlcontent.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx
index 921da6b8741b..ecc8ab9af927 100644
--- a/sc/source/filter/inc/xlescher.hxx
+++ b/sc/source/filter/inc/xlescher.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlformula.hxx b/sc/source/filter/inc/xlformula.hxx
index 83bab2acd24a..df83df2abc4c 100644
--- a/sc/source/filter/inc/xlformula.hxx
+++ b/sc/source/filter/inc/xlformula.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xllink.hxx b/sc/source/filter/inc/xllink.hxx
index 3e41fb350acb..ac15ae71f9c5 100644
--- a/sc/source/filter/inc/xllink.hxx
+++ b/sc/source/filter/inc/xllink.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlname.hxx b/sc/source/filter/inc/xlname.hxx
index 5bfcf9164892..9f96e6d3fd47 100644
--- a/sc/source/filter/inc/xlname.hxx
+++ b/sc/source/filter/inc/xlname.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlpage.hxx b/sc/source/filter/inc/xlpage.hxx
index f6860595cd20..4878ba9eba26 100644
--- a/sc/source/filter/inc/xlpage.hxx
+++ b/sc/source/filter/inc/xlpage.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx
index ad48c05a93f4..b79218c94520 100644
--- a/sc/source/filter/inc/xlpivot.hxx
+++ b/sc/source/filter/inc/xlpivot.hxx
@@ -1,7 +1,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
@@ -526,7 +526,7 @@ public:
/** Returns true, if this is a standard field build directly from source data. */
bool IsStandardField() const;
-
+
//UNUSED2008-05 /** Returns true, if the items of the field are calculated from a formula. */
//UNUSED2008-05 bool IsCalculatedField() const;
diff --git a/sc/source/filter/inc/xlroot.hxx b/sc/source/filter/inc/xlroot.hxx
index 2f029c74baa9..846a102de623 100644
--- a/sc/source/filter/inc/xlroot.hxx
+++ b/sc/source/filter/inc/xlroot.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlstream.hxx b/sc/source/filter/inc/xlstream.hxx
index 0a9074371c33..a797f9d9502f 100644
--- a/sc/source/filter/inc/xlstream.hxx
+++ b/sc/source/filter/inc/xlstream.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlstring.hxx b/sc/source/filter/inc/xlstring.hxx
index 5ee505e25024..f207aefbdcf9 100644
--- a/sc/source/filter/inc/xlstring.hxx
+++ b/sc/source/filter/inc/xlstring.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlstyle.hxx b/sc/source/filter/inc/xlstyle.hxx
index 604b53a1f8ff..b7d08570e726 100644
--- a/sc/source/filter/inc/xlstyle.hxx
+++ b/sc/source/filter/inc/xlstyle.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xltable.hxx b/sc/source/filter/inc/xltable.hxx
index 6b8f650568a9..b25a7dd00f88 100644
--- a/sc/source/filter/inc/xltable.hxx
+++ b/sc/source/filter/inc/xltable.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xltools.hxx b/sc/source/filter/inc/xltools.hxx
index efe20a583104..72bb876a70ee 100644
--- a/sc/source/filter/inc/xltools.hxx
+++ b/sc/source/filter/inc/xltools.hxx
@@ -1,7 +1,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
@@ -232,7 +232,7 @@ public:
static void SkipSubStream( XclImpStream& rStrm );
// Basic macro names ------------------------------------------------------
-
+
/** Returns the full StarBasic macro URL from an Excel macro name. */
static ::rtl::OUString GetSbMacroUrl( const String& rMacroName, SfxObjectShell* pDocShell = 0 );
/** Returns the full StarBasic macro URL from an Excel module and macro name. */
diff --git a/sc/source/filter/inc/xltracer.hxx b/sc/source/filter/inc/xltracer.hxx
index 73ed3d0502c3..ef88d1535a9b 100644
--- a/sc/source/filter/inc/xltracer.hxx
+++ b/sc/source/filter/inc/xltracer.hxx
@@ -1,7 +1,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
diff --git a/sc/source/filter/inc/xlview.hxx b/sc/source/filter/inc/xlview.hxx
index c0c9d4b3d6e1..8961bb4ade09 100644
--- a/sc/source/filter/inc/xlview.hxx
+++ b/sc/source/filter/inc/xlview.hxx
@@ -1,7 +1,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
@@ -88,8 +88,8 @@ const sal_uInt16 EXC_ID_SCL = 0x00A0;
// (0x0862) SHEETEXT ----------------------------------------------------------
-const sal_uInt16 EXC_ID_SHEETEXT = 0x0862; /// header id for sheetext
-const sal_uInt8 EXC_SHEETEXT_TABCOLOR = 0x7F; /// mask for tab color
+const sal_uInt16 EXC_ID_SHEETEXT = 0x0862; /// header id for sheetext
+const sal_uInt8 EXC_SHEETEXT_TABCOLOR = 0x7F; /// mask for tab color
const sal_uInt16 EXC_COLOR_NOTABBG = 0x7F; /// Excel ignores Tab color when set to this value...
// Structs ====================================================================