LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoAutoFormat (ScDocShell *pNewDocShell, const ScRange &rRange, ScDocumentUniquePtr pNewUndoDoc, const ScMarkData &rMark, bool bNewSize, sal_uInt16 nNewFormatNo) | |
virtual | ~ScUndoAutoFormat () 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 ScBlockUndo | |
ScBlockUndo (ScDocShell *pDocSh, const ScRange &rRange, ScBlockUndoMode eBlockMode) | |
virtual | ~ScBlockUndo () override |
virtual std::optional< ScRange > | getAffectedRange () 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 Attributes | |
ScDocumentUniquePtr | pUndoDoc |
ScMarkData | aMarkData |
bool | bSize |
sal_uInt16 | nFormatNo |
Additional Inherited Members | |
Public Types inherited from ScSimpleUndo | |
typedef std::map< SCTAB, std::unique_ptr< sc::ColumnSpanSet > > | DataSpansType |
Protected Member Functions inherited from ScBlockUndo | |
void | BeginUndo () |
void | EndUndo () |
void | EndRedo () |
bool | AdjustHeight () |
void | ShowBlock () |
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 ScBlockUndo | |
ScRange | aBlockRange |
std::unique_ptr< SdrUndoAction > | pDrawUndo |
ScBlockUndoMode | eMode |
Protected Attributes inherited from ScSimpleUndo | |
ScDocShell * | pDocShell |
std::unique_ptr< SfxUndoAction > | pDetectiveUndo |
ViewShellId | mnViewShellId |
Definition at line 451 of file undoblk.hxx.
ScUndoAutoFormat::ScUndoAutoFormat | ( | ScDocShell * | pNewDocShell, |
const ScRange & | rRange, | ||
ScDocumentUniquePtr | pNewUndoDoc, | ||
const ScMarkData & | rMark, | ||
bool | bNewSize, | ||
sal_uInt16 | nNewFormatNo | ||
) |
Definition at line 768 of file undoblk3.cxx.
|
overridevirtual |
Definition at line 779 of file undoblk3.cxx.
|
overridevirtual |
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 783 of file undoblk3.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 826 of file undoblk3.cxx.
References ScBlockUndo::aBlockRange, ScRange::aEnd, aMarkData, ScRange::aStart, ScDocument::AutoFormat(), ScSimpleUndo::BeginRedo(), bSize, ScAddress::Col(), ScDocument::ColHidden(), ScBlockUndo::EndRedo(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScDocument::GetOptimalColWidth(), ScViewData::GetPPTX(), ScViewData::GetPPTY(), ScDocument::GetRowFlags(), ScDocument::GetSheetLimits(), ScTabView::GetViewData(), ScViewData::GetZoomX(), ScViewData::GetZoomY(), Grid, Left, ManualSize, ScMarkData::MarkToMulti(), ScDocument::MaxCol(), ScDocument::MaxRow(), nFormatNo, nPPTX, nPPTY, ScGlobal::nScreenPPTX, ScGlobal::nScreenPPTY, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), ScAddress::Row(), ScDocument::RowHidden(), SC_PF_LINES, ScMarkData::SelectOneTable(), ScDocument::SetColWidth(), ScDocument::SetDrawPageSize(), ScMarkData::SetMarkArea(), ScDocument::SetOptimalHeight(), ScDocument::SetRowFlags(), ScDocument::ShowCol(), STD_EXTRA_WIDTH, ScAddress::Tab(), and Top.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 907 of file undoblk3.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 788 of file undoblk3.cxx.
References ScBlockUndo::aBlockRange, ScRange::aEnd, aMarkData, ScRange::aStart, ATTRIB, ScBlockUndo::BeginUndo(), bSize, ScAddress::Col(), ScDocument::DeleteArea(), ScBlockUndo::EndUndo(), ScDocShell::GetDocument(), ScDocument::GetTableCount(), Grid, Left, ScDocument::MaxCol(), ScDocument::MaxRow(), NONE, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), pUndoDoc, ScAddress::Row(), SC_PF_LINES, ScAddress::SetTab(), ScAddress::Tab(), and Top.
|
private |
Definition at line 470 of file undoblk.hxx.
|
private |
Definition at line 471 of file undoblk.hxx.
|
private |
Definition at line 472 of file undoblk.hxx.
|
private |
Definition at line 469 of file undoblk.hxx.
Referenced by Undo().