diff options
Diffstat (limited to 'sw/source/core/inc/tabfrm.hxx')
-rw-r--r-- | sw/source/core/inc/tabfrm.hxx | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/sw/source/core/inc/tabfrm.hxx b/sw/source/core/inc/tabfrm.hxx index c12685ab3058..a93ddf24ebf3 100644 --- a/sw/source/core/inc/tabfrm.hxx +++ b/sw/source/core/inc/tabfrm.hxx @@ -43,45 +43,45 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm //Fuert Spezialbehandlung fuer _Get[Next|Prev]Leaf() durch. using SwFrm::GetLeaf; - SwLayoutFrm *GetLeaf( MakePageType eMakePage, BOOL bFwd ); + SwLayoutFrm *GetLeaf( MakePageType eMakePage, sal_Bool bFwd ); SwTable* pTable; - BOOL bComplete :1; //Eintrage als Repaint ohne das CompletePaint + sal_Bool bComplete :1; //Eintrage als Repaint ohne das CompletePaint //der Basisklasse gesetzt werden muss. Damit //sollen unertraegliche Tabellen-Repaints //vermieden werden. - BOOL bCalcLowers :1; //Im MakeAll auf jedenfall auch fuer Stabilitaet + sal_Bool bCalcLowers :1; //Im MakeAll auf jedenfall auch fuer Stabilitaet //des Inhaltes sorgen. - BOOL bLowersFormatted :1;//Kommunikation zwischen MakeAll und Layact - BOOL bLockBackMove :1; //BackMove-Test hat der Master erledigt. - BOOL bResizeHTMLTable :1; //Resize des HTMLTableLayout rufen im MakeAll + sal_Bool bLowersFormatted :1;//Kommunikation zwischen MakeAll und Layact + sal_Bool bLockBackMove :1; //BackMove-Test hat der Master erledigt. + sal_Bool bResizeHTMLTable :1; //Resize des HTMLTableLayout rufen im MakeAll //Zur Optimierung, damit dies nicht im //CntntFrm::Grow gerufen werden muss, denn dann //wird es ggf. fuer jede Zelle gerufen #47483# - BOOL bONECalcLowers :1; //Primaer fuer die StarONE-SS. Beim MakeAll werden + sal_Bool bONECalcLowers :1; //Primaer fuer die StarONE-SS. Beim MakeAll werden //die Cntnts auf jedenfall per Calc() formatiert. //es finden keine zusaetzlichen Invalidierungen //statt und dieser Weg kann auch kaum garantien //geben. - BOOL bHasFollowFlowLine :1; // Means that the first line in the follow + sal_Bool bHasFollowFlowLine :1; // Means that the first line in the follow // is indented to contain content from a broken // cell - BOOL bIsRebuildLastLine :1; // Means that currently the last line of the + sal_Bool bIsRebuildLastLine :1; // Means that currently the last line of the // TabFrame is rebuilded. In this case we // do not want any notification to the master // table - BOOL bRestrictTableGrowth :1; // Usually, the table may grow infinite, + sal_Bool bRestrictTableGrowth :1; // Usually, the table may grow infinite, // because the table can be split in // SwTabFrm::MakeAll. In MakeAll, this // flag is set to indicate that the table // may only grow inside its upper. This // is necessary, in order to let the text // flow into the FollowFlowLine - BOOL bRemoveFollowFlowLinePending :1; + sal_Bool bRemoveFollowFlowLinePending :1; // --> OD 2004-10-04 #i26945# - BOOL bConsiderObjsForMinCellHeight :1; // Usually, the floating screen objects + sal_Bool bConsiderObjsForMinCellHeight :1; // Usually, the floating screen objects // are considered on the calculation // for the minimal cell height. // For splitting table rows algorithm @@ -91,10 +91,10 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm // last table row. // <-- // --> OD 2004-10-15 #i26945# - BOOL bObjsDoesFit :1; // For splitting table rows algorithm, this boolean + sal_Bool bObjsDoesFit :1; // For splitting table rows algorithm, this boolean // indicates, if the floating screen objects fits // <-- - BOOL bDummy4 :1; + sal_Bool bDummy4 :1; //Split() spaltet den Frm an der angegebenen Stelle, es wird ein //Follow erzeugt und aufgebaut und direkt hinter this gepastet. @@ -102,16 +102,16 @@ class SwTabFrm: public SwLayoutFrm, public SwFlowFrm bool Split( const SwTwips nCutPos, bool bTryToSplit, bool bTableRowKeep ); bool Join(); - void _UpdateAttr( SfxPoolItem*, SfxPoolItem*, BYTE &, + void _UpdateAttr( SfxPoolItem*, SfxPoolItem*, sal_uInt8 &, SwAttrSetChg *pa = 0, SwAttrSetChg *pb = 0 ); - virtual BOOL ShouldBwdMoved( SwLayoutFrm *pNewUpper, BOOL bHead, BOOL &rReformat ); + virtual sal_Bool ShouldBwdMoved( SwLayoutFrm *pNewUpper, sal_Bool bHead, sal_Bool &rReformat ); protected: virtual void MakeAll(); virtual void Format( const SwBorderAttrs *pAttrs = 0 ); //Aendert nur die Framesize, nicht die PrtArea-SSize - virtual SwTwips GrowFrm ( SwTwips, BOOL bTst = FALSE, BOOL bInfo = FALSE ); + virtual SwTwips GrowFrm ( SwTwips, sal_Bool bTst = sal_False, sal_Bool bInfo = sal_False ); public: SwTabFrm( SwTable & ); //Immer nach dem erzeugen _und_ pasten das //Regist Flys rufen! @@ -128,10 +128,10 @@ public: SwTabFrm* FindMaster( bool bFirstMaster = false ) const; virtual void Modify( SfxPoolItem*, SfxPoolItem* ); - virtual BOOL GetInfo( SfxPoolItem &rHnt ) const; + virtual sal_Bool GetInfo( SfxPoolItem &rHnt ) const; virtual void Paint( SwRect const&, SwPrintData const*const pPrintData = NULL ) const; - virtual void CheckDirection( BOOL bVert ); + virtual void CheckDirection( sal_Bool bVert ); virtual void Cut(); virtual void Paste( SwFrm* pParent, SwFrm* pSibling = 0 ); @@ -145,48 +145,48 @@ public: const SwTable *GetTable() const { return pTable; } SwTable *GetTable() { return pTable; } - BOOL IsComplete() { return bComplete; } - void SetComplete() { bComplete = TRUE; } - void ResetComplete() { bComplete = FALSE; } + sal_Bool IsComplete() { return bComplete; } + void SetComplete() { bComplete = sal_True; } + void ResetComplete() { bComplete = sal_False; } - BOOL IsLowersFormatted() const { return bLowersFormatted; } - void SetLowersFormatted( BOOL b ) { bLowersFormatted = b; } + sal_Bool IsLowersFormatted() const { return bLowersFormatted; } + void SetLowersFormatted( sal_Bool b ) { bLowersFormatted = b; } - void SetCalcLowers() { bCalcLowers = TRUE; } //Sparsam einsetzen! - void SetResizeHTMLTable() { bResizeHTMLTable = TRUE; } //dito - void SetONECalcLowers() { bONECalcLowers = TRUE; } + void SetCalcLowers() { bCalcLowers = sal_True; } //Sparsam einsetzen! + void SetResizeHTMLTable() { bResizeHTMLTable = sal_True; } //dito + void SetONECalcLowers() { bONECalcLowers = sal_True; } // // Start: New stuff for breaking table rows // - BOOL HasFollowFlowLine() const { return bHasFollowFlowLine; } - void SetFollowFlowLine( BOOL bNew ) { bHasFollowFlowLine = bNew; } + sal_Bool HasFollowFlowLine() const { return bHasFollowFlowLine; } + void SetFollowFlowLine( sal_Bool bNew ) { bHasFollowFlowLine = bNew; } - BOOL IsRebuildLastLine() const { return bIsRebuildLastLine; } - void SetRebuildLastLine( BOOL bNew ) { bIsRebuildLastLine = bNew; } + sal_Bool IsRebuildLastLine() const { return bIsRebuildLastLine; } + void SetRebuildLastLine( sal_Bool bNew ) { bIsRebuildLastLine = bNew; } - BOOL IsRestrictTableGrowth() const { return bRestrictTableGrowth; } - void SetRestrictTableGrowth( BOOL bNew ) { bRestrictTableGrowth = bNew; } + sal_Bool IsRestrictTableGrowth() const { return bRestrictTableGrowth; } + void SetRestrictTableGrowth( sal_Bool bNew ) { bRestrictTableGrowth = bNew; } - BOOL IsRemoveFollowFlowLinePending() const { return bRemoveFollowFlowLinePending; } - void SetRemoveFollowFlowLinePending( BOOL bNew ) { bRemoveFollowFlowLinePending = bNew; } + sal_Bool IsRemoveFollowFlowLinePending() const { return bRemoveFollowFlowLinePending; } + void SetRemoveFollowFlowLinePending( sal_Bool bNew ) { bRemoveFollowFlowLinePending = bNew; } // --> OD 2004-10-04 #i26945# - BOOL IsConsiderObjsForMinCellHeight() const + sal_Bool IsConsiderObjsForMinCellHeight() const { return bConsiderObjsForMinCellHeight; } - void SetConsiderObjsForMinCellHeight( BOOL _bNewConsiderObjsForMinCellHeight ) + void SetConsiderObjsForMinCellHeight( sal_Bool _bNewConsiderObjsForMinCellHeight ) { bConsiderObjsForMinCellHeight = _bNewConsiderObjsForMinCellHeight; } // <-- // --> OD 2004-10-04 #i26945# - BOOL DoesObjsFit() const + sal_Bool DoesObjsFit() const { return bObjsDoesFit; } - void SetDoesObjsFit( BOOL _bNewObjsDoesFit ) + void SetDoesObjsFit( sal_Bool _bNewObjsDoesFit ) { bObjsDoesFit = _bNewObjsDoesFit; } @@ -197,7 +197,7 @@ public: // End: New stuff for breaking table rows // - BOOL CalcFlyOffsets( SwTwips& rUpper, long& rLeftOffset, + sal_Bool CalcFlyOffsets( SwTwips& rUpper, long& rLeftOffset, long& rRightOffset ) const; SwTwips CalcHeightOfFirstContentLine() const; @@ -211,7 +211,7 @@ public: bool IsCollapsingBorders() const; // used for collapsing border lines: - USHORT GetBottomLineSize() const; + sal_uInt16 GetBottomLineSize() const; // <-- collapsing DECL_FIXEDMEMPOOL_NEWDEL(SwTabFrm) |