LibreOffice Module sw (master) 1
|
#include <undobj.hxx>
Public Member Functions | |
SwUndRng () | |
SwUndRng (const SwPaM &) | |
void | SetValues (const SwPaM &rPam) |
void | SetPaM (SwPaM &, bool bCorrToContent=false) const |
SwPaM & | AddUndoRedoPaM (::sw::UndoRedoContext &, bool const bCorrToContent=false) const |
Public Attributes | |
SwNodeOffset | m_nSttNode |
SwNodeOffset | m_nEndNode |
sal_Int32 | m_nSttContent |
sal_Int32 | m_nEndContent |
Definition at line 228 of file undobj.hxx.
SwUndRng::SwUndRng | ( | ) |
Definition at line 50 of file undobj.cxx.
SwUndRng::SwUndRng | ( | const SwPaM & | rPam | ) |
Definition at line 55 of file undobj.cxx.
References SetValues().
SwPaM & SwUndRng::AddUndoRedoPaM | ( | ::sw::UndoRedoContext & | rContext, |
bool const | bCorrToContent = false |
||
) | const |
Definition at line 100 of file undobj.cxx.
References sw::IShellCursorSupplier::CreateNewShellCursor(), sw::UndoRedoContext::GetCursorSupplier(), and SetPaM().
Referenced by SwUndoAttr::RedoImpl(), SwUndoResetAttr::RedoImpl(), SwUndoMoveLeftMargin::RedoImpl(), SwUndoChangeFootNote::RedoImpl(), SwUndoFormatColl::RedoImpl(), SwUndoOutlineLeftRight::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoInsNum::RedoImpl(), SwUndoDelNum::RedoImpl(), SwUndoMoveNum::RedoImpl(), SwUndoNumUpDown::RedoImpl(), SwUndoTransliterate::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoCompDoc::RedoImpl(), SwUndoInsSection::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoTextToTable::RedoImpl(), SwUndoTableMerge::RedoImpl(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoMoveLeftMargin::UndoImpl(), SwUndoChangeFootNote::UndoImpl(), SwUndoFormatColl::UndoImpl(), SwUndoOutlineLeftRight::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsNum::UndoImpl(), SwUndoDelNum::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwUndoNumUpDown::UndoImpl(), SwUndoTransliterate::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoSort::UndoImpl(), SwUndoMove::UndoImpl(), and SwUndoTextToTable::UndoImpl().
void SwUndRng::SetPaM | ( | SwPaM & | rPam, |
bool | bCorrToContent = false |
||
) | const |
Definition at line 80 of file undobj.cxx.
References SwPosition::Assign(), COMPLETE_STRING, SwPaM::DeleteMark(), fnMoveBackward, fnMoveForward, SwPaM::GetPoint(), SwPaM::GetPointNode(), GoInContent(), SwNode::IsContentNode(), m_nEndContent, m_nEndNode, m_nSttContent, m_nSttNode, SwPaM::Move(), and SwPaM::SetMark().
Referenced by AddUndoRedoPaM(), SwRedlineSaveData::RedlineToDoc(), SwUndoAttr::RedoImpl(), SwUndoChangeFootNote::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoCompDoc::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoTextToTable::RedoImpl(), SwUndoRedlineSort::RedoRedlineImpl(), SwUndoInserts::RepeatImpl(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoSort::UndoImpl(), and SwUndoRedlineSort::UndoRedlineImpl().
void SwUndRng::SetValues | ( | const SwPaM & | rPam | ) |
Definition at line 60 of file undobj.cxx.
References COMPLETE_STRING, SwPaM::End(), SwPosition::GetContentIndex(), SwPosition::GetNodeIndex(), SwPaM::HasMark(), m_nEndContent, m_nEndNode, m_nSttContent, m_nSttNode, and SwPaM::Start().
Referenced by SwUndoRedlineSort::RedoRedlineImpl(), SwDoc::SortText(), SwUndRng(), and SwUndoRedlineSort::UndoRedlineImpl().
sal_Int32 SwUndRng::m_nEndContent |
Definition at line 232 of file undobj.hxx.
Referenced by SwUndoRedlineDelete::CanGrouping(), SwUndoDelete::CanGrouping(), SwUndo::CanRedlineGroup(), FindFirstAndNextNode(), SwUndoInserts::RedoImpl(), SwUndoInserts::SetInsertRange(), SetPaM(), SetValues(), SwRedlineSaveData::SwRedlineSaveData(), SwUndoDelete::SwUndoDelete(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoInserts::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwUndoCompDoc::UndoImpl(), and SwUndoInsSection::UndoImpl().
SwNodeOffset SwUndRng::m_nEndNode |
Definition at line 231 of file undobj.hxx.
Referenced by SwUndoRedlineDelete::CanGrouping(), SwUndoDelete::CanGrouping(), FindFirstAndNextNode(), SwUndoMove::GetEndNode(), SwUndoRedlineDelete::NodeDiff(), SwUndoInserts::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoDelete::SaveContent(), SwUndoInserts::SetInsertRange(), SetPaM(), SetValues(), SwRedlineSaveData::SwRedlineSaveData(), SwUndoDelete::SwUndoDelete(), SwUndoDelNum::SwUndoDelNum(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoRedline::SwUndoRedline(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoSort::SwUndoSort(), SwUndoInserts::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoSort::UndoImpl(), and SwUndoTextToTable::UndoImpl().
sal_Int32 SwUndRng::m_nSttContent |
Definition at line 232 of file undobj.hxx.
Referenced by SwUndoRedlineDelete::CanGrouping(), SwUndoDelete::CanGrouping(), SwUndo::CanRedlineGroup(), SwUndoRedlineDelete::ContentStart(), SwUndoInserts::RedoImpl(), SwUndoResetAttr::RedoImpl(), SwUndoDelete::SaveContent(), SwUndoInserts::SetInsertRange(), SetPaM(), SetValues(), SwRedlineSaveData::SwRedlineSaveData(), SwUndoDelete::SwUndoDelete(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoInserts::UndoImpl(), SwUndoAttr::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoCompDoc::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoTextToTable::UndoImpl(), and SwUndoTableMerge::UndoImpl().
SwNodeOffset SwUndRng::m_nSttNode |
Definition at line 231 of file undobj.hxx.
Referenced by SwUndoRedlineDelete::CanGrouping(), SwUndoDelete::CanGrouping(), SwUndo::CanRedlineGroup(), FindFirstAndNextNode(), SwUndoRedlineDelete::NodeDiff(), SwUndoInserts::RedoImpl(), SwUndoResetAttr::RedoImpl(), SwUndoDelete::RedoImpl(), SwUndoRedline::RedoImpl(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), SwUndoInsNum::RepeatImpl(), SwUndoDelete::SaveContent(), SwUndoInserts::SetInsertRange(), SetPaM(), SetValues(), SwRedlineSaveData::SwRedlineSaveData(), SwUndoDelete::SwUndoDelete(), SwUndoDelNum::SwUndoDelNum(), SwUndoInserts::SwUndoInserts(), SwUndoInsNum::SwUndoInsNum(), SwUndoMove::SwUndoMove(), SwUndoRedline::SwUndoRedline(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoResetAttr::SwUndoResetAttr(), SwUndoSort::SwUndoSort(), SwUndoInserts::UndoImpl(), SwUndoResetAttr::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoInsNum::UndoImpl(), SwUndoMoveNum::UndoImpl(), SwUndoRedline::UndoImpl(), SwUndoInsSection::UndoImpl(), SwUndoSort::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableMerge::UndoImpl(), and SwUndoRedlineSort::UndoRedlineImpl().