summaryrefslogtreecommitdiff
path: root/sw/inc/numrule.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-11-26 12:22:57 +0000
committerRüdiger Timm <rt@openoffice.org>2004-11-26 12:22:57 +0000
commita328b30b3ecc6f92e6537b35c6df9898b8ff5c13 (patch)
tree54a35dd81844a3f754db3981556c88b0f2b1121a /sw/inc/numrule.hxx
parent87be3df3d4b2edcee3eef1f346dc69f1284cdf65 (diff)
INTEGRATION: CWS oasisbf2 (1.18.86); FILE MERGED
2004/11/08 19:27:53 dvo 1.18.86.2: #i31024# fix symbol export 2004/11/04 15:30:23 dvo 1.18.86.1: #i31024# prevent headings with outline num-rules from being written as lists (plus dependent changes for NO_NUM removal)
Diffstat (limited to 'sw/inc/numrule.hxx')
-rw-r--r--sw/inc/numrule.hxx17
1 files changed, 9 insertions, 8 deletions
diff --git a/sw/inc/numrule.hxx b/sw/inc/numrule.hxx
index ef6067576a0b..9412ff523094 100644
--- a/sw/inc/numrule.hxx
+++ b/sw/inc/numrule.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: numrule.hxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: rt $ $Date: 2004-10-22 08:09:45 $
+ * last change: $Author: rt $ $Date: 2004-11-26 13:22:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -110,13 +110,15 @@ class SwTxtNode;
extern char __FAR_DATA sOutlineStr[]; // SWG-Filter
-BYTE GetRealLevel( const BYTE nLvl );
+BYTE SW_DLLPUBLIC GetRealLevel( const BYTE nLvl );
-BOOL IsNum( BYTE nLvl );
+BOOL SW_DLLPUBLIC IsNum( BYTE nLvl );
-BOOL IsShowNum( BYTE nLvl );
+BOOL SW_DLLPUBLIC IsShowNum( BYTE nLvl );
-void SetNoNum( BYTE * nLvl, BOOL nVal = TRUE );
+void SW_DLLPUBLIC SetNoNum( BYTE * nLvl, BOOL nVal = TRUE );
+
+void SW_DLLPUBLIC SetLevel( BYTE * nLvl, BYTE nNewLvl);
const sal_Unicode cBulletChar = 0x2022; // Charakter fuer Aufzaehlungen
@@ -334,7 +336,6 @@ class SW_DLLPUBLIC SwNodeNum
BOOL bStartNum; // Numerierung neu starten
BOOL bContNum; // #111955#
// TRUE -> in continuous numbering
-
public:
SwNodeNum( BYTE nLevel = NO_NUMBERING, USHORT nSetVal = USHRT_MAX );
SwNodeNum& operator=( const SwNodeNum& rCpy );
@@ -342,7 +343,7 @@ public:
BOOL operator==( const SwNodeNum& ) const;
BYTE GetLevel() const { return nMyLevel; }
- void SetLevel( BYTE nVal ) { nMyLevel = nVal; }
+ void SetLevel( BYTE nVal ) { ::SetLevel(&nMyLevel, nVal); }
BOOL IsStart() const { return bStartNum; }
void SetStart( BOOL bFlag = TRUE ) { bStartNum = bFlag; }