LibreOffice Module sw (master) 1
Public Member Functions | Private Attributes | List of all members
SwUndoTableToText Class Referencefinal

#include <UndoTable.hxx>

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

Public Member Functions

 SwUndoTableToText (const SwTable &rTable, sal_Unicode cCh)
 
virtual ~SwUndoTableToText () override
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
virtual void RepeatImpl (::sw::RepeatContext &) override
 
void SetRange (const SwNodeRange &)
 
void AddBoxPos (SwDoc &rDoc, SwNodeOffset nNdIdx, SwNodeOffset nEndIdx, sal_Int32 nContentIdx=SAL_MAX_INT32)
 
- Public Member Functions inherited from SwUndo
virtual void UndoImpl (::sw::UndoRedoContext &)=0
 
virtual void RedoImpl (::sw::UndoRedoContext &)=0
 
 SwUndo (SwUndoId const nId, const SwDoc *pDoc)
 
virtual ~SwUndo () override
 
SwUndoId GetId () const
 
virtual OUString GetComment () const override
 Returns textual comment for this undo object. More...
 
ViewShellId GetViewShellId () const override
 See SfxUndoAction::GetViewShellId(). More...
 
RedlineFlags GetRedlineFlags () const
 
void SetRedlineFlags (RedlineFlags eMode)
 
bool IsDelBox () const
 
void IgnoreRepeat ()
 
- 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 Attributes

OUString m_sTableName
 
std::unique_ptr< SwDDEFieldTypem_pDDEFieldType
 
std::unique_ptr< SaveTablem_pTableSave
 
SwTableToTextSaves m_vBoxSaves
 
std::unique_ptr< SwHistorym_pHistory
 
SwNodeOffset m_nStartNode
 
SwNodeOffset m_nEndNode
 
sal_Unicode m_cSeparator
 
sal_uInt16 m_nHeadlineRepeat
 
bool m_bCheckNumFormat: 1
 

Additional Inherited Members

- Static Public Member Functions inherited from SwUndo
static bool FillSaveData (const SwPaM &rRange, SwRedlineSaveDatas &rSData, bool bDelRange=true, bool bCopyNext=true)
 
static bool FillSaveDataForFormat (const SwPaM &, SwRedlineSaveDatas &)
 
static void SetSaveData (SwDoc &rDoc, SwRedlineSaveDatas &rSData)
 
static bool HasHiddenRedlines (const SwRedlineSaveDatas &rSData)
 
- Protected Member Functions inherited from SwUndo
virtual SwRewriter GetRewriter () const
 Returns the rewriter for this object. More...
 
virtual void RepeatImpl (::sw::RepeatContext &)
 
- Static Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, SwNodeOffset nSttIdx, const SwNodeOffset *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (SwNodeOffset, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
std::optional< OUString > maComment
 

Detailed Description

Definition at line 110 of file UndoTable.hxx.

Constructor & Destructor Documentation

◆ SwUndoTableToText()

SwUndoTableToText::SwUndoTableToText ( const SwTable rTable,
sal_Unicode  cCh 
)

◆ ~SwUndoTableToText()

SwUndoTableToText::~SwUndoTableToText ( )
overridevirtual

Definition at line 457 of file untbl.cxx.

References m_pDDEFieldType, m_pHistory, m_pTableSave, and m_vBoxSaves.

Member Function Documentation

◆ AddBoxPos()

void SwUndoTableToText::AddBoxPos ( SwDoc rDoc,
SwNodeOffset  nNdIdx,
SwNodeOffset  nEndIdx,
sal_Int32  nContentIdx = SAL_MAX_INT32 
)

Definition at line 705 of file untbl.cxx.

References m_vBoxSaves.

◆ RedoImpl()

void SwUndoTableToText::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

◆ RepeatImpl()

void SwUndoTableToText::RepeatImpl ( ::sw::RepeatContext rContext)
overridevirtual

◆ SetRange()

void SwUndoTableToText::SetRange ( const SwNodeRange rRg)

◆ UndoImpl()

void SwUndoTableToText::UndoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Member Data Documentation

◆ m_bCheckNumFormat

bool SwUndoTableToText::m_bCheckNumFormat
private

Definition at line 120 of file UndoTable.hxx.

Referenced by SwUndoTableToText(), and UndoImpl().

◆ m_cSeparator

sal_Unicode SwUndoTableToText::m_cSeparator
private

Definition at line 118 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

◆ m_nEndNode

SwNodeOffset SwUndoTableToText::m_nEndNode
private

Definition at line 117 of file UndoTable.hxx.

Referenced by SetRange(), and UndoImpl().

◆ m_nHeadlineRepeat

sal_uInt16 SwUndoTableToText::m_nHeadlineRepeat
private

Definition at line 119 of file UndoTable.hxx.

Referenced by UndoImpl().

◆ m_nStartNode

SwNodeOffset SwUndoTableToText::m_nStartNode
private

Definition at line 117 of file UndoTable.hxx.

Referenced by RedoImpl(), SetRange(), and UndoImpl().

◆ m_pDDEFieldType

std::unique_ptr<SwDDEFieldType> SwUndoTableToText::m_pDDEFieldType
private

Definition at line 113 of file UndoTable.hxx.

Referenced by RedoImpl(), SwUndoTableToText(), UndoImpl(), and ~SwUndoTableToText().

◆ m_pHistory

std::unique_ptr<SwHistory> SwUndoTableToText::m_pHistory
private

Definition at line 116 of file UndoTable.hxx.

Referenced by SwUndoTableToText(), UndoImpl(), and ~SwUndoTableToText().

◆ m_pTableSave

std::unique_ptr<SaveTable> SwUndoTableToText::m_pTableSave
private

Definition at line 114 of file UndoTable.hxx.

Referenced by SwUndoTableToText(), UndoImpl(), and ~SwUndoTableToText().

◆ m_sTableName

OUString SwUndoTableToText::m_sTableName
private

Definition at line 112 of file UndoTable.hxx.

Referenced by UndoImpl().

◆ m_vBoxSaves

SwTableToTextSaves SwUndoTableToText::m_vBoxSaves
private

Definition at line 115 of file UndoTable.hxx.

Referenced by AddBoxPos(), SwUndoTableToText(), UndoImpl(), and ~SwUndoTableToText().


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