LibreOffice Module sw (master)
1
|
#include <UndoTable.hxx>
Public Member Functions | |
SwUndoSplitTable (const SwTableNode &rTableNd, std::unique_ptr< SwSaveRowSpan > pRowSp, SplitTable_HeadlineOption nMode, bool bCalcNewSize) | |
virtual | ~SwUndoSplitTable () override |
virtual void | UndoImpl (::sw::UndoRedoContext &) override |
virtual void | RedoImpl (::sw::UndoRedoContext &) override |
virtual void | RepeatImpl (::sw::RepeatContext &) override |
void | SetTableNodeOffset (SwNodeOffset nIdx) |
SwHistory * | GetHistory () |
void | SaveFormula (SwHistory &rHistory) |
![]() | |
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 | |
SwNodeOffset | m_nTableNode |
SwNodeOffset | m_nOffset |
std::unique_ptr< SwSaveRowSpan > | mpSaveRowSpan |
std::unique_ptr< SaveTable > | m_pSavedTable |
std::unique_ptr< SwHistory > | m_pHistory |
SplitTable_HeadlineOption const | m_nMode |
sal_uInt16 | m_nFormulaEnd |
bool | m_bCalcNewSize |
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) |
![]() | |
virtual SwRewriter | GetRewriter () const |
Returns the rewriter for this object. More... | |
![]() | |
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 312 of file UndoTable.hxx.
SwUndoSplitTable::SwUndoSplitTable | ( | const SwTableNode & | rTableNd, |
std::unique_ptr< SwSaveRowSpan > | pRowSp, | ||
SplitTable_HeadlineOption | nMode, | ||
bool | bCalcNewSize | ||
) |
Definition at line 2828 of file untbl.cxx.
References BorderCopy, BoxAttrAllCopy, BoxAttrCopy, false, SwTableNode::GetTable(), m_nMode, m_pHistory, m_pSavedTable, and SPLIT_TABLE.
|
overridevirtual |
Definition at line 2847 of file untbl.cxx.
References m_pHistory, m_pSavedTable, and mpSaveRowSpan.
|
inline |
Definition at line 333 of file UndoTable.hxx.
Referenced by SwDoc::SplitTable().
|
overridevirtual |
Implements SwUndo.
Definition at line 2930 of file untbl.cxx.
References ClearFEShellTabCols(), sw::IShellCursorSupplier::CreateNewShellCursor(), SwPaM::DeleteMark(), sw::UndoRedoContext::GetCursorSupplier(), sw::UndoRedoContext::GetDoc(), m_bCalcNewSize, m_nMode, m_nTableNode, and SwDoc::SplitTable().
|
overridevirtual |
Reimplemented from SwUndo.
Definition at line 2942 of file untbl.cxx.
References ClearFEShellTabCols(), sw::RepeatContext::GetDoc(), SwPaM::GetPoint(), sw::RepeatContext::GetRepeatPaM(), m_bCalcNewSize, m_nMode, and SwDoc::SplitTable().
Definition at line 2951 of file untbl.cxx.
References SwHistory::Count(), m_nFormulaEnd, and m_pHistory.
Referenced by SwDoc::SplitTable().
|
inline |
Definition at line 332 of file UndoTable.hxx.
References m_nTableNode.
Referenced by SwDoc::SplitTable().
|
overridevirtual |
Implements SwUndo.
Definition at line 2854 of file untbl.cxx.
References BorderCopy, BoxAttrAllCopy, BoxAttrCopy, ClearFEShellTabCols(), ContentCopy, sw::IShellCursorSupplier::CreateNewShellCursor(), SwNodes::Delete(), SwTable::DeleteSel(), FndBox_::DelFrames(), SwNode::FindTableNode(), fnMoveBackward, sw::UndoRedoContext::GetCursorSupplier(), sw::UndoRedoContext::GetDoc(), SwDoc::getIDocumentFieldsAccess(), SwDoc::GetNodes(), SwPaM::GetPoint(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwNode::GetTableNode(), GoInContent(), idx, SwTableFormulaUpdate::m_eFlags, m_nFormulaEnd, m_nMode, m_nOffset, m_nTableNode, m_pHistory, m_pSavedTable, SwNodes::MergeTable(), SwPaM::Move(), mpSaveRowSpan, PaMCorrAbs(), SwTable::RestoreRowSpan(), SwTable::SelLineFromBox(), FndBox_::SetTableLines(), TBL_BOXPTR, and IDocumentFieldsAccess::UpdateTableFields().
|
private |
Definition at line 320 of file UndoTable.hxx.
Referenced by RedoImpl(), and RepeatImpl().
|
private |
Definition at line 319 of file UndoTable.hxx.
Referenced by SaveFormula(), and UndoImpl().
|
private |
Definition at line 318 of file UndoTable.hxx.
Referenced by RedoImpl(), RepeatImpl(), SwUndoSplitTable(), and UndoImpl().
|
private |
Definition at line 314 of file UndoTable.hxx.
Referenced by UndoImpl().
|
private |
Definition at line 314 of file UndoTable.hxx.
Referenced by RedoImpl(), SetTableNodeOffset(), and UndoImpl().
|
private |
Definition at line 317 of file UndoTable.hxx.
Referenced by SaveFormula(), SwUndoSplitTable(), UndoImpl(), and ~SwUndoSplitTable().
|
private |
Definition at line 316 of file UndoTable.hxx.
Referenced by SwUndoSplitTable(), UndoImpl(), and ~SwUndoSplitTable().
|
private |
Definition at line 315 of file UndoTable.hxx.
Referenced by UndoImpl(), and ~SwUndoSplitTable().