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

#include <UndoTable.hxx>

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

Public Member Functions

 SwUndoTextToTable (const SwPaM &, const SwInsertTableOptions &, sal_Unicode, sal_uInt16, const SwTableAutoFormat *pAFormat)
 
virtual ~SwUndoTextToTable () override
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
virtual void RepeatImpl (::sw::RepeatContext &) override
 
SwHistoryGetHistory ()
 
void AddFillBox (const SwTableBox &rBox)
 
- 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
 
- Public Member Functions inherited from SwUndRng
 SwUndRng ()
 
 SwUndRng (const SwPaM &)
 
void SetValues (const SwPaM &rPam)
 
void SetPaM (SwPaM &, bool bCorrToContent=false) const
 
SwPaMAddUndoRedoPaM (::sw::UndoRedoContext &, bool const bCorrToContent=false) const
 

Private Attributes

OUString sTableNm
 
SwInsertTableOptions const aInsTableOpts
 
std::vector< sal_uLongmvDelBoxes
 
std::unique_ptr< SwTableAutoFormatpAutoFormat
 
SwHistorypHistory
 
sal_Unicode const cSeparator
 
sal_uInt16 const nAdjust
 
bool bSplitEnd: 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)
 
- Public Attributes inherited from SwUndRng
sal_uLong m_nSttNode
 
sal_uLong m_nEndNode
 
sal_Int32 m_nSttContent
 
sal_Int32 m_nEndContent
 
- 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 73 of file UndoTable.hxx.

Constructor & Destructor Documentation

SwUndoTextToTable::SwUndoTextToTable ( const SwPaM rRg,
const SwInsertTableOptions rInsTableOpts,
sal_Unicode  cCh,
sal_uInt16  nAdj,
const SwTableAutoFormat pAFormat 
)
SwUndoTextToTable::~SwUndoTextToTable ( )
overridevirtual

Definition at line 707 of file untbl.cxx.

References pAutoFormat.

Member Function Documentation

void SwUndoTextToTable::AddFillBox ( const SwTableBox rBox)

Definition at line 813 of file untbl.cxx.

References SwTableBox::GetSttIdx(), and mvDelBoxes.

Referenced by lcl_BalanceTable().

SwHistory & SwUndoTextToTable::GetHistory ( )

Definition at line 818 of file untbl.cxx.

References pHistory.

Referenced by SwDoc::TextToTable().

void SwUndoTextToTable::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual
void SwUndoTextToTable::RepeatImpl ( ::sw::RepeatContext rContext)
overridevirtual
void SwUndoTextToTable::UndoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual

Member Data Documentation

SwInsertTableOptions const SwUndoTextToTable::aInsTableOpts
private

Definition at line 76 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

bool SwUndoTextToTable::bSplitEnd
private

Definition at line 82 of file UndoTable.hxx.

Referenced by SwUndoTextToTable(), and UndoImpl().

sal_Unicode const SwUndoTextToTable::cSeparator
private

Definition at line 80 of file UndoTable.hxx.

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

std::vector<sal_uLong> SwUndoTextToTable::mvDelBoxes
private

Definition at line 77 of file UndoTable.hxx.

Referenced by AddFillBox(), and UndoImpl().

sal_uInt16 const SwUndoTextToTable::nAdjust
private

Definition at line 81 of file UndoTable.hxx.

Referenced by RedoImpl(), and RepeatImpl().

std::unique_ptr<SwTableAutoFormat> SwUndoTextToTable::pAutoFormat
private

Definition at line 78 of file UndoTable.hxx.

Referenced by RedoImpl(), RepeatImpl(), SwUndoTextToTable(), and ~SwUndoTextToTable().

SwHistory* SwUndoTextToTable::pHistory
private

Definition at line 79 of file UndoTable.hxx.

Referenced by GetHistory(), and UndoImpl().

OUString SwUndoTextToTable::sTableNm
private

Definition at line 75 of file UndoTable.hxx.

Referenced by RedoImpl(), and UndoImpl().


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