summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-08-27 07:56:34 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-08-27 07:56:34 +0000
commita18db1425d1c6d48a60d86abc11e4a65360cf7da (patch)
tree25b5612881338dac2330912eb937b31ca1f9d08b /xmloff
parent1972a6adb6af39799774b79c8a506991259f3459 (diff)
INTEGRATION: CWS sw30bf13_DEV300 (1.2.60); FILE MERGED
2008/08/15 13:58:16 od 1.2.60.1: #i92811# class <XMLTextListsHelper> - track also the list style's default list id of processed list in order to eventually map the list id of a certain list to the list style's default list id. - provide new method <GetListIdForListBlock(..)> to encapsulate code, which determines the list id for a certain list block.
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/inc/txtlists.hxx24
1 files changed, 22 insertions, 2 deletions
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx
index bf9bf80303..9ba60abea8 100644
--- a/xmloff/inc/txtlists.hxx
+++ b/xmloff/inc/txtlists.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: txtlists.hxx,v $
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
* This file is part of OpenOffice.org.
*
@@ -36,6 +36,10 @@
#include <map>
#include <vector>
+// --> OD 2008-08-15 #i92811#
+class XMLTextListBlockContext;
+// <--
+
class XMLTextListsHelper
{
public:
@@ -43,9 +47,13 @@ class XMLTextListsHelper
~XMLTextListsHelper();
// keeping track of processed lists for import and export
+ // --> OD 2008-08-15 #i92811#
+ // - add optional parameter <sListStyleDefaultListId>
void KeepListAsProcessed( ::rtl::OUString sListId,
::rtl::OUString sListStyleName,
- ::rtl::OUString sContinueListId );
+ ::rtl::OUString sContinueListId,
+ ::rtl::OUString sListStyleDefaultListId = ::rtl::OUString() );
+ // <--
sal_Bool IsListProcessed( const ::rtl::OUString sListId ) const;
::rtl::OUString GetListStyleOfProcessedList(
@@ -57,6 +65,11 @@ class XMLTextListsHelper
::rtl::OUString GenerateNewListId() const;
+ // --> OD 2008-08-15 #i92811#
+ // provide list id for a certain list block for import
+ ::rtl::OUString GetListIdForListBlock( XMLTextListBlockContext& rListBlock );
+ // <--
+
// keep track of continue list chain for export
void StoreLastContinuingList( ::rtl::OUString sListId,
@@ -81,6 +94,13 @@ class XMLTextListsHelper
::rtl::OUString msLastProcessedListId;
::rtl::OUString msListStyleOfLastProcessedList;
+ // --> OD 2008-08-15 #i92811#
+ // additional container for processed lists.
+ // map with <ListStyleName> as key and pair( <ListId, ListStyleDefaultListId> )
+ // as value.
+ tMapForLists* mpMapListIdToListStyleDefaultListId;
+ // <--
+
// container type to build up continue list chain:
// map with <ListId> of master list as key and <ListId> of last list
// continuing the master list as value