LibreOffice Module sw (master) 1
Private Member Functions | Friends | List of all members
SwEndNode Class Referencefinal

Ends a section of nodes in the document model. More...

#include <node.hxx>

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

Private Member Functions

 SwEndNode (SwNodes &rNodes, SwNodeOffset nPos, SwStartNode &rSttNd)
 for the initial StartNode More...
 
 SwEndNode (const SwNode &rWhere, SwStartNode &rSttNd)
 Insert a node into the array. More...
 
 SwEndNode (const SwEndNode &rNode)=delete
 
SwEndNodeoperator= (const SwEndNode &rNode)=delete
 

Friends

class SwNodes
 
class SwTableNode
 To enable creation of its EndNote. More...
 
class SwSectionNode
 To enable creation of its EndNote. More...
 

Additional Inherited Members

- Public Types inherited from SwNode
enum class  Merge {
  None ,
  First ,
  NonFirst ,
  Hidden
}
 sw_redlinehide: redline node merge state More...
 
- Public Member Functions inherited from SwNode
bool IsCreateFrameWhenHidingRedlines () const
 
void SetRedlineMergeFlag (Merge const eMerge)
 
Merge GetRedlineMergeFlag () const
 
virtual ~SwNode () override=0
 the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More...
 
tools::Long GetSerial () const
 
sal_uInt16 GetSectionLevel () const
 Returns the section level at the position given by aIndex. More...
 
SwNodeOffset StartOfSectionIndex () const
 
const SwStartNodeStartOfSectionNode () const
 
SwStartNodeStartOfSectionNode ()
 
SwNodeOffset EndOfSectionIndex () const
 
const SwEndNodeEndOfSectionNode () const
 
SwEndNodeEndOfSectionNode ()
 
sal_uInt8 GetAutoFormatLvl () const
 
void SetAutoFormatLvl (sal_uInt8 nVal)
 
bool IsIgnoreDontExpand () const
 
void SetIgnoreDontExpand (bool bNew)
 
SwNodeType GetNodeType () const
 
SwStartNodeGetStartNode ()
 
const SwStartNodeGetStartNode () const
 
SwContentNodeGetContentNode ()
 
const SwContentNodeGetContentNode () const
 
SwEndNodeGetEndNode ()
 
const SwEndNodeGetEndNode () const
 
SwTextNodeGetTextNode ()
 Inline methods from Node.hxx. More...
 
const SwTextNodeGetTextNode () const
 
SwOLENodeGetOLENode ()
 Inline methods from Node.hxx. More...
 
const SwOLENodeGetOLENode () const
 
SwNoTextNodeGetNoTextNode ()
 
const SwNoTextNodeGetNoTextNode () const
 
SwGrfNodeGetGrfNode ()
 
const SwGrfNodeGetGrfNode () const
 
SwTableNodeGetTableNode ()
 
const SwTableNodeGetTableNode () const
 
SwSectionNodeGetSectionNode ()
 
const SwSectionNodeGetSectionNode () const
 
bool IsStartNode () const
 
bool IsContentNode () const
 
bool IsEndNode () const
 
bool IsTextNode () const
 
bool IsTableNode () const
 
bool IsSectionNode () const
 
bool IsOLENode () const
 
bool IsNoTextNode () const
 
bool IsGrfNode () const
 
bool IsInRedlines () const
 Checks if this node is in redlines. More...
 
SwTableNodeFindTableNode ()
 Search table node, in which it is. More...
 
const SwTableNodeFindTableNode () const
 
SwSectionNodeFindSectionNode ()
 Search section node, in which it is. More...
 
const SwSectionNodeFindSectionNode () const
 
SwStartNodeFindSttNodeByType (SwStartNodeType eTyp)
 
const SwStartNodeFindSttNodeByType (SwStartNodeType eTyp) const
 
const SwStartNodeFindTableBoxStartNode () const
 
const SwStartNodeFindFlyStartNode () const
 
const SwStartNodeFindFootnoteStartNode () const
 
const SwStartNodeFindHeaderStartNode () const
 
const SwStartNodeFindFooterStartNode () const
 
SwNodesGetNodes ()
 Node is in which nodes-array/doc? More...
 
const SwNodesGetNodes () const
 
SwDocGetDoc ()
 
const SwDocGetDoc () const
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 Provides access to the document setting interface. More...
 
const IDocumentDeviceAccessgetIDocumentDeviceAccess () const
 Provides access to the document device interface. More...
 
const IDocumentMarkAccessgetIDocumentMarkAccess () const
 Provides access to the document bookmark interface. More...
 
const IDocumentRedlineAccessgetIDocumentRedlineAccess () const
 Provides access to the document redline interface. More...
 
const IDocumentStylePoolAccessgetIDocumentStylePoolAccess () const
 Provides access to the document style pool interface. More...
 
const IDocumentDrawModelAccessgetIDocumentDrawModelAccess () const
 Provides access to the document draw model interface. More...
 
