LibreOffice Module sw (master) 1
|
#include <UndoCore.hxx>
Public Member Functions | |
SwRedlineSaveData (SwComparePosition eCmpPos, const SwPosition &rSttPos, const SwPosition &rEndPos, SwRangeRedline &rRedl, bool bCopyNext) | |
~SwRedlineSaveData () | |
void | RedlineToDoc (SwPaM const &rPam) |
const SwNodeIndex * | GetMvSttIdx () const |
Public Member Functions inherited from SwUndRng | |
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 Member Functions inherited from SwRedlineData | |
SwRedlineData (RedlineType eT, std::size_t nAut) | |
SwRedlineData (const SwRedlineData &rCpy, bool bCpyNext=true) | |
SwRedlineData (RedlineType eT, std::size_t nAut, const DateTime &rDT, OUString aCmnt, SwRedlineData *pNxt) | |
~SwRedlineData () | |
bool | operator== (const SwRedlineData &rCmp) const |
bool | operator!= (const SwRedlineData &rCmp) const |
RedlineType | GetType () const |
std::size_t | GetAuthor () const |
const OUString & | GetComment () const |
const DateTime & | GetTimeStamp () const |
bool | IsAnonymized () const |
const SwRedlineData * | Next () const |
void | SetComment (const OUString &rS) |
void | SetTimeStamp (const DateTime &rDT) |
void | SetAutoFormat () |
bool | IsAutoFormat () const |
void | SetMoved () |
bool | IsMoved () const |
bool | CanCombine (const SwRedlineData &rCmp) const |
void | SetExtraData (const SwRedlineExtraData *pData) |
ExtraData is copied. More... | |
const SwRedlineExtraData * | GetExtraData () const |
sal_uInt16 | GetSeqNo () const |
void | SetSeqNo (sal_uInt16 nNo) |
OUString | GetDescr () const |
Public Attributes | |
sal_uInt16 | m_nRedlineCount |
bool | m_bRedlineMoved |
Public Attributes inherited from SwUndRng | |
SwNodeOffset | m_nSttNode |
SwNodeOffset | m_nEndNode |
sal_Int32 | m_nSttContent |
sal_Int32 | m_nEndContent |
Additional Inherited Members | |
Private Member Functions inherited from SwUndoSaveSection | |
SwUndoSaveSection () | |
~SwUndoSaveSection () | |
void | SaveSection (const SwNodeIndex &rSttIdx) |
void | SaveSection (const SwNodeRange &rRange, bool bExpandNodes=true) |
void | RestoreSection (SwDoc *pDoc, SwNodeIndex *pIdx, sal_uInt16 nSectType) |
void | RestoreSection (SwDoc *pDoc, const SwNode &rInsPos, bool bForceCreateFrames=false) |
const SwHistory * | GetHistory () const |
SwHistory * | GetHistory () |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
const SwNodeIndex * | GetMvSttIdx () const |
SwNodeOffset | GetMvNodeCnt () const |
Definition at line 43 of file UndoCore.hxx.
SwRedlineSaveData::SwRedlineSaveData | ( | SwComparePosition | eCmpPos, |
const SwPosition & | rSttPos, | ||
const SwPosition & | rEndPos, | ||
SwRangeRedline & | rRedl, | ||
bool | bCopyNext | ||
) |
Definition at line 1367 of file undobj.cxx.
References SwRangeRedline::ClearContentIdx(), Equal, SwRangeRedline::GetContentIdx(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), IDocumentRedlineAccess::GetRedlineTable(), Inside, SwRangeRedline::IsMoved(), m_bRedlineMoved, SwUndRng::m_nEndContent, SwUndRng::m_nEndNode, m_nRedlineCount, SwUndRng::m_nSttContent, SwUndRng::m_nSttNode, Outside, OverlapBefore, OverlapBehind, SwUndoSaveSection::SaveSection(), and SwRedlineTable::size().
SwRedlineSaveData::~SwRedlineSaveData | ( | ) |
Definition at line 1420 of file undobj.cxx.
|
inline |
Definition at line 57 of file UndoCore.hxx.
References SwUndoSaveSection::GetMvSttIdx().
Referenced by SwUndo::CanRedlineGroup(), and RedlineToDoc().
void SwRedlineSaveData::RedlineToDoc | ( | SwPaM const & | rPam | ) |
Definition at line 1424 of file undobj.cxx.
References IDocumentRedlineAccess::AppendRedline(), IDocumentRedlineAccess::DeleteRedline(), DontCombineRedlines, SwRangeRedline::GetComment(), SwPaM::GetDoc(), SwDoc::GetDocShell(), SwUndoSaveSection::GetHistory(), SwDoc::getIDocumentRedlineAccess(), GetMvSttIdx(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlineFlags(), IDocumentRedlineAccess::IGNORED, SwUndoSaveSection::RestoreSection(), result, SwHistory::Rollback(), SwRangeRedline::SetContentIdx(), SwUndRng::SetPaM(), IDocumentRedlineAccess::SetRedlineFlags_intern(), SwNormalStartNode, and SwRedlineData::SwRangeRedline.
bool SwRedlineSaveData::m_bRedlineMoved |
Definition at line 64 of file UndoCore.hxx.
Referenced by SwRedlineSaveData().
sal_uInt16 SwRedlineSaveData::m_nRedlineCount |
Definition at line 63 of file UndoCore.hxx.
Referenced by SwRedlineSaveData().