LibreOffice Module sw (master) 1
Namespaces | Functions
docnum.cxx File Reference
#include <hintids.hxx>
#include <ftninfo.hxx>
#include <ftnidx.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentListsAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentState.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <poolfmt.hxx>
#include <UndoCore.hxx>
#include <UndoRedline.hxx>
#include <UndoNumbering.hxx>
#include <swundo.hxx>
#include <SwUndoFmt.hxx>
#include <rolbck.hxx>
#include <paratr.hxx>
#include <docary.hxx>
#include <mvsave.hxx>
#include <txtfrm.hxx>
#include <rootfrm.hxx>
#include <redline.hxx>
#include <strings.hrc>
#include <SwNodeNum.hxx>
#include <list.hxx>
#include <calbck.hxx>
#include <comphelper/string.hxx>
#include <comphelper/random.hxx>
#include <o3tl/safeint.hxx>
#include <o3tl/string_view.hxx>
#include <osl/diagnose.h>
#include <tools/datetimeutils.hxx>
#include <map>
#include <stdlib.h>
#include <wrtsh.hxx>
Include dependency graph for docnum.cxx:

Go to the source code of this file.

Namespaces

namespace  sw
 Dialog to specify the properties of date form field.
 

Functions

static sal_uInt8 GetUpperLvlChg (sal_uInt8 nCurLvl, sal_uInt8 nLevel, sal_uInt16 nMask)
 
static SwTextNodelcl_FindOutlineName (const SwOutlineNodes &rOutlNds, SwRootFrame const *const pLayout, std::u16string_view aName, bool const bExact)
 
static SwTextNodelcl_FindOutlineNum (const SwOutlineNodes &rOutlNds, OUString &rName, SwRootFrame const *const pLayout)
 
static void lcl_ChgNumRule (SwDoc &rDoc, const SwNumRule &rRule)
 
static bool lcl_IsNumOk (sal_uInt8 nSrchNum, sal_uInt8 &rLower, sal_uInt8 &rUpper, bool bOverUpper, sal_uInt8 nNumber)
 
static bool lcl_IsValidPrevNextNumNode (const SwNodeIndex &rIdx)
 
void sw::GotoPrevLayoutTextFrame (SwNodeIndex &rIndex, SwRootFrame const *const pLayout)
 
void sw::GotoNextLayoutTextFrame (SwNodeIndex &rIndex, SwRootFrame const *const pLayout)
 
static bool lcl_GotoNextPrevNum (SwPosition &rPos, bool bNext, bool bOverUpper, sal_uInt8 *pUpper, sal_uInt8 *pLower, SwRootFrame const *const pLayout)
 

Function Documentation

◆ GetUpperLvlChg()

static sal_uInt8 GetUpperLvlChg ( sal_uInt8  nCurLvl,
sal_uInt8  nLevel,
sal_uInt16  nMask 
)
static

Definition at line 100 of file docnum.cxx.

Referenced by lcl_ChgNumRule().

◆ lcl_ChgNumRule()

static void lcl_ChgNumRule ( SwDoc rDoc,
const SwNumRule rRule 
)
static

◆ lcl_FindOutlineName()

static SwTextNode * lcl_FindOutlineName ( const SwOutlineNodes rOutlNds,
SwRootFrame const *const  pLayout,
std::u16string_view  aName,
bool const  bExact 
)
static

◆ lcl_FindOutlineNum()

static SwTextNode * lcl_FindOutlineNum ( const SwOutlineNodes rOutlNds,
OUString &  rName,
SwRootFrame const *const  pLayout 
)
static

◆ lcl_GotoNextPrevNum()

static bool lcl_GotoNextPrevNum ( SwPosition rPos,
bool  bNext,
bool  bOverUpper,
sal_uInt8 pUpper,
sal_uInt8 pLower,
SwRootFrame const *const  pLayout 
)
static

◆ lcl_IsNumOk()

static bool lcl_IsNumOk ( sal_uInt8  nSrchNum,
sal_uInt8 rLower,
sal_uInt8 rUpper,
bool  bOverUpper,
sal_uInt8  nNumber 
)
static

Definition at line 1393 of file docnum.cxx.

References MAXLEVEL.

Referenced by lcl_GotoNextPrevNum().

◆ lcl_IsValidPrevNextNumNode()

static bool lcl_IsValidPrevNextNumNode ( const SwNodeIndex rIdx)
static