LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwIndex Class Reference

Marks a character position inside a document model node. More...

#include <index.hxx>

Collaboration diagram for SwIndex:
[legend]

Public Member Functions

 SwIndex (SwIndexReg *const pReg, sal_Int32 const nIdx=0)
 
 SwIndex (const SwIndex &)
 
 SwIndex (const SwIndex &, short nDiff)
 
 ~SwIndex ()
 
SwIndexoperator= (sal_Int32 const )
 
SwIndexoperator= (const SwIndex &)
 
sal_Int32 operator++ ()
 
sal_Int32 operator-- ()
 
sal_Int32 operator-- (int)
 
sal_Int32 operator+= (sal_Int32 const )
 
sal_Int32 operator-= (sal_Int32 const )
 
bool operator< (const SwIndex &) const
 
bool operator<= (const SwIndex &) const
 
bool operator> (const SwIndex &) const
 
bool operator>= (const SwIndex &) const
 
bool operator< (sal_Int32 const nVal) const
 
bool operator<= (sal_Int32 const nVal) const
 
bool operator> (sal_Int32 const nVal) const
 
bool operator>= (sal_Int32 const nVal) const
 
bool operator== (sal_Int32 const nVal) const
 
bool operator!= (sal_Int32 const nVal) const
 
bool operator== (const SwIndex &rSwIndex) const
 
bool operator!= (const SwIndex &rSwIndex) const
 
sal_Int32 GetIndex () const
 
SwIndexAssign (SwIndexReg *, sal_Int32)
 
const SwIndexRegGetIdxReg () const
 
const SwIndexGetNext () const
 
const sw::mark::IMarkGetMark () const
 
void SetMark (const sw::mark::IMark *pMark)
 

Private Member Functions

SwIndexChgValue (const SwIndex &rIdx, sal_Int32 nNewValue)
 
void Init (sal_Int32 const nIdx)
 
void Remove ()
 

Private Attributes

sal_Int32 m_nIndex
 
SwIndexRegm_pIndexReg
 
SwIndexm_pNext
 
SwIndexm_pPrev
 
const sw::mark::IMarkm_pMark
 Pointer to a mark that owns this position to allow fast lookup of marks of an SwIndexReg. More...
 

Friends

class SwIndexReg
 

Detailed Description

Marks a character position inside a document model node.

Definition at line 37 of file index.hxx.

Constructor & Destructor Documentation

SwIndex::SwIndex ( SwIndexReg *const  pReg,
sal_Int32 const  nIdx = 0 
)
explicit

Definition at line 27 of file index.cxx.

References Init(), and m_nIndex.

SwIndex::SwIndex ( const SwIndex rIdx)

Definition at line 46 of file index.cxx.

References ChgValue(), and m_nIndex.

SwIndex::SwIndex ( const SwIndex rIdx,
short  nDiff 
)

Definition at line 37 of file index.cxx.

References ChgValue(), and m_nIndex.

SwIndex::~SwIndex ( )
inline

Definition at line 59 of file index.hxx.

References Remove.

Member Function Documentation

SwIndex & SwIndex::Assign ( SwIndexReg pArr,
sal_Int32  nIdx 
)

Definition at line 198 of file index.cxx.

References ChgValue(), Init(), m_nIndex, m_pIndexReg, m_pNext, m_pPrev, and Remove().

