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 <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 <rootfrm.hxx>
#include <expfld.hxx>
#include <section.hxx>
#include <mvsave.hxx>
#include <swcache.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 <list.hxx>
#include <sortedobjs.hxx>
#include <calbck.hxx>
#include <attrhint.hxx>
#include <memory>
#include <unoparagraph.hxx>
#include <wrtsh.hxx>
#include <frameformats.hxx>
#include <svx/sdr/attribute/sdrallfillattributeshelper.hxx>
#include <svl/itemiter.hxx>
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 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 | ) |
Definition at line 93 of file ndtxt.cxx.
Referenced by SwTextNode::CopyText(), SwTextNode::CutImpl(), SwTextNode::EraseText(), and SwTextNode::InsertText().
#define CHECK_SWPHINTS_IF_FRM | ( | pNd | ) |
Definition at line 96 of file ndtxt.cxx.
Referenced by SwTextNode::CopyText().
typedef std::vector<SwTextAttr*> SwpHts |
|
static |
Definition at line 4222 of file ndtxt.cxx.
References SwNode::GetDoc(), SwDoc::getIDocumentListsAccess(), SwTextNode::GetListId(), SwNumRule::GetName(), and SwTextNode::GetNumRule().
Referenced by SwTextNode::AddToList(), and SwTextNode::AddToListRLHidden().
|
static |
Definition at line 280 of file ndtxt.cxx.
References SwLayoutFrame::ContainsContent(), SwpHints::Count(), SwFrame::FindFootnoteFrame(), First, SwIterator< TElementType, TSource, eMode >::First(), SwpHints::Get(), SwFrame::GetAttrSet(), SwNode::GetContentNode(), IDocumentLayoutAccess::GetCurrentViewShell(), SwAttrSet::GetDoc(), SwNode::GetDoc(), SwDoc::getIDocumentLayoutAccess(), SwFootnoteFrame::GetMaster(), SwTextNode::GetpSwpHints(), SwFootnoteFrame::GetRef(), SwFrame::getRootFrame(), SwTextFootnote::GetStartNode(), SwFrame::InvalidatePos_(), SwIterator< TElementType, TSource, eMode >::Next(), pContent, RES_TXTATR_FTN(), SwFootnoteFrame::SetRef(), and SwTextAttr::Which().
Referenced by sw::MoveMergedFlysAndFootnotes(), and SwTextNode::SplitContentNode().
|
static |
Definition at line 1773 of file ndtxt.cxx.
References assert(), CH_TXTATR_INWORD, SwTextINetFormat::ChgTextNode(), SwpHints::Contains(), SwDoc::CopyCharFormat(), 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(), SwField::GetTyp(), SwFormatINetFormat::GetVisitedFormat(), 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, SwTextAttr::Which(), and SwFieldType::Which().
Referenced by SwTextNode::CopyAttr(), SwTextNode::CopyText(), and SwTextNode::CutImpl().
|
static |
Definition at line 1758 of file ndtxt.cxx.
References SwFormat::GetName(), i, and SwVectorModifyBase< Value >::size().
Referenced by lcl_CopyHint().
|
static |
Definition at line 1607 of file ndtxt.cxx.
Referenced by lcl_GetTextAttrs().
|
static |
Definition at line 1611 of file ndtxt.cxx.
Referenced by lcl_GetTextAttrs().
|
static |
Definition at line 1615 of file ndtxt.cxx.
Referenced by lcl_GetTextAttrs().
|
static |
Definition at line 1621 of file ndtxt.cxx.
References assert(), SwpHints::Count(), SwTextNode::DEFAULT, SwTextNode::EXPAND, SwTextAttr::GetEnd(), SwpHints::GetFirstPosSortedByWhichAndStart(), SwpHints::GetSortedByWhichAndStart(), SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), i, lcl_GetTextAttrDefault(), lcl_GetTextAttrExpand(), lcl_GetTextAttrParent(), SwTextNode::PARENT, RES_TXTATR_BEGIN(), RES_TXTATR_END(), and SwTextAttr::Which().
Referenced by SwTextNode::GetTextAttrAt(), and SwTextNode::GetTextAttrsAt().
|
static |
Definition at line 3295 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().