diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 07:09:45 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-10-22 07:09:45 +0000 |
commit | 1b028aa42c0e94f6980e2dced01fc5567196c891 (patch) | |
tree | 614193e0997b0fc673a0eff1c88c81c29eaf274f /sw/inc/numrule.hxx | |
parent | ea0a92182214883ce29f9131bb90fe2be67dfff7 (diff) |
INTEGRATION: CWS swqbugfixes07 (1.18.14); FILE MERGED
2004/09/09 14:01:51 hbrinkm 1.18.14.1: #i32620# cache text node list for numrules
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r-- | sw/inc/numrule.hxx | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx index b5ed5739f8ec..ef6067576a0b 100644 --- a/sw/inc/numrule.hxx +++ b/sw/inc/numrule.hxx @@ -2,9 +2,9 @@ * * $RCSfile: numrule.hxx,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: rt $ $Date: 2004-08-23 08:37:15 $ + * last change: $Author: rt $ $Date: 2004-10-22 08:09:45 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -95,6 +95,9 @@ #ifndef _SW_BIT_ARRAY_HXX #include <SwBitArray.hxx> // #i27615# #endif +#ifndef _HINTS_HXX +#include <hints.hxx> +#endif class Font; class SvxBrushItem; @@ -168,6 +171,11 @@ class SW_DLLPUBLIC SwNumRule SwNumFmt* aFmts[ MAXLEVEL ]; /** + cache for associated text nodes + */ + SwTxtNodeTable * pList; + + /** marked levels */ SwBitArray aMarkedLevels; @@ -207,6 +215,20 @@ public: String MakeNumString( const SwNodeNum&, BOOL bInclStrings = TRUE, BOOL bOnlyArabic = FALSE ) const; + /** + Returns list of associated text nodes. + + @return list of associated text nodes, or NULL if none present + */ + const SwTxtNodeTable * GetList() const { return pList; } + + /** + Set list of associated text nodes. + + @param _pList the list of associated text nodes + */ + void SetList(SwTxtNodeTable * _pList); + static const Font& GetDefBulletFont(); static char* GetOutlineRuleName() { return pDefOutlineName; } @@ -239,7 +261,7 @@ public: void SetAutoRule( BOOL bFlag ) { bAutoRuleFlag = bFlag; } BOOL IsInvalidRule() const { return bInvalidRuleFlag; } - void SetInvalidRule( BOOL bFlag ) { bInvalidRuleFlag = bFlag; } + void SetInvalidRule( BOOL bFlag ); BOOL IsContinusNum() const { return bContinusNum; } void SetContinusNum( BOOL bFlag ) { bContinusNum = bFlag; } @@ -348,6 +370,4 @@ public: }; - - #endif // _NUMRULE_HXX |