Referenced by SwSpellIter::AddPortion(), sw::DocumentContentOperationsManager::AppendTextNode(), SwEditShell::AutoFormatBySplitNode(), SwAutoFormat::BuildHeadLine(), SwHTMLParser::BuildTableCell(), SwHHCWrapper::ChangeText(), SwAutoCorrDoc::ChgAutoCorrWord(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwEditShell::Copy(), SwFEShell::Copy(), SwTextFlyCnt::CopyFlyFormat(), sw::DocumentContentOperationsManager::CopyImpl(), XTextRangeOrNodeIndexPosition::CopyPositionInto(), SwWW8ImplReader::CoreLoad(), SwXBodyText::CreateTextCursor(), SwXTextFrame::createTextCursor(), DelBookmarks(), SwRangeRedline::DelCopyOfSection(), SwAutoFormat::DelEmptyLine(), SwEditShell::DeleteGlobalDocContent(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwFEShell::DeleteRow(), SwDoc::DeleteRow(), sw::DocumentContentOperationsManager::DelFullPara(), SwXMLImport::endDocument(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwCursorShell::ExtendedSelectAll(), SwCursor::FillFindPos(), SwFEShell::FindAnchorPos(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), sw::GetAllValidRanges(), SwUndoSetFlyFormat::GetAnchor(), SwAnnotationItem::GetAnchorPosition(), SwCursorShell::GetContentAtPos(), SwNoTextFrame::GetCursorOfst(), GetFirstTextNode(), sw::mark::MarkManager::getMarkForTextNode(), GetMergeSel(), SwDoc::GetNumRuleAtPos(), sw::GetParaPropsPos(), SetGetExpField::GetPosOfContent(), SwXTextDocument::getTrackedChanges(), GiveNodePageDesc(), GoCurrPara(), GoCurrSection(), GoInNode(), GoNextPara(), SwCursor::GoPrevNextCell(), GoPrevPara(), GotoCurrRegionAndSkip(), GotoCurrTable(), SwFEShell::GotoFly(), SwCursor::GotoFootnoteAnchor(), SwCursor::GotoFootnoteText(), SwCursorShell::GotoFormatField(), SwEditShell::GotoGlobalDocContent(), SwCursorShell::GotoINetAttr(), SwCursor::GotoNextFootnoteAnchor(), SwCursorShell::GotoNextOutline(), GotoNextRegion(), GotoNextTable(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoOutline(), SwDoc::GotoOutline(), SwCursor::GotoPrevFootnoteAnchor(), SwCursorShell::GotoPrevOutline(), GotoPrevRegion(), GotoPrevTable(), SwCursorShell::GotoPrevTOXBase(), SwCursorShell::GotoRedline_(), SwCursorShell::GotoRefMark(), SwCursorShell::GotoTOXMark(), SwDoc::InsCopyOfTable(), SwUnoCursorHelper::InsertFile(), SwEditShell::InsertGlobalDocContent(), SwDoc::InsertGlossary(), SwFEShell::InsertRow(), wwSectionManager::InsertSegments(), SwDoc::InsertSwSection(), SwXMLTableContext::InsertTableSection(), SwHTMLParser::InsertTableSection(), SwHTMLParser::InsertTempTableCaptionSection(), SwCursor::IsInProtectTable(), SwUnoCursor::IsSelOvr(), SwCursor::IsSelOvr(), SwTableCursor::IsSelOvrCheck(), SwWW8ImplReader::JoinNode(), SwAutoFormat::JoinPrevPara(), lcl_CpyBox(), lcl_EnsureValidPam(), lcl_GotoNextPrevNum(), lcl_RestoreAnchor(), lcl_SetAttrPam(), SwCursor::LeftRight(), WW8Glossary::Load(), SwTableCursor::MakeBoxSels(), SwContentNode::MakeEndIndex(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwDoc::MakeFlyAndMove(), SwCursorShell::MakeOutlineSel(), MakePoint(), SwFltStackEntry::MakeRegion(), SwContentNode::MakeStartIndex(), SwDoc::MergeTable(), SwRangeRedline::MoveFromSection(), SwWW8ImplReader::MoveInsideFly(), sw::DocumentContentOperationsManager::MoveNodeRange(), SwDoc::MoveParagraph(), SwDoc::MoveParagraphImpl(), SwUndoSaveContent::MovePtBackward(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwIndexReg::MoveTo(), sw::hack::Position::operator SwPosition(), SwTableCursor::ParkCursor(), SwCursorShell::ParkCursor(), WW8TabDesc::ParkPaM(), SwCursorShell::ParkPams(), SwTable::PrepareMerge(), SwUndoTableCpyTable::PrepareRedline(), SwRTFReader::Read(), XMLReader::Read(), WW8Reader::Read(), SwReader::Read(), SwWW8ImplReader::Read_F_IncludeText(), SwWW8ImplReader::Read_HdFtFootnoteText(), SwWW8ImplReader::Read_HdFtTextAsHackedFrame(), SwUndoOverwrite::RedoImpl(), SwUndoDontExpandFormat::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwUndo::RemoveIdxFromRange(), SwDoc::RemoveInvisibleContent(), SwUndoInsLayFormat::RepeatImpl(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), RestFlyInRange(), SwUndoFormatAttr::RestoreFlyAnchor(), SwCursor::RestoreSavePos(), SwEditShell::SaveGlossaryDoc(), SwUndoSaveSection::SaveSection(), SwFEShell::SelFlyGrabCursor(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwAutoFormat::SetColl(), SwCursorShell::SetCursorInHdFt(), SwHistoryChangeFlyAnchor::SetInDoc(), SwPamRanges::SetPam(), SwUndRng::SetPaM(), SwHyphArgs::SetPam(), WW8TabDesc::SetPamInCell(), sw::annotation::SwAnnotationWin::SetPosAndSize(), SwTOXBaseSection::SetPosAtStartEnd(), CompareData::SetRedlinesToDoc(), SwWW8ImplReader::SetSpacing(), SwDoc::SetTextFormatCollByAutoFormat(), SwFEShell::Sort(), SwDoc::SortText(), SwTextNode::Spell(), SwSpellIter::SpellSentence(), SwDoc::SplitDoc(), SwHTMLParser::StripTrailingPara(), SwFormatField::SwClientNotify(), SwPaM::SwPaM(), SwUndoDelete::SwUndoDelete(), SwUndoMove::SwUndoMove(), SwEditShell::TableToText(), SwDoc::TextToTable(), SwUndoOverwrite::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoDontExpandFormat::UndoImpl(), SwUndoInserts::UndoImpl(), SwUndoReplace::Impl::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), SwTOXBaseSection::Update(), and SwTextNode::Update().

SwIndex & SwIndex::ChgValue ( const SwIndex rIdx,
sal_Int32  nNewValue 
)
private
const SwIndexReg* SwIndex::GetIdxReg ( ) const
inline
sal_Int32 SwIndex::GetIndex ( ) const
inline

Definition at line 95 of file index.hxx.

Referenced by SwSpellIter::AddPortion(), WW8Export::AppendBookmarks(), SwXFootnote::attach(), SwXTextField::attach(), SwXTextTable::attach(), SwAutoFormat::AutoCorrect(), SwEditShell::AutoFormatBySplitNode(), SwHTMLParser::BuildTableCaption(), SwHTMLParser::BuildTableCell(), SwRootFrame::CalcFrameRects(), SwRangeRedline::CalcStartEnd(), SwEditShell::Calculate(), SwUndoInsert::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwUndoDelete::CanGrouping(), SwHHCWrapper::ChangeText(), SwHHCWrapper::ChangeText_impl(), SwAutoCorrExceptWord::CheckChar(), SwAutoCorrExceptWord::CheckDelChar(), CellSaveStruct::CheckNoBreak(), ChgTextToNum(), sw::util::RedlineStack::close(), CollectFrameAtNode(), SwEditWin::Command(), SwXTextMarkup::commitTextRangeMarkup(), SwWW8ImplReader::ContainsSingleInlineGraphic(), TrackContentToExport::contentRemainsToExport(), SwHTMLParser::Continue(), SwTextNode::Convert(), SwXText::Impl::ConvertCell(), SwEditShell::Copy(), SwFEShell::Copy(), SwTextNode::CopyExpandText(), sw::DocumentContentOperationsManager::CopyFlyInFlyImpl(), sw::DocumentContentOperationsManager::CopyImpl(), sw::DocumentLayoutManager::CopyLayoutFormat(), sw::DocumentContentOperationsManager::CopyRange(), SwTextNode::CopyText(), sw::mark::MarkManager::correctMarksRelative(), SwDoc::CorrRel(), SwDoc::CountWords(), SwSpellIter::CreatePortion(), WW8TabDesc::CreateSwTable(), SwTextNode::CutImpl(), DelBookmarks(), SwUndoSaveContent::DelContentIndex(), SwFltControlStack::Delete(), SwEditShell::DeleteExtTextInput(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwUndoFlyBase::DelFly(), sw::DocumentLayoutManager::DelLayoutFormat(), SwHyphIter::DelSoftHyph(), SwXFrame::dispose(), SwXShape::dispose(), SwFindParaText::DoFind(), SwFindParaAttr::DoFind(), SwLayIdle::DoIdleJob_(), SwTextNode::DontExpandFormat(), SwCursor::DoSetBidiLevelLeftRight(), SwCursor::DoSetBidiLevelUpDown(), SwPosition::dumpAsXml(), SwWW8ImplReader::End_Field(), SwHTMLParser::EndAttr(), SwHTMLParser::EndContext(), SwHTMLParser::EndContextAttrs(), SwHTMLParser::EndDefList(), SwHTMLParser::EndDefListItem(), SwXMLImport::endDocument(), SwHTMLParser::EndForm(), SwHTMLParser::EndHeading(), CellSaveStruct::EndNoBreak(), SwHTMLParser::EndPara(), SwHTMLParser::EndTextFormatColl(), SwTextNode::EraseText(), SwTextShell::ExecField(), SwView::ExecLingu(), SwCursor::ExpandToSentenceBorders(), SwCursorShell::ExtendSelection(), SwEditShell::FillByEx(), SwXParaFrameEnumerationImpl::FillFrame(), SwGetRefFieldType::FindAnchor(), sw::FindTextImpl(), SwHTMLParser::FinishFootEndNote(), SwEditWin::FlushInBuffer(), MSWordExportBase::GetAnnotationMarks(), MSWordExportBase::GetBookmarks(), SwCursorShell::GetChar(), SwEditShell::GetCurFootnote(), SwEditShell::GetCurLang(), SwPageFrame::GetCursorOfst(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOXMark(), SwTextFrame::GetCurWord(), SwRangeRedline::GetDescr(), SwDoc::GetExtTextInput(), SwSpellDialogChildWindow::GetFocus(), SwWW8FltControlStack::GetFormatAttr(), SwEditShell::GetFullSelectedSectionCount(), SwPostItHelper::getLayoutInfos(), SwHHCWrapper::GetNextPortion(), SwDoc::GetPaMDescr(), SwCursorShell::GetPostItFieldAtCursor(), SwXRedlinePortion_Impl::getRealIndex(), SwTextNode::GetRedlineText(), SwWW8AttrIter::GetRunLevelRedline(), SwEditShell::GetScriptType(), SwAccessibleFrameBase::GetSelectedState(), SwCursorShell::GetSmartTagRect(), SwTextShell::GetState(), SwXTextPortion::getString(), SwEditWin::GetSurroundingText(), SwEditWin::GetSurroundingTextSelection(), SwPaM::GetText(), SwCursorShell::GetTextFieldAtCursor(), sw::DocumentFieldsManager::GetTextFieldAtPos(), SwCursorShell::GetTextFieldAtPos(), SwLangHelper::GetTextForLanguageGuessing(), GoCurrPara(), SwCursor::GoEndWordWT(), SwContentNode::GoNext(), SwCursor::GoNextWordWT(), SwContentNode::GoPrevious(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), SwCursor::GoStartWordWT(), GotoCurrRegionAndSkip(), SwXTextCursor::gotoEndOfWord(), SwCursor::GotoNextFootnoteAnchor(), SwXTextCursor::gotoNextWord(), SwCursor::GotoPrevFootnoteAnchor(), SwXTextCursor::gotoPreviousWord(), SwXTextCursor::gotoStartOfWord(), SwEditShell::HandleCorrectionError(), SwWW8ImplReader::HandlePageBreakChar(), SwFEShell::HasBoxSelection(), SwWW8AttrIter::HasFlysAt(), SwTextFrame::HideAndShowObjects(), SwEditShell::IgnoreGrammarErrorAt(), SwFEShell::ImpEndCreate(), SwWW8AttrIter::IncludeEndOfParaCRInRedlineProperties(), SwWrtShell::Insert(), SwEditShell::Insert2(), SwHTMLParser::InsertAttrs(), BookmarkTable::InsertBookmark(), SwEditShell::InsertDDETable(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwUnoCursorHelper::InsertFile(), SwHTMLParser::InsertHorzRule(), SwHTMLParser::InsertImage(), SwHTMLParser::InsertLineBreak(), SwXReferenceMark::Impl::InsertRefMark(), SwHyphIter::InsertSoftHyph(), SwHTMLParser::InsertSpacer(), sw::DocumentContentOperationsManager::InsertString(), SwDoc::InsertSwSection(), SwEditShell::InsertTable(), SwHTMLParser::InsertTableContents(), SwTextNode::InsertText(), SwUndoFlyBase::InsFly(), SwPaM::InvalidatePaM(), SwRangeRedline::InvalidateRange(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwCursor::IsAtLeftRightMargin(), SwEditShell::IsCursorInParagraphMetadataField(), SwTableCursor::IsCursorMoved(), SwTableCursor::IsCursorMovedUpdate(), SwCursor::IsEndWordWT(), SwEditWin::IsInputSequenceCheckingRequired(), SwDoc::IsInsRegionAvailable(), SwCursor::IsInWordWT(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), sw::IsMarkHidden(), SwCursorShell::IsSelFullPara(), SwCursor::IsSelOvr(), SwCursor::IsStartEndSentence(), SwCursor::IsStartWordWT(), lcl_CollectDeletedRedlines(), lcl_CreatePortions(), lcl_CutRedlines(), lcl_dbg_out(), lcl_ExportFieldMark(), lcl_ExtractFramePositions(), lcl_InsertDrawLabel(), lcl_InsertLabel(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), lcl_SaveAnchor(), lcl_SearchAttr(), lcl_SetAttrPam(), lcl_SpecialInsertNode(), lcl_TstFlyRange(), SwRedlineTable::LOKRedlineNotification(), SwSpellDialogChildWindow::LoseFocus(), SwDoc::MakeFlySection_(), sw::mark::MarkManager::makeMark(), SwTextFrame::MapModelToViewPos(), SwEditWin::MouseButtonDown(), SwFltControlStack::MoveAttrs(), sw::util::RedlineStack::MoveAttrs(), SwCursorShell::MoveFieldType(), SwRangeRedline::MoveFromSection(), SwUndoSaveContent::MoveFromUndoNds(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwCursor::MoveRegion(), SwCursorShell::MoveTable(), SwIndexReg::MoveTo(), MSWordExportBase::NearestAnnotationMark(), MSWordExportBase::NearestBookmark(), SwHTMLParser::NewDefList(), SwHTMLParser::NewDivision(), SwHTMLParser::NewForm(), SwHTMLParser::NewHeading(), SwHTMLParser::NewMultiCol(), SwHTMLParser::NewPara(), SwHTMLParser::NewTextFormatColl(), PercentHdl::NextPos(), SwHTMLParser::NextToken(), ObjAnchorOrder::operator()(), CompareMarksEnd::operator()(), operator<<(), SwWW8AttrIter::OutFlys(), OutHTML_SwTextNode(), sw::DocumentContentOperationsManager::Overwrite(), PaMCorrRel(), SwFEShell::Paste(), PercentHdl::PercentHdl(), SwUndoSetFlyFormat::PutAttr(), SwReader::Read(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::ReadText(), SwUndoRedlineSort::RedoRedlineImpl(), SwHTMLParser::RegisterFlyFrame(), SwPasteContext::remember(), SwEditShell::RemoveParagraphMetadataFieldAtCursor(), sw::ReplaceBackReferences(), sw::DocumentContentOperationsManager::ReplaceRange(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwTextNode::ReplaceText(), SwDoc::ResetAttrs(), RestFlyInRange(), SwDontExpandItem::RestoreDontExpandItems(), SwUndoFormatAttr::RestoreFlyAnchor(), SwTextNode::RstTextAttr(), sw::mark::SaveBookmark::SaveBookmark(), SwUndoDelete::SaveContent(), SwDontExpandItem::SaveDontExpandItems(), SwUndoFormatAttr::SaveFlyAnchor(), SaveFlyInRange(), SwWW8AttrIter::SearchNext(), SwCursorShell::SelectHiddenRange(), SwScriptInfo::selectHiddenTextProperty(), SwDoc::SelectNextRubyChars(), SwCursorShell::SelectTextAttr(), SwCursor::SelectWordWT(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwHTMLParser::SetAnchorAndAdjustment(), SwHTMLParser::SetAttr_(), SwFltControlStack::SetAttrInDoc(), SwWW8FltRefStack::SetAttrInDoc(), SetGetExpField::SetBodyPos(), SwDoc::SetCurFootnote(), SwUndoMove::SetDestRange(), SwUndoReplace::Impl::SetEnd(), SwEditShell::SetExtTextInputData(), SwDoc::SetFlyFrameAnchor(), SwDoc::SetFormatItemByAutoFormat(), SetGetExpField::SetGetExpField(), SwExtTextInput::SetInputData(), SwUndoInserts::SetInsertRange(), sw::mark::CrossRefBookmark::SetMarkPos(), SwAttrCheckArr::SetNewSet(), SwExtTextInput::SetOverwriteCursor(), WW8TabDesc::SetPamInCell(), SwFltPosition::SetPos(), SwXShape::setPropertyValue(), CompareData::SetRedlinesToDoc(), SwUndoRedlineSort::SetSaveRange(), SwWW8ImplReader::SetSpacing(), HTMLAttr::SetStart(), SwUndRng::SetValues(), SwFEShell::Sort(), SwTextNode::Spell(), SwDoc::Spell(), SwSpellIter::SpellSentence(), SwHTMLParser::SplitAttrTab(), SwTextNode::SplitContentNode(), sw::DocumentContentOperationsManager::SplitNode(), CellSaveStruct::StartNoBreak(), SwHTMLParser::StripTrailingLF(), SwHTMLParser::StripTrailingPara(), sw_GetJoinFlags(), sw_HideObj(), SwCallLink::SwCallLink(), SwDataChanged::SwDataChanged(), SwHTMLPosFlyFrame::SwHTMLPosFlyFrame(), SwHyphArgs::SwHyphArgs(), SwRedlineItr::SwRedlineItr(), SwRedlineSaveData::SwRedlineSaveData(), SwTOXSortTabBase::SwTOXSortTabBase(), SwUndoField::SwUndoField(), SwUndoInsLayFormat::SwUndoInsLayFormat(), SwUndoInsNum::SwUndoInsNum(), SwUndoInsSection::SwUndoInsSection(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoTextToTable::SwUndoTextToTable(), SwXParagraphEnumerationImpl::SwXParagraphEnumerationImpl(), SwDoc::TextToTable(), sw::mark::MarkBase::ToString(), sw::mark::Fieldmark::ToString(), sw::DocumentContentOperationsManager::TransliterateText(), SwUndoInsert::UndoImpl(), SwUndoSetFlyFormat::UndoImpl(), SwIndexReg::Update(), SwTextNode::Update(), SwDoc::UpdateRsid(), SwCallLink::~SwCallLink(), and SwExtTextInput::~SwExtTextInput().

const sw::mark::IMark* SwIndex::GetMark ( ) const
inline
const SwIndex* SwIndex::GetNext ( ) const
inline
void SwIndex::Init ( sal_Int32 const  nIdx)
private

Definition at line 56 of file index.cxx.

References ChgValue(), m_nIndex, SwIndexReg::m_pFirst, m_pIndexReg, and SwIndexReg::m_pLast.

Referenced by Assign(), and SwIndex().

bool SwIndex::operator!= ( sal_Int32 const  nVal) const
inline

Definition at line 81 of file index.hxx.

bool SwIndex::operator!= ( const SwIndex rSwIndex) const
inline

Definition at line 89 of file index.hxx.

References m_nIndex, and m_pIndexReg.

sal_Int32 SwIndex::operator++ ( void  )

Definition at line 300 of file index.cxx.

References ChgValue(), m_nIndex, SAL_MAX_INT32, and SAL_WARN_IF.

sal_Int32 SwIndex::operator+= ( sal_Int32 const  nVal)

Definition at line 326 of file index.cxx.

References ChgValue(), m_nIndex, SAL_MAX_INT32, and SAL_WARN_IF.

sal_Int32 SwIndex::operator-- ( )

Definition at line 319 of file index.cxx.

References ChgValue(), m_nIndex, and SAL_WARN_IF.

sal_Int32 SwIndex::operator-- ( int  )

Definition at line 309 of file index.cxx.

References ChgValue(), m_nIndex, and SAL_WARN_IF.

sal_Int32 SwIndex::operator-= ( sal_Int32 const  nVal)

Definition at line 333 of file index.cxx.

References ChgValue(), m_nIndex, and SAL_WARN_IF.

bool SwIndex::operator< ( const SwIndex rIndex) const

Definition at line 340 of file index.cxx.

References m_nIndex, and m_pIndexReg.

bool SwIndex::operator< ( sal_Int32 const  nVal) const
inline

Definition at line 76 of file index.hxx.

bool SwIndex::operator<= ( const SwIndex rIndex) const

Definition at line 347 of file index.cxx.

References m_nIndex, and m_pIndexReg.

bool SwIndex::operator<= ( sal_Int32 const  nVal) const
inline

Definition at line 77 of file index.hxx.

SwIndex & SwIndex::operator= ( sal_Int32 const  nVal)

Definition at line 368 of file index.cxx.

References ChgValue(), and m_nIndex.

SwIndex & SwIndex::operator= ( const SwIndex rIdx)

Definition at line 180 of file index.cxx.

References ChgValue(), m_nIndex, m_pIndexReg, m_pNext, m_pPrev, and Remove().

bool SwIndex::operator== ( sal_Int32 const  nVal) const
inline

Definition at line 80 of file index.hxx.

bool SwIndex::operator== ( const SwIndex rSwIndex) const
inline

Definition at line 83 of file index.hxx.

References m_nIndex, and m_pIndexReg.

bool SwIndex::operator> ( const SwIndex rIndex) const

Definition at line 354 of file index.cxx.

References m_nIndex, and m_pIndexReg.

bool SwIndex::operator> ( sal_Int32 const  nVal) const
inline

Definition at line 78 of file index.hxx.

bool SwIndex::operator>= ( const SwIndex rIndex) const

Definition at line 361 of file index.cxx.

References m_nIndex, and m_pIndexReg.

bool SwIndex::operator>= ( sal_Int32 const  nVal) const
inline

Definition at line 79 of file index.hxx.

void SwIndex::Remove ( )
private

Definition at line 153 of file index.cxx.

References SwIndexReg::m_pFirst, m_pIndexReg, SwIndexReg::m_pLast, m_pNext, and m_pPrev.

Referenced by Assign(), ChgValue(), and operator=().

void SwIndex::SetMark ( const sw::mark::IMark pMark)

Friends And Related Function Documentation

friend class SwIndexReg
friend

Definition at line 40 of file index.hxx.

Member Data Documentation

sal_Int32 SwIndex::m_nIndex
private
SwIndexReg* SwIndex::m_pIndexReg
private
const sw::mark::IMark* SwIndex::m_pMark
private

Pointer to a mark that owns this position to allow fast lookup of marks of an SwIndexReg.

Definition at line 49 of file index.hxx.

Referenced by SetMark(), and SwIndexReg::Update().

SwIndex* SwIndex::m_pNext
private

Definition at line 45 of file index.hxx.

Referenced by Assign(), ChgValue(), SwIndexReg::MoveTo(), operator=(), Remove(), and SwIndexReg::Update().

SwIndex* SwIndex::m_pPrev
private

Definition at line 46 of file index.hxx.

Referenced by Assign(), ChgValue(), operator=(), Remove(), and SwIndexReg::Update().


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