LibreOffice Module sw (master) 1
Classes | Namespaces | Macros | Typedefs | Functions
ndtxt.cxx File Reference
#include <hintids.hxx>
#include <hints.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/string.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/rsiditem.hxx>
#include <sal/log.hxx>
#include <osl/diagnose.h>
#include <anchoredobject.hxx>
#include <txtfld.hxx>
#include <txtinet.hxx>
#include <fmtanchr.hxx>
#include <fmtinfmt.hxx>
#include <fmtrfmrk.hxx>
#include <txttxmrk.hxx>
#include <fchrfmt.hxx>
#include <txtftn.hxx>
#include <fmtflcnt.hxx>
#include <fmtfld.hxx>
#include <frmatr.hxx>
#include <ftnidx.hxx>
#include <ftninfo.hxx>
#include <fmtftn.hxx>
#include <charfmt.hxx>
#include <ndtxt.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentListsAccess.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <docary.hxx>
#include <pam.hxx>
#include <fldbas.hxx>
#include <paratr.hxx>
#include <txtfrm.hxx>
#include <ftnfrm.hxx>
#include <pagefrm.hxx>
#include <rootfrm.hxx>
#include <expfld.hxx>
#include <section.hxx>
#include <mvsave.hxx>
#include <SwGrammarMarkUp.hxx>
#include <redline.hxx>
#include <IMark.hxx>
#include <scriptinfo.hxx>
#include <istyleaccess.hxx>
#include <SwStyleNameMapper.hxx>
#include <numrule.hxx>
#include <docsh.hxx>
#include <SwNodeNum.hxx>
#include <svl/grabbagitem.hxx>
#include <svl/intitem.hxx>
#include <sortedobjs.hxx>
#include <calbck.hxx>
#include <attrhint.hxx>
#include <memory>
#include <unoparagraph.hxx>
#include <wrtsh.hxx>
#include <fmtpdsc.hxx>
#include <svx/sdr/attribute/sdrallfillattributeshelper.hxx>
#include <svl/itemiter.hxx>
Include dependency graph for ndtxt.cxx:

Go to the source code of this file.

Classes

class  sw::TextNodeNotificationSuppressor
 

Namespaces

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

Macros

#define CHECK_SWPHINTS(pNd)
 
#define CHECK_SWPHINTS_IF_FRM(pNd)
 

Typedefs

typedef std::vector< SwTextAttr * > SwpHts
 

Functions

static void lcl_ChangeFootnoteRef (SwTextNode &rNode)
 
void sw::MoveMergedFlysAndFootnotes (std::vector< SwTextFrame * > const &rFrames, SwTextNode const &rFirstNode, SwTextNode &rSecondNode, bool)
 
void sw::MoveDeletedPrevFrames (const SwTextNode &rDeletedPrev, SwTextNode &rNode)
 if first node is deleted & second survives, then the first node's frame will be deleted too; prevent this by moving the frame to the second node if necessary. More...
 
void sw::CheckResetRedlineMergeFlag (SwTextNode &rNode, Recreate const eRecreateMerged)
 if first node is First, its frames may need to be moved, never deleted. More...
 
