LibreOffice Module sc (master) 1
|
#include <undotab.hxx>
Public Member Functions | |
ScUndoTabColor (ScDocShell *pNewDocShell, SCTAB nT, const Color &aOTabBgColor, const Color &aNTabBgColor) | |
ScUndoTabColor (ScDocShell *pNewDocShell, ScUndoTabColorInfo::List &&rUndoTabColorList) | |
virtual | ~ScUndoTabColor () 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 bUndoType) const |
Private Attributes | |
ScUndoTabColorInfo::List | aTabColorList |
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 196 of file undotab.hxx.
ScUndoTabColor::ScUndoTabColor | ( | ScDocShell * | pNewDocShell, |
SCTAB | nT, | ||
const Color & | aOTabBgColor, | ||
const Color & | aNTabBgColor | ||
) |
Definition at line 712 of file undotab.cxx.
References aTabColorList, ScUndoTabColorInfo::maNewTabBgColor, and ScUndoTabColorInfo::maOldTabBgColor.
ScUndoTabColor::ScUndoTabColor | ( | ScDocShell * | pNewDocShell, |
ScUndoTabColorInfo::List && | rUndoTabColorList | ||
) |
Definition at line 722 of file undotab.cxx.
|
overridevirtual |
Definition at line 730 of file undotab.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 773 of file undotab.cxx.
|
private |
Definition at line 741 of file undotab.cxx.
References aTabColorList, ScDocShell::GetDocument(), i, ScUndoTabColorInfo::maNewTabBgColor, ScUndoTabColorInfo::maOldTabBgColor, ScUndoTabColorInfo::mnTabId, ScSimpleUndo::pDocShell, ScDocShell::PostPaintExtras(), ScDocShellModificator::SetDocumentModified(), and ScDocument::SetTabBgColor().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 734 of file undotab.cxx.
References aTabColorList, and ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 763 of file undotab.cxx.
References DoChange().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 768 of file undotab.cxx.
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 758 of file undotab.cxx.
References DoChange().
|
private |
Definition at line 217 of file undotab.hxx.
Referenced by DoChange(), GetComment(), and ScUndoTabColor().