LibreOffice Module sw (master)  1
Public Member Functions | Private Attributes | List of all members
SwUndoInsTable Class Reference

#include <UndoTable.hxx>

Inheritance diagram for SwUndoInsTable:
[legend]
Collaboration diagram for SwUndoInsTable:
[legend]

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...
 
- Public Member Functions inherited from SwUndo
 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 ()
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

OUString m_sTableName
 
SwInsertTableOptions const m_aInsTableOptions
 
std::unique_ptr< SwDDEFieldTypem_pDDEFieldType
 
std::unique_ptr< std::vector< sal_uInt16 > > m_pColumnWidth
 
std::unique_ptr< SwRedlineDatam_pRedlineData
 
std::unique_ptr< SwTableAutoFormatm_pAutoFormat
 
sal_uLong m_nStartNode
 
sal_uInt16 m_nRows
 
sal_uInt16 m_nColumns
 
sal_uInt16 const m_nAdjust
 

Additional Inherited Members

- Static Public Member Functions inherited from SwUndo
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 Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, sal_uLong nSttIdx, const sal_uLong *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (sal_uLong, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
boost::optional< OUString > maComment
 

Detailed Description

Definition at line 46 of file UndoTable.hxx.

Constructor & Destructor Documentation

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 
)
SwUndoInsTable::~SwUndoInsTable ( )
overridevirtual

Definition at line 245 of file untbl.cxx.

References m_pAutoFormat, m_pColumnWidth, m_pDDEFieldType, and m_pRedlineData.

Member Function Documentation

SwRewriter SwUndoInsTable::GetRewriter ( ) const
overridevirtual

Returns the rewriter for this object.

Returns
the rewriter for this object

Reimplemented from SwUndo.

Definition at line 345 of file untbl.cxx.

References SwRewriter::AddRule(), m_sTableName, SwResId(), UndoArg1, UndoArg2, and UndoArg3.

void SwUndoInsTable::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual
void SwUndoInsTable::RepeatImpl ( ::sw::RepeatContext rContext)
overridevirtual
void SwUndoInsTable::UndoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Member Data Documentation

SwInsertTableOptions const SwUndoInsTable::m_aInsTableOptions
private

Definition at line 49 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uInt16 const SwUndoInsTable::m_nAdjust
private

Definition at line 56 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uInt16 SwUndoInsTable::m_nColumns
private

Definition at line 55 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uInt16 SwUndoInsTable::m_nRows
private

Definition at line 55 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

sal_uLong SwUndoInsTable::m_nStartNode
private

Definition at line 54 of file UndoTable.hxx.

Referenced by RedoImpl(), and UndoImpl().

std::unique_ptr<SwTableAutoFormat> SwUndoInsTable::m_pAutoFormat
private

Definition at line 53 of file UndoTable.hxx.

Referenced by RedoImpl(), RepeatImpl(), SwUndoInsTable(), and ~SwUndoInsTable().

std::unique_ptr<std::vector<sal_uInt16> > SwUndoInsTable::m_pColumnWidth
private

Definition at line 51 of file UndoTable.hxx.

Referenced by RedoImpl(), RepeatImpl(), SwUndoInsTable(), and ~SwUndoInsTable().

std::unique_ptr<SwDDEFieldType> SwUndoInsTable::m_pDDEFieldType
private

Definition at line 50 of file UndoTable.hxx.

Referenced by RedoImpl(), UndoImpl(), and ~SwUndoInsTable().

std::unique_ptr<SwRedlineData> SwUndoInsTable::m_pRedlineData
private

Definition at line 52 of file UndoTable.hxx.

Referenced by RedoImpl(), SwUndoInsTable(), and ~SwUndoInsTable().

OUString SwUndoInsTable::m_sTableName
private

Definition at line 48 of file UndoTable.hxx.

Referenced by GetRewriter(), RedoImpl(), SwUndoInsTable(), and UndoImpl().


The documentation for this class was generated from the following files: