summaryrefslogtreecommitdiff
path: root/sw/inc/fmtcolfunc.hxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-13 08:26:46 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-13 08:26:46 +0000
commit8b820dd16de9fe44c0f8db0d942915bbefc5d1fe (patch)
treecb87fbac3d9145c5bd6387ace62fc27b7ba7bd3a /sw/inc/fmtcolfunc.hxx
parent829197436eabb9a3e82c9061728f3709567b5aeb (diff)
INTEGRATION: CWS swlists01 (1.3.192); FILE MERGED
2008/05/08 16:17:06 od 1.3.192.2: RESYNC: (1.3-1.4); FILE MERGED 2008/03/06 07:58:55 od 1.3.192.1: #i86732# new methods <TxtFmtCollFunc::GetNumRule(..)>, <TxtFmtCollFunc::AddToNumRule(..)> and <TxtFmtCollFunc::RemoveFromNumRule(..)>
Diffstat (limited to 'sw/inc/fmtcolfunc.hxx')
-rw-r--r--sw/inc/fmtcolfunc.hxx39
1 files changed, 38 insertions, 1 deletions
diff --git a/sw/inc/fmtcolfunc.hxx b/sw/inc/fmtcolfunc.hxx
index c2c31a87612f..e0fd8d490ee5 100644
--- a/sw/inc/fmtcolfunc.hxx
+++ b/sw/inc/fmtcolfunc.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: fmtcolfunc.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -51,5 +51,42 @@ namespace TxtFmtCollFunc
SwFmt* pFmt,
const SwNumRuleItem* pNewNumRuleItem = 0L );
+ /** determines the list style, which directly set at the given paragraph style
+
+ OD 2008-03-04 #refactorlists#
+
+ @author OD
+
+ @param rTxtFmtColl
+ input parameter - paragraph style for which the list style should be retrieved
+
+ @return pointer to <SwNumRule> instance, if the given paragraph style
+ has directly set a list style, 0 otherwise
+ */
+ SwNumRule* GetNumRule( SwTxtFmtColl& rTxtFmtColl );
+
+ /** adds the given paragraph style at the directly set list style
+
+ OD 2008-03-04 #refactorlists#
+ Note: If the given paragraph style has no directly set list style, nothing happens
+
+ @param rTxtFmtColl
+ input parameter - paragraph style which is added to its directly set list style
+
+ @author OD
+ */
+ void AddToNumRule( SwTxtFmtColl& rTxtFmtColl );
+
+ /** removes te given paragraph style from the directly set list style
+
+ OD 2008-03-04 #refactorlists#
+ Note: If the given paragraph style has no directly set list style, nothing happens
+
+ @param rTxtFmtColl
+ input parameter - paragraph style which is removed from its directly set list style
+
+ @author OD
+ */
+ void RemoveFromNumRule( SwTxtFmtColl& rTxtFmtColl );
}
#endif