const IDocumentLayoutAccessgetIDocumentLayoutAccess () const
 Provides access to the document layout interface. More...
 
IDocumentLayoutAccessgetIDocumentLayoutAccess ()
 
const IDocumentLinksAdministrationgetIDocumentLinksAdministration () const
 Provides access to the document links administration interface. More...
 
IDocumentLinksAdministrationgetIDocumentLinksAdministration ()
 
const IDocumentFieldsAccessgetIDocumentFieldsAccess () const
 Provides access to the document fields administration interface. More...
 
IDocumentFieldsAccessgetIDocumentFieldsAccess ()
 
IDocumentContentOperationsgetIDocumentContentOperations ()
 Provides access to the document content operations interface. More...
 
IStyleAccessgetIDocumentStyleAccess ()
 Provides access to the document automatic styles interface. More...
 
IDocumentListItemsgetIDocumentListItems ()
 Provides access to the document's numbered items interface. More...
 
bool IsInVisibleArea (SwViewShell const *pSh) const
 Is node in the visible area of the Shell? More...
 
bool IsInProtectSect () const
 Is node in a protected area? More...
 
bool IsProtect () const
 Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? More...
 
const SwPageDescFindPageDesc (SwNodeOffset *pPgDescNdIdx=nullptr) const
 Search PageDesc with which this node is formatted. More...
 
SwFrameFormatGetFlyFormat () const
 If node is in a fly return the respective format. More...
 
SwTableBoxGetTableBox () const
 If node is in a table return the respective table box. More...
 
SwNodeOffset GetIndex () const
 
const SwTextNodeFindOutlineNodeOfLevel (sal_uInt8 nLvl, SwRootFrame const *pLayout=nullptr) const
 
sal_uInt8 HasPrevNextLayNode () const
 
std::vector< SwFrameFormat * > const & GetAnchoredFlys () const
 
void AddAnchoredFly (SwFrameFormat *)
 
void RemoveAnchoredFly (SwFrameFormat *)
 
virtual void dumpAsXml (xmlTextWriterPtr pWriter) const
 Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More...
 
bool operator== (const SwNode &rOther) const
 
bool operator!= (const SwNode &rOther) const
 
bool operator< (const SwNode &rOther) const
 
bool operator<= (const SwNode &rOther) const
 
bool operator> (const SwNode &rOther) const
 
bool operator>= (const SwNode &rOther) const
 
sw::AccessibilityCheckStatusgetAccessibilityCheckStatus ()
 
void resetAndQueueAccessibilityCheck ()
 
- Public Member Functions inherited from sw::BorderCacheOwner
 BorderCacheOwner ()
 
 BorderCacheOwner (BorderCacheOwner &)
 
BorderCacheOwneroperator= (const BorderCacheOwner &)
 
 ~BorderCacheOwner ()
 
bool IsInCache () const
 
void InvalidateInSwCache (const sal_uInt16)
 
- Protected Member Functions inherited from SwNode
 SwNode ()
 only used by SwContentNodeTmp in SwTextNode::Update More...
 
 SwNode (const SwNode &rWhere, const SwNodeType nNodeId)
 
 SwNode (SwNodes &rNodes, SwNodeOffset nPos, const SwNodeType nNodeId)
 for the initial StartNode More...
 
- Protected Attributes inherited from SwNode
SwStartNodem_pStartOfSection
 

Detailed Description

Ends a section of nodes in the document model.

Definition at line 377 of file node.hxx.

Constructor & Destructor Documentation

◆ SwEndNode() [1/3]

SwEndNode::SwEndNode ( SwNodes rNodes,
SwNodeOffset  nPos,
SwStartNode rSttNd 
)
private

for the initial StartNode

Definition at line 1072 of file node.cxx.

References End, SwStartNode::m_pEndOfSection, SwNode::m_pStartOfSection, and nPos.

◆ SwEndNode() [2/3]

SwEndNode::SwEndNode ( const SwNode rWhere,
SwStartNode rSttNd 
)
private

Insert a node into the array.

The StartOfSection pointer is set to the given node.

The EndOfSection pointer of the corresponding start node is set to this node.

Parameters
rWhereposition where the node should be inserted
rSttNdthe start note of the section

Definition at line 1065 of file node.cxx.

References End, SwStartNode::m_pEndOfSection, and SwNode::m_pStartOfSection.

◆ SwEndNode() [3/3]

SwEndNode::SwEndNode ( const SwEndNode rNode)
privatedelete

Member Function Documentation

◆ operator=()

SwEndNode & SwEndNode::operator= ( const SwEndNode rNode)
privatedelete

Friends And Related Function Documentation

◆ SwNodes

friend class SwNodes
friend

Definition at line 379 of file node.hxx.

◆ SwSectionNode

friend class SwSectionNode
friend

To enable creation of its EndNote.

Definition at line 381 of file node.hxx.

◆ SwTableNode

friend class SwTableNode
friend

To enable creation of its EndNote.

Definition at line 380 of file node.hxx.


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