summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-01-23 07:29:35 +0000
committerOliver Bolte <obo@openoffice.org>2007-01-23 07:29:35 +0000
commitb1fd13de190d21905f460359d16488afbc88f378 (patch)
treef703093a24a38fd1e88df4c222d68042dee2b4cd /sw/inc
parente9b31c16baa84b68b01a533647d2fc9a90f16752 (diff)
INTEGRATION: CWS swqbf90 (1.7.110); FILE MERGED
2006/11/22 15:20:38 od 1.7.110.1: #i71574# class <SwTxtFmtColl> - new methods <AssignedToListLevelOfOutlineStyle()> and <DeleteAssignmentToListLevelOfOutlineStyle()>
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fmtcol.hxx16
1 files changed, 14 insertions, 2 deletions
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index f38603cd0a71..f42266e24a71 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -4,9 +4,9 @@
*
* $RCSfile: fmtcol.hxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2006-08-14 15:23:18 $
+ * last change: $Author: obo $ $Date: 2007-01-23 08:29:35 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -115,6 +115,18 @@ public:
BOOL IsAtDocNodeSet() const;
+ // --> OD 2006-11-22 #i71574#
+ inline const bool AssignedToListLevelOfOutlineStyle() const
+ {
+ return ( 0 <= GetOutlineLevel() && GetOutlineLevel() < MAXLEVEL );
+ }
+
+ inline void DeleteAssignmentToListLevelOfOutlineStyle()
+ {
+ SetOutlineLevel( NO_NUMBERING );
+ }
+ // <--
+
/*----------------- JP 09.08.94 17:36 -------------------
wird die Funktionalitaet von Zeichenvorlagen an Absatzvorlagen
ueberhaupt benoetigt ??