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 | |
parent | INTEGRATION: CWS ab58_DEV300 (1.25.58); FILE MERGED (diff) | |
download | core-43e683fca8450db358e44ed8e4bea4bb9b91c763.tar.gz core-43e683fca8450db358e44ed8e4bea4bb9b91c763.zip |
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.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 |