LibreOffice Module sw (master)
1
|
Table that holds 'extra' redlines, such as 'table row insert/delete', 'paragraph moves' etc... More...
#include <docary.hxx>
Public Member Functions | |
~SwExtraRedlineTable () | |
void | Insert (SwExtraRedline *p) |
void | DeleteAndDestroy (sal_uInt16 nPos) |
void | DeleteAndDestroyAll () |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
sal_uInt16 | GetSize () const |
SwExtraRedline * | GetRedline (sal_uInt16 uIndex) const |
SW_DLLPUBLIC bool | DeleteAllTableRedlines (SwDoc &rDoc, const SwTable &rTable, bool bSaveInUndo, RedlineType nRedlineTypeToDelete) |
bool | DeleteTableRowRedline (SwDoc *pDoc, const SwTableLine &rTableLine, bool bSaveInUndo, RedlineType nRedlineTypeToDelete) |
bool | DeleteTableCellRedline (SwDoc *pDoc, const SwTableBox &rTableBox, bool bSaveInUndo, RedlineType nRedlineTypeToDelete) |
Private Attributes | |
std::vector< SwExtraRedline * > | m_aExtraRedlines |
Table that holds 'extra' redlines, such as 'table row insert/delete', 'paragraph moves' etc...
Definition at line 281 of file docary.hxx.
SwExtraRedlineTable::~SwExtraRedlineTable | ( | ) |
Definition at line 87 of file docredln.cxx.
bool SwExtraRedlineTable::DeleteAllTableRedlines | ( | SwDoc & | rDoc, |
const SwTable & | rTable, | ||
bool | bSaveInUndo, | ||
RedlineType | nRedlineTypeToDelete | ||
) |
Definition at line 136 of file docredln.cxx.
References IDocumentUndoRedo::DoesUndo(), SwNode::FindTableNode(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwTableCellRedline::GetRedlineData(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTableCellRedline::GetTableBox(), SwRedlineData::GetType(), and IDocumentState::SetModified().
Referenced by SwTableNode::RemoveRedlines().
void SwExtraRedlineTable::DeleteAndDestroy | ( | sal_uInt16 | nPos | ) |
Definition at line 2065 of file docredln.cxx.
References m_aExtraRedlines.
void SwExtraRedlineTable::DeleteAndDestroyAll | ( | ) |
Definition at line 2084 of file docredln.cxx.
References m_aExtraRedlines.
Referenced by SwDoc::ClearDoc(), and SwDoc::~SwDoc().
bool SwExtraRedlineTable::DeleteTableCellRedline | ( | SwDoc * | pDoc, |
const SwTableBox & | rTableBox, | ||
bool | bSaveInUndo, | ||
RedlineType | nRedlineTypeToDelete | ||
) |
Definition at line 231 of file docredln.cxx.
References IDocumentUndoRedo::DoesUndo(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwTableCellRedline::GetRedlineData(), SwTableCellRedline::GetTableBox(), SwRedlineData::GetType(), and IDocumentState::SetModified().
Referenced by DeleteBox_().
bool SwExtraRedlineTable::DeleteTableRowRedline | ( | SwDoc * | pDoc, |
const SwTableLine & | rTableLine, | ||
bool | bSaveInUndo, | ||
RedlineType | nRedlineTypeToDelete | ||
) |
Definition at line 187 of file docredln.cxx.
References IDocumentUndoRedo::DoesUndo(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), SwTableRowRedline::GetRedlineData(), SwTableRowRedline::GetTableLine(), SwRedlineData::GetType(), and IDocumentState::SetModified().
Referenced by DeleteBox_().
void SwExtraRedlineTable::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
|
inline |
Definition at line 297 of file docary.hxx.
Referenced by DocxAttributeOutput::TableCellRedline(), and DocxAttributeOutput::TableRowRedline().
|
inline |
Definition at line 296 of file docary.hxx.
Referenced by DocxAttributeOutput::TableCellRedline(), and DocxAttributeOutput::TableRowRedline().
void SwExtraRedlineTable::Insert | ( | SwExtraRedline * | p | ) |
Definition at line 2059 of file docredln.cxx.
References m_aExtraRedlines.
Referenced by sw::DocumentRedlineManager::AppendTableCellRedline(), and sw::DocumentRedlineManager::AppendTableRowRedline().
|
private |
Definition at line 284 of file docary.hxx.
Referenced by DeleteAndDestroy(), DeleteAndDestroyAll(), and Insert().