LibreOffice Module sc (master) 1
|
#include <undoblk.hxx>
Public Member Functions | |
ScUndoSelectionStyle (ScDocShell *pNewDocShell, const ScMarkData &rMark, const ScRange &rRange, OUString aName, ScDocumentUniquePtr pNewUndoDoc) | |
virtual | ~ScUndoSelectionStyle () 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 (const bool bUndo) |
Private Attributes | |
ScMarkData | aMarkData |
ScDocumentUniquePtr | pUndoDoc |
OUString | aStyleName |
ScRange | aRange |
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 682 of file undoblk.hxx.
ScUndoSelectionStyle::ScUndoSelectionStyle | ( | ScDocShell * | pNewDocShell, |
const ScMarkData & | rMark, | ||
const ScRange & | rRange, | ||
OUString | aName, | ||
ScDocumentUniquePtr | pNewUndoDoc | ||
) |
Definition at line 1792 of file undoblk.cxx.
References aMarkData, aName, and ScMarkData::MarkToMulti().
|
overridevirtual |
Definition at line 1806 of file undoblk.cxx.
|
overridevirtual |
|
private |
Definition at line 1815 of file undoblk.cxx.
References ScViewFunc::AdjustBlockHeight(), ScRange::aEnd, aMarkData, ScDocument::ApplySelectionStyle(), aRange, ScRange::aStart, aStyleName, ATTRIB, ScDocument::ExtendMerge(), Extras, SfxStyleSheetBasePool::Find(), ScTabViewShell::GetActiveViewShell(), ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), ScDocument::GetTableCount(), Grid, ScDocument::HasAttrib(), Merged, ScSimpleUndo::pDocShell, ScDocShell::PostPaint(), pUndoDoc, ScAddress::SetTab(), ScSimpleUndo::SetViewMarkData(), ScSimpleUndo::ShowTable(), ScAddress::Tab(), and ScDocShell::UpdatePaintExt().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1810 of file undoblk.cxx.
References ScResId().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1865 of file undoblk.cxx.
References ScSimpleUndo::BeginRedo(), DoChange(), and ScSimpleUndo::EndRedo().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1872 of file undoblk.cxx.
References aStyleName, ScDocShell::GetDocument(), ScDocument::GetStyleSheetPool(), ScSimpleUndo::pDocShell, rTarget, and ScViewFunc::SetStyleSheetToMarked().
|
overridevirtual |
Reimplemented from SfxUndoAction.
Definition at line 1858 of file undoblk.cxx.
References ScSimpleUndo::BeginUndo(), DoChange(), and ScSimpleUndo::EndUndo().
|
private |
Definition at line 700 of file undoblk.hxx.
Referenced by DoChange(), and ScUndoSelectionStyle().
|
private |
Definition at line 704 of file undoblk.hxx.
Referenced by DoChange().
|
private |
Definition at line 703 of file undoblk.hxx.
Referenced by DoChange(), and Repeat().
|
private |
Definition at line 702 of file undoblk.hxx.
Referenced by DoChange().