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

#include <UndoTable.hxx>

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

Public Member Functions

 SwUndoTableNumFormat (const SwTableBox &rBox, const SfxItemSet *pNewSet=nullptr)
 
virtual ~SwUndoTableNumFormat () override
 
virtual void UndoImpl (::sw::UndoRedoContext &) override
 
virtual void RedoImpl (::sw::UndoRedoContext &) override
 
void SetNumFormat (sal_uLong nNewNumFormatIdx, const double &rNewNumber)
 
void SetBox (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
 

Private Attributes

std::unique_ptr< SfxItemSetm_pBoxSet
 
std::unique_ptr< SwHistorym_pHistory
 
OUString m_aStr
 
OUString m_aNewFormula
 
sal_uLong m_nFormatIdx
 
sal_uLong m_nNewFormatIdx
 
double m_fNum
 
double m_fNewNum
 
sal_uLong m_nNode
 
sal_uLong m_nNodePos
 
bool m_bNewFormat: 1
 
bool m_bNewFormula: 1
 
bool m_bNewValue: 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 &, 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 bCacheComment
 
boost::optional< OUString > maComment
 

Detailed Description

Definition at line 237 of file UndoTable.hxx.

Constructor & Destructor Documentation

SwUndoTableNumFormat::SwUndoTableNumFormat ( const SwTableBox rBox,
const SfxItemSet pNewSet = nullptr 
)
SwUndoTableNumFormat::~SwUndoTableNumFormat ( )
overridevirtual

Definition at line 2118 of file untbl.cxx.

References m_pBoxSet, and m_pHistory.

Member Function Documentation

void SwUndoTableNumFormat::RedoImpl ( ::sw::UndoRedoContext rContext)
overridevirtual
void SwUndoTableNumFormat::SetBox ( const SwTableBox rBox)

Definition at line 2307 of file untbl.cxx.

References SwTableBox::GetSttIdx(), and m_nNode.

void SwUndoTableNumFormat::SetNumFormat ( sal_uLong  nNewNumFormatIdx,
const double &  rNewNumber 
)
inline

Definition at line 260 of file UndoTable.hxx.

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

Member Data Documentation

OUString SwUndoTableNumFormat::m_aNewFormula
private

Definition at line 241 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

OUString SwUndoTableNumFormat::m_aStr
private

Definition at line 241 of file UndoTable.hxx.

Referenced by SwUndoTableNumFormat(), and UndoImpl().

bool SwUndoTableNumFormat::m_bNewFormat
private

Definition at line 248 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

bool SwUndoTableNumFormat::m_bNewFormula
private

Definition at line 249 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

bool SwUndoTableNumFormat::m_bNewValue
private

Definition at line 250 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

double SwUndoTableNumFormat::m_fNewNum
private

Definition at line 244 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

double SwUndoTableNumFormat::m_fNum
private

Definition at line 244 of file UndoTable.hxx.

Referenced by RedoImpl().

sal_uLong SwUndoTableNumFormat::m_nFormatIdx
private

Definition at line 243 of file UndoTable.hxx.

Referenced by RedoImpl().

sal_uLong SwUndoTableNumFormat::m_nNewFormatIdx
private

Definition at line 243 of file UndoTable.hxx.

Referenced by RedoImpl(), and SwUndoTableNumFormat().

sal_uLong SwUndoTableNumFormat::m_nNode
private

Definition at line 245 of file UndoTable.hxx.

Referenced by RedoImpl(), SetBox(), SwUndoTableNumFormat(), and UndoImpl().

sal_uLong SwUndoTableNumFormat::m_nNodePos
private

Definition at line 246 of file UndoTable.hxx.

Referenced by SwUndoTableNumFormat(), and UndoImpl().

std::unique_ptr<SfxItemSet> SwUndoTableNumFormat::m_pBoxSet
private

Definition at line 239 of file UndoTable.hxx.

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

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

Definition at line 240 of file UndoTable.hxx.

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


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