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

#include <QueryDesignFieldUndoAct.hxx>

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

Public Member Functions

 OTabFieldCellModifiedUndoAct (OSelectionBrowseBox *pSelBrwBox)
 
void SetCellContents (const OUString &str)
 
void SetCellIndex (sal_Int32 nIndex)
 
virtual void Undo () override
 
virtual void Redo () override
 
- Public Member Functions inherited from dbaui::OQueryDesignFieldUndoAct
 OQueryDesignFieldUndoAct (OSelectionBrowseBox *pSelBrwBox, TranslateId pCommentID)
 
virtual ~OQueryDesignFieldUndoAct () override
 
void SetColumnPosition (sal_uInt16 _nColumnPosition)
 
- 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 Attributes

OUString m_strNextCellContents
 
sal_Int32 m_nCellIndex
 

Additional Inherited Members

virtual void Undo () override=0
 
virtual void Redo () override=0
 
- Protected Attributes inherited from dbaui::OQueryDesignFieldUndoAct
VclPtr< OSelectionBrowseBoxpOwner
 
sal_uInt16 m_nColumnPosition
 

Detailed Description

Definition at line 53 of file QueryDesignFieldUndoAct.hxx.

Constructor & Destructor Documentation

◆ OTabFieldCellModifiedUndoAct()

dbaui::OTabFieldCellModifiedUndoAct::OTabFieldCellModifiedUndoAct ( OSelectionBrowseBox pSelBrwBox)
inlineexplicit

Definition at line 59 of file QueryDesignFieldUndoAct.hxx.

References BROWSER_INVALIDID.

Member Function Documentation

◆ Redo()

virtual void dbaui::OTabFieldCellModifiedUndoAct::Redo ( )
inlineoverridevirtual

Implements dbaui::OQueryDesignFieldUndoAct.

Definition at line 67 of file QueryDesignFieldUndoAct.hxx.

References Undo().

◆ SetCellContents()

void dbaui::OTabFieldCellModifiedUndoAct::SetCellContents ( const OUString &  str)
inline

Definition at line 63 of file QueryDesignFieldUndoAct.hxx.

References m_strNextCellContents.

◆ SetCellIndex()

void dbaui::OTabFieldCellModifiedUndoAct::SetCellIndex ( sal_Int32  nIndex)
inline

Definition at line 64 of file QueryDesignFieldUndoAct.hxx.

References m_nCellIndex, and nIndex.

◆ Undo()

void OTabFieldCellModifiedUndoAct::Undo ( )
overridevirtual

Member Data Documentation

◆ m_nCellIndex

sal_Int32 dbaui::OTabFieldCellModifiedUndoAct::m_nCellIndex
private

Definition at line 56 of file QueryDesignFieldUndoAct.hxx.

Referenced by SetCellIndex(), and Undo().

◆ m_strNextCellContents

OUString dbaui::OTabFieldCellModifiedUndoAct::m_strNextCellContents
private

Definition at line 55 of file QueryDesignFieldUndoAct.hxx.

Referenced by SetCellContents(), and Undo().


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