LibreOffice Module sc (master) 1
|
#include <undocell.hxx>
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... | |
virtual std::optional< ScRange > | getAffectedRange () const |
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 DateTime & | GetDateTime () 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 | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 190 of file undocell.hxx.
ScUndoPrintZoom::ScUndoPrintZoom | ( | ScDocShell * | pNewDocShell, |
SCTAB | nT, | ||
sal_uInt16 | nOS, | ||
sal_uInt16 | nOP, | ||
sal_uInt16 | nNS, | ||
sal_uInt16 | nNP | ||
) |
Definition at line 580 of file undocell.cxx.
|
overridevirtual |
Definition at line 591 of file undocell.cxx.
|
overridevirtual |
|
private |
Definition at line 600 of file undocell.cxx.
References ATTR_PAGE_SCALE(), ATTR_PAGE_SCALETOPAGES(), SfxStyleSheetBasePool::Find(), ScDocShell::GetDocument(), SfxStyleSheetBase::GetItemSet(), ScDocument::GetPageStyle(), ScDocShell::GetPrinter(), ScDocument::GetStyleSheetPool(), nNewPages, nNewScale, nOldPages, nOldScale, nTab, ScSimpleUndo::pDocShell, SfxItemSet::Put(), rSet, and ScPrintFunc::UpdatePages().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 595 of file undocell.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 628 of file undocell.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 635 of file undocell.cxx.
References ScViewData::GetDocShell(), ScViewData::GetTabNo(), ScTabView::GetViewData(), SfxShell::GetViewShell(), nNewPages, nNewScale, rTarget, and ScDocShell::SetPrintZoom().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 621 of file undocell.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 209 of file undocell.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 208 of file undocell.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 207 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 206 of file undocell.hxx.
Referenced by DoChange().
|
private |
Definition at line 205 of file undocell.hxx.
Referenced by DoChange().