LibreOffice Module sw (master)  1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwList Class Reference

#include <list.hxx>

Collaboration diagram for SwList:
[legend]

Classes

struct  tListTreeForRange
 

Public Member Functions

 SwList (const 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, bool isHiddenRedlines, 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
 
SwListoperator= (const SwList &)=delete
 
void NotifyItemsOnListLevel (const int nLevel)
 

Private Attributes

const OUString msListId
 
OUString msDefaultListStyleName
 
std::vector< tListTreeForRangemaListTrees
 
int mnMarkedListLevel
 

Detailed Description

Definition at line 35 of file list.hxx.

Constructor & Destructor Documentation

SwList::SwList ( const OUString &  sListId,
SwNumRule rDefaultListStyle,
const SwNodes rNodes 
)
SwList::~SwList ( )

Definition at line 56 of file list.cxx.

References SwNodeNum::HandleNumberTreeRootNodeDelete(), and maListTrees.

SwList::SwList ( const SwList )
privatedelete

Member Function Documentation

const OUString& SwList::GetDefaultListStyleName ( ) const
inline
const OUString& SwList::GetListId ( ) const
inline
bool SwList::HasNodes ( ) const

Definition at line 65 of file list.cxx.

References maListTrees.

Referenced by SwDoc::IsUsed().

void SwList::InsertListItem ( SwNodeNum rNodeNum,
bool  isHiddenRedlines,
const int  nLevel,
const SwDoc rDoc 
)
void SwList::InvalidateListTree ( )

Definition at line 106 of file list.cxx.

References maListTrees.

bool SwList::IsListLevelMarked ( const int  nListLevel) const

Definition at line 155 of file list.cxx.

References mnMarkedListLevel.

Referenced by SwTextNode::HasMarkedLabel().

void SwList::MarkListLevel ( const int  nListLevel,
const bool  bValue 
)

Definition at line 124 of file list.cxx.

References MAXLEVEL, mnMarkedListLevel, and NotifyItemsOnListLevel().

Referenced by SwDoc::MarkListLevel().

void SwList::NotifyItemsOnListLevel ( const int  nLevel)
private

Definition at line 160 of file list.cxx.

References maListTrees.

Referenced by MarkListLevel().

SwList& SwList::operator= ( const SwList )
privatedelete
void SwList::RemoveListItem ( SwNodeNum rNodeNum,
const SwDoc rDoc 
)
static
void SwList::SetDefaultListStyleName ( OUString const &  rNew)

Definition at line 169 of file list.cxx.

References msDefaultListStyleName.

Referenced by sw::DocumentListsManager::trackChangeOfListStyleName().

void SwList::ValidateListTree ( const SwDoc rDoc)

Definition at line 115 of file list.cxx.

References maListTrees.

Member Data Documentation

std::vector<tListTreeForRange> SwList::maListTrees
private
int SwList::mnMarkedListLevel
private

Definition at line 97 of file list.hxx.

Referenced by IsListLevelMarked(), and MarkListLevel().

OUString SwList::msDefaultListStyleName
private

Definition at line 74 of file list.hxx.

Referenced by GetDefaultListStyleName(), and SetDefaultListStyleName().

const OUString SwList::msListId
private

Definition at line 72 of file list.hxx.

Referenced by GetListId().


The documentation for this class was generated from the following files: