summaryrefslogtreecommitdiff
path: root/sw/inc/cellatr.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/cellatr.hxx')
-rw-r--r--sw/inc/cellatr.hxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/sw/inc/cellatr.hxx b/sw/inc/cellatr.hxx
index 47b50104ad40..b899c2573780 100644
--- a/sw/inc/cellatr.hxx
+++ b/sw/inc/cellatr.hxx
@@ -37,7 +37,7 @@
class SW_DLLPUBLIC SwTblBoxNumFormat : public SfxUInt32Item
{
- BOOL bAuto; // automatisch vergebenes Flag
+ BOOL bAuto; // automatically given flag
public:
SwTblBoxNumFormat( UINT32 nFormat = NUMBERFORMAT_TEXT,
BOOL bAuto = FALSE );
@@ -59,8 +59,8 @@ public:
class SwTblBoxFormula : public SfxPoolItem, public SwTableFormula
{
- SwModify* pDefinedIn; // Modify-Object, in dem die Formel steht
- // kann nur TablenBoxFormat sein
+ SwModify* pDefinedIn; // Modify object where the formula is located
+ // can only be TableBoxFormat
public:
SwTblBoxFormula( const String& rFormula );
@@ -69,11 +69,9 @@ public:
virtual int operator==( const SfxPoolItem& ) const;
virtual SfxPoolItem* Clone( SfxItemPool* pPool = 0 ) const;
- // erfrage und setze den Modify-Pointer
inline const SwModify* GetDefinedIn() const { return pDefinedIn; }
inline void ChgDefinedIn( const SwModify* pNew )
{ pDefinedIn = (SwModify*)pNew; }
- // suche den Node, in dem die Formel steht:
// BoxAttribut -> BoxStartNode
virtual const SwNode* GetNodeOfFormula() const;
@@ -81,9 +79,7 @@ public:
const SwTableBox* GetTableBox() const
{ return ((SwTblBoxFormula*)this)->GetTableBox(); }
- // Status aendern
void ChangeState( const SfxPoolItem* pItem );
- // berechne die Formel
void Calc( SwTblCalcPara& rCalcPara, double& rValue );
};