SmFormatAction Class Reference

#include <action.hxx>

Collaboration diagram for SmFormatAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 SmFormatAction (SmDocShell *pDocSh, const SmFormat &rOldFormat, const SmFormat &rNewFormat)
virtual void Undo ()
virtual void Redo ()
virtual void Repeat (SfxRepeatTarget &rDocSh)
virtual UniString GetComment () const

Private Attributes

SmDocShellpDoc
SmFormat aOldFormat
SmFormat aNewFormat

Detailed Description

Definition at line 49 of file action.hxx.


Constructor & Destructor Documentation

SmFormatAction::SmFormatAction ( SmDocShell pDocSh,
const SmFormat rOldFormat,
const SmFormat rNewFormat 
)

Definition at line 46 of file action.cxx.


Member Function Documentation

void SmFormatAction::Undo (  )  [virtual]

Definition at line 55 of file action.cxx.

References aOldFormat, pDoc, and SmDocShell::SetFormat().

void SmFormatAction::Redo (  )  [virtual]

Definition at line 60 of file action.cxx.

References aNewFormat, pDoc, and SmDocShell::SetFormat().

void SmFormatAction::Repeat ( SfxRepeatTarget &  rDocSh  )  [virtual]

Definition at line 65 of file action.cxx.

References aNewFormat.

UniString SmFormatAction::GetComment (  )  const [virtual]

Definition at line 70 of file action.cxx.


Member Data Documentation

SmDocShell* SmFormatAction::pDoc [private]

Definition at line 51 of file action.hxx.

Referenced by Redo(), and Undo().

SmFormat SmFormatAction::aOldFormat [private]

Definition at line 52 of file action.hxx.

Referenced by Undo().

SmFormat SmFormatAction::aNewFormat [private]

Definition at line 53 of file action.hxx.

Referenced by Redo(), and Repeat().


The documentation for this class was generated from the following files:
Generated on Wed Feb 20 17:23:17 2008 for maths by  doxygen 1.5.1