42 , m_nNodeIndex(GetSectionNodeIndex(rTOX))
static SwTOXBase & GetTOX(SwDoc &rDoc, SwNodeOffset const nNodeIndex)
static SwTOXBase * GetCurTOX(const SwPosition &rPos)
Get current table of contents.
void ChangeTOX(SwTOXBase &rTOX, const SwTOXBase &rNew)
SwNodeOffset GetIndex() const
const SwPosition * GetPoint() const
A section node represents the start of a section on the UI, i.e.
const SwSection & GetSection() const
SwSectionFormat * GetFormat()
virtual void RepeatImpl(::sw::RepeatContext &) override
virtual void UndoImpl(::sw::UndoRedoContext &) override
virtual ~SwUndoTOXChange() override
SwNodeOffset const m_nNodeIndex
SwUndoTOXChange(const SwDoc &rDoc, SwTOXBaseSection const &rTOX, const SwTOXBase &rNew)
virtual void RedoImpl(::sw::UndoRedoContext &) override