LibreOffice Module sw (master) 1
|
#include <list.hxx>
Classes | |
struct | tListTreeForRange |
Public Member Functions | |
SwList (OUString sListId, SwNumRule &rDefaultListStyle, const SwNodes &rNodes) | |
~SwList () COVERITY_NOEXCEPT_FALSE | |
const OUString & | GetListId () const |
const OUString & | GetDefaultListStyleName () const |
void | SetDefaultListStyleName (OUString const &) |
void | InsertListItem (SwNodeNum &rNodeNum, SwListRedlineType eRedlines, const int nLevel, const SwDoc &rDoc) |
void | InvalidateListTree () |
void | ValidateListTree (const SwDoc &rDoc) |
void | MarkListLevel (const int nListLevel, const bool bValue) |
bool | IsListLevelMarked (const int nListLevel) const |
bool | HasNodes () const |
Static Public Member Functions | |
static void | RemoveListItem (SwNodeNum &rNodeNum, const SwDoc &rDoc) |
Private Member Functions | |
SwList (const SwList &)=delete | |
SwList & | operator= (const SwList &)=delete |
void | NotifyItemsOnListLevel (const int nLevel) |
Private Attributes | |
const OUString | msListId |
OUString | msDefaultListStyleName |
std::vector< tListTreeForRange > | maListTrees |
int | mnMarkedListLevel |
Definition at line 27 of file list.cxx.
References SwNodes::Count(), SwNode::EndOfSectionNode(), SwNodes::GetEndOfContent(), SwNode::GetIndex(), GetName(), maListTrees, nIndex, and SAL_WARN.
SwList::~SwList | ( | ) |
Definition at line 67 of file list.cxx.
References SwNodeNum::HandleNumberTreeRootNodeDelete(), and maListTrees.
|
privatedelete |
|
inline |
Definition at line 49 of file list.hxx.
References msDefaultListStyleName.
Referenced by SwAttrSet::CopyToModify(), SwDoc::IsUsed(), SwXMLImport::MergeListsAtDocumentInsertPosition(), and AttributeOutputBase::ParaNumRule().
|
inline |
Definition at line 47 of file list.hxx.
References msListId.
Referenced by sw::DocumentListsManager::createListForListStyle(), sw::DocumentListsManager::deleteListForListStyle(), and SwDoc::SetNumRule().
bool SwList::HasNodes | ( | ) | const |
void SwList::InsertListItem | ( | SwNodeNum & | rNodeNum, |
SwListRedlineType | eRedlines, | ||
const int | nLevel, | ||
const SwDoc & | rDoc | ||
) |
Definition at line 89 of file list.cxx.
References SwPosition::GetNode(), SwNode::GetNodes(), SwNodeNum::GetPosition(), HIDDEN, maListTrees, and SHOW.
Referenced by SwTextNode::AddToList(), SwTextNode::AddToListOrig(), and SwTextNode::AddToListRLHidden().
void SwList::InvalidateListTree | ( | ) |
Definition at line 119 of file list.cxx.
References maListTrees.
bool SwList::IsListLevelMarked | ( | const int | nListLevel | ) | const |
Definition at line 170 of file list.cxx.
References mnMarkedListLevel.
Referenced by SwTextNode::HasMarkedLabel().
void SwList::MarkListLevel | ( | const int | nListLevel, |
const bool | bValue | ||
) |
Definition at line 139 of file list.cxx.
References MAXLEVEL, mnMarkedListLevel, and NotifyItemsOnListLevel().
Referenced by SwDoc::MarkListLevel().
|
private |
Definition at line 114 of file list.cxx.
References SwNumberTreeNode::RemoveMe().
Referenced by SwTextNode::RemoveFromList(), SwTextNode::RemoveFromListOrig(), and SwTextNode::RemoveFromListRLHidden().
void SwList::SetDefaultListStyleName | ( | OUString const & | rNew | ) |
Definition at line 185 of file list.cxx.
References msDefaultListStyleName.
Referenced by sw::DocumentListsManager::trackChangeOfListStyleName().
void SwList::ValidateListTree | ( | const SwDoc & | rDoc | ) |
Definition at line 129 of file list.cxx.
References maListTrees.
|
private |
Definition at line 109 of file list.hxx.
Referenced by HasNodes(), InsertListItem(), InvalidateListTree(), NotifyItemsOnListLevel(), SwList(), ValidateListTree(), and ~SwList().
|
private |
Definition at line 111 of file list.hxx.
Referenced by IsListLevelMarked(), and MarkListLevel().
|
private |
Definition at line 78 of file list.hxx.
Referenced by GetDefaultListStyleName(), and SetDefaultListStyleName().
|
private |
Definition at line 76 of file list.hxx.
Referenced by GetListId().