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

#include <TableUndo.hxx>

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

Public Member Functions

 OTableEditorInsUndoAct (OTableEditorCtrl *pOwner, tools::Long nInsertPosition, std::vector< std::shared_ptr< OTableRow > > &&_vInsertedRows)
 
virtual ~OTableEditorInsUndoAct () override
 
- Public Member Functions inherited from dbaui::OTableEditorUndoAct
 OTableEditorUndoAct (OTableEditorCtrl *pOwner, TranslateId pCommentID)
 
virtual ~OTableEditorUndoAct () 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

std::vector< std::shared_ptr< OTableRow > > m_vInsertedRows
 
tools::Long m_nInsPos
 

Additional Inherited Members

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

Detailed Description

Definition at line 96 of file TableUndo.hxx.

Constructor & Destructor Documentation

◆ OTableEditorInsUndoAct()

OTableEditorInsUndoAct::OTableEditorInsUndoAct ( OTableEditorCtrl pOwner,
tools::Long  nInsertPosition,
std::vector< std::shared_ptr< OTableRow > > &&  _vInsertedRows 
)

Definition at line 215 of file TableUndo.cxx.

References pOwner.

◆ ~OTableEditorInsUndoAct()

OTableEditorInsUndoAct::~OTableEditorInsUndoAct ( )
overridevirtual

Definition at line 224 of file TableUndo.cxx.

References m_vInsertedRows.

Member Function Documentation

◆ Redo()

void OTableEditorInsUndoAct::Redo ( )
overrideprivatevirtual

◆ Undo()

void OTableEditorInsUndoAct::Undo ( )
overrideprivatevirtual

Member Data Documentation

◆ m_nInsPos

tools::Long dbaui::OTableEditorInsUndoAct::m_nInsPos
private

Definition at line 99 of file TableUndo.hxx.

Referenced by Redo(), and Undo().

◆ m_vInsertedRows

std::vector< std::shared_ptr<OTableRow> > dbaui::OTableEditorInsUndoAct::m_vInsertedRows
private

Definition at line 98 of file TableUndo.hxx.

Referenced by Redo(), Undo(), and ~OTableEditorInsUndoAct().


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