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

#include <undotab.hxx>

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

Public Member Functions

 ScUndoLayoutRTL (ScDocShell *pShell, SCTAB nNewTab, bool bNewRTL)
 
virtual ~ScUndoLayoutRTL () 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< ScRangegetAffectedRange () 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 DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Member Functions

void DoChange (bool bNew)
 

Private Attributes

SCTAB nTab
 
bool bRTL
 

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 451 of file undotab.hxx.

Constructor & Destructor Documentation

◆ ScUndoLayoutRTL()

ScUndoLayoutRTL::ScUndoLayoutRTL ( ScDocShell pShell,
SCTAB  nNewTab,
bool  bNewRTL 
)

Definition at line 1516 of file undotab.cxx.

◆ ~ScUndoLayoutRTL()

ScUndoLayoutRTL::~ScUndoLayoutRTL ( )
overridevirtual

Definition at line 1523 of file undotab.cxx.

Member Function Documentation

◆ CanRepeat()

bool ScUndoLayoutRTL::CanRepeat ( SfxRepeatTarget &  rTarget) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1560 of file undotab.cxx.

References rTarget.

◆ DoChange()

void ScUndoLayoutRTL::DoChange ( bool  bNew)
private

◆ GetComment()

OUString ScUndoLayoutRTL::GetComment ( ) const
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1565 of file undotab.cxx.

References ScResId().

◆ Redo()

void ScUndoLayoutRTL::Redo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1548 of file undotab.cxx.

References bRTL, and DoChange().

◆ Repeat()

void ScUndoLayoutRTL::Repeat ( SfxRepeatTarget &  rTarget)
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1553 of file undotab.cxx.

References Execute(), and rTarget.

◆ Undo()

void ScUndoLayoutRTL::Undo ( )
overridevirtual

Reimplemented from SfxUndoAction.

Definition at line 1543 of file undotab.cxx.

References bRTL, and DoChange().

Member Data Documentation

◆ bRTL

bool ScUndoLayoutRTL::bRTL
private

Definition at line 466 of file undotab.hxx.

Referenced by Redo(), and Undo().

◆ nTab

SCTAB ScUndoLayoutRTL::nTab
private

Definition at line 465 of file undotab.hxx.

Referenced by DoChange().


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