diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-08-27 07:56:34 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-08-27 07:56:34 +0000 |
commit | 43e683fca8450db358e44ed8e4bea4bb9b91c763 (patch) | |
tree | 4fc6eb49600c068aa39fe7c6734cf08156845dbe /xmloff/inc/txtlists.hxx | |
parent | 61b6a4d0342dfbc9aa28d0dac7ae35224a38d4c5 (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/inc/txtlists.hxx')
-rw-r--r-- | xmloff/inc/txtlists.hxx | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/xmloff/inc/txtlists.hxx b/xmloff/inc/txtlists.hxx index bf9bf8030379..9ba60abea87d 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 |