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

#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, sal_uLong nNdIdx, sal_uLong nEndIdx, sal_Int32 nContentIdx=SAL_MAX_INT32)
 
- Public Member Functions inherited from SwUndo
 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 bool Merge (SfxUndoAction *pNextAction)
 
virtual OUString GetRepeatComment (SfxRepeatTarget &) const
 
const DateTimeGetDateTime () const
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 

Private Attributes

OUString const sTableNm
 
std::unique_ptr< SwDDEFieldTypepDDEFieldType
 
std::unique_ptr< SaveTablepTableSave
 
SwTableToTextSaves m_vBoxSaves
 
std::unique_ptr< SwHistorypHistory
 
sal_uLong nSttNd
 
sal_uLong nEndNd
 
sal_Unicode const cSeparator
 
sal_uInt16 const nHdlnRpt
 
bool 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...
 
- Static Protected Member Functions inherited from SwUndo
static void RemoveIdxFromSection (SwDoc &, sal_uLong nSttIdx, const sal_uLong *pEndIdx=nullptr)
 
static void RemoveIdxFromRange (SwPaM &rPam, bool bMoveNext)
 
static void RemoveIdxRel (sal_uLong, const SwPosition &)
 
static bool CanRedlineGroup (SwRedlineSaveDatas &rCurr, const SwRedlineSaveDatas &rCheck, bool bCurrIsEnd)
 
- Protected Attributes inherited from SwUndo
bool m_bCacheComment
 
boost::optional< OUString > maComment
 

Detailed Description

Definition at line 99 of file UndoTable.hxx.

Constructor & Destructor Documentation

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

Definition at line 437 of file untbl.cxx.

References m_vBoxSaves, pDDEFieldType, pHistory, and pTableSave.

Member Function Documentation

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

Definition at line 685 of file untbl.cxx.

References m_vBoxSaves.

Referenced by lcl_DelBox().

void SwUndoTableToText::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual
void SwUndoTableToText::RepeatImpl ( ::sw::RepeatContext rContext)
overridevirtual
void SwUndoTableToText::SetRange ( const SwNodeRange rRg)

Definition at line 679 of file untbl.cxx.

References SwNodeRange::aEnd, SwNodeRange::aStart, SwNodeIndex::GetIndex(), nEndNd, and nSttNd.

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

Member Data Documentation

bool SwUndoTableToText::bCheckNumFormat
private

Definition at line 109 of file UndoTable.hxx.

Referenced by SwUndoTableToText(), and UndoImpl().

sal_Unicode const SwUndoTableToText::cSeparator
private

Definition at line 107 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

SwTableToTextSaves SwUndoTableToText::m_vBoxSaves
private

Definition at line 104 of file UndoTable.hxx.

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

sal_uLong SwUndoTableToText::nEndNd
private

Definition at line 106 of file UndoTable.hxx.

Referenced by SetRange(), and UndoImpl().

sal_uInt16 const SwUndoTableToText::nHdlnRpt
private

Definition at line 108 of file UndoTable.hxx.

Referenced by UndoImpl().

sal_uLong SwUndoTableToText::nSttNd
private

Definition at line 106 of file UndoTable.hxx.

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

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

Definition at line 102 of file UndoTable.hxx.

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

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

Definition at line 105 of file UndoTable.hxx.

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

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

Definition at line 103 of file UndoTable.hxx.

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

OUString const SwUndoTableToText::sTableNm
private

Definition at line 101 of file UndoTable.hxx.

Referenced by UndoImpl().


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