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>


struct  tListTreeForRange

Public Member Functions

 SwList (const OUString &sListId, SwNumRule &rDefaultListStyle, const SwNodes &rNodes)
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 32 of file list.hxx.

Constructor & Destructor Documentation

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

Definition at line 55 of file list.cxx.

References SwNodeNum::HandleNumberTreeRootNodeDelete(), and maListTrees.

SwList::SwList ( const SwList )

Member Function Documentation

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

Definition at line 64 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 105 of file list.cxx.

References maListTrees.

bool SwList::IsListLevelMarked ( const int  nListLevel) const

Definition at line 154 of file list.cxx.

References mnMarkedListLevel.

Referenced by SwTextNode::HasMarkedLabel().

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

Definition at line 123 of file list.cxx.

References MAXLEVEL, mnMarkedListLevel, and NotifyItemsOnListLevel().

Referenced by SwDoc::MarkListLevel().

void SwList::NotifyItemsOnListLevel ( const int  nLevel)

Definition at line 159 of file list.cxx.

References maListTrees.

Referenced by MarkListLevel().

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

Definition at line 168 of file list.cxx.

References msDefaultListStyleName.

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

void SwList::ValidateListTree ( const SwDoc rDoc)

Definition at line 114 of file list.cxx.

References maListTrees.

Member Data Documentation

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

Definition at line 94 of file list.hxx.

Referenced by IsListLevelMarked(), and MarkListLevel().

OUString SwList::msDefaultListStyleName

Definition at line 71 of file list.hxx.

Referenced by GetDefaultListStyleName(), and SetDefaultListStyleName().

const OUString SwList::msListId

Definition at line 69 of file list.hxx.

Referenced by GetListId().

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