LibreOffice Module sw (master) 1
Typedefs | Functions
nodes.cxx File Reference
#include <stdlib.h>
#include <libxml/xmlwriter.h>
#include <osl/diagnose.h>
#include <tools/json_writer.hxx>
#include <LibreOfficeKit/LibreOfficeKitEnums.h>
#include <sfx2/viewsh.hxx>
#include <comphelper/lok.hxx>
#include <node.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <pam.hxx>
#include <txtfld.hxx>
#include <fmtfld.hxx>
#include <numrule.hxx>
#include <ndtxt.hxx>
#include <ndnotxt.hxx>
#include <swtable.hxx>
#include <section.hxx>
#include <ddefld.hxx>
#include <swddetbl.hxx>
#include <txtatr.hxx>
#include <tox.hxx>
#include <fmtrfmrk.hxx>
#include <fmtftn.hxx>
#include <docsh.hxx>
#include <rootfrm.hxx>
#include <txtfrm.hxx>
Include dependency graph for nodes.cxx:

Go to the source code of this file.

Typedefs

typedef std::vector< SwStartNode * > SwStartNodePointers
 

Functions

static sal_uInt16 HighestLevel (SwNodes &rNodes, const SwNodeRange &rRange)
 Calculate the highest level in a range. More...
 
static bool IsInsertOutline (SwNodes const &rNodes, SwNodeOffset const nIndex)
 
static bool lcl_HighestLevel (SwNode *pNode, void *pPara)
 

Typedef Documentation

◆ SwStartNodePointers

typedef std::vector<SwStartNode*> SwStartNodePointers

Definition at line 51 of file nodes.cxx.

Function Documentation

◆ HighestLevel()

sal_uInt16 HighestLevel ( SwNodes rNodes,
const SwNodeRange rRange 
)
static

Calculate the highest level in a range.

Parameters
rNodesthe nodes array
rRangethe range to inspect
Returns
the highest level

Definition at line 1456 of file nodes.cxx.

References SwNodeRange::aEnd, SwNodeRange::aStart, SwNodes::ForEach(), SwNodeIndex::GetNode(), SwNodes::GetSectionLevel(), and lcl_HighestLevel().

Referenced by SwNodes::SectionUp().

◆ IsInsertOutline()

static bool IsInsertOutline ( SwNodes const &  rNodes,
SwNodeOffset const  nIndex 
)
static

◆ lcl_HighestLevel()

static bool lcl_HighestLevel ( SwNode pNode,
void *  pPara 
)
static

Definition at line 1435 of file nodes.cxx.

References SwNode::GetEndNode(), and SwNode::GetStartNode().

Referenced by HighestLevel().