LibreOffice Module sw (master)
1
|
#include <UndoTable.hxx>
Public Member Functions | |
SwUndoInsTable (const SwPosition &, sal_uInt16 nCols, sal_uInt16 nRows, sal_uInt16 eAdjust, const SwInsertTableOptions &rInsTableOpts, const SwTableAutoFormat *pTAFormat, const std::vector< sal_uInt16 > *pColArr, const OUString &rName) | |
virtual | ~SwUndoInsTable () override |
virtual void | UndoImpl (::sw::UndoRedoContext &) override |
virtual void | RedoImpl (::sw::UndoRedoContext &) override |
virtual void | RepeatImpl (::sw::RepeatContext &) override |
virtual SwRewriter | GetRewriter () const override |
Returns the rewriter for this object. More... | |
![]() | |
SwUndo (SwUndoId const nId, const SwDoc *pDoc) | |
virtual | ~SwUndo () override |
SwUndoId | GetId () const |
virtual OUString | GetComment () const override |
Returns textual comment for this undo object. More... | |
ViewShellId | GetViewShellId () const override |
See SfxUndoAction::GetViewShellId(). More... | |
RedlineFlags | GetRedlineFlags () const |
void | SetRedlineFlags (RedlineFlags eMode) |
bool | IsDelBox () const |
void | IgnoreRepeat () |
![]() | |
SfxUndoAction () | |
virtual | ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE |
virtual bool | Merge (SfxUndoAction *pNextAction) |
virtual OUString | GetRepeatComment (SfxRepeatTarget &) const |
const DateTime & | GetDateTime () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Private Attributes | |
OUString | m_sTableName |
SwInsertTableOptions | m_aInsTableOptions |
std::unique_ptr< SwDDEFieldType > | m_pDDEFieldType |
std::unique_ptr< std::vector< sal_uInt16 > > | m_pColumnWidth |
std::unique_ptr< SwRedlineData > | m_pRedlineData |
std::unique_ptr< SwTableAutoFormat > | m_pAutoFormat |
SwNodeOffset | m_nStartNode |
sal_uInt16 | m_nRows |
sal_uInt16 | m_nColumns |
sal_uInt16 const | m_nAdjust |
Additional Inherited Members | |
![]() | |
static bool | FillSaveData (const SwPaM &rRange, SwRedlineSaveDatas &rSData, bool bDelRange=true, bool bCopyNext=true) |
static bool | FillSaveDataForFormat (const SwPaM &, SwRedlineSaveDatas &) |
static void | SetSaveData (SwDoc &rDoc, SwRedlineSaveDatas &rSData) |
static bool | HasHiddenRedlines (const SwRedlineSaveDatas &rSData) |
![]() | |
static void | RemoveIdxFromSection (SwDoc &, SwNodeOffset nSttIdx, const SwNodeOffset *pEndIdx=nullptr) |
static void | RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext) |
static void | RemoveIdxRel (SwNodeOffset, const SwPosition &) |
static bool | CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd) |
![]() | |
bool | m_bCacheComment |
std::optional< OUString > | maComment |
Definition at line 48 of file UndoTable.hxx.
SwUndoInsTable::SwUndoInsTable | ( | const SwPosition & | rPos, |
sal_uInt16 | nCols, | ||
sal_uInt16 | nRows, | ||
sal_uInt16 | eAdjust, | ||
const SwInsertTableOptions & | rInsTableOpts, | ||
const SwTableAutoFormat * | pTAFormat, | ||
const std::vector< sal_uInt16 > * | pColArr, | ||
const OUString & | rName | ||
) |
Definition at line 234 of file untbl.cxx.
References SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNodeIndex::GetNode(), IDocumentRedlineAccess::GetRedlineAuthor(), IDocumentRedlineAccess::GetRedlineFlags(), INSTABLE, IDocumentRedlineAccess::IsRedlineOn(), m_pAutoFormat, m_pColumnWidth, m_pRedlineData, m_sTableName, SwPosition::nNode, and SwUndo::SetRedlineFlags().
|
overridevirtual |
Definition at line 261 of file untbl.cxx.
References m_pAutoFormat, m_pColumnWidth, m_pDDEFieldType, and m_pRedlineData.
|
overridevirtual |
Returns the rewriter for this object.
Reimplemented from SwUndo.
Definition at line 360 of file untbl.cxx.
References SwRewriter::AddRule(), m_sTableName, SwResId(), UndoArg1, UndoArg2, and UndoArg3.
|
overridevirtual |
Implements SwUndo.
Definition at line 310 of file untbl.cxx.
References IDocumentRedlineAccess::AppendRedline(), SwRedlineTable::empty(), SwNode::EndOfSectionNode(), fnTableStart, SwNode::GetContentNode(), sw::UndoRedoContext::GetDoc(), SwDoc::GetEditShell(), SwTable::GetFrameFormat(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentRedlineAccess(), SwDoc::GetNodes(), IDocumentRedlineAccess::GetRedlineFlags(), SwUndo::GetRedlineFlags(), IDocumentRedlineAccess::GetRedlineTable(), SwTableNode::GetTable(), GotoPrevTable(), Ignore, IDocumentFieldsAccess::InsertFieldType(), SwDoc::InsertTable(), IDocumentRedlineAccess::IsRedlineOn(), m_aInsTableOptions, m_nAdjust, m_nColumns, m_nRows, m_nStartNode, m_pAutoFormat, m_pColumnWidth, m_pDDEFieldType, m_pRedlineData, m_sTableName, SwCursorShell::MoveTable(), SwTableNode::SetNewTable(), IDocumentRedlineAccess::SetRedlineFlags_intern(), and IDocumentRedlineAccess::SplitRedline().
|
overridevirtual |
Reimplemented from SwUndo.
Definition at line 353 of file untbl.cxx.
References sw::RepeatContext::GetDoc(), SwPaM::GetPoint(), sw::RepeatContext::GetRepeatPaM(), SwDoc::InsertTable(), m_aInsTableOptions, m_nAdjust, m_nColumns, m_nRows, m_pAutoFormat, and m_pColumnWidth.
|
overridevirtual |
Implements SwUndo.
Definition at line 269 of file untbl.cxx.
References sw::IShellCursorSupplier::CreateNewShellCursor(), SwNodes::Delete(), SwPaM::DeleteMark(), IDocumentRedlineAccess::DeleteRedline(), sw::UndoRedoContext::GetCursorSupplier(), sw::UndoRedoContext::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwFormat::GetItemIfSet(), SwDoc::GetNodes(), SwUndo::GetRedlineFlags(), SwNode::GetTableNode(), IDocumentRedlineAccess::IsRedlineOn(), m_nStartNode, m_pDDEFieldType, m_sTableName, SwUndo::RemoveIdxFromSection(), RES_BREAK(), RES_PAGEDESC(), and SwContentNode::SetAttr().
|
private |
Definition at line 51 of file UndoTable.hxx.
Referenced by RedoImpl(), and RepeatImpl().
|
private |
Definition at line 58 of file UndoTable.hxx.
Referenced by RedoImpl(), and RepeatImpl().
|
private |
Definition at line 57 of file UndoTable.hxx.
Referenced by RedoImpl(), and RepeatImpl().
|
private |
Definition at line 57 of file UndoTable.hxx.
Referenced by RedoImpl(), and RepeatImpl().
|
private |
Definition at line 56 of file UndoTable.hxx.
Referenced by RedoImpl(), and UndoImpl().
|
private |
Definition at line 55 of file UndoTable.hxx.
Referenced by RedoImpl(), RepeatImpl(), SwUndoInsTable(), and ~SwUndoInsTable().
|
private |
Definition at line 53 of file UndoTable.hxx.
Referenced by RedoImpl(), RepeatImpl(), SwUndoInsTable(), and ~SwUndoInsTable().
|
private |
Definition at line 52 of file UndoTable.hxx.
Referenced by RedoImpl(), UndoImpl(), and ~SwUndoInsTable().
|
private |
Definition at line 54 of file UndoTable.hxx.
Referenced by RedoImpl(), SwUndoInsTable(), and ~SwUndoInsTable().
|
private |
Definition at line 50 of file UndoTable.hxx.
Referenced by GetRewriter(), RedoImpl(), SwUndoInsTable(), and UndoImpl().