LibreOffice Module sw (master) 1
|
#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>
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 SwCharFormat * | lcl_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 SwList * | FindList (SwTextNode *const pNode) |
#define CHECK_SWPHINTS | ( | pNd | ) |
#define CHECK_SWPHINTS_IF_FRM | ( | pNd | ) |
typedef std::vector<SwTextAttr*> SwpHts |
|
static |
Definition at line 4400 of file ndtxt.cxx.
References SwNode::GetDoc(), SwDoc::getIDocumentListsAccess(), SwTextNode::GetListId(), SwNumRule::GetName(), and SwTextNode::GetNumRule().
Referenced by SwTextNode::AddToList(), SwTextNode::AddToListOrig(), and SwTextNode::AddToListRLHidden().
|
static |
Definition at line 297 of file ndtxt.cxx.
References SwLayoutFrame::ContainsContent(), SwpHints::Count(), SwFrame::FindFootnoteFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwpHints::Get(), SwFootnoteFrame::GetAttr(), SwFrame::GetAttrSet(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentViewShell(), SwNode::GetDoc(), SwAttrSet::GetDoc(), SwFootnoteFrame::GetFollow(), SwDoc::getIDocumentLayoutAccess(), SwFootnoteFrame::GetMaster(), SwNodeIndex::GetNode(), SwTextNode::GetpSwpHints(), SwFootnoteFrame::GetRef(), SwFrame::getRootFrame(), SwTextFootnote::GetStartNode(), SwFrame::InvalidatePos_(), SwIterator< TElementType, TSource, eMode >::Next(), RES_TXTATR_FTN(), SwFootnoteFrame::SetRef(), and SwTextAttr::Which().
Referenced by sw::MoveMergedFlysAndFootnotes(), and SwTextNode::SplitContentNode().
|
static |
Definition at line 1885 of file ndtxt.cxx.
References CH_TXTATR_INWORD, SwTextINetFormat::ChgTextNode(), SwpHints::Contains(), SwDoc::CopyCharFormat(), SwNode::FindTableNode(), SwTextINetFormat::GetCharFormat(), SwFormatCharFormat::GetCharFormat(), SwTextAttr::GetCharFormat(), SwDoc::GetCharFormats(), SwFormatField::GetField(), SwTextAttr::GetFormatField(), SwFormatINetFormat::GetINetFormat(), SwTextAttr::GetINetFormat(), SwTextNode::GetpSwpHints(), SwTextINetFormat::GetpTextNode(), SwTextAttr::GetStart(), SwTableNode::GetTable(), SwTextNode::GetText(), SwNode::GetTextNode(), SwField::GetTyp(), SwFormatINetFormat::GetVisitedFormat(), SwTableFormula::IsIntrnlName(), lcl_FindCharFormat(), SwTableFormula::PtrToBoxNm(), RES_TXTATR_ANNOTATION(), RES_TXTATR_CHARFMT(), RES_TXTATR_FIELD(), RES_TXTATR_FTN(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_TOXMARK(), static_txtattr_cast(), Table, SwFieldType::Which(), and SwTextAttr::Which().
Referenced by SwTextNode::CopyAttr(), SwTextNode::CopyText(), and SwTextNode::CutImpl().
|
static |
Definition at line 1870 of file ndtxt.cxx.
References SwFormat::GetName(), i, and SwCharFormats::size().
Referenced by lcl_CopyHint().
|
static |
|
static |
|
static |
|
static |
Definition at line 1729 of file ndtxt.cxx.
References SwpHints::Count(), eMode, SwTextAttr::GetEnd(), SwpHints::GetFirstPosSortedByWhichAndStart(), SwpHints::GetSortedByWhichAndStart(), SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), i, lcl_GetTextAttrDefault(), lcl_GetTextAttrExpand(), lcl_GetTextAttrParent(), nIndex, RES_TXTATR_BEGIN(), RES_TXTATR_END(), and SwTextAttr::Which().
Referenced by SwTextNode::GetTextAttrAt(), and SwTextNode::GetTextAttrsAt().
|
static |
Definition at line 3456 of file ndtxt.cxx.
References CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, SwTextNode::GetpSwpHints(), SwTextNode::GetTextAttrForCharAt(), nPos, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_FTN(), and SwTextAttr::Which().
Referenced by SwTextNode::GetRedlineText().