bool sw::HasNumberingWhichNeedsLayoutUpdate (const SwTextNode &rTextNode)
 Decides if rTextNode has a numbering which has layout-level values (e.g. More...
 
static bool lcl_GetTextAttrDefault (sal_Int32 nIndex, sal_Int32 nHintStart, sal_Int32 nHintEnd)
 
static bool lcl_GetTextAttrExpand (sal_Int32 nIndex, sal_Int32 nHintStart, sal_Int32 nHintEnd)
 
static bool lcl_GetTextAttrParent (sal_Int32 nIndex, sal_Int32 nHintStart, sal_Int32 nHintEnd)
 
static void lcl_GetTextAttrs (std::vector< SwTextAttr * > *const pVector, SwTextAttr **const ppTextAttr, SwpHints const *const pSwpHints, sal_Int32 const nIndex, sal_uInt16 const nWhich, ::sw::GetTextAttrMode const eMode)
 
static SwCharFormatlcl_FindCharFormat (const SwCharFormats *pCharFormats, std::u16string_view rName)
 
static void lcl_CopyHint (const sal_uInt16 nWhich, const SwTextAttr *const pHt, SwTextAttr *const pNewHt, SwDoc *const pOtherDoc, SwTextNode *const pDest)
 
static void Replace0xFF (SwTextNode const &rNode, OUStringBuffer &rText, sal_Int32 &rTextStt, sal_Int32 nEndPos)
 
static SwListFindList (SwTextNode *const pNode)
 

Macro Definition Documentation

◆ CHECK_SWPHINTS

#define CHECK_SWPHINTS (   pNd)
Value:
{ if( pNd->GetpSwpHints() && \
!pNd->GetDoc().IsInReading() ) \
pNd->GetpSwpHints()->Check(true); }

Definition at line 110 of file ndtxt.cxx.

◆ CHECK_SWPHINTS_IF_FRM

#define CHECK_SWPHINTS_IF_FRM (   pNd)
Value:
{ if( pNd->GetpSwpHints() && \
!pNd->GetDoc().IsInReading() ) \
pNd->GetpSwpHints()->Check(getLayoutFrame(nullptr, nullptr, nullptr) != nullptr); }

Definition at line 113 of file ndtxt.cxx.

Typedef Documentation

◆ SwpHts

typedef std::vector<SwTextAttr*> SwpHts

Definition at line 88 of file ndtxt.cxx.

Function Documentation

◆ FindList()

static SwList * FindList ( SwTextNode *const  pNode)
static

◆ lcl_ChangeFootnoteRef()

static void lcl_ChangeFootnoteRef ( SwTextNode rNode)
static

◆ lcl_CopyHint()

static void lcl_CopyHint ( const sal_uInt16  nWhich,
const SwTextAttr *const  pHt,
SwTextAttr *const  pNewHt,
SwDoc *const  pOtherDoc,
SwTextNode *const  pDest 
)
static

◆ lcl_FindCharFormat()

static SwCharFormat * lcl_FindCharFormat ( const SwCharFormats pCharFormats,
std::u16string_view  rName 
)
static

Definition at line 1870 of file ndtxt.cxx.

References SwFormat::GetName(), i, and SwCharFormats::size().

Referenced by lcl_CopyHint().

◆ lcl_GetTextAttrDefault()

static bool lcl_GetTextAttrDefault ( sal_Int32  nIndex,
sal_Int32  nHintStart,
sal_Int32  nHintEnd 
)
static

Definition at line 1715 of file ndtxt.cxx.

References nIndex.

Referenced by lcl_GetTextAttrs().

◆ lcl_GetTextAttrExpand()

static bool lcl_GetTextAttrExpand ( sal_Int32  nIndex,
sal_Int32  nHintStart,
sal_Int32  nHintEnd 
)
static

Definition at line 1719 of file ndtxt.cxx.

References nIndex.

Referenced by lcl_GetTextAttrs().

◆ lcl_GetTextAttrParent()

static bool lcl_GetTextAttrParent ( sal_Int32  nIndex,
sal_Int32  nHintStart,
sal_Int32  nHintEnd 
)
static

Definition at line 1723 of file ndtxt.cxx.

References nIndex.

Referenced by lcl_GetTextAttrs().

◆ lcl_GetTextAttrs()

static void lcl_GetTextAttrs ( std::vector< SwTextAttr * > *const  pVector,
SwTextAttr **const  ppTextAttr,
SwpHints const *const  pSwpHints,
sal_Int32 const  nIndex,
sal_uInt16 const  nWhich,
::sw::GetTextAttrMode const  eMode 
)
static

◆ Replace0xFF()

static void Replace0xFF ( SwTextNode const &  rNode,
OUStringBuffer &  rText,
sal_Int32 &  rTextStt,
sal_Int32  nEndPos 
)
static