LibreOffice Module sw (master)  1
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/formatbreakitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/rsiditem.hxx>
#include <editeng/tstpitem.hxx>
#include <svl/urihelper.hxx>
#include <svl/ctloptions.hxx>
#include <sal/log.hxx>
#include <swmodule.hxx>
#include <txtfld.hxx>
#include <txtinet.hxx>
#include <fmtinfmt.hxx>
#include <fmtpdsc.hxx>
#include <txtatr.hxx>
#include <fmtrfmrk.hxx>
#include <txttxmrk.hxx>
#include <fchrfmt.hxx>
#include <txtftn.hxx>
#include <fmtflcnt.hxx>
#include <fmtfld.hxx>
#include <frmatr.hxx>
#include <charatr.hxx>
#include <ftnidx.hxx>
#include <ftninfo.hxx>
#include <fmtftn.hxx>
#include <fmtmeta.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 <ftnboss.hxx>
#include <rootfrm.hxx>
#include <pagedesc.hxx>
#include <expfld.hxx>
#include <section.hxx>
#include <mvsave.hxx>
#include <swcache.hxx>
#include <SwGrammarMarkUp.hxx>
#include <dcontact.hxx>
#include <redline.hxx>
#include <doctxm.hxx>
#include <IMark.hxx>
#include <scriptinfo.hxx>
#include <istyleaccess.hxx>
#include <SwStyleNameMapper.hxx>
#include <numrule.hxx>
#include <swtable.hxx>
#include <docsh.hxx>
#include <SwNodeNum.hxx>
#include <svl/intitem.hxx>
#include <list.hxx>
#include <sortedobjs.hxx>
#include <calbck.hxx>
#include <attrhint.hxx>
#include <memory>
#include <unoparagraph.hxx>
#include <wrtsh.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.

Namespaces

 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...
 
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, enum SwTextNode::GetTextAttrMode const eMode)
 
static SwCharFormatlcl_FindCharFormat (const SwCharFormats *pCharFormats, const OUString &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

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

Definition at line 103 of file ndtxt.cxx.

Referenced by SwTextNode::CopyText(), SwTextNode::CutImpl(), SwTextNode::EraseText(), and SwTextNode::InsertText().

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

Definition at line 106 of file ndtxt.cxx.

Referenced by SwTextNode::CopyText().

Typedef Documentation

typedef std::vector<SwTextAttr*> SwpHts

Definition at line 98 of file ndtxt.cxx.

Function Documentation

static SwList* FindList ( SwTextNode *const  pNode)
static
static void lcl_ChangeFootnoteRef ( SwTextNode rNode)
static
static void lcl_CopyHint ( const sal_uInt16  nWhich,
const SwTextAttr *const  pHt,
SwTextAttr *const  pNewHt,
SwDoc *const  pOtherDoc,
SwTextNode *const  pDest 
)
static
static SwCharFormat* lcl_FindCharFormat ( const SwCharFormats pCharFormats,
const OUString &  rName 
)
static

Definition at line 1792 of file ndtxt.cxx.

References SwFormat::GetName(), i, and SwVectorModifyBase< Value >::size().

Referenced by lcl_CopyHint().

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

Definition at line 1641 of file ndtxt.cxx.

Referenced by lcl_GetTextAttrs().

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

Definition at line 1645 of file ndtxt.cxx.

Referenced by lcl_GetTextAttrs().

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

Definition at line 1649 of file ndtxt.cxx.

Referenced by 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,
enum SwTextNode::GetTextAttrMode const  eMode 
)
static
static void Replace0xFF ( SwTextNode const &  rNode,
OUStringBuffer &  rText,
sal_Int32 &  rTextStt,
sal_Int32  nEndPos 
)
static