summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2008-06-13 08:20:02 +0000
committerRüdiger Timm <rt@openoffice.org>2008-06-13 08:20:02 +0000
commitd2dde1ca580e0c9d2e27832c592fa2a56ae2074c (patch)
treef0f474edb1b2aa345ace65c859b63aee0b931911 /xmloff
parent2bece27fa26b3bd41b21c1c7802c6a526fc4d9e5 (diff)
INTEGRATION: CWS swlists01 (1.3.138); FILE MERGED
2008/05/08 16:13:49 od 1.3.138.2: RESYNC: (1.3-1.4); FILE MERGED 2008/05/08 14:59:51 od 1.3.138.1: #i86732# changes/adjustments for new list handling
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/text/XMLTextListItemContext.hxx26
1 files changed, 22 insertions, 4 deletions
diff --git a/xmloff/source/text/XMLTextListItemContext.hxx b/xmloff/source/text/XMLTextListItemContext.hxx
index 86bdaae51af2..abd2a31888cb 100644
--- a/xmloff/source/text/XMLTextListItemContext.hxx
+++ b/xmloff/source/text/XMLTextListItemContext.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: XMLTextListItemContext.hxx,v $
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
* This file is part of OpenOffice.org.
*
@@ -41,7 +41,13 @@ class XMLTextListItemContext : public SvXMLImportContext
sal_Int16 nStartValue;
-// SwXMLImport& GetSwImport() { return (SwXMLImport&)GetImport(); }
+ // --> OD 2008-05-07 #refactorlists#
+ // quantity of <text:list> child elements
+ sal_Int16 mnSubListCount;
+ // list style instance for text::style-override property
+ ::com::sun::star::uno::Reference<
+ ::com::sun::star::container::XIndexReplace > mxNumRulesOverride;
+ // <--
public:
@@ -49,11 +55,12 @@ public:
XMLTextListItemContext(
SvXMLImport& rImport,
- XMLTextImportHelper& rTxtImp, sal_uInt16 nPrfx,
+ XMLTextImportHelper& rTxtImp,
+ const sal_uInt16 nPrfx,
const ::rtl::OUString& rLName,
const ::com::sun::star::uno::Reference<
::com::sun::star::xml::sax::XAttributeList > & xAttrList,
- sal_Bool bIsHeader = sal_False );
+ const sal_Bool bIsHeader = sal_False );
virtual ~XMLTextListItemContext();
virtual void EndElement();
@@ -65,6 +72,17 @@ public:
sal_Bool HasStartValue() const { return -1 != nStartValue; }
sal_Int16 GetStartValue() const { return nStartValue; }
+
+ // --> OD 2008-05-08 #refactorlists#
+ inline sal_Bool HasNumRulesOverride() const
+ {
+ return mxNumRulesOverride.is();
+ }
+ inline const ::com::sun::star::uno::Reference <
+ ::com::sun::star::container::XIndexReplace >& GetNumRulesOverride() const
+ {
+ return mxNumRulesOverride;
+ }
};