LibreOffice Module sw (master) 1
Public Member Functions | List of all members
SwFootnoteIdxs Class Reference

#include <ftnidx.hxx>

Inheritance diagram for SwFootnoteIdxs:
[legend]
Collaboration diagram for SwFootnoteIdxs:
[legend]

Public Member Functions

 SwFootnoteIdxs ()
 
void UpdateFootnote (const SwNode &rStt)
 
void UpdateAllFootnote ()
 
SwTextFootnoteSeekEntry (const SwNode &rNd, size_t *pPos=nullptr) const
 
- Public Member Functions inherited from o3tl::sorted_vector< SwTextFootnote *, CompareSwFootnoteIdxs >
constexpr sorted_vector (std::initializer_list< Value > init)
 
 sorted_vector ()=default
 
 sorted_vector (sorted_vector const &)=default
 
 sorted_vector (sorted_vector &&)=default
 
sorted_vectoroperator= (sorted_vector const &)=default
 
sorted_vectoroperator= (sorted_vector &&)=default
 
std::pair< const_iterator, bool > insert (Value &&x)
 
std::pair< const_iterator, bool > insert (const Value &x)
 
void insert (sorted_vector< Value, Compare, Find > const &rOther)
 
size_type erase (const Value &x)
 
const_iterator erase (const_iterator const &position)
 
void erase (const_iterator const &first, const_iterator const &last)
 
void erase_at (size_t index)
 
Value erase_extract (size_t index)
 
void clear ()
 
void swap (sorted_vector &other)
 
void reserve (size_type amount)
 
size_type size () const
 
bool empty () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator rend () const
 
const Valuefront () const
 
const Valueback () const
 
const Valueoperator[] (size_t index) const
 
const_iterator lower_bound (const Value &x) const
 
const_iterator upper_bound (const Value &x) const
 
const_iterator find (const Value &x) const
 
size_type count (const Value &v) const
 
bool operator== (const sorted_vector &other) const
 
bool operator!= (const sorted_vector &other) const
 
void insert_sorted_unique_vector (const std::vector< Value > &rOther)
 
void insert_sorted_unique_vector (std::vector< Value > &&rOther)
 
void DeleteAndDestroyAll ()
 
void Resort ()
 

Additional Inherited Members

- Public Types inherited from o3tl::sorted_vector< SwTextFootnote *, CompareSwFootnoteIdxs >
typedef std::vector< Value >::const_iterator const_iterator
 
typedef std::vector< Value >::const_reverse_iterator const_reverse_iterator
 
typedef std::vector< Value >::difference_type difference_type
 
typedef std::vector< Value >::size_type size_type
 
typedef Value value_type
 

Detailed Description

Definition at line 42 of file ftnidx.hxx.

Constructor & Destructor Documentation

◆ SwFootnoteIdxs()

SwFootnoteIdxs::SwFootnoteIdxs ( )
inline

Definition at line 45 of file ftnidx.hxx.

Member Function Documentation

◆ SeekEntry()

SwTextFootnote * SwFootnoteIdxs::SeekEntry ( const SwNode rNd,
size_t *  pPos = nullptr 
) const

◆ UpdateAllFootnote()

void SwFootnoteIdxs::UpdateAllFootnote ( )

◆ UpdateFootnote()

void SwFootnoteIdxs::UpdateFootnote ( const SwNode rStt)

Definition at line 59 of file ftnidx.cxx.

References SwUpdFootnoteEndNtAtEnd::ChkNumber(), o3tl::sorted_vector< SwTextFootnote *, CompareSwFootnoteIdxs >::empty(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwUpdFootnoteEndNtAtEnd::FindSectNdWithEndAttr(), FTNNUM_CHAPTER, FTNNUM_DOC, SwDoc::GetAllLayouts(), SwNode::GetDoc(), SwDoc::GetEndNoteInfo(), SwNodes::GetEndOfContent(), SwNodes::GetEndOfExtras(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), SwDoc::GetNodes(), SwFormatFootnote::GetNumber(), SwFormatFootnote::GetNumStr(), SwNodes::GetOutLineNds(), SwTextFootnote::GetTextNode(), SwFormatFootnote::IsEndNote(), sw::IsFootnoteDeleted(), SwDoc::IsInReading(), sw::IsParaPropsNode(), SwFootnoteInfo::m_eNum, SwEndNoteInfo::m_nFootnoteOffset, n, nPos, SeekEntry(), SwTextFootnote::SetNumber(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), and o3tl::sorted_vector< SwTextFootnote *, CompareSwFootnoteIdxs >::size().

Referenced by SwTextNode::ChgTextCollUpdateNum(), SwDoc::DelSectionFormat(), SwTextNode::InsertHint(), SwDoc::InsertSwSection(), SwSection::Notify(), SwDoc::SetAllUniqueFlyNames(), SwTextFootnote::SetStartNode(), SwUndoInsSection::UndoImpl(), SwUndoDelSection::UndoImpl(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), and SwDocShell::UpdateLinks().


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