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 282 of file docary.hxx.
SwExtraRedlineTable::~SwExtraRedlineTable | ( | ) |
Definition at line 91 of file docredln.cxx.
References DeleteAndDestroyAll().
bool SwExtraRedlineTable::DeleteAllTableRedlines | ( | SwDoc & | rDoc, |
const SwTable & | rTable, | ||
bool | bSaveInUndo, | ||
RedlineType | nRedlineTypeToDelete | ||
) |
Definition at line 140 of file docredln.cxx.
References DeleteAndDestroy(), SwNode::FindTableNode(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), GetRedline(), SwTableCellRedline::GetRedlineData(), GetSize(), SwTableBox::GetSttNd(), SwTableNode::GetTable(), SwTableCellRedline::GetTableBox(), SwRedlineData::GetType(), and IDocumentState::SetModified().
Referenced by SwTableNode::RemoveRedlines().
void SwExtraRedlineTable::DeleteAndDestroy | ( | sal_uInt16 | nPos | ) |
Definition at line 2110 of file docredln.cxx.
References m_aExtraRedlines, and nPos.
Referenced by DeleteAllTableRedlines(), DeleteTableCellRedline(), and DeleteTableRowRedline().
void SwExtraRedlineTable::DeleteAndDestroyAll | ( | ) |
Definition at line 2129 of file docredln.cxx.
References m_aExtraRedlines.
Referenced by SwDoc::ClearDoc(), SwDoc::~SwDoc(), and ~SwExtraRedlineTable().
bool SwExtraRedlineTable::DeleteTableCellRedline | ( | SwDoc * | pDoc, |
const SwTableBox & | rTableBox, | ||
bool | bSaveInUndo, | ||
RedlineType | nRedlineTypeToDelete | ||
) |
Definition at line 235 of file docredln.cxx.
References DeleteAndDestroy(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), GetRedline(), SwTableCellRedline::GetRedlineData(), GetSize(), 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 191 of file docredln.cxx.
References DeleteAndDestroy(), SwDoc::getIDocumentState(), SwDoc::GetIDocumentUndoRedo(), GetRedline(), SwTableRowRedline::GetRedlineData(), GetSize(), SwTableRowRedline::GetTableLine(), SwRedlineData::GetType(), and IDocumentState::SetModified().
Referenced by DeleteBox_().
void SwExtraRedlineTable::dumpAsXml | ( | xmlTextWriterPtr | pWriter | ) | const |
Definition at line 96 of file docredln.cxx.
References GetRedline(), and GetSize().
Referenced by SwDoc::dumpAsXml().
|
inline |
Definition at line 298 of file docary.hxx.
References m_aExtraRedlines.
Referenced by DeleteAllTableRedlines(), DeleteTableCellRedline(), DeleteTableRowRedline(), dumpAsXml(), DocxAttributeOutput::TableCellRedline(), and DocxAttributeOutput::TableRowRedline().
|
inline |
Definition at line 297 of file docary.hxx.
References m_aExtraRedlines.
Referenced by DeleteAllTableRedlines(), DeleteTableCellRedline(), DeleteTableRowRedline(), dumpAsXml(), DocxAttributeOutput::TableCellRedline(), and DocxAttributeOutput::TableRowRedline().
void SwExtraRedlineTable::Insert | ( | SwExtraRedline * | p | ) |
Definition at line 2104 of file docredln.cxx.
References m_aExtraRedlines, and p.
Referenced by sw::DocumentRedlineManager::AppendTableCellRedline(), and sw::DocumentRedlineManager::AppendTableRowRedline().
|
private |
Definition at line 285 of file docary.hxx.
Referenced by DeleteAndDestroy(), DeleteAndDestroyAll(), GetRedline(), GetSize(), and Insert().