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

#include <undocell.hxx>

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

Public Member Functions

 ScUndoPrintZoom (ScDocShell *pNewDocShell, SCTAB nT, sal_uInt16 nOS, sal_uInt16 nOP, sal_uInt16 nNS, sal_uInt16 nNP)
 
virtual ~ScUndoPrintZoom () override
 
virtual void Undo () override
 
virtual void Redo () override
 
virtual void Repeat (SfxRepeatTarget &rTarget) override
 
virtual bool CanRepeat (SfxRepeatTarget &rTarget) const override
 
virtual OUString GetComment () const override
 
- Public Member Functions inherited from ScSimpleUndo
 ScSimpleUndo (ScDocShell *pDocSh)
 
virtual bool Merge (SfxUndoAction *pNextAction) override
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
- Public Member Functions inherited from SfxUndoAction
 SfxUndoAction ()
 
virtual ~SfxUndoAction () COVERITY_NOEXCEPT_FALSE
 
virtual void UndoWithContext (SfxUndoContext &i_context)
 
virtual void RedoWithContext (SfxUndoContext &i_context)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void DoChange (bool bUndo)
 

Private Attributes

SCTAB nTab
 
sal_uInt16 nOldScale
 
sal_uInt16 nOldPages
 
sal_uInt16 nNewScale
 
sal_uInt16 nNewPages
 

Additional Inherited Members

- Public Types inherited from ScSimpleUndo
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > DataSpansType
 
- Protected Member Functions inherited from ScSimpleUndo
bool IsPaintLocked () const
 
bool SetViewMarkData (const ScMarkData &rMarkData)
 
void BeginUndo ()
 
void EndUndo ()
 
void BeginRedo ()
 
void EndRedo ()
 
void BroadcastChanges (const ScRange &rRange)
 
void BroadcastChanges (const DataSpansType &rSpans)
 Broadcast changes on specified spans. More...
 
- Static Protected Member Functions inherited from ScSimpleUndo
static void ShowTable (SCTAB nTab)
 
static void ShowTable (const ScRange &rRange)
 
- Protected Attributes inherited from ScSimpleUndo
ScDocShellpDocShell
 
std::unique_ptr< SfxUndoActionpDetectiveUndo
 
ViewShellId mnViewShellId
 

Detailed Description

Definition at line 185 of file undocell.hxx.

Constructor & Destructor Documentation

ScUndoPrintZoom::ScUndoPrintZoom ( ScDocShell pNewDocShell,
SCTAB  nT,
sal_uInt16  nOS,
sal_uInt16  nOP,
sal_uInt16  nNS,
sal_uInt16  nNP 
)

Definition at line 570 of file undocell.cxx.

ScUndoPrintZoom::~ScUndoPrintZoom ( )
overridevirtual

Definition at line 581 of file undocell.cxx.

Member Function Documentation

bool ScUndoPrintZoom::CanRepeat ( SfxRepeatTarget rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 635 of file undocell.cxx.

void ScUndoPrintZoom::DoChange ( bool  bUndo)
private
OUString ScUndoPrintZoom::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 585 of file undocell.cxx.

References ScResId().

void ScUndoPrintZoom::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 618 of file undocell.cxx.

References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().

void ScUndoPrintZoom::Repeat ( SfxRepeatTarget rTarget)
overridevirtual
void ScUndoPrintZoom::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 611 of file undocell.cxx.

References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().

Member Data Documentation

sal_uInt16 ScUndoPrintZoom::nNewPages
private

Definition at line 204 of file undocell.hxx.

Referenced by DoChange(), and Repeat().

sal_uInt16 ScUndoPrintZoom::nNewScale
private

Definition at line 203 of file undocell.hxx.

Referenced by DoChange(), and Repeat().

sal_uInt16 ScUndoPrintZoom::nOldPages
private

Definition at line 202 of file undocell.hxx.

Referenced by DoChange().

sal_uInt16 ScUndoPrintZoom::nOldScale
private

Definition at line 201 of file undocell.hxx.

Referenced by DoChange().

SCTAB ScUndoPrintZoom::nTab
private

Definition at line 200 of file undocell.hxx.

Referenced by DoChange().


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