summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xcl97rec.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/xcl97rec.hxx')
-rw-r--r--sc/source/filter/inc/xcl97rec.hxx126
1 files changed, 63 insertions, 63 deletions
diff --git a/sc/source/filter/inc/xcl97rec.hxx b/sc/source/filter/inc/xcl97rec.hxx
index f15ed6b635bb..eef1eb799ca2 100644
--- a/sc/source/filter/inc/xcl97rec.hxx
+++ b/sc/source/filter/inc/xcl97rec.hxx
@@ -83,12 +83,12 @@ protected:
XclEscherEx& mrEscherEx;
XclExpMsoDrawing* pMsodrawing;
XclExpMsoDrawing* pClientTextbox;
- XclTxo* pTxo;
+ XclTxo* pTxo;
sal_uInt16 mnObjType;
- UINT16 nObjId;
- UINT16 nGrbit;
+ UINT16 nObjId;
+ UINT16 nGrbit;
SCTAB mnScTab;
- BOOL bFirstOnSheet;
+ BOOL bFirstOnSheet;
bool mbOwnEscher; /// true = Escher part created on the fly.
@@ -101,30 +101,30 @@ 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 sal_uInt16 GetId() const { return nObjId; }
inline void SetTab( SCTAB nScTab ) { mnScTab = nScTab; }
inline SCTAB GetTab() const { return mnScTab; }
- 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.
@@ -142,7 +142,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 -------------------------------------------
@@ -159,7 +159,7 @@ class XclObjComment : public XclObj
public:
XclObjComment( XclExpObjectManager& rObjMgr,
const Rectangle& rRect, const EditTextObject& rEditObj, SdrCaptionObj* pCaption, bool bVisible, const ScAddress& rAddress, Rectangle &rFrom, Rectangle &To );
- virtual ~XclObjComment();
+ virtual ~XclObjComment();
/** c'tor process for formatted text objects above .
@descr used to construct the MSODRAWING Escher object properties. */
@@ -167,7 +167,7 @@ public:
const Rectangle& rRect, SdrObject* pCaption, bool bVisible );
- virtual void Save( XclExpStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
virtual void SaveXml( XclExpXmlStream& rStrm );
};
@@ -177,14 +177,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();
};
@@ -202,9 +202,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:
@@ -224,16 +224,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 );
};
@@ -247,14 +247,14 @@ protected:
public:
XclObjAny( XclExpObjectManager& rObjMgr,
const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rShape );
- virtual ~XclObjAny();
+ virtual ~XclObjAny();
com::sun::star::uno::Reference< com::sun::star::drawing::XShape >
GetShape() const { return mxShape; }
- virtual void Save( XclExpStream& rStrm );
- virtual void SaveXml( XclExpXmlStream& rStrm );
+ virtual void Save( XclExpStream& rStrm );
+ virtual void SaveXml( XclExpXmlStream& rStrm );
static void WriteFromTo( XclExpXmlStream& rStrm, const XclObjAny& rObj );
static void WriteFromTo( XclExpXmlStream& rStrm, const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& rShape, SCTAB nTab );
@@ -269,15 +269,15 @@ private:
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;
};
@@ -310,7 +310,7 @@ private:
String sUnicodeName;
XclExpString GetName() const;
- virtual void SaveCont( XclExpStream& rStrm );
+ virtual void SaveCont( XclExpStream& rStrm );
public:
ExcBundlesheet8( RootData& rRootData, SCTAB nTab );
@@ -327,7 +327,7 @@ public:
class XclObproj : public ExcRecord
{
public:
- virtual UINT16 GetNum() const;
+ virtual UINT16 GetNum() const;
virtual sal_Size GetLen() const;
};
@@ -338,25 +338,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:
@@ -366,8 +366,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 );
};
@@ -383,19 +383,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 );
@@ -406,25 +406,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;
};
@@ -450,13 +450,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 );
@@ -468,13 +468,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 );
@@ -486,13 +486,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 );