20#ifndef INCLUDED_SW_INC_SWNODENUM_HXX
21#define INCLUDED_SW_INC_SWNODENUM_HXX
63 static void HandleNumberTreeRootNodeDelete(
SwNodeNum& rNodeNum);
79 virtual void PreAdd()
override;
87 static void UnregisterMeAndChildrenDueToRootDelete(
SwNodeNum& rNodeNum);
SwNumRule * GetNumRule() const
SwTextNode *const mpTextNode
SwNodeNum & operator=(const SwNodeNum &)=delete
SwTextNode * GetTextNode() const
SwNodeNum(const SwNodeNum &)=delete
A tree of numbered nodes.
virtual bool IsNotifiable(const SwDoc &rDoc) const =0
Return if this node is notifiable.
virtual bool HasCountedChildren() const =0
virtual void PostRemove()=0
virtual bool IsContinuous() const =0
Return if this node is counted continuous.
virtual bool IsNotificationEnabled(const SwDoc &rDoc) const =0
Return if the notification is not disabled on global conditions.
virtual bool IsCounted() const
Return if this node is counted.
virtual bool IsCountedForNumbering() const =0
virtual bool LessThan(const SwNumberTreeNode &rTreeNode) const
Returns if this node is less than another node.
virtual bool IsRestart() const =0
Return if numbering is restarted at this node.
virtual SwNumberTree::tSwNumTreeNumber GetStartValue() const =0
Return start value.
virtual bool IsCountPhantoms() const =0
Return if phantoms are counted.
virtual void NotifyNode()=0
Notifies the node.
virtual SwNumberTreeNode * Create() const =0
Creates a new node of the same class.
SwTextNode is a paragraph in the document model.
tools::Long tSwNumTreeNumber
Marks a position in the document model.