LibreOffice Module dbaccess (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
dbaui::OTableDesignCellUndoAct Class Referencefinal

#include <TableUndo.hxx>

Inheritance diagram for dbaui::OTableDesignCellUndoAct:
[legend]
Collaboration diagram for dbaui::OTableDesignCellUndoAct:
[legend]

Public Member Functions

 OTableDesignCellUndoAct (OTableRowView *pOwner, sal_Int32 nRowID, sal_uInt16 nColumn)
 
virtual ~OTableDesignCellUndoAct () override
 
- Public Member Functions inherited from dbaui::OTableDesignUndoAct
 OTableDesignUndoAct (OTableRowView *pOwner, TranslateId pCommentID)
 
virtual ~OTableDesignUndoAct () override
 
- Public Member Functions inherited from dbaui::OCommentUndoAction
 OCommentUndoAction (TranslateId pCommentID)
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void Undo ()
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void Redo ()
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual void Repeat (SfxRepeatTarget &)
 
virtual bool CanRepeat (SfxRepeatTarget &) const
 
virtual bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetComment () const
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
virtual ViewShellId GetViewShellId () const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

virtual void Undo () override
 
virtual void Redo () override
 

Private Attributes

sal_uInt16 m_nCol
 
sal_Int32 m_nRow
 
css::uno::Any m_sOldText
 
css::uno::Any m_sNewText
 

Additional Inherited Members

virtual void Undo () override
 
virtual void Redo () override
 
- Protected Attributes inherited from dbaui::OTableDesignUndoAct
VclPtr< OTableRowViewm_pTabDgnCtrl
 

Detailed Description

Definition at line 57 of file TableUndo.hxx.

Constructor & Destructor Documentation

◆ OTableDesignCellUndoAct()

OTableDesignCellUndoAct::OTableDesignCellUndoAct ( OTableRowView pOwner,
sal_Int32  nRowID,
sal_uInt16  nColumn 
)

Definition at line 69 of file TableUndo.cxx.

References m_nCol, m_nRow, dbaui::OTableDesignUndoAct::m_pTabDgnCtrl, m_sOldText, and pOwner.

◆ ~OTableDesignCellUndoAct()

OTableDesignCellUndoAct::~OTableDesignCellUndoAct ( )
overridevirtual

Definition at line 78 of file TableUndo.cxx.

Member Function Documentation

◆ Redo()

void OTableDesignCellUndoAct::Redo ( )
overrideprivatevirtual

◆ Undo()

void OTableDesignCellUndoAct::Undo ( )
overrideprivatevirtual

Member Data Documentation

◆ m_nCol

sal_uInt16 dbaui::OTableDesignCellUndoAct::m_nCol
private

Definition at line 59 of file TableUndo.hxx.

Referenced by OTableDesignCellUndoAct(), Redo(), and Undo().

◆ m_nRow

sal_Int32 dbaui::OTableDesignCellUndoAct::m_nRow
private

Definition at line 60 of file TableUndo.hxx.

Referenced by OTableDesignCellUndoAct(), Redo(), and Undo().

◆ m_sNewText

css::uno::Any dbaui::OTableDesignCellUndoAct::m_sNewText
private

Definition at line 62 of file TableUndo.hxx.

Referenced by Redo(), and Undo().

◆ m_sOldText

css::uno::Any dbaui::OTableDesignCellUndoAct::m_sOldText
private

Definition at line 61 of file TableUndo.hxx.

Referenced by OTableDesignCellUndoAct(), and Undo().


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