LibreOffice Module sw (master) 1
Public Member Functions | List of all members
SwIterator< TElementType, TSource, eMode > Class Template Reference

#include <calbck.hxx>

Inheritance diagram for SwIterator< TElementType, TSource, eMode >:
[legend]
Collaboration diagram for SwIterator< TElementType, TSource, eMode >:
[legend]

Public Member Functions

 SwIterator (const TSource &rSrc)
 
TElementType * First ()
 
TElementType * Next ()
 

Additional Inherited Members

- Private Types inherited from sw::Ring< ::sw::ClientIteratorBase >
typedef std::add_const< ::sw::ClientIteratorBase >::type const_value_type
 
typedef RingContainer< ::sw::ClientIteratorBasering_container
 
typedef RingContainer< const_value_typeconst_ring_container
 
- Private Member Functions inherited from sw::ClientIteratorBase
 ClientIteratorBase (const SwModify &rModify)
 
WriterListenerGetLeftOfPos ()
 
WriterListenerGetRightOfPos ()
 
WriterListenerGoStart ()
 
 ~ClientIteratorBase () override
 
bool IsChanged () const
 
WriterListenerSync ()
 
- Private Member Functions inherited from sw::Ring< ::sw::ClientIteratorBase >
virtual ~Ring () COVERITY_NOEXCEPT_FALSE
 
void unlink ()
 algo::unlink is buggy! don't call it directly! More...
 
void MoveTo (::sw::ClientIteratorBase *pDestRing)
 Removes this item from its current ring container and adds it to another ring container. More...
 
ring_container GetRingContainer ()
 
const_ring_container GetRingContainer () const
 
 Ring ()
 Creates a new item in a ring container all by itself. More...
 
 Ring (::sw::ClientIteratorBase *pRing)
 Creates a new item and add it to an existing ring container. More...
 
::sw::ClientIteratorBaseGetNextInRing ()
 
const_value_typeGetNextInRing () const
 
::sw::ClientIteratorBaseGetPrevInRing ()
 
const_value_typeGetPrevInRing () const
 
bool unique () const
 
- Private Attributes inherited from sw::ClientIteratorBase
const SwModifym_rRoot
 
WriterListenerm_pCurrent
 
WriterListenerm_pPosition
 
- Static Private Attributes inherited from sw::ClientIteratorBase
static SW_DLLPUBLIC ClientIteratorBases_pClientIters = nullptr
 

Detailed Description

template<typename TElementType, typename TSource, sw::IteratorMode eMode = sw::IteratorMode::Exact>
class SwIterator< TElementType, TSource, eMode >

Definition at line 364 of file calbck.hxx.

Constructor & Destructor Documentation

◆ SwIterator()

template<typename TElementType , typename TSource , sw::IteratorMode eMode = sw::IteratorMode::Exact>
SwIterator< TElementType, TSource, eMode >::SwIterator ( const TSource &  rSrc)
inline

Definition at line 371 of file calbck.hxx.

Member Function Documentation

◆ First()

template<typename TElementType , typename TSource , sw::IteratorMode eMode = sw::IteratorMode::Exact>
TElementType * SwIterator< TElementType, TSource, eMode >::First ( )
inline

Definition at line 372 of file calbck.hxx.

References sw::ClientIteratorBase::GoStart(), sw::ClientIteratorBase::m_pCurrent, sw::ClientIteratorBase::m_pPosition, and SwIterator< TElementType, TSource, eMode >::Next().

Referenced by SwTextNode::AddToList(), FndBox_::AreLinesToRestore(), SwTextFormatColl::AssignToListLevelOfOutlineStyle(), SwDoc::BalanceRowHeight(), SwAccessibleMap::BuildSelectedParas(), SwDocShell::CalcLayoutForOLEObjects(), SwModify::CallSwClientNotify(), SwDoc::Chain(), SwPageNumberFieldType::ChangeExpansion(), sw::CheckAnchoredFlyConsistency(), SwTableBox::CheckBoxFormat(), sw::CheckResetRedlineMergeFlag(), SwDoc::ChgPageDesc(), SwTableLine::ClaimFrameFormat(), SwTableBox::ClaimFrameFormat(), SwDrawContact::ConnectToLayout(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwContentNode::CreateOLENodesArray(), SwFrameFormat::DelFrames(), SwSectionFormat::DelFrames(), SwTextFootnote::DelFrames(), SwContentNode::DelFrames(), SwTableNode::DelFrames(), FndBox_::DelFrames(), DelFullParaMoveFrames(), SwMovedFwdFramesByObjPos::DoesRowContainMovedFwdFrame(), SwTextNode::fillSoftPageBreakList(), SwFlyFrame::FindChainNeighbour(), SwFootnoteBossFrame::FindFootnote(), SwSectionFrame::FindMaster(), SwTabFrame::FindMaster(), SwTransferable::FindOLEObj(), SwTransferable::FindOLEReplacementGraphic(), SwCellFrame::FindStartEndOfRowSpanCell(), SwTable::FindTable(), SwRowFrame::Format(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwFlyFrame::GetAnchoredObjects(), SwHTMLTableLayout::GetBrowseWidthByTable(), SwSectionFormat::GetChildSections(), SwTextNode::GetDropSize(), SwNode::GetFlyFormat(), SwTextFlyCnt::GetFlyFrame_(), GetFrameOfModify(), SwFrameFormat::GetIMapObject(), SwEditShell::GetINetAttrs(), SwModify::GetInfo(), SwPostItHelper::getLayoutInfos(), SwFlyDrawContact::GetOrdNumForNewRef(), GetRowFrame(), SwScriptInfo::GetScriptInfo(), SwSectionFormat::GetSection(), SwFEShell::GetSectionWidth(), SwTableShell::GetState(), SwTable::GetTableBox(), SwTableLine::GetTableLineHeight(), SwTextNode::GetWidthOfLeadingTabs(), GoNextWithFrame(), GoPreviousWithFrame(), SwFEShell::GotoFly(), SwDeletionChecker::HasBeenDeleted(), SwTable::HasLayout(), SwTableLine::hasSoftPageBreak(), SwSelPaintRects::HighlightContentControl(), SwUndoFormatAttr::Init(), SwTable::InsertRow_(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwTextFormatColl::IsAtDocNodeSet(), SwContentAtPos::IsInRTLText(), SwFrameFormat::IsLowerOf(), SwFrameFormat::IsVisible(), SwSectionFormat::IsVisible(), SwTextNode::JoinNext(), lcl_AddColumns(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_ChangeFootnoteRef(), lcl_DelHFFormat(), lcl_FormatTable(), lcl_InvalidateCellFrame(), lcl_MakeObjs(), SwFlyFrameFormat::MakeFrames(), FndBox_::MakeFrames(), SwFlyFrameFormat::MakeGraphic(), SwEnhancedPDFExportHelper::MakeHeaderFooterLinks(), FndBox_::MakeNewFrames(), sw::MoveDeletedPrevFrames(), sw::RecreateStartTextFrames(), SwPageDesc::RegisterChange(), SwDocShell::RemoveOLEObjects(), SwTextFrame::repaintTextFrames(), SwFootnoteBossFrame::ResetFootnote(), SaveTable::RestoreAttr(), SwCursorShell::SelectNxtPrvHyperlink(), SwTable::SetColWidth(), SwDoc::SetDefault(), SwTableCellInfo::Impl::setTable(), SwTextNode::SplitContentNode(), SwDoc::SplitDoc(), SwDoc::StopNumRuleAnimations(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwUndoDelete::UndoImpl(), UnHideRedlines(), SwTextNode::Update(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwTOXBaseSection::UpdateTemplate(), SwFlyFrameFormat::~SwFlyFrameFormat(), SwFormat::~SwFormat(), and SwViewShell::~SwViewShell().

◆ Next()

template<typename TElementType , typename TSource , sw::IteratorMode eMode = sw::IteratorMode::Exact>
TElementType * SwIterator< TElementType, TSource, eMode >::Next ( void  )
inline

Definition at line 380 of file calbck.hxx.

References eMode, sw::ClientIteratorBase::GetRightOfPos(), sw::ClientIteratorBase::IsChanged(), sw::ClientIteratorBase::m_pPosition, sw::ClientIteratorBase::Sync(), and sw::UnwrapMulti.

Referenced by SwTextNode::AddToList(), FndBox_::AreLinesToRestore(), SwTextFormatColl::AssignToListLevelOfOutlineStyle(), SwDoc::BalanceRowHeight(), SwAccessibleMap::BuildSelectedParas(), SwDocShell::CalcLayoutForOLEObjects(), SwModify::CallSwClientNotify(), sw::CheckResetRedlineMergeFlag(), SwTableLine::ClaimFrameFormat(), SwTableBox::ClaimFrameFormat(), SwDrawContact::ConnectToLayout(), sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwXMLTextImportHelper::createAndInsertOLEObject(), SwContentNode::CreateOLENodesArray(), SwFrameFormat::DelFrames(), SwSectionFormat::DelFrames(), SwTextFootnote::DelFrames(), SwContentNode::DelFrames(), SwTableNode::DelFrames(), FndBox_::DelFrames(), DelFullParaMoveFrames(), SwMovedFwdFramesByObjPos::DoesRowContainMovedFwdFrame(), SwTextNode::fillSoftPageBreakList(), SwFlyFrame::FindChainNeighbour(), SwFootnoteBossFrame::FindFootnote(), SwSectionFrame::FindMaster(), SwTabFrame::FindMaster(), SwTransferable::FindOLEObj(), SwTransferable::FindOLEReplacementGraphic(), SwCellFrame::FindStartEndOfRowSpanCell(), SwIterator< TElementType, TSource, eMode >::First(), SwRowFrame::Format(), AttributeOutputBase::GenerateBookmarksForSequenceField(), SwFlyFrame::GetAnchoredObjects(), SwSectionFormat::GetChildSections(), SwTextNode::GetDropSize(), SwTextFlyCnt::GetFlyFrame_(), GetFrameOfModify(), SwEditShell::GetINetAttrs(), SwModify::GetInfo(), SwPostItHelper::getLayoutInfos(), SwFlyDrawContact::GetOrdNumForNewRef(), GetRowFrame(), SwScriptInfo::GetScriptInfo(), SwFEShell::GetSectionWidth(), SwTableLine::GetTableLineHeight(), SwTextNode::GetWidthOfLeadingTabs(), SwDeletionChecker::HasBeenDeleted(), SwTableLine::hasSoftPageBreak(), SwTextFormatColl::IsAtDocNodeSet(), SwContentAtPos::IsInRTLText(), SwSectionFormat::IsVisible(), SwTextNode::JoinNext(), lcl_AddColumns(), lcl_calcHeightOfRowBeforeThisFrame(), lcl_ChangeFootnoteRef(), lcl_DelHFFormat(), lcl_FormatTable(), lcl_InvalidateCellFrame(), SwFlyFrameFormat::MakeFrames(), FndBox_::MakeFrames(), SwEnhancedPDFExportHelper::MakeHeaderFooterLinks(), FndBox_::MakeNewFrames(), sw::MoveDeletedPrevFrames(), sw::RecreateStartTextFrames(), SwPageDesc::RegisterChange(), SwDocShell::RemoveOLEObjects(), SwTextFrame::repaintTextFrames(), SwFootnoteBossFrame::ResetFootnote(), SaveTable::RestoreAttr(), SwCursorShell::SelectNxtPrvHyperlink(), SwDoc::SetDefault(), SwTextNode::SplitContentNode(), SwDoc::SplitDoc(), SwDoc::StopNumRuleAnimations(), SwHandleAnchorNodeChg::SwHandleAnchorNodeChg(), SwUndoDelete::UndoImpl(), UnHideRedlines(), SwTextNode::Update(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), SwTOXBaseSection::UpdateTemplate(), SwFlyFrameFormat::~SwFlyFrameFormat(), SwFormat::~SwFormat(), and SwViewShell::~SwViewShell().


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