LibreOffice Module sw (master) 1
|
SwTextNode is a paragraph in the document model. More...
#include <ndtxt.hxx>
Public Member Functions | |
bool | IsWordCountDirty () const |
sw::WrongState | GetWrongDirty () const |
bool | IsWrongDirty () const |
bool | IsGrammarCheckDirty () const |
bool | IsSmartTagDirty () const |
bool | IsAutoCompleteWordDirty () const |
void | SetWordCountDirty (bool bNew) const |
void | SetWrongDirty (sw::WrongState eNew) const |
void | SetGrammarCheckDirty (bool bNew) const |
void | SetSmartTagDirty (bool bNew) const |
void | SetAutoCompleteWordDirty (bool bNew) const |
void | SetWrong (std::unique_ptr< SwWrongList > pNew) |
void | ClearWrong () |
std::unique_ptr< SwWrongList > | ReleaseWrong () |
SwWrongList * | GetWrong () |
const SwWrongList * | GetWrong () const |
void | SetGrammarCheck (std::unique_ptr< SwGrammarMarkUp > pNew) |
void | ClearGrammarCheck () |
std::unique_ptr< SwGrammarMarkUp > | ReleaseGrammarCheck () |
SwGrammarMarkUp * | GetGrammarCheck () |
SwWrongList const * | GetGrammarCheck () const |
void | SetSmartTags (std::unique_ptr< SwWrongList > pNew) |
void | ClearSmartTags () |
std::unique_ptr< SwWrongList > | ReleaseSmartTags () |
SwWrongList * | GetSmartTags () |
SwWrongList const * | GetSmartTags () const |
void | UpdateDocPos (const SwTwips nDocPos, const sal_uInt32 nIndex) |
void | TriggerNodeUpdate (const sw::LegacyModifyHint &) |
for hanging TextFormatCollections somewhere else (Outline-Numbering!) More... | |
const OUString & | GetText () const |
sal_Int32 | GetSpaceLeft () const |
SwpHints & | GetSwpHints () |
getters for SwpHints More... | |
const SwpHints & | GetSwpHints () const |
SwpHints * | GetpSwpHints () |
const SwpHints * | GetpSwpHints () const |
bool | HasHints () const |
SwpHints & | GetOrCreateSwpHints () |
virtual | ~SwTextNode () override |
virtual sal_Int32 | Len () const override |
void | GetMinMaxSize (SwNodeOffset nIndex, sal_uLong &rMin, sal_uLong &rMax, sal_uLong &rAbs) const |
Is in itratr. More... | |
virtual bool | SetAttr (const SfxPoolItem &) override |
overriding to handle change of certain paragraph attributes More... | |
virtual bool | SetAttr (const SfxItemSet &rSet) override |
virtual bool | ResetAttr (sal_uInt16 nWhich1, sal_uInt16 nWhich2=0) override |
virtual bool | ResetAttr (const std::vector< sal_uInt16 > &rWhichArr) override |
virtual sal_uInt16 | ResetAllAttr () override |
OUString | InsertText (const OUString &rStr, const SwContentIndex &rIdx, const SwInsertFlags nMode=SwInsertFlags::DEFAULT) |
insert text content More... | |
OUString | InsertText (const OUString &rStr, const SwPosition &rIdx, const SwInsertFlags nMode=SwInsertFlags::DEFAULT) |
void | InsertDummy () |
Add a dummy character to the redline of the table changes. More... | |
void | EraseText (const SwContentIndex &rIdx, const sal_Int32 nCount=SAL_MAX_INT32, const SwInsertFlags nMode=SwInsertFlags::DEFAULT) |
delete text content ATTENTION: must not be called with a range that overlaps the start of an attribute with both extent and dummy char More... | |
void | EraseText (const SwPosition &rIdx, const sal_Int32 nCount=SAL_MAX_INT32, const SwInsertFlags nMode=SwInsertFlags::DEFAULT) |
void | RstTextAttr (const sal_Int32 nContentStart, const sal_Int32 nLen, const sal_uInt16 nWhich=0, const SfxItemSet *pSet=nullptr, const bool bInclRefToxMark=false, const bool bExactRange=false) |
delete all attributes. More... | |
void | GCAttr () |
void | DestroyAttr (SwTextAttr *pAttr) |
void | ClearSwpHintsArr (bool bDelFields) |
void | FileLoadedInitHints () |
initialize the hints after file loading (which takes shortcuts) More... | |
bool | InsertHint (SwTextAttr *const pAttr, const SetAttrMode nMode=SetAttrMode::DEFAULT) |
Insert pAttr into hints array. More... | |
SwTextAttr * | InsertItem (SfxPoolItem &rAttr, const sal_Int32 nStart, const sal_Int32 nEnd, const SetAttrMode nMode=SetAttrMode::DEFAULT) |
create new text attribute from rAttr and insert it More... | |
bool | SetAttr (const SfxItemSet &rSet, sal_Int32 nStt, sal_Int32 nEnd, const SetAttrMode nMode=SetAttrMode::DEFAULT, SwTextAttr **ppNewTextAttr=nullptr) |
Set these attributes at TextNode. More... | |
bool | GetParaAttr (SfxItemSet &rSet, sal_Int32 nStt, sal_Int32 nEnd, const bool bOnlyTextAttr=false, const bool bGetFromChrFormat=true, const bool bMergeIndentValuesOfNumRule=false, SwRootFrame const *pLayout=nullptr) const |
Query the attributes of textnode over the range. More... | |
void | FormatToTextAttr (SwTextNode *pNd) |
Convey attributes of an AttrSet (AutoFormat) to SwpHintsArray. More... | |
void | DeleteAttributes (const sal_uInt16 nWhich, const sal_Int32 nStart, const sal_Int32 nEnd=0) |
delete all attributes of type nWhich at nStart (opt. end nEnd) More... | |
void | DeleteAttribute (SwTextAttr *const pTextAttr) |
delete the attribute pTextAttr More... | |
void | CopyText (SwTextNode *const pDest, const SwContentIndex &rStart, const sal_Int32 nLen, const bool bForceCopyOfAllAttrs) |
Actions on text and attributes. More... | |
void | CopyText (SwTextNode *const pDest, const SwContentIndex &rDestStart, const SwContentIndex &rStart, sal_Int32 nLen, const bool bForceCopyOfAllAttrs=false) |
void | CopyText (SwTextNode *const pDest, const SwContentIndex &rDestStart, const SwPosition &rStart, sal_Int32 nLen, const bool bForceCopyOfAllAttrs=false) |
void | CutText (SwTextNode *const pDest, const SwContentIndex &rStart, const sal_Int32 nLen) |
void | CutText (SwTextNode *const pDest, const SwContentIndex &rDestStart, const SwContentIndex &rStart, const sal_Int32 nLen) |
void | ReplaceText (const SwContentIndex &rStart, const sal_Int32 nDelLen, const OUString &rText) |
replace nDelLen characters at rStart with rText in case the replacement does not fit, it is partially inserted up to the capacity of the node More... | |
void | ReplaceText (SwPosition &rStart, const sal_Int32 nDelLen, const OUString &rText) |
void | ReplaceTextOnly (sal_Int32 nPos, sal_Int32 nLen, std::u16string_view aText, const css::uno::Sequence< sal_Int32 > &rOffsets) |
virtual SwContentFrame * | MakeFrame (SwFrame *) override |
Virtual methods from ContentNode. More... | |
SwTextNode * | SplitContentNode (const SwPosition &, std::function< void(SwTextNode *, sw::mark::RestoreMode, bool AtStart)> const *pContentIndexRestore) |
virtual SwContentNode * | JoinNext () override |
void | JoinPrev () |
SwContentNode * | AppendNode (const SwPosition &) |
bool | DontExpandFormat (sal_Int32 nContentIdx, bool bFlag=true, bool bFormatToTextAttributes=true) |
When appropriate set DontExpand-flag at INet or character styles respectively. More... | |
SwTextAttr * | GetTextAttrAt (sal_Int32 const nIndex, sal_uInt16 const nWhich, ::sw::GetTextAttrMode const eMode=::sw::GetTextAttrMode::Default) const |
get the innermost text attribute covering position nIndex. More... | |
std::vector< SwTextAttr * > | GetTextAttrsAt (sal_Int32 const nIndex, sal_uInt16 const nWhich) const |
get the innermost text attributes covering position nIndex. More... | |
SwTextAttr * | GetTextAttrForCharAt (const sal_Int32 nIndex, const sal_uInt16 nWhich=RES_TXTATR_END) const |
get the text attribute at position nIndex which owns the dummy character CH_TXTATR_* at that position, if one exists. More... | |
SwTextAttr * | GetTextAttrForEndCharAt (sal_Int32 nIndex, sal_uInt16 nWhich) const |
Get the text attribute of an end dummy character at nIndex. More... | |
SwTextField * | GetFieldTextAttrAt (const sal_Int32 nIndex, ::sw::GetTextAttrMode const eMode=::sw::GetTextAttrMode::Expand) const |
bool | Spell (SwSpellArgs *) |
bool | Convert (SwConversionArgs &) |
SwTextFormatColl * | GetTextColl () const |
virtual SwFormatColl * | ChgFormatColl (SwFormatColl *) override |
void | ChgTextCollUpdateNum (const SwTextFormatColl *pOld, const SwTextFormatColl *pNew) |
void | CopyCollFormat (SwTextNode &rDestNd, bool bUndoForChgFormatColl=true) |
Copy collection with all auto formats to dest-node. More... | |
SwNumRule * | GetNumRule (bool bInParent=true) const |
Returns numbering rule of this text node. More... | |
const SwNodeNum * | GetNum (SwRootFrame const *pLayout=nullptr, SwListRedlineType eRedline=SwListRedlineType::SHOW) const |
void | DoNum (std::function< void(SwNodeNum &)> const &) |
SwNumberTree::tNumberVector | GetNumberVector (SwRootFrame const *pLayout=nullptr, SwListRedlineType eRedline=SwListRedlineType::SHOW) const |
bool | IsOutline () const |
Returns if this text node is an outline. More... | |
bool | IsOutlineStateChanged () const |
void | UpdateOutlineState () |
void | NumRuleChgd () |
Notify this textnode that its numbering rule has changed. More... | |
OUString | GetNumString (const bool _bInclPrefixAndSuffixStrings=true, const unsigned int _nRestrictToThisLevel=MAXLEVEL, SwRootFrame const *pLayout=nullptr, SwListRedlineType eRedline=SwListRedlineType::SHOW) const |
Returns outline of numbering string. More... | |
tools::Long | GetLeftMarginWithNum (bool bTextLeft=false) const |
Returns the additional indents of this text node and its numbering. More... | |
bool | GetFirstLineOfsWithNum (short &rFirstOffset) const |
Returns the combined first line indent of this text node and its numbering. More... | |
SwTwips | GetAdditionalIndentForStartingNewList () const |
tools::Long | GetLeftMarginForTabCalculation () const |
return left margin for tab stop position calculation More... | |
bool | HasNumber (SwRootFrame const *pLayout=nullptr) const |
Returns if this text node has a number. More... | |
bool | HasBullet () const |
Returns if this text node has a bullet. More... | |
bool | IsNumbered (SwRootFrame const *pLayout=nullptr) const |
Returns is this text node is numbered. More... | |
bool | HasMarkedLabel () const |
Returns if this text node has a marked label. More... | |
void | SetAttrListLevel (int nLevel) |
Sets the list level of this text node. More... | |
bool | HasAttrListLevel () const |
int | GetAttrListLevel () const |
int | GetActualListLevel (SwListRedlineType eRedline=SwListRedlineType::SHOW) const |
Returns the actual list level of this text node, when it is a list item. More... | |
int | GetAttrOutlineLevel () const |
Returns outline level of this text node. More... | |
void | SetAttrOutlineLevel (int nLevel) |
Sets the out line level at a text node. More... | |
void | GetAttrOutlineContentVisible (bool &bOutlineContentVisibleAttr) |
GetAttrOutlineContentVisible. More... | |
void | SetAttrOutlineContentVisible (bool bVisible) |
bool | IsEmptyListStyleDueToSetOutlineLevelAttr () const |
void | SetEmptyListStyleDueToSetOutlineLevelAttr () |
void | ResetEmptyListStyleDueToResetOutlineLevelAttr () |
SwTwips | GetWidthOfLeadingTabs () const |
Returns the width of leading tabs/blanks in this paragraph. More... | |
bool | HasVisibleNumberingOrBullet () const |
Returns if the paragraph has a visible numbering or bullet. More... | |
void | SetListId (OUString const &rListId) |
OUString | GetListId () const |
::sw::ListLevelIndents | AreListLevelIndentsApplicable () const |
Determines, if the list level indent attributes can be applied to the paragraph. More... | |
bool | AreListLevelIndentsApplicableImpl (sal_uInt16 nWhich) const |
bool | GetListTabStopPosition (tools::Long &nListTabStopPosition) const |
Retrieves the list tab stop position, if the paragraph's list level defines one and this list tab stop has to merged into the tap stops of the paragraph. More... | |
OUString | GetLabelFollowedBy () const |
Retrieves the character following the list label, if the paragraph's list level defines one. More... | |
void | fillSoftPageBreakList (SwSoftPageBreakList &rBreak) const |
LanguageType | GetLang (const sal_Int32 nBegin, const sal_Int32 nLen=0, sal_uInt16 nScript=0) const |
bool | IsSymbolAt (sal_Int32 nBegin) const |
in ndcopy.cxx More... | |
virtual SwContentNode * | MakeCopy (SwDoc &, SwNode &rWhere, bool bNewFrames) const override |
bool | Hyphenate (SwInterHyphInfo &rHyphInf) |
Interactive hyphenation: we find TextFrame and call its CalcHyph. More... | |
void | DelSoftHyph (const sal_Int32 nStart, const sal_Int32 nEnd) |
OUString | GetExpandText (SwRootFrame const *pLayout, const sal_Int32 nIdx=0, const sal_Int32 nLen=-1, const bool bWithNum=false, const bool bAddSpaceAfterListLabelStr=false, const bool bWithSpacesForLevel=false, const ExpandMode eAdditionalMode=ExpandMode::ExpandFootnote|ExpandMode::HideFieldmarkCommands) const |
add 4th optional parameter <bAddSpaceAfterListLabelStr> indicating, when <bWithNum = true> that a space is inserted after the string for the list label. More... | |
bool | CopyExpandText (SwTextNode &rDestNd, const SwContentIndex *pDestIdx, sal_Int32 nIdx, sal_Int32 nLen, SwRootFrame const *pLayout, bool bWithNum=false, bool bWithFootnote=true, bool bReplaceTabsWithSpaces=false) const |
OUString | GetRedlineText () const |
sal_Int32 | GetDropLen (sal_Int32 nWishLen) const |
nWishLen = 0 indicates that we want a whole word More... | |
bool | GetDropSize (int &rFontHeight, int &rDropHeight, int &rDropDescent) const |
Passes back info needed on the dropcap dimensions. More... | |
bool | CalcHiddenParaField () |
Hidden Paragraph Field: More... | |
void | SetCalcHiddenParaField () |
set CalcVisible flags More... | |
bool | IsHiddenByParaField () const |
is the paragraph visible? More... | |
bool | HasHiddenCharAttribute (bool bWholePara) const |
Hidden Paragraph Field: More... | |
void | SetCalcHiddenCharFlags () const |
bool | IsHidden () const |
virtual void | Update (SwContentIndex const &rPos, const sal_Int32 nChangeLen, UpdateMode eMode) override |
override SwContentIndexReg More... | |
void | TransliterateText (utl::TransliterationWrapper &rTrans, sal_Int32 nStart, sal_Int32 nEnd, SwUndoTransliterate *pUndo, bool bUseRedlining=false) |
change text to Upper/Lower/Hiragana/Katakana/... More... | |
bool | CountWords (SwDocStat &rStat, sal_Int32 nStart, sal_Int32 nEnd) const |
count words in given range - returns true if we refreshed out count More... | |
bool | IsNotificationEnabled () const |
Checks some global conditions like loading or destruction of document to economize notifications. More... | |
bool | IsNotifiable () const |
Checks a temporary notification blocker and the global conditions of IsNotificationEnabled() More... | |
void | SetListRestart (bool bRestart) |
bool | IsListRestart () const |
void | SetAttrListRestartValue (SwNumberTree::tSwNumTreeNumber nNum) |
bool | HasAttrListRestartValue () const |
SwNumberTree::tSwNumTreeNumber | GetAttrListRestartValue () const |
SwNumberTree::tSwNumTreeNumber | GetActualListStartValue () const |
void | SetCountedInList (bool bCounted) |
bool | IsCountedInList () const |
void | AddToList () |
void | AddToListRLHidden () |
void | AddToListOrig () |
void | RemoveFromList () |
void | RemoveFromListRLHidden () |
void | RemoveFromListOrig () |
bool | IsInList () const |
bool | IsFirstOfNumRule (SwRootFrame const &rLayout) const |
SAL_DLLPRIVATE unotools::WeakReference< SwXParagraph > const & | GetXParagraph () const |
SAL_DLLPRIVATE void | SetXParagraph (rtl::Reference< SwXParagraph > const &xParagraph) |
virtual ::sfx2::IXmlIdRegistry & | GetRegistry () override |
sfx2::Metadatable More... | |
virtual bool | IsInClipboard () const override |
virtual bool | IsInUndo () const override |
Is this node in the undo array? More... | |
virtual bool | IsInContent () const override |
virtual css::uno::Reference< css::rdf::XMetadatable > | MakeUnoObject () override |
bool | IsCollapse () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More... | |
sal_uInt32 | GetRsid (sal_Int32 nStt, sal_Int32 nEnd) const |
sal_uInt32 | GetParRsid () const |
bool | CompareRsid (const SwTextNode &rTextNode, sal_Int32 nStt1, sal_Int32 nStt2) const |
bool | CompareParRsid (const SwTextNode &rTextNode) const |
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr | getSdrAllFillAttributesHelper () const override |
void | FormatDropNotify (const SwFormatDrop &rDrop) override |
void | SetInSwUndo (bool bInUndo) |
const SfxPoolItem & | GetAttr (sal_uInt16 nWhich, bool bInParent=true) const |
End: Data collected during idle time. More... | |
template<class T > | |
const T & | GetAttr (TypedWhichId< T > nWhich, bool bInParent=true) const |
End: Data collected during idle time. More... | |
bool | GetAttr (SfxItemSet &rSet) const |
End: Data collected during idle time. More... | |
Public Member Functions inherited from SwContentNode | |
virtual SwContentFrame * | MakeFrame (SwFrame *pSib)=0 |
MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g. More... | |
virtual SwContentNode * | JoinNext () |
bool | CanJoinNext (SwNodeIndex *pIdx=nullptr) const |
Is it possible to join two nodes? In pIdx the second position can be returned. More... | |
bool | CanJoinNext (SwPosition *pIdx) const |
Can we join two Nodes? We can return the 2nd position in pIdx. More... | |
bool | CanJoinPrev (SwNodeIndex *pIdx=nullptr) const |
Can we join two Nodes? We can return the 2nd position in pIdx. More... | |
bool | GoNext (SwContentIndex *, SwCursorSkipMode nMode) const |
bool | GoNext (SwPosition *, SwCursorSkipMode nMode) const |
bool | GoPrevious (SwContentIndex *, SwCursorSkipMode nMode) const |
SwContentFrame * | getLayoutFrame (const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const |
SwRect | FindLayoutRect (const bool bPrtArea=false, const Point *pPoint=nullptr) const |
SwRect | FindPageFrameRect () const |
void | MakeFramesForAdjacentContentNode (SwContentNode &rNode) |
Method creates all views of document for given node. More... | |
void | DelFrames (SwRootFrame const *pLayout) |
Method deletes all views of document for the node. More... | |
virtual sal_Int32 | Len () const |
virtual SwContentNode * | MakeCopy (SwDoc &, SwNode &rWhere, bool bNewFrames) const =0 |
virtual bool | GetInfo (SfxPoolItem &) const override |
Get information from Client. More... | |
const SfxPoolItem & | GetAttr (sal_uInt16 nWhich, bool bInParent=true) const |
SS for PoolItems: hard attributation. More... | |
template<class T > | |
const T & | GetAttr (TypedWhichId< T > nWhich, bool bInParent=true) const |
bool | GetAttr (SfxItemSet &rSet) const |
virtual bool | SetAttr (const SfxPoolItem &) |
made virtual More... | |
virtual bool | SetAttr (const SfxItemSet &rSet) |
virtual bool | ResetAttr (sal_uInt16 nWhich1, sal_uInt16 nWhich2=0) |
virtual bool | ResetAttr (const std::vector< sal_uInt16 > &rWhichArr) |
virtual sal_uInt16 | ResetAllAttr () |
const SfxPoolItem * | GetNoCondAttr (sal_uInt16 nWhich, bool bInParents) const |
Obtains attribute that is not delivered via conditional style! More... | |
template<class T > | |
const T * | GetNoCondAttr (TypedWhichId< T > nWhich, bool bInParents) const |
const SwAttrSet & | GetSwAttrSet () const |
Does node has already its own auto-attributes? Access to SwAttrSet. More... | |
const SwAttrSet * | GetpSwAttrSet () const |
bool | HasSwAttrSet () const |
virtual SwFormatColl * | ChgFormatColl (SwFormatColl *) |
SwFormatColl * | GetFormatColl () const |
SwFormatColl & | GetAnyFormatColl () const |
void | SetCondFormatColl (SwFormatColl *) |
SwFormatColl * | GetCondFormatColl () const |
bool | IsAnyCondition (SwCollCondition &rTmp) const |
void | ChkCondColl (const SwTextFormatColl *pColl=nullptr) |
bool | InvalidateNumRule () |
Invalidates NumRule at the node. More... | |
SvxFrameDirection | GetTextDirection (const SwPosition &rPos, const Point *pPt) const |
determines the text direction for a certain position. More... | |
void | SetModifyAtAttr (bool bSetModifyAtAttr) const |
bool | GetModifyAtAttr () const |
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr | getSdrAllFillAttributesHelper () const |
void | UpdateAttr (const SwUpdateAttr &) |
Public Member Functions inherited from SwNode | |
bool | IsCreateFrameWhenHidingRedlines () const |
void | SetRedlineMergeFlag (Merge const eMerge) |
Merge | GetRedlineMergeFlag () const |
virtual | ~SwNode () override=0 |
the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More... | |
tools::Long | GetSerial () const |
sal_uInt16 | GetSectionLevel () const |
Returns the section level at the position given by aIndex. More... | |
SwNodeOffset | StartOfSectionIndex () const |
const SwStartNode * | StartOfSectionNode () const |
SwStartNode * | StartOfSectionNode () |
SwNodeOffset | EndOfSectionIndex () const |
const SwEndNode * | EndOfSectionNode () const |
SwEndNode * | EndOfSectionNode () |
sal_uInt8 | GetAutoFormatLvl () const |
void | SetAutoFormatLvl (sal_uInt8 nVal) |
bool | IsIgnoreDontExpand () const |
void | SetIgnoreDontExpand (bool bNew) |
SwNodeType | GetNodeType () const |
SwStartNode * | GetStartNode () |
const SwStartNode * | GetStartNode () const |
SwContentNode * | GetContentNode () |
const SwContentNode * | GetContentNode () const |
SwEndNode * | GetEndNode () |
const SwEndNode * | GetEndNode () const |
SwTextNode * | GetTextNode () |
Inline methods from Node.hxx. More... | |
const SwTextNode * | GetTextNode () const |
SwOLENode * | GetOLENode () |
Inline methods from Node.hxx. More... | |
const SwOLENode * | GetOLENode () const |
SwNoTextNode * | GetNoTextNode () |
const SwNoTextNode * | GetNoTextNode () const |
SwGrfNode * | GetGrfNode () |
const SwGrfNode * | GetGrfNode () const |
SwTableNode * | GetTableNode () |
const SwTableNode * | GetTableNode () const |
SwSectionNode * | GetSectionNode () |
const SwSectionNode * | GetSectionNode () const |
bool | IsStartNode () const |
bool | IsContentNode () const |
bool | IsEndNode () const |
bool | IsTextNode () const |
bool | IsTableNode () const |
bool | IsSectionNode () const |
bool | IsOLENode () const |
bool | IsNoTextNode () const |
bool | IsGrfNode () const |
bool | IsInRedlines () const |
Checks if this node is in redlines. More... | |
SwTableNode * | FindTableNode () |
Search table node, in which it is. More... | |
const SwTableNode * | FindTableNode () const |
SwSectionNode * | FindSectionNode () |
Search section node, in which it is. More... | |
const SwSectionNode * | FindSectionNode () const |
SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) |
const SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) const |
const SwStartNode * | FindTableBoxStartNode () const |
const SwStartNode * | FindFlyStartNode () const |
const SwStartNode * | FindFootnoteStartNode () const |
const SwStartNode * | FindHeaderStartNode () const |
const SwStartNode * | FindFooterStartNode () const |
SwNodes & | GetNodes () |
Node is in which nodes-array/doc? More... | |
const SwNodes & | GetNodes () const |
SwDoc & | GetDoc () |
const SwDoc & | GetDoc () const |
const IDocumentSettingAccess * | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
const IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () const |
Provides access to the document style pool interface. More... | |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
const IDocumentLinksAdministration & | getIDocumentLinksAdministration () const |
Provides access to the document links administration interface. More... | |
IDocumentLinksAdministration & | getIDocumentLinksAdministration () |
const IDocumentFieldsAccess & | getIDocumentFieldsAccess () const |
Provides access to the document fields administration interface. More... | |
IDocumentFieldsAccess & | getIDocumentFieldsAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the document content operations interface. More... | |
IStyleAccess & | getIDocumentStyleAccess () |
Provides access to the document automatic styles interface. More... | |
IDocumentListItems & | getIDocumentListItems () |
Provides access to the document's numbered items interface. More... | |
bool | IsInVisibleArea (SwViewShell const *pSh) const |
Is node in the visible area of the Shell? More... | |
bool | IsInProtectSect () const |
Is node in a protected area? More... | |
bool | IsProtect () const |
Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? More... | |
const SwPageDesc * | FindPageDesc (SwNodeOffset *pPgDescNdIdx=nullptr) const |
Search PageDesc with which this node is formatted. More... | |
SwFrameFormat * | GetFlyFormat () const |
If node is in a fly return the respective format. More... | |
SwTableBox * | GetTableBox () const |
If node is in a table return the respective table box. More... | |
SwNodeOffset | GetIndex () const |
const SwTextNode * | FindOutlineNodeOfLevel (sal_uInt8 nLvl, SwRootFrame const *pLayout=nullptr) const |
sal_uInt8 | HasPrevNextLayNode () const |
std::vector< SwFrameFormat * > const & | GetAnchoredFlys () const |
void | AddAnchoredFly (SwFrameFormat *) |
void | RemoveAnchoredFly (SwFrameFormat *) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More... | |
bool | operator== (const SwNode &rOther) const |
bool | operator!= (const SwNode &rOther) const |
bool | operator< (const SwNode &rOther) const |
bool | operator<= (const SwNode &rOther) const |
bool | operator> (const SwNode &rOther) const |
bool | operator>= (const SwNode &rOther) const |
sw::AccessibilityCheckStatus & | getAccessibilityCheckStatus () |
void | resetAndQueueAccessibilityCheck () |
Public Member Functions inherited from sw::BorderCacheOwner | |
BorderCacheOwner () | |
BorderCacheOwner (BorderCacheOwner &) | |
BorderCacheOwner & | operator= (const BorderCacheOwner &) |
~BorderCacheOwner () | |
bool | IsInCache () const |
void | InvalidateInSwCache (const sal_uInt16) |
virtual void | FormatDropNotify (const SwFormatDrop &)=0 |
Static Public Member Functions | |
static bool | IsIgnoredCharFormatForNumbering (const sal_uInt16 nWhich, bool bIsCharStyle=false) |
In MS Word, the font underline setting of the paragraph end position won't affect the formatting of numbering, so we ignore it. More... | |
Static Public Member Functions inherited from SwContentNode | |
static std::unique_ptr< SwOLENodes > | CreateOLENodesArray (const SwFormatColl &rColl, bool bOnlyWithInvalidSize) |
Private Member Functions | |
SAL_DLLPRIVATE | SwTextNode (SwNode &rWhere, SwTextFormatColl *pTextColl, const SfxItemSet *pAutoAttr=nullptr) |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
SAL_DLLPRIVATE void | CopyAttr (SwTextNode *pDest, const sal_Int32 nStart, const sal_Int32 nOldPos) |
Copies the attributes at nStart to pDest. More... | |
SAL_DLLPRIVATE SwTextNode * | MakeNewTextNode (SwNode &, bool bNext=true, bool bChgFollow=true) |
SAL_DLLPRIVATE void | CutImpl (SwTextNode *const pDest, const SwContentIndex &rDestStart, const SwContentIndex &rStart, sal_Int32 nLen, const bool bUpdate=true) |
SAL_DLLPRIVATE void | MoveTextAttr_To_AttrSet () |
Move all comprising hard attributes to the AttrSet of the paragraph. More... | |
virtual SAL_DLLPRIVATE void | NewAttrSet (SwAttrPool &) override |
Create the specific AttrSet. More... | |
bool | IsCalcHiddenCharFlags () const |
Optimization: Asking for information about hidden characters at SwScriptInfo updates these flags. More... | |
void | SetHiddenCharAttribute (bool bNewHiddenCharsHidePara, bool bNewContainsHiddenChars) const |
SAL_DLLPRIVATE void | CalcHiddenCharFlags () const |
SAL_DLLPRIVATE void | SetLanguageAndFont (const SwPaM &rPaM, LanguageType nLang, sal_uInt16 nLangWhichId, const vcl::Font *pFont, sal_uInt16 nFontWhichId) |
void | TryDeleteSwpHints () |
SAL_DLLPRIVATE void | impl_FormatToTextAttr (const SfxItemSet &i_rAttrSet) |
Does the hard work of SwTextNode::FormatToTextAttr: the real conversion of items to automatic styles. More... | |
const SwTextInputField * | GetOverlappingInputField (const SwTextAttr &rTextAttr) const |
void | DelFrames_TextNodePart () |
void | HandleNonLegacyHint (const SfxHint &) |
Private Attributes | |
std::unique_ptr< SwpHints > | m_pSwpHints |
May be 0. More... | |
std::unique_ptr< SwNodeNum > | mpNodeNum |
Numbering for this paragraph. More... | |
std::unique_ptr< SwNodeNum > | mpNodeNumRLHidden |
Numbering for this paragraph (hidden redlines) More... | |
std::unique_ptr< SwNodeNum > | mpNodeNumOrig |
Numbering for this paragraph (before changes) More... | |
OUString | m_Text |
sw::ParagraphIdleData | m_aParagraphIdleData |
bool | m_bContainsHiddenChars: 1 |
Some of the chars this para are hidden. More... | |
bool | m_bHiddenCharsHidePara: 1 |
The whole paragraph is hidden because of the hidden text attribute. More... | |
bool | m_bRecalcHiddenCharFlags: 1 |
The last two flags have to be recalculated if this flag is set: More... | |
bool | m_bLastOutlineState: 1 |
bool | m_bNotifiable |
bool | mbEmptyListStyleSetDueToSetOutlineLevelAttr |
bool | mbInSetOrResetAttr |
boolean, indicating that a <SetAttr(..)> or <ResetAttr(..)> or <ResetAllAttr(..)> method is running. More... | |
bool | m_bInUndo |
Is an undo operation in progress? More... | |
std::optional< OUString > | m_oNumStringCache |
unotools::WeakReference< SwXParagraph > | m_wXParagraph |
drawinglayer::attribute::SdrAllFillAttributesHelperPtr | maFillAttributes |
Friends | |
class | SwContentNode |
class | SwDoc |
For creating the first TextNode. More... | |
class | SwNodes |
class | SwTextFrame |
class | SwScriptInfo |
class | sw::TextNodeNotificationSuppressor |
Additional Inherited Members | |
Public Types inherited from SwNode | |
enum class | Merge { None , First , NonFirst , Hidden } |
sw_redlinehide: redline node merge state More... | |
Protected Member Functions inherited from SwContentNode | |
SwContentNode () | |
only used by SwContentNodeTmp in SwTextNode::Update More... | |
SwContentNode (const SwNode &rWhere, const SwNodeType nNodeType, SwFormatColl *pFormatColl) | |
virtual | ~SwContentNode () override=0 |
the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More... | |
virtual void | NewAttrSet (SwAttrPool &)=0 |
Make respective nodes create the specific AttrSets. More... | |
sal_uInt16 | ClearItemsFromAttrSet (const std::vector< sal_uInt16 > &rWhichIds) |
There some functions that like to remove items from the internal SwAttrSet (handle): More... | |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from SwNode | |
SwNode () | |
only used by SwContentNodeTmp in SwTextNode::Update More... | |
SwNode (const SwNode &rWhere, const SwNodeType nNodeId) | |
SwNode (SwNodes &rNodes, SwNodeOffset nPos, const SwNodeType nNodeId) | |
for the initial StartNode More... | |
Protected Member Functions inherited from sw::FormatDropDefiner | |
virtual | ~FormatDropDefiner () |
Protected Attributes inherited from SwContentNode | |
std::shared_ptr< const SfxItemSet > | mpAttrSet |
Attribute-set for all auto attributes of a ContentNode. More... | |
Protected Attributes inherited from SwNode | |
SwStartNode * | m_pStartOfSection |
SwTextNode is a paragraph in the document model.
|
private |
Definition at line 203 of file ndtxt.cxx.
References AddToList(), SwTextFormatColl::GetAssignedOutlineStyleLevel(), GetListId(), SwNode::GetNodes(), GetNumRule(), HasAttrListLevel(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), IsInList(), m_bContainsHiddenChars, m_bHiddenCharsHidePara, m_bRecalcHiddenCharFlags, SetAttr(), SetAttrListLevel(), Text, and SwNodes::UpdateOutlineNode().
Referenced by MakeNewTextNode().
|
overridevirtual |
Definition at line 242 of file ndtxt.cxx.
References SwContentNode::DelFrames(), DelFrames_TextNodePart(), DestroyAttr(), SwNode::GetDoc(), SwNode::GetNodes(), sw::BorderCacheOwner::InvalidateInSwCache(), m_pSwpHints, RemoveFromList(), RES_OBJECTDYING(), RES_PAGEDESC(), and ResetAttr().
void SwTextNode::AddToList | ( | ) |
Definition at line 4423 of file ndtxt.cxx.
References AddToListOrig(), AddToListRLHidden(), FindList(), SwIterator< TElementType, TSource, eMode >::First(), GetAttrListLevel(), SwNode::GetDoc(), SwDoc::GetDocShell(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), GetNode(), SwNode::GetNodes(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), SwList::InsertListItem(), SwDocShell::IsChangeRecording(), IsInList(), mpNodeNum, mpNodeNumRLHidden, SwIterator< TElementType, TSource, eMode >::Next(), SwRedlineTable::npos, SHOW, and Start.
Referenced by AppendNode(), SwNodes::ChgNode(), SwDoc::SetNumRule(), and SwTextNode().
void SwTextNode::AddToListOrig | ( | ) |
Definition at line 4494 of file ndtxt.cxx.
References FindList(), GetAttrListLevel(), SwNode::GetDoc(), SwList::InsertListItem(), mpNodeNumOrig, and ORIGTEXT.
Referenced by AddToList().
void SwTextNode::AddToListRLHidden | ( | ) |
Definition at line 4480 of file ndtxt.cxx.
References FindList(), GetAttrListLevel(), SwNode::GetDoc(), HIDDEN, SwList::InsertListItem(), and mpNodeNumRLHidden.
Referenced by AddToList(), sw::CheckParaRedlineMerge(), sw::UpdateFramesForRemoveDeleteRedline(), sw::UpdateMergedParaForDelete(), and sw::UpdateMergedParaForInsert().
SwContentNode * SwTextNode::AppendNode | ( | const SwPosition & | rPos | ) |
Definition at line 3130 of file ndtxt.cxx.
References AddToList(), GetListId(), SwPosition::GetNodeIndex(), SwPosition::GetNodes(), GetNumRule(), IsInList(), SwContentNode::MakeFramesForAdjacentContentNode(), MakeNewTextNode(), RES_PARATR_LIST_ID(), RES_PARATR_LIST_ISCOUNTED(), RES_PARATR_LIST_ISRESTART(), RES_PARATR_LIST_LEVEL(), RES_PARATR_LIST_RESTARTVALUE(), and ResetAttr().
Referenced by sw::DocumentContentOperationsManager::AppendTextNode(), and SwXMLTextBlocks::MakeBlockText().
sw::ListLevelIndents SwTextNode::AreListLevelIndentsApplicable | ( | ) | const |
Determines, if the list level indent attributes can be applied to the paragraph.
The list level indents can be applied to the paragraph under the one of following conditions:
Definition at line 4614 of file ndtxt.cxx.
References AreListLevelIndentsApplicableImpl(), sw::LeftMargin, sw::No, RES_MARGIN_FIRSTLINE(), and RES_MARGIN_TEXTLEFT().
Referenced by SwTextMargin::CtorInitTextMargin(), GetAdditionalIndentForStartingNewList(), GetFirstLineOfsWithNum(), GetLeftMarginForTabCalculation(), GetLeftMarginWithNum(), GetListTabStopPosition(), lcl_MergeListLevelIndentAsLRSpaceItem(), SwDoc::MoveLeftMargin(), MSWordExportBase::OutputTextNode(), and SwWW8ImplReader::Read_LR().
bool SwTextNode::AreListLevelIndentsApplicableImpl | ( | sal_uInt16 | nWhich | ) | const |
Definition at line 4628 of file ndtxt.cxx.
References SwFormat::DerivedFrom(), SwFormat::GetAttrSet(), SfxItemSet::GetItemState(), GetNum(), GetNumRule(), SwContentNode::GetpSwAttrSet(), GetTextColl(), SwContentNode::HasSwAttrSet(), and RES_PARATR_NUMRULE().
Referenced by AreListLevelIndentsApplicable().
|
private |
Definition at line 4740 of file ndtxt.cxx.
References SwScriptInfo::GetBoundsOfHiddenRange().
|
inline |
Definition at line 762 of file ndtxt.hxx.
Referenced by SwTextField::ExpandTextField().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 4060 of file ndtxt.cxx.
References SwContentNode::ChgFormatColl(), ChgTextCollUpdateNum(), SwNode::GetNodes(), GetTextColl(), maFillAttributes, mbInSetOrResetAttr, and SetCalcHiddenCharFlags().
Referenced by SwDoc::ClearDoc(), SwHTMLParser::Continue(), CopyCollFormat(), SwXMLImport::endDocument(), SwNodes::InsBoxen(), SwHTMLParser::InsertTableSection(), SwXMLTextBlocks::MakeBlockText(), MakeNewTextNode(), SwDoc::OutlineUpDown(), SwUndoInserts::RedoImpl(), SwDoc::Summary(), and SwUndoInserts::UndoImpl().
void SwTextNode::ChgTextCollUpdateNum | ( | const SwTextFormatColl * | pOld, |
const SwTextFormatColl * | pNew | ||
) |
Definition at line 1647 of file ndtxt.cxx.
References SwContentNode::ChkCondColl(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), FTNNUM_CHAPTER, SwTextFormatColl::GetAssignedOutlineStyleLevel(), SwNode::GetDoc(), SwDoc::GetFootnoteIdxs(), SwDoc::GetFootnoteInfo(), SwNode::GetIndex(), SwDoc::GetNodes(), SwNode::GetNodes(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNodes::IsDocNodes(), SwFootnoteInfo::m_eNum, MAXLEVEL, RES_CONDTXTFMTCOLL(), SetAttrListLevel(), SwFootnoteIdxs::UpdateFootnote(), SwNodes::UpdateOutlineNode(), and SwFormat::Which().
Referenced by ChgFormatColl(), MakeNewTextNode(), and TriggerNodeUpdate().
void SwTextNode::ClearGrammarCheck | ( | ) |
Definition at line 2287 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pGrammarCheck.
Referenced by sw::GrammarContact::finishGrammarCheck(), SwXTextCursor::invalidateMarkings(), and JoinPrev().
void SwTextNode::ClearSmartTags | ( | ) |
Definition at line 2315 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pSmartTags.
Referenced by SwXTextCursor::invalidateMarkings(), JoinPrev(), lcl_CheckSmartTagsAgain(), and SwTextFrame::SmartTagScan().
void SwTextNode::ClearSwpHintsArr | ( | bool | bDelFields | ) |
Definition at line 3437 of file thints.cxx.
References Count, DestroyAttr(), HasHints(), m_pSwpHints, nPos, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), RES_TXTATR_INPUTFIELD(), and SwTextAttr::Which().
Referenced by UndoTransliterate_Data::SetChangeAtNode(), SwUndoReplace::Impl::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), and SwNodes::UndoTableToText().
void SwTextNode::ClearWrong | ( | ) |
Definition at line 2261 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pWrong.
Referenced by SwTextFrame::AutoSpell_(), SwXTextCursor::invalidateMarkings(), and JoinPrev().
bool SwTextNode::CompareParRsid | ( | const SwTextNode & | rTextNode | ) | const |
Definition at line 5392 of file ndtxt.cxx.
References GetParRsid().
bool SwTextNode::CompareRsid | ( | const SwTextNode & | rTextNode, |
sal_Int32 | nStt1, | ||
sal_Int32 | nStt2 | ||
) | const |
bool SwTextNode::Convert | ( | SwConversionArgs & | rArgs | ) |
Definition at line 1156 of file txtedt.cxx.
References SwConversionArgs::aConvText, SwPosition::Assign(), SwConversionArgs::bAllowImplicitChangesForNotConvertibleText, COMPLETE_STRING, SwCursorShell::DeleteCurrent, SwLanguageIterator::GetChgPos(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwLanguageIterator::GetLanguage(), SwPosition::GetNode(), SwPaM::GetPoint(), editeng::HangulHanjaConversion::IsChinese(), LANGUAGE_NONE, lcl_MaskRedlinesAndHiddenText(), m_Text, min(), SwConversionArgs::nConvSrcLang, SwConversionArgs::nConvTargetLang, SwConversionArgs::nConvTextLang, SwLanguageIterator::Next(), SwArgsBase::pEndPos, SwArgsBase::pStartPos, SwConversionArgs::pTargetFont, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_LANGUAGE(), SwPosition::SetContent(), SetLanguageAndFont(), and SwPaM::SetMark().
Referenced by SwDoc::Spell().
|
private |
Copies the attributes at nStart to pDest.
copy attributes at position nTextStartIdx to node pDest
Definition at line 2009 of file ndtxt.cxx.
References SwTextAttr::GetAttr(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwTextAttr::GetRefMark(), SwDoc::GetRefMark(), SwFormatRefMark::GetRefName(), SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), HasHints(), i, InsertItem(), IS_COPY, lcl_CopyHint(), m_pSwpHints, RES_TXTATR_INPUTFIELD(), RES_TXTATR_REFMARK(), TriggerNodeUpdate(), and SwTextAttr::Which().
Referenced by CopyText(), CutImpl(), and MakeCopy().
void SwTextNode::CopyCollFormat | ( | SwTextNode & | rDestNd, |
bool | bUndoForChgFormatColl = true |
||
) |
Copy collection with all auto formats to dest-node.
The latter might be in another document! (Method in ndcopy.cxx!!).
Definition at line 339 of file ndcopy.cxx.
References aBreakSetRange, ChgFormatColl(), SwDoc::CopyTextColl(), SwAttrSet::CopyToModify(), SfxItemSet::Count(), SwDoc::GetAttrPool(), SwNode::GetDoc(), SwDoc::GetIDocumentUndoRedo(), SfxItemSet::GetItemState(), SwContentNode::GetpSwAttrSet(), GetTextColl(), SfxItemSet::Put(), RES_BREAK(), RES_PAGEDESC(), and SetAttr().
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), SwRangeRedline::CopyToSection(), SwXMLImport::endDocument(), SwViewShell::FillPrtDoc(), and SwNodes::MoveRange().
bool SwTextNode::CopyExpandText | ( | SwTextNode & | rDestNd, |
const SwContentIndex * | pDestIdx, | ||
sal_Int32 | nIdx, | ||
sal_Int32 | nLen, | ||
SwRootFrame const * | pLayout, | ||
bool | bWithNum = false , |
||
bool | bWithFootnote = true , |
||
bool | bReplaceTabsWithSpaces = false |
||
) | const |
Definition at line 3558 of file ndtxt.cxx.
References CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXT_ATR_INPUTFIELDEND, CH_TXT_ATR_INPUTFIELDSTART, CH_TXTATR_BREAKWORD, EMPTYEXPAND, SwTextAttr::End(), EraseText(), SvxFontItem::GetCharSet(), SwContentIndex::GetContentNode(), SwNode::GetDoc(), SwDoc::GetEndNoteInfo(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteInfo(), SwContentIndex::GetIndex(), CharFormat::GetItem(), SwFormatFootnote::GetNumber(), SwFormatFootnote::GetNumberRLHidden(), SwFormatFootnote::GetNumStr(), GetNumString(), SwTextAttr::GetStart(), GetText(), SwTextAttr::HasDummyChar(), HasHints(), i, InsertItem(), InsertText(), SwFormatFootnote::IsEndNote(), SwRootFrame::IsHideRedlines(), SwEndNoteInfo::m_aFormat, m_pSwpHints, SwScriptInfo::MaskHiddenRanges(), MAXLEVEL, comphelper::string::remove(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_TXTATR_ANNOTATION(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), RES_TXTATR_FIELD(), RES_TXTATR_FTN(), SAL_INFO_IF, and SwTextAttr::Which().
Referenced by SwTOXPara::FillText().
void SwTextNode::CopyText | ( | SwTextNode *const | pDest, |
const SwContentIndex & | rDestStart, | ||
const SwContentIndex & | rStart, | ||
sal_Int32 | nLen, | ||
const bool | bForceCopyOfAllAttrs = false |
||
) |
Definition at line 2087 of file ndtxt.cxx.
References sw::sidebar::aArr, CHECK_SWPHINTS, CHECK_SWPHINTS_IF_FRM, Copy, CopyAttr(), SwAttrSet::CopyToModify(), SwpHints::Delete(), DestroyAttr(), EMPTYEXPAND, EraseText(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwContentIndex::GetContentNode(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwDoc::GetIDocumentUndoRedo(), SwContentIndex::GetIndex(), SwNode::GetNodes(), GetNum(), GetNumString(), SwContentNode::GetpSwAttrSet(), GetpSwpHints(), SwTextAttr::GetRefMark(), SwDoc::GetRefMark(), SwFormatRefMark::GetRefName(), SwTextAttr::GetStart(), GetText(), SwTextAttr::HasDummyChar(), SwContentNode::HasSwAttrSet(), i, InsertHint(), InsertItem(), InsertText(), IS_COPY, SwDoc::IsClipBoard(), SwDoc::IsCopyIsMove(), lcl_CopyHint(), m_oNumStringCache, m_pSwpHints, m_Text, MakeTextAttr(), n, NOTXTATRCHR, RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_UNKNOWNATR_BEGIN(), RES_UNKNOWNATR_END(), SetAttr(), and SwTextAttr::Which().
void SwTextNode::CopyText | ( | SwTextNode *const | pDest, |
const SwContentIndex & | rDestStart, | ||
const SwPosition & | rStart, | ||
sal_Int32 | nLen, | ||
const bool | bForceCopyOfAllAttrs = false |
||
) |
Definition at line 2078 of file ndtxt.cxx.
References CopyText(), and SwPosition::nContent.
void SwTextNode::CopyText | ( | SwTextNode *const | pDest, |
const SwContentIndex & | rStart, | ||
const sal_Int32 | nLen, | ||
const bool | bForceCopyOfAllAttrs | ||
) |
Actions on text and attributes.
copy text and attributes to node pDest
introduce optional parameter to control, if all attributes have to be copied.
Definition at line 2069 of file ndtxt.cxx.
References CopyText(), and m_Text.
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl(), CopyText(), and MakeCopy().
bool SwTextNode::CountWords | ( | SwDocStat & | rStat, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd | ||
) | const |
count words in given range - returns true if we refreshed out count
Definition at line 2096 of file txtedt.cxx.
References CH_TXTATR_BREAKWORD, ModelToViewHelper::ConvertToViewPosition(), ExpandFields, ExpandFootnote, g_pBreakIt, SwScanner::GetBegin(), SwBreakIt::GetBreakIter(), SwBreakIt::getGraphemeCount(), SwNode::getIDocumentLayoutAccess(), GetLang(), GetNumString(), SwScanner::getOverriddenDashCount(), GetText(), ModelToViewHelper::getViewText(), SwScanner::GetWord(), HasBullet(), HideDeletions, HideFieldmarkCommands, HideInvisible, IsHidden(), SwNode::IsInRedlines(), IsWordCountDirty(), m_aParagraphIdleData, SwDocStat::nAllPara, SwDocStat::nAsianWord, SwDocStat::nChar, SwDocStat::nCharExcludingSpaces, SwScanner::NextWord(), sw::ParagraphIdleData::nNumberOfAsianWords, sw::ParagraphIdleData::nNumberOfChars, sw::ParagraphIdleData::nNumberOfCharsExcludingSpaces, sw::ParagraphIdleData::nNumberOfWords, SwDocStat::nPara, SwDocStat::nWord, and SetWordCountDirty().
Referenced by SwDoc::CountWords(), SwLayIdle::DoIdleJob_(), and sw::DocumentStatisticsManager::IncrementalDocStatCalculate().
|
private |
Definition at line 2504 of file ndtxt.cxx.
References sw::sidebar::aArr, CHECK_SWPHINTS, CopyAttr(), Count, DONTREPLACE, SfxItemSet::Get(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwContentIndex::GetContentNode(), SfxItemIter::GetCurItem(), SfxItemIter::GetCurPos(), SwNode::GetDoc(), SwDoc::GetDocShell(), SwTextAttr::GetEnd(), SwDoc::GetIDocumentUndoRedo(), SwContentIndex::GetIndex(), SfxItemSet::GetItemState(), SwNode::GetNodes(), SfxItemSet::GetParent(), SwContentNode::GetpSwAttrSet(), GetSpaceLeft(), SwTextAttr::GetStart(), GetText(), SfxItemSet::GetWhichByPos(), HandleNonLegacyHint(), SwTextAttr::HasDummyChar(), SwContentNode::HasSwAttrSet(), HINT_END(), InsertHint(), IS_COPY, SwTextAttr::IsFormatIgnoreEnd(), SwTextAttr::IsFormatIgnoreStart(), IsInvalidItem(), lcl_CopyHint(), m_pSwpHints, m_Text, MakeTextAttr(), SfxItemIter::NextItem(), NOTXTATRCHR, RES_BREAK(), RES_CHRATR_BEGIN(), RES_CHRATR_END(), RES_FRMATR_CONDITIONAL_STYLE_NAME(), RES_FRMATR_STYLE_NAME(), RES_PAGEDESC(), RES_PARATR_LIST_LEVEL(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), RES_TXTATR_REFMARK(), RES_UNKNOWNATR_BEGIN(), RES_UNKNOWNATR_END(), SetAttr(), SwTextAttr::SetEnd(), SwTextAttr::SetStart(), TryDeleteSwpHints(), u, Update(), SfxPoolItem::Which(), and SwTextAttr::Which().
Referenced by CutText().
|
inline |
void SwTextNode::CutText | ( | SwTextNode *const | pDest, |
const SwContentIndex & | rStart, | ||
const sal_Int32 | nLen | ||
) |
Definition at line 2496 of file ndtxt.cxx.
References CutImpl(), and GetText().
Referenced by JoinNext(), JoinPrev(), SwNodes::MoveRange(), SplitContentNode(), SwHTMLParser::StripTrailingPara(), and sw_JoinText().
void SwTextNode::DeleteAttribute | ( | SwTextAttr *const | pTextAttr | ) |
delete the attribute pTextAttr
Definition at line 1763 of file thints.cxx.
References SwTextAttr::Destroy(), SwTextAttr::End(), EraseText(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwTextAttr::GetStart(), SwTextAttr::HasContent(), SwTextAttr::HasDummyChar(), HasHints(), m_pSwpHints, TryDeleteSwpHints(), and SwTextAttr::Which().
Referenced by SwHTMLParser::AppendTextNode(), SwDoc::DeleteFormatRefMark(), SwDoc::DeleteTOXMark(), SwNodes::RemoveNode(), and ReplaceText().
void SwTextNode::DeleteAttributes | ( | const sal_uInt16 | nWhich, |
const sal_Int32 | nStart, | ||
const sal_Int32 | nEnd = 0 |
||
) |
delete all attributes of type nWhich at nStart (opt. end nEnd)
Definition at line 1801 of file thints.cxx.
References SwTextAttr::Destroy(), SwTextAttr::End(), EraseText(), SwFormatCharFormat::GetCharFormat(), SwTextAttr::GetCharFormat(), SwNode::GetDoc(), SwTextAttr::GetEnd(), CharFormat::GetItem(), SwFormat::GetItemState(), SwTextAttr::GetStart(), SwTextAttr::HasContent(), SwTextAttr::HasDummyChar(), HasHints(), m_pSwpHints, nPos, RES_CHRATR_HIDDEN(), RES_TXTATR_AUTOFMT(), RES_TXTATR_CHARFMT(), SetCalcHiddenCharFlags(), TryDeleteSwpHints(), and SwTextAttr::Which().
Referenced by SwDoc::ChgAnchor(), SwXShape::dispose(), SwUndoFormatAttr::RestoreFlyAnchor(), SwDoc::SetFlyFrameAnchor(), SwHistoryResetText::SetInDoc(), SwXShape::setPropertyValue(), SwUndoSetFlyFormat::UndoImpl(), and SwUndoInsert::UndoImpl().
|
private |
Definition at line 1834 of file ndtxt.cxx.
References SetAutoCompleteWordDirty(), SetGrammarCheck(), SetGrammarCheckDirty(), SetSmartTagDirty(), SetSmartTags(), SetWordCountDirty(), SetWrong(), SetWrongDirty(), and sw::TODO.
Referenced by ~SwTextNode().
void SwTextNode::DelSoftHyph | ( | const sal_Int32 | nStart, |
const sal_Int32 | nEnd | ||
) |
Definition at line 1876 of file thints.cxx.
References CHAR_SOFTHYPHEN, EraseText(), and m_Text.
void SwTextNode::DestroyAttr | ( | SwTextAttr * | pAttr | ) |
Definition at line 1186 of file thints.cxx.
References SwRDFHelper::clearStatements(), Database, DbNextSet, DbNumSet, DbSetNumber, Dde, IDocumentLayoutAccess::DelLayoutFormat(), SwTextAttr::Destroy(), SwTextAttr::GetAttr(), SwDoc::GetAttrPool(), SwNode::GetDoc(), SwDoc::GetDocShell(), GetExp, SwFormatField::GetField(), SwTextAttr::GetFlyCnt(), SwTextAttr::GetFormatField(), SwFormatFlyCnt::GetFrameFormat(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentLayoutAccess(), SwFormatMeta::GetMeta(), SwNode::GetNodes(), SwTextField::GetpTextNode(), SwField::GetTyp(), HiddenPara, HiddenText, IDocumentFieldsAccess::InsDelFieldInFieldLst(), SwDoc::IsInDtor(), IDocumentFieldsAccess::IsNewFieldLst(), Postit, REMOVED, RES_CHRATR_HIDDEN(), RES_TXTATR_ANNOTATION(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SetCalcHiddenCharFlags(), SetCalcHiddenParaField(), SetExp, u, SwFieldType::Which(), SwTextAttr::Which(), and xModel.
Referenced by SwpHints::BuildPortions(), ClearSwpHintsArr(), CopyText(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), EraseText(), GCAttr(), impl_FormatToTextAttr(), InsertHint(), SwpHints::MergePortions(), MoveTextAttr_To_AttrSet(), RstTextAttr(), SetAttr(), SplitContentNode(), SwpHints::TryInsertHint(), SwpHints::TryInsertNesting(), and ~SwTextNode().
bool SwTextNode::DontExpandFormat | ( | sal_Int32 | nContentIdx, |
bool | bFlag = true , |
||
bool | bFormatToTextAttributes = true |
||
) |
When appropriate set DontExpand-flag at INet or character styles respectively.
Definition at line 1681 of file ndtxt.cxx.
References SwTextAttr::DontExpand(), FormatToTextAttr(), SwTextAttr::GetEnd(), SwTextAttr::GetStart(), HasHints(), SwTextAttr::IsLockExpandFlag(), m_pSwpHints, m_Text, nPos, and SwTextAttr::SetDontExpand().
Referenced by ChgNumToText(), ChgTextToNum(), SwDoc::DontExpandFormat(), SwDoc::ResetAttrs(), SetAttr(), and SwUndoResetAttr::UndoImpl().
void SwTextNode::DoNum | ( | std::function< void(SwNodeNum &)> const & | rFunc | ) |
Definition at line 4104 of file ndtxt.cxx.
References mpNodeNum, mpNodeNumOrig, and mpNodeNumRLHidden.
|
overridevirtual |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default)
Reimplemented from SwNode.
Definition at line 5335 of file ndtxt.cxx.
References SwpHints::Count(), SfxItemSet::dumpAsXml(), SwTextAttr::dumpAsXml(), SwpHints::Get(), SwContentNode::GetFormatColl(), SwNode::GetIndex(), GetName(), SwContentNode::GetSwAttrSet(), GetSwpHints(), GetText(), HasHints(), SwContentNode::HasSwAttrSet(), and i.
void SwTextNode::EraseText | ( | const SwContentIndex & | rIdx, |
const sal_Int32 | nCount = SAL_MAX_INT32 , |
||
const SwInsertFlags | nMode = SwInsertFlags::DEFAULT |
||
) |
delete text content ATTENTION: must not be called with a range that overlaps the start of an attribute with both extent and dummy char
Definition at line 2777 of file ndtxt.cxx.
References CHECK_SWPHINTS, DestroyAttr(), EMPTYEXPAND, SwContentIndex::GetContentNode(), SwTextAttr::GetEnd(), SwContentIndex::GetIndex(), SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), i, isTXTATR(), m_pSwpHints, m_Text, nCount, RES_TXTATR_CJK_RUBY(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SAL_MAX_INT32, SetCalcHiddenCharFlags(), TryDeleteSwpHints(), u, Update(), and SwTextAttr::Which().
Referenced by CalculateFlySize(), SwUndoDelete::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwDDETable::ChangeContent(), ChgNumToText(), ChgTextToNum(), SwFEShell::Copy(), CopyExpandText(), CopyText(), SwUndoSaveContent::DelContentIndex(), DeleteAttribute(), DeleteAttributes(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwUndoFlyBase::DelFly(), sw::DocumentLayoutManager::DelLayoutFormat(), DelSoftHyph(), EraseText(), InsertHint(), lcl_SaveAnchor(), sw::DocumentContentOperationsManager::Overwrite(), SwUndoOverwrite::RedoImpl(), SwUndoDelete::SaveContent(), SwExtTextInput::SetInputData(), SwHTMLParser::StripTrailingLF(), SwUndoOverwrite::SwUndoOverwrite(), SwNodes::TextToTable(), SwUndoInsert::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwNodes::UndoTableToText(), SwTOXBaseSection::UpdatePageNum_(), and SwExtTextInput::~SwExtTextInput().
void SwTextNode::EraseText | ( | const SwPosition & | rIdx, |
const sal_Int32 | nCount = SAL_MAX_INT32 , |
||
const SwInsertFlags | nMode = SwInsertFlags::DEFAULT |
||
) |
Definition at line 2771 of file ndtxt.cxx.
References EraseText(), SwPosition::nContent, and nCount.
void SwTextNode::FileLoadedInitHints | ( | ) |
initialize the hints after file loading (which takes shortcuts)
Definition at line 277 of file ndtxt.cxx.
References m_pSwpHints.
Referenced by sw_MergePortions().
void SwTextNode::fillSoftPageBreakList | ( | SwSoftPageBreakList & | rBreak | ) | const |
Definition at line 29 of file softpagebreak.cxx.
References SwPageFrame::FindFirstBodyContent(), SwTabFrame::FindMaster(), SwFrame::FindPageFrame(), SwFrame::FindTabFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwTabFrame::GetFirstNonHeadlineRow(), SwFrame::GetNext(), SwFrame::GetPrev(), SwFrame::GetUpper(), SwTabFrame::HasFollowFlowLine(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), SwLayoutFrame::IsAnLower(), SwFrame::IsInTab(), SwFrame::IsRowFrame(), SwFrame::IsTabFrame(), SwLayoutFrame::Lower(), SwIterator< TElementType, TSource, eMode >::Next(), and pos.
Referenced by lcl_FillSoftPageBreakArray(), and MSWordExportBase::NeedTextNodeSplit().
|
inlineoverridevirtual |
Implements sw::FormatDropDefiner.
void SwTextNode::FormatToTextAttr | ( | SwTextNode * | pNd | ) |
Convey attributes of an AttrSet (AutoFormat) to SwpHintsArray.
Definition at line 2539 of file thints.cxx.
References aCharFormatSetRange, SwContentNode::ClearItemsFromAttrSet(), Count, SfxItemSet::Count(), SwDoc::GetAttrPool(), SfxItemIter::GetCurItem(), SwNode::GetDoc(), SwContentNode::GetFormatColl(), SfxItemSet::GetItemState(), GetOrCreateSwpHints(), SwContentNode::GetpSwAttrSet(), SwContentNode::HasSwAttrSet(), impl_FormatToTextAttr(), SfxItemIter::NextItem(), SfxItemSet::Put(), SetCalcHiddenCharFlags(), TryDeleteSwpHints(), and SfxPoolItem::Which().
Referenced by SwHTMLParser::Continue(), DontExpandFormat(), SwXMLImport::endDocument(), SwDoc::ResetAttrs(), SwDontExpandItem::RestoreDontExpandItems(), and sw_JoinText().
void SwTextNode::GCAttr | ( | ) |
Definition at line 2875 of file ndtxt.cxx.
References DestroyAttr(), SwTextAttr::GetEnd(), SwTextAttr::GetStart(), GetTextColl(), SwTextAttr::HasDummyChar(), HasHints(), i, m_pSwpHints, m_Text, min(), RES_TXTATR_INETFMT(), SwTextAttr::SetDontExpand(), TryDeleteSwpHints(), and SwTextAttr::Which().
Referenced by SwEditShell::GCAttr().
int SwTextNode::GetActualListLevel | ( | SwListRedlineType | eRedline = SwListRedlineType::SHOW | ) | const |
Returns the actual list level of this text node, when it is a list item.
Definition at line 4248 of file ndtxt.cxx.
References SwNumberTreeNode::GetLevelInListTree(), GetNum(), mpNodeNumRLHidden, and SHOW.
Referenced by SwUndoDelNum::AddNode(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwChapterField::ChangeExpansion(), SwContentTree::FillTransferData(), GetAdditionalIndentForStartingNewList(), SwUnoCursorHelper::getCursorPropertyValue(), GetExpandText(), GetFirstLineOfsWithNum(), GetLabelFollowedBy(), GetLeftMarginForTabCalculation(), GetLeftMarginWithNum(), GetListTabStopPosition(), SwWW8FltControlStack::GetNumFormatFromStack(), sw::util::GetNumFormatFromTextNode(), SwEditShell::GetNumLevel(), GetNumString(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), SwEditShell::GetPaMAttr(), SwWrtShell::GetSelectionType(), HasBullet(), HasMarkedLabel(), HasNumber(), HasVisibleNumberingOrBullet(), SwHTMLParser::InsertImage(), lcl_CreateOutlineString(), lcl_dbg_out(), lcl_FindOutlineNum(), lcl_GotoNextPrevNum(), lcl_IsNoEndTextAttrAtPos(), lcl_MergeListLevelIndentAsLRSpaceItem(), lcl_SetRuleChgd(), MakeRefNumStr(), SwDoc::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwTextFormatter::NewNumberPortion(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOff(), SwWrtShell::NumOrBulletOn(), SwDoc::NumOrNoNum(), SwDoc::NumUpDown(), OutASC_SwTextNode(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), MSWordExportBase::OutputTextNode(), AttributeOutputBase::ParaNumRule(), RtfAttributeOutput::ParaNumRule_Impl(), SwWW8ImplReader::Read_LR(), SwHTMLNumRuleInfo::Set(), SwTaggedPDFHelper::SetAttributes(), SwEditShell::SetIndent(), SwEditShell::SetNumberingRestart(), and SwCursorShell::UpdateMarkedListLevel().
SwNumberTree::tSwNumTreeNumber SwTextNode::GetActualListStartValue | ( | ) | const |
Definition at line 4342 of file ndtxt.cxx.
References GetAttrListLevel(), GetAttrListRestartValue(), SwNumRule::GetNumFormat(), GetNumRule(), SvxNumberFormat::GetStart(), HasAttrListRestartValue(), and IsListRestart().
Referenced by SwNodeNum::GetStartValue(), OutHTML_SwFormat(), and AttributeOutputBase::ParaNumRule().
SwTwips SwTextNode::GetAdditionalIndentForStartingNewList | ( | ) | const |
Definition at line 3377 of file ndtxt.cxx.
References AreListLevelIndentsApplicable(), sw::proofreadingiterator::get(), SwNumRule::Get(), GetActualListLevel(), SvxNumberFormat::GetFirstLineIndent(), SwAttrSet::GetFirstLineIndent(), SwNode::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SvxTextLeftMarginItem::GetLeft(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetSwAttrSet(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), SwAttrSet::GetTextLeftMargin(), IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, sw::LeftMargin, RES_MARGIN_FIRSTLINE(), and RES_MARGIN_TEXTLEFT().
Referenced by SwWrtShell::NumOrBulletOn().
|
inline |
End: Data collected during idle time.
Definition at line 472 of file node.hxx.
Referenced by SwAccessibleParagraph::_getSupplementalAttributesImpl(), SwDoc::AppendDoc(), checkApplyParagraphMarkFormatToNumbering(), WinwordAnchoring::ConvertPosition(), SwWW8ImplReader::End_Footnote(), GetAttrListLevel(), GetAttrListRestartValue(), GetAttrOutlineContentVisible(), GetAttrOutlineLevel(), GetListId(), GetParRsid(), SwXTextPortion::GetPropertyValue(), SwXParagraph::Impl::GetPropertyValues_Impl(), SwXTextPortion::GetPropertyValuesTolerant_Impl(), sw::util::GetPseudoCharRuns(), IsCountedInList(), IsListRestart(), MSWordExportBase::OutputTextNode(), SetListId(), and SwWW8ImplReader::StripNegativeAfterIndent().
bool SwContentNode::GetAttr | ( | SfxItemSet & | rSet | ) | const |
|
inline |
int SwTextNode::GetAttrListLevel | ( | ) | const |
Definition at line 4237 of file ndtxt.cxx.
References GetAttr(), SfxInt16Item::GetValue(), and RES_PARATR_LIST_LEVEL().
Referenced by AddToList(), AddToListOrig(), AddToListRLHidden(), GetActualListStartValue(), and sw::HasNumberingWhichNeedsLayoutUpdate().
SwNumberTree::tSwNumTreeNumber SwTextNode::GetAttrListRestartValue | ( | ) | const |
Definition at line 4332 of file ndtxt.cxx.
References GetAttr(), SfxInt16Item::GetValue(), HasAttrListRestartValue(), and RES_PARATR_LIST_RESTARTVALUE().
Referenced by GetActualListStartValue(), SwEditShell::GetNodeNumStart(), SwUnoCursorHelper::IsNodeNumStart(), SetAttrListRestartValue(), SwDoc::SetNodeNumStart(), and SwUndoNumRuleStart::SwUndoNumRuleStart().
void SwTextNode::GetAttrOutlineContentVisible | ( | bool & | bOutlineContentVisibleAttr | ) |
GetAttrOutlineContentVisible.
bOutlineContentVisibleAttr | the value stored in RES_PARATR_GRABBAG for 'OutlineContentVisibleAttr' |
Definition at line 4183 of file ndtxt.cxx.
References GetAttr(), SfxGrabBagItem::GetGrabBag(), and RES_PARATR_GRABBAG().
Referenced by SwBaseShell::ExecDelete(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_IsAllowed(), SwWrtShell::MakeOutlineContentVisible(), and SwEditWin::ToggleOutlineContentVisibility().
int SwTextNode::GetAttrOutlineLevel | ( | ) | const |
Returns outline level of this text node.
If a text node has an outline number (i.e. it has an SwNodeNum and an outline numbering rule) the outline level is the level of this SwNodeNum.
If a text node has no outline number and has a paragraph style attached the outline level is the outline level of the paragraph style.
Otherwise the text node has no outline level (NO_NUMBERING).
NOTE: The outline level of text nodes is subject to change. The plan is to have an SwTextNode::nOutlineLevel member that is updated from a paragraph style upon appliance of that paragraph style.
Definition at line 4168 of file ndtxt.cxx.
References GetAttr(), and RES_PARATR_OUTLINELEVEL().
Referenced by SwTaggedPDFHelper::BeginBlockStructureElements(), SwChapterField::ChangeExpansion(), SwContentType::FillMemberList(), SwNode::FindOutlineNodeOfLevel(), SwEditShell::GetCurrentParaOutlineLevel(), SwUnoCursorHelper::getCursorPropertyValue(), GetEndNode(), SwCursorShell::GetOutlinePos(), SwAutoCorrDoc::GetPrevPara(), GetStartNode(), SwContentNode::IsAnyCondition(), IsHeadingContained(), IsOutline(), SwEditShell::IsProtectedOutlinePara(), lcl_dbg_out(), lcl_FindOutlineNum(), lcl_FoldedOutlineNodeEndOfParaSplit(), SwWrtShell::MakeOutlineContentVisible(), SwWrtShell::MakeOutlineLevelsVisible(), SwCursorShell::MakeOutlineSel(), SwDoc::MoveOutlinePara(), SwDoc::OutlineUpDown(), sw::DocumentLinksAdministrationManager::SelectServerObj(), sw::DocumentFieldsManager::SetFieldsDirty(), and SwTOXBaseSection::UpdateOutline().
sal_Int32 SwTextNode::GetDropLen | ( | sal_Int32 | nWishLen | ) | const |
nWishLen = 0 indicates that we want a whole word
Definition at line 125 of file txtdrop.cxx.
References CH_BREAK, CH_TAB, CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, g_pBreakIt, SwBreakIt::GetBreakIter(), SwAttrSet::GetCJKLanguage(), SwAttrSet::GetCTLLanguage(), SvxLanguageItem::GetLanguage(), SwAttrSet::GetLanguage(), SwBreakIt::GetLocale(), SwBreakIt::GetRealScriptOfText(), SwContentNode::GetSwAttrSet(), GetText(), GetTextAttrForCharAt(), and i.
Referenced by SwWW8AttrIter::IsDropCap(), and SwWW8AttrIter::SearchNext().
Passes back info needed on the dropcap dimensions.
If a dropcap is found the return value is true otherwise false.
The drop cap sizes passed back by reference are font height, drop height and drop descent.
Definition at line 231 of file txtdrop.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SfxItemSet::Get(), SwFormatDrop::GetChars(), SwDropPortion::GetDropDescent(), SwDropPortion::GetDropHeight(), SwLineLayout::GetFirstPortion(), SwDropPortion::GetFnt(), SvxFontHeightItem::GetHeight(), SwFormatDrop::GetLines(), SwContentNode::GetSwAttrSet(), SwFormatDrop::GetWholeWord(), Height, SwLinePortion::IsDropPortion(), SwIterator< TElementType, TSource, eMode >::Next(), RES_CHRATR_FONTSIZE(), and rSet.
Referenced by WW8AttributeOutput::FormatDrop().
OUString SwTextNode::GetExpandText | ( | SwRootFrame const * | pLayout, |
const sal_Int32 | nIdx = 0 , |
||
const sal_Int32 | nLen = -1 , |
||
const bool | bWithNum = false , |
||
const bool | bAddSpaceAfterListLabelStr = false , |
||
const bool | bWithSpacesForLevel = false , |
||
const ExpandMode | eAdditionalMode = ExpandMode::ExpandFootnote | ExpandMode::HideFieldmarkCommands |
||
) | const |
add 4th optional parameter <bAddSpaceAfterListLabelStr> indicating, when <bWithNum = true> that a space is inserted after the string for the list label.
add 5th optional parameter <bWithSpacesForLevel> indicating, if additional spaces are inserted in front of the expanded text string depending on the list level.
Definition at line 3505 of file ndtxt.cxx.
References CH_TXT_ATR_INPUTFIELDEND, CH_TXT_ATR_INPUTFIELDSTART, CH_TXTATR_BREAKWORD, ModelToViewHelper::ConvertToViewPosition(), eMode, ExpandFields, GetActualListLevel(), GetNumString(), GetText(), ModelToViewHelper::getViewText(), HideDeletions, SwRootFrame::IsHideRedlines(), MAXLEVEL, and comphelper::string::remove().
Referenced by SwEditShell::Calculate(), SwCursorShell::GetContentAtPos(), sw::GetExpandTextMerged(), SwFormatFootnote::GetFootnoteText(), SwEditShell::GetINetAttrs(), SwCursorShell::GetSelText(), SwSetExpFieldType::GetSeqFieldList(), SwEditShell::GetSeqFootnoteList(), SwXTextPortion::getString(), SwTOXMark::GetText(), SwDoc::GotoOutline(), lcl_FindOutlineName(), SwCursorShell::SelectNxtPrvHyperlink(), SwDoc::SplitDoc(), AttributeOutputBase::TOXMark(), SwGetRefField::UpdateField(), and SwTextInputField::UpdateFieldContent().
SwTextField * SwTextNode::GetFieldTextAttrAt | ( | const sal_Int32 | nIndex, |
::sw::GetTextAttrMode const | eMode = ::sw::GetTextAttrMode::Expand |
||
) | const |
Definition at line 1849 of file ndtxt.cxx.
References eMode, GetTextAttrAt(), GetTextAttrForCharAt(), nIndex, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), and RES_TXTATR_INPUTFIELD().
Referenced by SwXTextField::attach(), SwWrtShell::DelRight(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), SwCursorShell::GetPostItFieldAtCursor(), sw::DocumentFieldsManager::GetTextFieldAtPos(), SwCursorShell::GetTextFieldAtPos(), SwHandleAnchorNodeChg::ImplDestroy(), sw::mark::AnnotationMark::InitDoc(), SwCursorShell::MoveFieldType(), SwFltControlStack::SetAttrInDoc(), and SwXTextField::TransmuteLeadToInputField().
bool SwTextNode::GetFirstLineOfsWithNum | ( | short & | rFirstOffset | ) | const |
Returns the combined first line indent of this text node and its numbering.
the | first line indent of this text node taking the numbering into account (return parameter) |
true | this node has SwNodeNum and has numbering rule |
false | else |
Definition at line 3334 of file ndtxt.cxx.
References AreListLevelIndentsApplicable(), sw::proofreadingiterator::get(), SwNumRule::Get(), GetActualListLevel(), SvxNumberFormat::GetFirstLineIndent(), SwAttrSet::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SwNode::getIDocumentSettingAccess(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetSwAttrSet(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, IsCountedInList(), SvxNumberFormat::LABEL_ALIGNMENT, and SvxNumberFormat::LABEL_WIDTH_AND_POSITION.
Referenced by SwTextMargin::CtorInitTextMargin(), SwTextFrame::GetCharRect(), GetMinMaxSize(), and SwView::StateTabWin().
SwGrammarMarkUp * SwTextNode::GetGrammarCheck | ( | ) |
Definition at line 2297 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pGrammarCheck.
Referenced by sw::GrammarContact::finishGrammarCheck(), GetGrammarCheck(), sw::GrammarContact::getGrammarCheck(), SwEditShell::GetGrammarCorrection(), SwVisibleCursor::getLOKPayload(), SwEditShell::IgnoreGrammarErrorAt(), JoinNext(), JoinPrev(), lcl_SetWrong(), lcl_SpellAndGrammarAgain(), lcl_syncGrammarError(), SwTextFrame::PaintSwFrame(), and SplitContentNode().
SwWrongList const * SwTextNode::GetGrammarCheck | ( | ) | const |
Definition at line 2302 of file txtedt.cxx.
References GetGrammarCheck().
OUString SwTextNode::GetLabelFollowedBy | ( | ) | const |
Retrieves the character following the list label, if the paragraph's list level defines one.
Definition at line 4725 of file ndtxt.cxx.
References SwNumRule::Get(), GetActualListLevel(), SvxNumberFormat::GetLabelFollowedByAsString(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), HasVisibleNumberingOrBullet(), and SvxNumberFormat::LABEL_ALIGNMENT.
Referenced by SwTextFormatter::NewNumberPortion().
LanguageType SwTextNode::GetLang | ( | const sal_Int32 | nBegin, |
const sal_Int32 | nLen = 0 , |
||
sal_uInt16 | nScript = 0 |
||
) | const |
Definition at line 3474 of file thints.cxx.
References SwTextAttr::DontExpand(), SwTextAttr::End(), g_pBreakIt, SfxItemSet::Get(), GetAppLanguage(), CharFormat::GetItem(), SwLangHelper::GetLanguage(), SwBreakIt::GetRealScriptOfText(), SwTextAttr::GetStart(), SwContentNode::GetSwAttrSet(), GetWhichOfScript(), HasHints(), i, SwTextAttr::IsCharFormatAttr(), CharFormat::IsItemIncluded(), LANGUAGE_DONTKNOW, m_pSwpHints, m_Text, RES_CHRATR_LANGUAGE(), RES_TXTATR_AUTOFMT(), and SwTextAttr::Which().
Referenced by SwTextFrame::AutoSpell_(), CountWords(), DoSearch(), SwTextShell::ExecField(), SwCursor::ExpandToSentenceBorders(), SwEditShell::GetCorrection(), SwEditShell::GetCurLang(), SwTextFrame::GetCurWord(), GetNumString(), SwCursor::GoEndWordWT(), SwContentNode::GoNext(), SwCursor::GoNextWordWT(), SwContentNode::GoPrevious(), SwCursor::GoPrevWordWT(), SwCursor::GoSentence(), SwCursor::GoStartWordWT(), Hyphenate(), SwScriptInfo::InitScriptInfo(), SwCursor::IsEndWordWT(), SwCursor::IsInWordWT(), SwCursor::IsStartWordWT(), SwDoc::ResetAttrs(), SwDoc::SelectNextRubyChars(), SwCursor::SelectWordWT(), SwTextFrame::SmartTagScan(), DocxAttributeOutput::StartRuby(), SwScanner::SwScanner(), sw::DocumentContentOperationsManager::TransliterateText(), TransliterateText(), SwGetRefFieldType::UpdateGetReferences(), SwIndexMarkPane::UpdateLanguageDependenciesForPhoneticReading(), and SwExtTextInput::~SwExtTextInput().
tools::Long SwTextNode::GetLeftMarginForTabCalculation | ( | ) | const |
return left margin for tab stop position calculation
Needed for text formatting Method considers new list level attributes, which also can provide a left margin value
Definition at line 3430 of file ndtxt.cxx.
References AreListLevelIndentsApplicable(), SwNumRule::Get(), GetActualListLevel(), SvxNumberFormat::GetIndentAt(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetSwAttrSet(), SvxTextLeftMarginItem::GetTextLeft(), SwAttrSet::GetTextLeftMargin(), SvxNumberFormat::LABEL_ALIGNMENT, and sw::LeftMargin.
Referenced by SwTextMargin::CtorInitTextMargin().
tools::Long SwTextNode::GetLeftMarginWithNum | ( | bool | bTextLeft = false | ) | const |
Returns the additional indents of this text node and its numbering.
bTextLeft | return text-left-margin instead of left-margin (include negative first-line-indent, see lrspitem.hxx) |
Definition at line 3277 of file ndtxt.cxx.
References AreListLevelIndentsApplicable(), SwNumRule::Get(), SvxNumberFormat::GetAbsLSpace(), GetActualListLevel(), SvxNumberFormat::GetFirstLineIndent(), SvxNumberFormat::GetFirstLineOffset(), SvxNumberFormat::GetIndentAt(), SvxTextLeftMarginItem::GetLeft(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetSwAttrSet(), SvxTextLeftMarginItem::GetTextLeft(), SwAttrSet::GetTextLeftMargin(), SwNumRule::IsAbsSpaces(), SvxNumberFormat::LABEL_ALIGNMENT, SvxNumberFormat::LABEL_WIDTH_AND_POSITION, sw::LeftMargin, SvxFirstLineIndentItem::SetTextFirstLineOffset(), and SvxTextLeftMarginItem::SetTextLeft().
Referenced by SwTextMargin::CtorInitTextMargin(), SwTextFrame::FillCursorPos(), GetMinMaxSize(), and SwView::StateTabWin().
OUString SwTextNode::GetListId | ( | ) | const |
Definition at line 4580 of file ndtxt.cxx.
References GetAttr(), SwNumRule::GetDefaultListId(), GetNumRule(), CntUnencodedStringItem::GetValue(), and RES_PARATR_LIST_ID().
Referenced by AppendNode(), FindList(), SwUnoCursorHelper::getCursorPropertyValue(), HasMarkedLabel(), SwDoc::MakeUniqueNumRules(), AttributeOutputBase::ParaNumRule(), SwDoc::ReplaceNumRule(), SwDoc::SearchNumRule(), SwTextNode(), and SwCursorShell::UpdateMarkedListLevel().
bool SwTextNode::GetListTabStopPosition | ( | tools::Long & | nListTabStopPosition | ) | const |
Retrieves the list tab stop position, if the paragraph's list level defines one and this list tab stop has to merged into the tap stops of the paragraph.
nListTabStopPosition | output parameter - containing the list tab stop position |
Definition at line 4691 of file ndtxt.cxx.
References AreListLevelIndentsApplicable(), sw::proofreadingiterator::get(), SwNumRule::Get(), GetActualListLevel(), SwNode::getIDocumentSettingAccess(), SvxNumberFormat::GetIndentAt(), SvxNumberFormat::GetLabelFollowedBy(), SvxNumberFormat::GetListtabPos(), GetNum(), SwNodeNum::GetNumRule(), SvxNumberFormat::GetPositionAndSpaceMode(), SwContentNode::GetSwAttrSet(), SvxTextLeftMarginItem::GetTextLeft(), HasVisibleNumberingOrBullet(), IGNORE_FIRST_LINE_INDENT_IN_NUMBERING, SvxNumberFormat::LABEL_ALIGNMENT, sw::LeftMargin, SvxNumberFormat::LISTTAB, and TABS_RELATIVE_TO_INDENT.
Referenced by SwLineInfo::CtorInitLineInfo().
void SwTextNode::GetMinMaxSize | ( | SwNodeOffset | nIndex, |
sal_uLong & | rMin, | ||
sal_uLong & | rMax, | ||
sal_uLong & | rAbs | ||
) | const |
Is in itratr.
Changing this method very likely requires changing of GetScalingOfSelectedText This one is called exclusively from import filters, so there is no layout.
Definition at line 1012 of file itratr.cxx.
References CH_BLANK, CH_BREAK, CH_TAB, CH_TXT_ATR_FIELDEND, CH_TXT_ATR_FIELDSEP, CH_TXT_ATR_FIELDSTART, CH_TXT_ATR_FORMELEMENT, CH_TXT_ATR_INPUTFIELDEND, CH_TXT_ATR_INPUTFIELDSTART, CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, CHAR_HARDBLANK, CHAR_HARDHYPHEN, CHAR_SOFTHYPHEN, SwField::ExpandField(), SwFrameFormat::FindSdrObject(), FLYINCNT_MIN_WIDTH, SwAttrIter::GetAttr(), SdrObject::GetCurrentBoundRect(), IDocumentLayoutAccess::GetCurrentViewShell(), Application::GetDefaultDevice(), SwNode::GetDoc(), SwFormatField::GetField(), GetFirstLineOfsWithNum(), SwTextAttr::GetFlyCnt(), SwAttrIter::GetFnt(), SwTextAttr::GetFootnote(), SwTextAttr::GetFormatField(), SwFormatFlyCnt::GetFrameFormat(), SwFormat::GetFrameSize(), SwDoc::getIDocumentLayoutAccess(), SvxLRSpaceItem::GetLeft(), GetLeftMarginWithNum(), SwFormat::GetLRSpace(), SwAttrIter::GetNextAttr(), SwFormatFootnote::GetNumStr(), vcl::Window::GetOutDev(), SvxLRSpaceItem::GetRight(), SvxRightMarginItem::GetRight(), SwDoc::GetSpzFrameFormats(), SwContentNode::GetSwAttrSet(), SvxTextLeftMarginItem::GetTextLeft(), SwFont::GetTextSize_(), SvxSizeItem::GetWidth(), tools::Rectangle::GetWidth(), SwFormatFrameSize::GetWidthPercent(), SwViewShell::GetWin(), if(), lcl_MinMaxNode(), lcl_MinMaxString(), m_Text, SwScriptInfo::NextScriptChg(), nIndex, pOut, RES_DRAWFRMFMT(), RES_FLYFRMFMT(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), SwAttrIter::SeekAndChgAttrIter(), SwFormat::Which(), SwTextAttr::Which(), and Size::Width().
Referenced by CalculateFlySize(), and lcl_GetMinMaxSize().
const SwNodeNum * SwTextNode::GetNum | ( | SwRootFrame const * | pLayout = nullptr , |
SwListRedlineType | eRedline = SwListRedlineType::SHOW |
||
) | const |
Definition at line 4095 of file ndtxt.cxx.
References HIDDEN, SwRootFrame::IsHideRedlines(), mpNodeNum, mpNodeNumOrig, mpNodeNumRLHidden, and ORIGTEXT.
Referenced by AreListLevelIndentsApplicableImpl(), SwTaggedPDFHelper::BeginNumberedListStructureElements(), SwTaggedPDFHelper::BeginTag(), sw::CheckParaRedlineMerge(), CopyText(), GetActualListLevel(), GetAdditionalIndentForStartingNewList(), SwUnoCursorHelper::getCursorPropertyValue(), GetFirstLineOfsWithNum(), GetLabelFollowedBy(), GetLeftMarginForTabCalculation(), GetLeftMarginWithNum(), GetListTabStopPosition(), GetNumberVector(), GetNumString(), HasBullet(), HasNumber(), sw::HasNumberingWhichNeedsLayoutUpdate(), HasVisibleNumberingOrBullet(), IsFirstOfNumRule(), IsInList(), IsNumbered(), IsOutline(), lcl_dbg_out(), lcl_FindOutlineNum(), MakeRefNumStr(), NumRuleChgd(), SwSetExpFieldType::SetChapter(), and SwEditShell::SetNumberingRestart().
SwNumberTree::tNumberVector SwTextNode::GetNumberVector | ( | SwRootFrame const * | pLayout = nullptr , |
SwListRedlineType | eRedline = SwListRedlineType::SHOW |
||
) | const |
Definition at line 4125 of file ndtxt.cxx.
References GetNum().
Referenced by SwContentTree::FillTransferData(), GetNumString(), and lcl_CreateOutlineString().
SwNumRule * SwTextNode::GetNumRule | ( | bool | bInParent = true | ) | const |
Returns numbering rule of this text node.
bInParent | search in parent attributes, too |
Definition at line 2921 of file ndtxt.cxx.
References SwDoc::FindNumRulePtr(), SwNode::GetDoc(), SwContentNode::GetNoCondAttr(), SwFormat::GetNumRule(), SwContentNode::GetpSwAttrSet(), GetTextColl(), CntUnencodedStringItem::GetValue(), GetValue, SwContentNode::HasSwAttrSet(), and RES_PARATR_NUMRULE().
Referenced by SwUndoDelNum::AddNode(), AppendNode(), AreListLevelIndentsApplicableImpl(), SwTaggedPDFHelper::BeginNumberedListStructureElements(), SwAutoFormat::BuildEnum(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwChapterField::ChangeExpansion(), SwNodes::ChgNode(), SwDoc::DelNumRules(), SwHTMLParser::EndPara(), FindList(), SwTextFrame::FormatAdjust(), GetActualListStartValue(), GetListId(), sw::util::GetNormalNumRuleFromTextNode(), SwWW8FltControlStack::GetNumFormatFromStack(), sw::util::GetNumFormatFromTextNode(), SwEditShell::GetNumLevel(), SwDoc::GetNumRuleAtPos(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), SwEditShell::GetPaMAttr(), SwEditShell::HasNumber(), SwTable::InsertRow(), SwUnoCursorHelper::IsNodeNumStart(), IsOutline(), lcl_CreateOutlineString(), lcl_dbg_out(), lcl_FindOutlineNum(), lcl_GotoNextPrevNum(), lcl_IsNoEndTextAttrAtPos(), lcl_MergeListLevelIndentAsLRSpaceItem(), lcl_SetTextFormatColl(), MakeNewTextNode(), MakeRefNumStr(), SwDoc::MakeUniqueNumRules(), SwDoc::MoveLeftMargin(), SwEditShell::MoveNumParas(), SwTextFormatter::NewNumberPortion(), SwDoc::NoNum(), numfunc::NumDownChangesIndent(), SwWrtShell::NumOrBulletOn(), SwDoc::NumOrNoNum(), NumRuleChgd(), SwDoc::NumUpDown(), OutASC_SwTextNode(), OutHTML_NumberBulletListStart(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), RtfAttributeOutput::ParaNumRule_Impl(), SwNodeNum::PreAdd(), SwWW8ImplReader::Read_LR(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwDoc::SearchNumRule(), SwEditShell::SelectionHasNumber(), SwHTMLNumRuleInfo::Set(), SwTaggedPDFHelper::SetAttributes(), SwSetExpFieldType::SetChapter(), SwEditShell::SetNumberingRestart(), SwDoc::SetNumRule(), SwDoc::SetNumRuleStart(), SwWW8ImplReader::SetTextFormatCollAndListLevel(), SplitContentNode(), SwAutoFormat::SwAutoFormat(), SwTextNode(), sw::UpdateFramesForAddDeleteRedline(), and sw::UpdateFramesForRemoveDeleteRedline().
OUString SwTextNode::GetNumString | ( | const bool | _bInclPrefixAndSuffixStrings = true , |
const unsigned int | _nRestrictToThisLevel = MAXLEVEL , |
||
SwRootFrame const * | pLayout = nullptr , |
||
SwListRedlineType | eRedline = SwListRedlineType::SHOW |
||
) | const |
Returns outline of numbering string.
Introduce parameter <_bInclPrefixAndSuffixStrings> in order to control, if the prefix and the suffix strings have to been included or not.
_bInclPrefixAndSuffixStrings | optional input parameter - boolean indicating, if the prefix and the suffix strings have to been included or not. default value = <true> |
_nRestrictToThisLevel | optional input parameter - unsigned integer indicating the maximum outline level to which the output string must be restricted to. Default value is MAXLEVEL |
Definition at line 3247 of file ndtxt.cxx.
References SwNumRule::Get(), GetActualListLevel(), SwNode::GetDoc(), GetLang(), GetNum(), SvxNumberType::GetNumberingType(), GetNumberVector(), SwNodeNum::GetNumRule(), IsCountedInList(), SvxNumberType::IsTextFormat(), m_oNumStringCache, and SwNumRule::MakeNumString().
Referenced by SwChapterField::ChangeExpansion(), CopyExpandText(), CopyText(), CountWords(), SwUnoCursorHelper::getCursorPropertyValue(), GetExpandText(), sw::ToxTextGenerator::GetNumStringOfFirstNode(), lcl_IsNoEndTextAttrAtPos(), SwTextFormatter::NewNumberPortion(), OutASC_SwTextNode(), OutHTML_SwTextNode(), and RtfAttributeOutput::ParaNumRule_Impl().
|
inline |
Definition at line 878 of file ndtxt.hxx.
References m_pSwpHints.
Referenced by FormatToTextAttr(), InsertHint(), SwRegHistory::InsertItems(), SetAttr(), and SplitContentNode().
|
private |
Definition at line 1822 of file ndtxt.cxx.
References SwTextAttr::End(), SwTextAttr::GetStart(), GetTextAttrAt(), sw::Parent, and RES_TXTATR_INPUTFIELD().
Referenced by InsertHint().
bool SwTextNode::GetParaAttr | ( | SfxItemSet & | rSet, |
sal_Int32 | nStt, | ||
sal_Int32 | nEnd, | ||
const bool | bOnlyTextAttr = false , |
||
const bool | bGetFromChrFormat = true , |
||
const bool | bMergeIndentValuesOfNumRule = false , |
||
SwRootFrame const * | pLayout = nullptr |
||
) | const |
Query the attributes of textnode over the range.
Introduce 4th optional parameter <bMergeIndentValuesOfNumRule>. If <bMergeIndentValuesOfNumRule> == true, the indent attributes of the corresponding list level of an applied list style is merged into the requested item set as a LR-SPACE item, if <bOnlyTextAttr> == false, corresponding node has not its own indent attributes and the position-and-space mode of the list level is SvxNumberFormat::LABEL_ALIGNMENT.
Definition at line 2140 of file thints.cxx.
References SfxItemSet::Count(), SfxItemSet::Differentiate(), SwTextAttr::DontExpand(), SwTextAttr::End(), SfxItemSet::Get(), SwTextAttr::GetAttr(), sw::GetAttrMerged(), CharFormat::GetItemSet(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SwNode::GetRedlineMergeFlag(), SwTextAttr::GetStart(), HasHints(), SwRootFrame::HasMergedParas(), SwNode::Hidden, INVALID_POOL_ITEM, SfxItemSet::InvalidateItem(), isCHRATR(), IsInvalidItem(), isTXTATR_WITHEND(), isUNKNOWNATR(), lcl_MergeAttr(), lcl_MergeAttr_ExpandChrFormat(), lcl_MergeListLevelIndentAsLRSpaceItem(), m_pSwpHints, n, SfxItemSet::Put(), RES_CHRATR_BEGIN(), RES_TXTATR_AUTOFMT(), RES_TXTATR_WITHEND_END(), rSet, SfxPoolItem::Which(), and SwTextAttr::Which().
Referenced by SwEditShell::FillByEx(), SwUnoCursorHelper::GetCursorAttr(), SwWW8FltControlStack::GetFormatAttr(), SwGetExpField::GetReferenceTextPos(), GetRsid(), OutHTML_SwField(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDontExpandItem::SaveDontExpandItems(), SwDoc::SetFormatItemByAutoFormat(), and WW8Export::WriteFootnoteBegin().
sal_uInt32 SwTextNode::GetParRsid | ( | ) | const |
Definition at line 5387 of file ndtxt.cxx.
References GetAttr(), GetValue, and RES_PARATR_RSID().
Referenced by CompareParRsid(), and SwUndoSplitNode::SwUndoSplitNode().
|
inline |
Definition at line 252 of file ndtxt.hxx.
Referenced by SwUndoTransliterate::AddChanges(), SwHTMLParser::AddParSpace(), SwHTMLParser::AppendTextNode(), CanSkipOverRedline(), SwNodes::ChgNode(), CopyText(), SwWW8ImplReader::CoreLoad(), SwDoc::DeleteFormatRefMark(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwDoc::DeleteTOXMark(), AttributeOutputBase::GenerateBookmarksForSequenceField(), sw::ToxTextGenerator::GetAttributesForNode(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), SwDoc::GetCurTOXMark(), SwEditShell::GetItemWithPaM(), GetNextAttrImpl(), SwWW8AttrIter::HasTextItem(), SwUndoReplace::Impl::Impl(), InsertHint(), XMLRedlineImportHelper::InsertIntoDocument(), SwRegHistory::InsertItems(), SwWW8AttrIter::IsExportableAttr(), SwWW8AttrIter::IsTextAttr(), SwTableBox::IsValidNumTextNd(), lcl_ChangeFootnoteRef(), lcl_CopyHint(), lcl_CreatePortions(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), SwAttrIter::MaybeHasHints(), sw::MergedAttrIterReverse::MergedAttrIterReverse(), ModelToViewHelper::ModelToViewHelper(), SwTextFormatter::NewNumberPortion(), sw::MergedAttrIterByEnd::NextAttr(), sw::MergedAttrIter::NextAttr(), SwWW8AttrIter::OutAttr(), SwWW8AttrIter::OutAttrWithRange(), MSWordExportBase::OutputTextNode(), sw::DocumentContentOperationsManager::Overwrite(), sw::MergedAttrIterReverse::PrevAttr(), SwNodes::RemoveNode(), Replace0xFF(), SwDontExpandItem::RestoreDontExpandItems(), RstTextAttr(), SwUndoDelete::SaveContent(), SwUndoInsSection::SaveSplitNode(), SwWW8AttrIter::SearchNext(), SwLanguageIterator::SearchNextChg(), SwAttrIter::Seek(), SwAttrIter::SeekFwd(), SwAttrIter::SeekStartAndChgAttrIter(), SwScriptInfo::selectHiddenTextProperty(), SwDoc::SelectNextRubyChars(), SwTextFlyCnt::SetAnchor(), UndoTransliterate_Data::SetChangeAtNode(), sw::DocumentFieldsManager::SetFieldsDirty(), SwTableToTextSave::SwTableToTextSave(), SwUndoInserts::SwUndoInserts(), SwUndoMove::SwUndoMove(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoSplitNode::SwUndoSplitNode(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwUndoReplace::Impl::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwNodes::UndoTableToText(), and SwTOXBaseSection::UpdatePageNum_().
|
inline |
OUString SwTextNode::GetRedlineText | ( | ) | const |
Definition at line 3737 of file ndtxt.cxx.
References SwPaM::End(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwDoc::getIDocumentRedlineAccess(), SwNode::GetIndex(), getLength(), SwPosition::GetNodeIndex(), IDocumentRedlineAccess::GetRedlinePos(), IDocumentRedlineAccess::GetRedlineTable(), GetText(), SwRangeRedline::GetType(), n, SwRedlineTable::npos, Replace0xFF(), size, and SwPaM::Start().
Referenced by SwTableBox::GetValue().
|
override |
sfx2::Metadatable
Definition at line 5409 of file ndtxt.cxx.
References SwNode::GetDoc(), and SwDoc::GetXmlIdRegistry().
Referenced by sw::Meta::GetRegistry().
sal_uInt32 SwTextNode::GetRsid | ( | sal_Int32 | nStt, |
sal_Int32 | nEnd | ||
) | const |
Definition at line 5374 of file ndtxt.cxx.
References SwNode::GetDoc(), SfxItemSet::GetItem(), GetParaAttr(), and RES_CHRATR_RSID().
Referenced by CompareRsid().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 5537 of file ndtxt.cxx.
References SwContentNode::GetSwAttrSet(), and maFillAttributes.
SwWrongList * SwTextNode::GetSmartTags | ( | ) |
Definition at line 2325 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pSmartTags.
Referenced by SwTextFrame::AutoSpell_(), SwCursorShell::GetContentAtPos(), SwCursorShell::GetSmartTagRect(), GetSmartTags(), SwCursorShell::GetSmartTagTerm(), JoinNext(), JoinPrev(), lcl_SetWrong(), SwTextFrame::PaintSwFrame(), SwTextFrame::SmartTagScan(), and SplitContentNode().
SwWrongList const * SwTextNode::GetSmartTags | ( | ) | const |
Definition at line 2330 of file txtedt.cxx.
References GetSmartTags().
|
inline |
Definition at line 918 of file ndtxt.hxx.
References m_Text, and SAL_MAX_INT32.
Referenced by CutImpl(), InsertText(), lcl_CheckMaxLength(), sw::DocumentContentOperationsManager::Overwrite(), ReplaceText(), ReplaceTextOnly(), and TransliterateText().
|
inline |
getters for SwpHints
Definition at line 867 of file ndtxt.hxx.
References m_pSwpHints.
Referenced by SwHTMLParser::AddParSpace(), SwHTMLParser::AppendTextNode(), dumpAsXml(), SwCursorShell::GetContentAtPos(), SwCallLink::ImplDestroy(), SwTransferable::isComplex(), lcl_SearchAttr(), lcl_SearchBackward(), lcl_SearchForward(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwTextNode(), sw::DocumentFieldsManager::SetFieldsDirty(), and SwTextRefMark::UpdateFieldContent().
|
inline |
Definition at line 872 of file ndtxt.hxx.
References m_pSwpHints.
|
inline |
Definition at line 244 of file ndtxt.hxx.
Referenced by SwUndoTransliterate::AddChanges(), DocxExport::AppendBookmarks(), SwHTMLParser::AppendTextNode(), sw::ToxTextGenerator::ApplyHandledTextToken(), SwEditShell::AutoFormatBySplitNode(), SwTextFrame::AutoSpell_(), sw::CalcBreaks(), SwScriptInfo::CalcHiddenRanges(), SwUndoDelete::CanGrouping(), SwUndoOverwrite::CanGrouping(), SwAutoFormat::CanJoin(), SwDoc::Chainable(), CellSaveStruct::CheckNoBreak(), sw::CheckParaRedlineMerge(), SwCursorShell::CheckTableBoxContent(), ChgNumToText(), ChgTextToNum(), SwDoc::ClearLineNumAttrs(), sw::util::RedlineStack::close(), SwTextFrame::CollectAutoCmplWrds(), SwHTMLParser::Continue(), SwFEShell::Copy(), CopyExpandText(), sw::DocumentContentOperationsManager::CopyImplImpl(), CopyText(), SwWW8ImplReader::CoreLoad(), SwDoc::CountWords(), CountWords(), SwAttrIter::CtorInitAttrIter(), CutImpl(), CutText(), SwAutoFormat::DelEmptyLine(), SwDoc::DeleteTOXMark(), SwUnoCursorHelper::DocInsertStringSplitCR(), SwLayIdle::DoIdleJob_(), SwCursor::DoSetBidiLevelUpDown(), dumpAsXml(), SwWW8ImplReader::emulateMSWordAddTextToParagraph(), SwWW8ImplReader::End_Footnote(), SwHTMLParser::EndAttr(), SwXMLImport::endDocument(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwTextShell::ExecField(), SwView::ExecLingu(), SwCursorShell::ExtendSelection(), SwEditShell::FillByEx(), sw::mark::FindFieldSep(), sw::FindTextImpl(), AttributeOutputBase::GenerateBookmarksForSequenceField(), sw::ToxTextGenerator::GenerateText(), SwUndoSetFlyFormat::GetAnchor(), SwScriptInfo::GetBoundsOfHiddenRange(), SwCursorShell::GetChar(), sw::mark::TextFieldmark::GetContent(), sw::mark::DateFieldmark::GetContent(), SwEditShell::GetCorrection(), SwUnoCursorHelper::GetCursorAttr(), GetDropLen(), GetExpandText(), SwEditShell::GetGrammarCorrection(), SwEditShell::GetItemWithPaM(), SwSortTextElement::GetKey(), SwSortBoxElement::GetKey(), GetMergeSel(), GetNextAttrImpl(), SwEditShell::GetPaMAttr(), SwDoc::GetPaMDescr(), sw::util::GetPseudoCharRuns(), GetRedlineText(), SwGetExpField::GetReferenceTextPos(), SwEditShell::GetScriptType(), SwAuthorityFieldType::GetSequencePos(), SwCursorShell::GetSmartTagRect(), SwPaM::GetText(), SwLangHelper::GetTextForLanguageGuessing(), SwUndoInsert::GetTextFromDoc(), SwTableBox::GetValue(), GetWidthOfLeadingTabs(), SwContentNode::GoNext(), SwContentNode::GoPrevious(), SwWW8ImplReader::HandlePageBreakChar(), SwUndoReplace::Impl::Impl(), SwCallLink::ImplDestroy(), sw::DocumentStatisticsManager::IncrementalDocStatCalculate(), SwScriptInfo::InitScriptInfo(), SwHTMLParser::InsertComment(), SwEditShell::InsertGlobalDocContent(), XMLRedlineImportHelper::InsertIntoDocument(), SwDoc::InsertSwSection(), SwRangeRedline::InvalidateRange(), SwFEShell::IsAdjustCellWidthAllowed(), IsCollapse(), SwTransferable::isComplex(), SwTableBox::IsFormulaOrValueBox(), SwCursor::IsInWordWT(), SwUndoInsSection::Join(), SwAutoFormat::JoinPrevPara(), lcl_CellText(), lcl_CleanStr(), lcl_CopyHint(), lcl_dbg_out(), lcl_ExportFieldMark(), lcl_FillFieldMarkArray(), lcl_HasComments(), lcl_IsNoEndTextAttrAtPos(), lcl_IsURL(), lcl_MaskDeletedRedlines(), lcl_TCFlags(), SwCursor::LeftRight(), MakeCopy(), SwDOCXReader::MakeEntries(), SwXMLTableContext::MakeTableBox(), SwScriptInfo::MaskHiddenRanges(), ModelToViewHelper::ModelToViewHelper(), sw::DocumentContentOperationsManager::MoveAndJoin(), SwWW8ImplReader::MoveOutsideFly(), SwNodes::MoveRange(), MSWordExportBase::NeedTextNodeSplit(), SwTextFormatter::NewNumberPortion(), SwHTMLParser::NextToken(), OutASC_SwTextNode(), OutHTML_FrameFormatTableNode(), OutHTML_SwFormat(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwUndoTableCpyTable::PrepareRedline(), SwUndoSort::RedoImpl(), SwUndoMove::RedoImpl(), sw::DocumentContentOperationsManager::RemoveLeadingWhiteSpace(), SwUndoInsert::RepeatImpl(), sw::mark::TextFieldmark::ReplaceContent(), sw::mark::DateFieldmark::ReplaceContent(), sw::DocumentContentOperationsManager::ReplaceRangeImpl(), SwDoc::ResetAttrs(), SwDontExpandItem::RestoreDontExpandItems(), SwUndoFormatAttr::RestoreFlyAnchor(), SwUndoDelete::SaveContent(), SwDontExpandItem::SaveDontExpandItems(), SwUndoInsSection::SaveSplitNode(), SwWW8AttrIter::SearchNext(), SwScriptInfo::selectHiddenTextProperty(), SwDoc::SelectNextRubyChars(), SwXParagraph::SelectPaM(), SwScriptInfo::selectRedLineDeleted(), SwExtTextInput::SetOverwriteCursor(), SwXParagraph::setString(), SwDoc::SetTextFormatCollByAutoFormat(), SwWW8ImplReader::simpleAddTextToParagraph(), SwTextFrame::SmartTagScan(), SwDoc::Spell(), SwDoc::SplitDoc(), SwHTMLParser::StripTrailingLF(), SwHTMLParser::StripTrailingPara(), SwDoc::Summary(), sw_GetJoinFlags(), SwTableToTextSave::SwTableToTextSave(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoMove::SwUndoMove(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoRedlineDelete::SwUndoRedlineDelete(), SwUndoSplitNode::SwUndoSplitNode(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwNodes::TextToTable(), SwTranslateHelper::TranslateDocumentCancellable(), sw::DocumentContentOperationsManager::TransliterateText(), TransliterateText(), SwUndoInserts::UndoImpl(), SwUndoInsert::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), SwUndoTextToTable::UndoImpl(), SwUndoTableMerge::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwTOXBaseSection::UpdateAuthorities(), SwGetRefField::UpdateField(), sw::UpdateMergedParaForInsert(), SwTOXBaseSection::UpdatePageNum_(), SwTOXBaseSection::UpdateSequence(), SwCursor::UpDown(), SwASCWriter::WriteStream(), WW8Ruby::WW8Ruby(), and SwExtTextInput::~SwExtTextInput().
SwTextAttr * SwTextNode::GetTextAttrAt | ( | sal_Int32 const | nIndex, |
sal_uInt16 const | nWhich, | ||
::sw::GetTextAttrMode const | eMode = ::sw::GetTextAttrMode::Default |
||
) | const |
get the innermost text attribute covering position nIndex.
nWhich | only attribute with this id is returned. |
eMode | the predicate for matching ( |
ATTENTION: this function is not well-defined for those hints of which several may cover a single position, like RES_TXTATR_CHARFMT, RES_TXTATR_REFMARK, RES_TXTATR_TOXMARK
Definition at line 1804 of file ndtxt.cxx.
References eMode, lcl_GetTextAttrs(), m_pSwpHints, nIndex, RES_TXTATR_AUTOFMT(), RES_TXTATR_CJK_RUBY(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), and RES_TXTATR_UNKNOWN_CONTAINER().
Referenced by SwCursorShell::CursorInsideContentControl(), DocxAttributeOutput::EndRun(), SwXTextDocument::executeContentControlEvent(), SwCursorShell::GetContentAtPos(), GetFieldTextAttrAt(), SwUnoCursorHelper::GetNestedTextContent(), GetOverlappingInputField(), GetTextAttrForEndCharAt(), SwTableBox::GetValue(), SwPaM::HasReadonlySel(), SwSelPaintRects::HighlightContentControl(), InsertHint(), SwEditWin::KeyInput(), lcl_GetParagraphMetadataFieldAtIndex(), lcl_IsURL(), SwCursor::LeftRight(), SwEditWin::MouseButtonUp(), SwDoc::ResetAttrs(), RstTextAttr(), SwCursorShell::SelectTextAttr(), SwContentControlDlg::SwContentControlDlg(), and SwTextFormatter::WhichTextPor().
SwTextAttr * SwTextNode::GetTextAttrForCharAt | ( | const sal_Int32 | nIndex, |
const sal_uInt16 | nWhich = RES_TXTATR_END |
||
) | const |
get the text attribute at position nIndex which owns the dummy character CH_TXTATR_* at that position, if one exists.
nIndex | the position in the text |
nWhich | if different from RES_TXTATR_END, return only attribute with given which id |
Definition at line 3155 of file ndtxt.cxx.
References SwTextAttr::GetStart(), SwTextAttr::HasDummyChar(), HasHints(), i, m_pSwpHints, nIndex, RES_TXTATR_BEGIN(), RES_TXTATR_END(), and SwTextAttr::Which().
Referenced by SwXFootnote::attach(), SwXLineBreak::attach(), sw::CalcBreaks(), sw::annotation::SwAnnotationWin::CalcParent(), SwDoc::ChgAnchor(), SwWW8ImplReader::ContainsSingleInlineGraphic(), SwFEShell::Copy(), sw::annotation::SwAnnotationWin::CountFollowing(), SwUndoSaveContent::DelContentIndex(), SwUndoFlyBase::DelFly(), sw::DocumentLayoutManager::DelLayoutFormat(), SwHTMLParser::FinishFootEndNote(), SwCursorShell::GetContentAtPos(), SwEditShell::GetCurFootnote(), SwUnoCursorHelper::getCursorPropertyValue(), GetDropLen(), GetFieldTextAttrAt(), SwPageFrame::GetModelPositionForViewPoint(), SwTableBox::GetValue(), SwCursor::GotoFootnoteText(), SwXReferenceMark::Impl::InsertRefMark(), lcl_HasComments(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_IsNoEndTextAttrAtPos(), lcl_SaveAnchor(), SwUndoAttr::RemoveIdx(), Replace0xFF(), ReplaceText(), SwUndoFormatAttr::RestoreFlyAnchor(), SwWW8FltRefStack::SetAttrInDoc(), SwDoc::SetFlyFrameAnchor(), SwHistorySetRefMark::SetInDoc(), SwHistorySetFootnote::SetInDoc(), SwXShape::setPropertyValue(), SwHTMLParser::StripTrailingPara(), SwUndoSetFlyFormat::UndoImpl(), and SwGetRefField::UpdateField().
SwTextAttr * SwTextNode::GetTextAttrForEndCharAt | ( | sal_Int32 | nIndex, |
sal_uInt16 | nWhich | ||
) | const |
Get the text attribute of an end dummy character at nIndex.
Return the attribute only in case its which id is nWhich.
Note that the position of the end dummy character is one less than the end of the attribute.
Definition at line 3180 of file ndtxt.cxx.
References SwTextAttr::End(), sw::Expand, GetTextAttrAt(), and nIndex.
Referenced by sw::CalcBreaks().
std::vector< SwTextAttr * > SwTextNode::GetTextAttrsAt | ( | sal_Int32 const | nIndex, |
sal_uInt16 const | nWhich | ||
) | const |
get the innermost text attributes covering position nIndex.
nWhich | only attributes with this id are returned. |
eMode | the predicate for matching ( |
Definition at line 1795 of file ndtxt.cxx.
References sw::Default, lcl_GetTextAttrs(), m_pSwpHints, nIndex, RES_TXTATR_BEGIN(), and RES_TXTATR_END().
Referenced by SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::getCursorPropertyValue(), and SwXReferenceMark::Impl::InsertRefMark().
|
inline |
Definition at line 895 of file ndtxt.hxx.
Referenced by SwAccessibleParagraph::_getDefaultAttributesImpl(), AreListLevelIndentsApplicableImpl(), SwAutoFormat::BuildHeadLine(), SwAutoFormat::CalcLevel(), SwChapterField::ChangeExpansion(), ChgFormatColl(), SwNodes::ChgNode(), SwHTMLParser::Continue(), CopyCollFormat(), SwRangeRedline::CopyToSection(), SwXMLImport::endDocument(), SwTextFrame::FillCursorPos(), GCAttr(), GetEndNode(), GetNumRule(), SwEditShell::GetPaMTextFormatColl(), GetStartNode(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), SwUndoReplace::Impl::Impl(), SwNodes::InsertTextSection(), lcl_CpyBox(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_InsTableBox(), SwXMLTextBlocks::MakeBlockText(), MakeCopy(), MakeNewTextNode(), SwNodes::MoveRange(), SwRangeRedline::MoveToSection(), SwDoc::OutlineUpDown(), SwTextFrame::PaintParagraphStylesHighlighting(), DocxAttributeOutput::ParaNumRule_Impl(), SwDoc::SetNumRule(), SwCursorShell::SetShadowCursorPos(), SwEditShell::SetTextFormatColl(), SwDoc::SetTextFormatCollByAutoFormat(), SwDoc::Summary(), SwAutoFormat::SwAutoFormat(), SwTableToTextSave::SwTableToTextSave(), SwUndoDelete::SwUndoDelete(), SwUndoInserts::SwUndoInserts(), SwUndoMove::SwUndoMove(), SwUndoInserts::UndoImpl(), SwTOXBaseSection::UpdateContent(), and SwTOXBaseSection::UpdateTable().
SwTwips SwTextNode::GetWidthOfLeadingTabs | ( | ) | const |
Returns the width of leading tabs/blanks in this paragraph.
This space will be converted into numbering indent if the paragraph is set to be numbered.
Definition at line 1590 of file itratr.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SwRectFnSet::GetLeft(), getLength(), SwRectFnSet::GetPrtLeft(), SwRectFnSet::GetPrtRight(), SwRectFnSet::GetRight(), GetText(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by SwWrtShell::NumOrBulletOn().
SwWrongList * SwTextNode::GetWrong | ( | ) |
Definition at line 2271 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pWrong.
Referenced by SwAccessibleParagraph::_correctValues(), SwTextFrame::AutoSpell_(), SwEditShell::GetCorrection(), SwVisibleCursor::getLOKPayload(), SwEditShell::IgnoreGrammarErrorAt(), JoinNext(), JoinPrev(), lcl_SetWrong(), lcl_SpellAndGrammarAgain(), SwTextFrame::PaintSwFrame(), Spell(), and SplitContentNode().
const SwWrongList * SwTextNode::GetWrong | ( | ) | const |
Definition at line 2277 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pWrong.
sw::WrongState SwTextNode::GetWrongDirty | ( | ) | const |
Definition at line 2350 of file txtedt.cxx.
References sw::ParagraphIdleData::eWrongDirty, and m_aParagraphIdleData.
Referenced by SwLayIdle::DoIdleJob_(), and SwShellCursor::UpDown().
|
inline |
Definition at line 834 of file ndtxt.hxx.
Referenced by SwXParagraph::CreateXParagraph().
|
private |
Definition at line 5429 of file ndtxt.cxx.
References SwNode::GetDoc(), SwDoc::GetNodes(), SwNode::GetNodes(), SwDoc::IsInDtor(), and SwNodes::UpdateOutlineNode().
Referenced by CutImpl().
bool SwTextNode::HasAttrListLevel | ( | ) | const |
Definition at line 4231 of file ndtxt.cxx.
References SfxItemSet::GetItemState(), SwContentNode::GetpSwAttrSet(), and RES_PARATR_LIST_LEVEL().
Referenced by SwTextNode().
bool SwTextNode::HasAttrListRestartValue | ( | ) | const |
Definition at line 4327 of file ndtxt.cxx.
References SfxItemSet::GetItemState(), SwContentNode::GetpSwAttrSet(), and RES_PARATR_LIST_RESTARTVALUE().
Referenced by GetActualListStartValue(), GetAttrListRestartValue(), SwEditShell::GetNodeNumStart(), SwUnoCursorHelper::IsNodeNumStart(), SwHTMLNumRuleInfo::Set(), SetAttrListRestartValue(), SwDoc::SetNodeNumStart(), and SwUndoNumRuleStart::SwUndoNumRuleStart().
bool SwTextNode::HasBullet | ( | ) | const |
Returns if this text node has a bullet.
This text node has a bullet if it has a SwNodeNum and a numbering rule and the numbering format specified for the level of the SwNodeNum is of a bullet type.
true | This text node has a bullet. |
false | else |
Definition at line 3229 of file ndtxt.cxx.
References SwNumRule::Get(), GetActualListLevel(), GetNum(), SwNodeNum::GetNumRule(), and SwNumFormat::IsItemize().
Referenced by SwAccessibleParagraph::_getSupplementalAttributesImpl(), CountWords(), SwEditShell::HasBullet(), SwNodeNum::IsCountedForNumbering(), SwDoc::NumOrNoNum(), OutASC_SwTextNode(), SwEditShell::SelectionHasBullet(), and SwEditShell::SetNumberingRestart().
|
inline |
Definition at line 774 of file ndtxt.hxx.
Referenced by SwDoc::ContainsHiddenChars(), SwScriptInfo::GetBoundsOfHiddenRange(), SwDoc::HasInvisibleContent(), IsHidden(), lcl_CheckHiddenPara(), SwDoc::RemoveInvisibleContent(), and SwTOXBaseSection::UpdateOutline().
|
inline |
Definition at line 254 of file ndtxt.hxx.
Referenced by ClearSwpHintsArr(), CopyAttr(), CopyExpandText(), DeleteAttribute(), DeleteAttributes(), DontExpandFormat(), dumpAsXml(), sw::FindAttrImpl(), GCAttr(), SwEditShell::GetItemWithPaM(), GetLang(), GetParaAttr(), GetTextAttrForCharAt(), SwCallLink::ImplDestroy(), InsertText(), SwTransferable::isComplex(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_SearchAttr(), lcl_SearchBackward(), lcl_SearchForward(), SwHTMLWriter::OutHeaderAttrs(), OutHTML_SwTextNode(), SwUndoFormatAttr::RestoreFlyAnchor(), RstTextAttr(), SetAttr(), SwDoc::SetFlyFrameAnchor(), SwXShape::setPropertyValue(), SplitContentNode(), SwUndoSetFlyFormat::UndoImpl(), and Update().
bool SwTextNode::HasMarkedLabel | ( | ) | const |
Returns if this text node has a marked label.
true | This text node has a marked label. |
false | else |
Definition at line 2995 of file ndtxt.cxx.
References GetActualListLevel(), SwNode::GetDoc(), SwDoc::getIDocumentListsAccess(), IDocumentListsAccess::getListByName(), GetListId(), IsInList(), and SwList::IsListLevelMarked().
Referenced by SwTextPaintInfo::DrawViewOpt().
bool SwTextNode::HasNumber | ( | SwRootFrame const * | pLayout = nullptr | ) | const |
Returns if this text node has a number.
This text node has a number if it has a SwNodeNum and a numbering rule and the numbering format specified for the level of the SwNodeNum is of an enumeration type.
true | This text node has a number. |
false | else |
Definition at line 3213 of file ndtxt.cxx.
References SwNumRule::Get(), GetActualListLevel(), GetNum(), SwNodeNum::GetNumRule(), and SwNumFormat::IsEnumeration().
Referenced by SwAccessibleParagraph::_getSupplementalAttributesImpl(), SwEditShell::HasNumber(), SwNodeNum::IsCountedForNumbering(), MakeRefNumStr(), SwNumRule::MakeRefNumString(), SwDoc::MakeUniqueNumRules(), SwDoc::NumOrNoNum(), SwEditShell::SelectionHasNumber(), and SwEditShell::SetNumberingRestart().
bool SwTextNode::HasVisibleNumberingOrBullet | ( | ) | const |
Returns if the paragraph has a visible numbering or bullet.
This includes all kinds of numbering/bullet/outlines. Note: This function returns false, if the numbering format is SVX_NUM_NUMBER_NONE or if the numbering/bullet has been deleted.
This includes all kinds of numbering/bullet/outlines. The concrete list label string has to be checked, too.
Definition at line 4284 of file ndtxt.cxx.
References sw::proofreadingiterator::get(), SwNumRule::Get(), GetActualListLevel(), SwNode::getIDocumentSettingAccess(), SvxNumberFormat::GetLabelFollowedBy(), GetNum(), SvxNumberType::GetNumberingType(), SwNodeNum::GetNumRule(), IsCountedInList(), SwNumRule::MakeNumString(), NO_NUMBERING_SHOW_FOLLOWBY, and SVX_NUM_NUMBER_NONE.
Referenced by SwTextFrame::FormatAdjust(), GetLabelFollowedBy(), GetListTabStopPosition(), SwCursorShell::LeftRight(), SwCursorShell::LRMargin(), OutASC_SwTextNode(), SwOutlineContentVisibilityWin::Set(), and SwCursorShell::SetCursor().
bool SwTextNode::Hyphenate | ( | SwInterHyphInfo & | rHyphInf | ) |
Interactive hyphenation: we find TextFrame and call its CalcHyph.
Find the SwTextFrame and call its Hyphenate.
Definition at line 1699 of file txtedt.cxx.
References SwInterHyphInfo::GetCursorPos(), SwNode::GetDoc(), SwTextFrame::GetFollow(), SwTextFrame::GetFrameAtOfst(), SwNode::getIDocumentLayoutAccess(), GetLang(), SwLangHelper::GetLanguage(), SwContentNode::getLayoutFrame(), SwTextFrame::GetOffset(), SwContentNode::GetSwAttrSet(), SwTextFrame::Hyphenate(), LANGUAGE_NONE, SwInterHyphInfoTextFrame::m_nEnd, SwInterHyphInfoTextFrame::m_nStart, m_Text, SwFrame::SetCompletePaint(), sw::SwHyphIterCacheLastTextFrame(), and SwInterHyphInfoTextFrame::UpdateTextNodeHyphInfo().
Referenced by lcl_HyphenateNode().
|
private |
Does the hard work of SwTextNode::FormatToTextAttr: the real conversion of items to automatic styles.
Definition at line 2473 of file thints.cxx.
References SwContentNode::ClearItemsFromAttrSet(), SfxItemSet::Count(), DestroyAttr(), SwTextAttr::GetAttr(), SwNode::GetDoc(), SwFormatAutoFormat::GetStyleHandle(), m_pSwpHints, m_Text, MakeTextAttr(), and SfxItemSet::Put().
Referenced by FormatToTextAttr().
|
inline |
Add a dummy character to the redline of the table changes.
Definition at line 282 of file ndtxt.hxx.
References CH_TXT_TRACKED_DUMMY_CHAR.
Referenced by sw::GetAllValidRanges().
bool SwTextNode::InsertHint | ( | SwTextAttr *const | pAttr, |
const SetAttrMode | nMode = SetAttrMode::DEFAULT |
||
) |
Insert pAttr into hints array.
Definition at line 1340 of file thints.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::begin(), CH_TXT_ATR_INPUTFIELDEND, CH_TXT_ATR_INPUTFIELDSTART, CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, SwRegHistory::ChangeNodeIndex(), SwContentNode::DelFrames(), DestroyAttr(), EMPTYEXPAND, SwTextAttr::End(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::erase(), EraseText(), SwDoc::FieldCanHideParaWeight(), FORCEHINTEXPAND, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorContentOffset(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), GetCharOfTextAttr(), SwFormatAnchor::GetContentAnchor(), SwFormatContentControl::GetContentControl(), SwNode::GetDoc(), SwFormat::GetDoc(), SwTextAttr::GetEnd(), SwNodes::GetEndOfAutotext(), SwNodes::GetEndOfRedlines(), SwFormatField::GetField(), SwTextInputField::GetFieldContent(), SwTextAttr::GetFlyCnt(), SwDoc::GetFootnoteIdxs(), SwTextAttr::GetFormatField(), SwFormatFlyCnt::GetFrameFormat(), SwpHints::GetHistory(), SwDoc::GetIDocumentUndoRedo(), SwContentIndex::GetIndex(), SwNode::GetIndex(), SwFormat::GetItemIfSet(), SwDoc::GetNodes(), SwNode::GetNodes(), GetOrCreateSwpHints(), GetOverlappingInputField(), GetpSwpHints(), SwTextAttr::GetStart(), SwNode::GetStartNode(), SwNode::GetTableNode(), GetTextAttrAt(), SwField::GetTyp(), SwTextAttr::HasContent(), SwTextAttr::HasDummyChar(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), InsertText(), SwDoc::IsInHeaderFooter(), Len(), m_pSwpHints, m_Text, n, NOHINTEXPAND, NOTXTATRCHR, sw::Parent, RES_ANCHOR(), RES_DRAWFRMFMT(), RES_TXTATR_CONTENTCONTROL(), RES_TXTATR_FIELD(), RES_TXTATR_FLYCNT(), RES_TXTATR_FTN(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_LINEBREAK(), SwTextFlyCnt::SetAnchor(), SetCalcHiddenParaField(), SwTextAttr::SetEnd(), SwTextAttr::SetStart(), size, SwNode::StartOfSectionIndex(), u, Update(), SwFootnoteIdxs::UpdateFootnote(), SwFieldType::Which(), SwFormat::Which(), and SwTextAttr::Which().
Referenced by CopyText(), CutImpl(), InsertItem(), InsertText(), RstTextAttr(), SetAttr(), and SwHistorySetFootnote::SetInDoc().
SwTextAttr * SwTextNode::InsertItem | ( | SfxPoolItem & | rAttr, |
const sal_Int32 | nStart, | ||
const sal_Int32 | nEnd, | ||
const SetAttrMode | nMode = SetAttrMode::DEFAULT |
||
) |
create new text attribute from rAttr and insert it
Definition at line 1305 of file thints.cxx.
References Copy, SwNode::GetDoc(), InsertHint(), IS_COPY, isCHRATR(), m_pSwpHints, MakeTextAttr(), New, and SfxPoolItem::Which().
Referenced by sw::ToxTextGenerator::ApplyHandledTextToken(), SwDoc::ChgAnchor(), CopyAttr(), CopyExpandText(), CopyText(), SwWW8ImplReader::End_Footnote(), sw::ToxTextGenerator::GenerateText(), SwFEShell::ImpEndCreate(), sw::DocumentContentOperationsManager::InsertDrawObj(), SwHTMLParser::InsertLineBreak(), sw::ToxLinkProcessor::InsertLinkAttributes(), SwUndoFlyBase::InsFly(), lcl_InsertDrawLabel(), lcl_InsertLabel(), lcl_RestoreAnchor(), SwDoc::MakeFlySection_(), SwWW8ImplReader::Read_LineBreakClear(), SwUndoFormatAttr::RestoreFlyAnchor(), SwDoc::SetFlyFrameAnchor(), SwHistorySetText::SetInDoc(), SwHistorySetTextField::SetInDoc(), SwHistorySetRefMark::SetInDoc(), SwHistorySetTOXMark::SetInDoc(), SwXShape::setPropertyValue(), SwDoc::SplitDoc(), SwUndoSetFlyFormat::UndoImpl(), and SwTOXBaseSection::UpdatePageNum_().
OUString SwTextNode::InsertText | ( | const OUString & | rStr, |
const SwContentIndex & | rIdx, | ||
const SwInsertFlags | nMode = SwInsertFlags::DEFAULT |
||
) |
insert text content
rStr | text to insert; in case it does not fit into the capacity of the node, the longest prefix that fits is inserted |
Definition at line 2372 of file ndtxt.cxx.
References CHECK_SWPHINTS, SwTextAttr::DontExpand(), EMPTYEXPAND, FORCEHINTEXPAND, SwContentIndex::GetContentNode(), SwTextAttr::GetEnd(), SwContentIndex::GetIndex(), GetSpaceLeft(), SwTextAttr::GetStart(), HasHints(), i, InsertHint(), SwTextAttr::IsDontExpandStartAttr(), SwTextAttr::IsFormatIgnoreEnd(), SwNode::IsIgnoreDontExpand(), m_pSwpHints, m_Text, sw::MakeInsertText(), NOHINTADJUST, NOHINTEXPAND, SAL_WARN_IF, SetCalcHiddenCharFlags(), SwTextAttr::SetEnd(), SwNode::SetIgnoreDontExpand(), SwTextAttr::SetStart(), and Update().
Referenced by sw::ToxTextGenerator::ApplyHandledTextToken(), CalculateFlySize(), SwUndoOverwrite::CanGrouping(), SwDDETable::ChangeContent(), ChgNumToText(), ChgTextToNum(), SwFEShell::Copy(), CopyExpandText(), CopyText(), SwTOXSortTabBase::FillText(), SwTOXIndex::FillText(), SwTOXContent::FillText(), SwTOXPara::FillText(), SwTOXAuthority::FillText(), InsertHint(), sw::DocumentContentOperationsManager::InsertString(), InsertText(), lcl_InsertDrawLabel(), lcl_InsertLabel(), SwXMLTextBlocks::MakeBlockText(), SwXMLTableContext::MakeTableBox(), sw::DocumentContentOperationsManager::Overwrite(), SwUndoInsert::RedoImpl(), SwUndoOverwrite::RedoImpl(), SwExtTextInput::SetInputData(), SwUndoOverwrite::SwUndoOverwrite(), SwUndoDelete::UndoImpl(), SwUndoOverwrite::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwTOXBaseSection::Update(), and SwTOXBaseSection::UpdatePageNum_().
OUString SwTextNode::InsertText | ( | const OUString & | rStr, |
const SwPosition & | rIdx, | ||
const SwInsertFlags | nMode = SwInsertFlags::DEFAULT |
||
) |
Definition at line 2366 of file ndtxt.cxx.
References InsertText(), and SwPosition::nContent.
bool SwTextNode::IsAutoCompleteWordDirty | ( | ) | const |
Definition at line 2385 of file txtedt.cxx.
References sw::ParagraphIdleData::bAutoComplDirty, and m_aParagraphIdleData.
Referenced by SwTextFrame::AutoSpell_(), and SwLayIdle::DoIdleJob_().
|
inlineprivate |
Optimization: Asking for information about hidden characters at SwScriptInfo updates these flags.
Definition at line 183 of file ndtxt.hxx.
Referenced by SwScriptInfo::GetBoundsOfHiddenRange().
bool SwTextNode::IsCollapse | ( | ) | const |
Definition at line 1031 of file calcmove.cxx.
References COLLAPSE_EMPTY_CELL_PARA, SwNode::FindTableNode(), sw::proofreadingiterator::get(), SwNode::GetDoc(), SwFrame::GetDrawObjs(), SwNode::getIDocumentLayoutAccess(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwNode::GetNodes(), GetText(), and SwSortedObjs::size().
Referenced by SwFrame::IsCollapse().
bool SwTextNode::IsCountedInList | ( | ) | const |
Definition at line 4393 of file ndtxt.cxx.
References GetAttr(), SfxBoolItem::GetValue(), and RES_PARATR_LIST_ISCOUNTED().
Referenced by SwTaggedPDFHelper::BeginNumberedListStructureElements(), SwTextFrame::CalcAdditionalFirstLineOffset(), SwChapterField::ChangeExpansion(), SwHTMLParser::EndNumberBulletList(), SwUnoCursorHelper::getCursorPropertyValue(), GetFirstLineOfsWithNum(), sw::util::GetNormalNumRuleFromTextNode(), SwWW8FltControlStack::GetNumFormatFromStack(), sw::util::GetNumFormatFromTextNode(), GetNumString(), SwEditShell::HasNumber(), HasVisibleNumberingOrBullet(), SwHTMLParser::InsertImage(), SwNodeNum::IsCounted(), SwEditShell::IsNoNum(), IsNumbered(), lcl_dbg_out(), lcl_GotoNextPrevNum(), MakeNewTextNode(), MakeRefNumStr(), SwTextFormatter::NewNumberPortion(), SwWrtShell::NumOrBulletOn(), SwDoc::NumOrNoNum(), OutHTML_SwFormat(), MSWordExportBase::OutputTextNode(), AttributeOutputBase::ParaNumRule(), SwEditShell::SelectionHasNumber(), SwHTMLNumRuleInfo::Set(), and SwEditShell::SetNumberingRestart().
|
inline |
bool SwTextNode::IsFirstOfNumRule | ( | SwRootFrame const & | rLayout | ) | const |
Definition at line 4551 of file ndtxt.cxx.
References GetNum(), SwNodeNum::GetNumRule(), and SwNumberTreeNode::IsFirst().
Referenced by SwDoc::IsFirstOfNumRuleAtPos().
bool SwTextNode::IsGrammarCheckDirty | ( | ) | const |
Definition at line 2365 of file txtedt.cxx.
References sw::ParagraphIdleData::bGrammarCheckDirty, and m_aParagraphIdleData.
Referenced by SwXFlatParagraphIterator::getNextPara(), SwFrame::InvalidatePage(), SwXFlatParagraph::isChecked(), and lcl_syncGrammarError().
bool SwTextNode::IsHidden | ( | ) | const |
Definition at line 4749 of file ndtxt.cxx.
References SwNode::FindSectionNode(), SwSectionNode::GetSection(), HasHiddenCharAttribute(), IsHiddenByParaField(), and SwSection::IsHiddenFlag().
Referenced by CountWords(), EndsWith(), SwEnhancedPDFExportHelper::EnhancedPDFExport(), SwXTextField::getPropertyValue(), SwHTMLWriter::Out_SwDoc(), StartsWith(), and SwASCWriter::WriteStream().
|
inline |
is the paragraph visible?
Definition at line 769 of file ndtxt.hxx.
Referenced by IsHidden(), and SwTOXBaseSection::UpdateOutline().
|
static |
In MS Word, the font underline setting of the paragraph end position won't affect the formatting of numbering, so we ignore it.
Definition at line 1893 of file thints.cxx.
References SvtFilterOptions::Get(), SvtFilterOptions::IsCharBackground2Shading(), RES_CHRATR_BACKGROUND(), RES_CHRATR_ESCAPEMENT(), and RES_CHRATR_UNDERLINE().
Referenced by checkApplyParagraphMarkFormatToNumbering().
|
overridevirtual |
Definition at line 5414 of file ndtxt.cxx.
References SwNode::GetDoc(), and SwDoc::IsClipBoard().
Referenced by sw::Meta::IsInClipboard().
|
overridevirtual |
Definition at line 5424 of file ndtxt.cxx.
References SwNode::GetDoc(), and SwDoc::IsInHeaderFooter().
Referenced by sw::Meta::IsInContent().
bool SwTextNode::IsInList | ( | ) | const |
Definition at line 4546 of file ndtxt.cxx.
References GetNum(), and SwNumberTreeNode::GetParent().
Referenced by AddToList(), AppendNode(), sw::CheckParaRedlineMerge(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwUnoCursorHelper::getCursorPropertyValue(), SwWrtShell::GetSelectionType(), HasMarkedLabel(), lcl_IsNoEndTextAttrAtPos(), NumRuleChgd(), RtfAttributeOutput::ParaNumRule_Impl(), RemoveFromList(), SwDoc::SetNumRule(), SwTextNode(), and SwCursorShell::UpdateMarkedListLevel().
|
overridevirtual |
Is this node in the undo array?
Definition at line 5419 of file ndtxt.cxx.
References SwNode::GetDoc(), SwDoc::GetIDocumentUndoRedo(), and SwNode::GetNodes().
Referenced by sw::Meta::IsInUndo().
bool SwTextNode::IsListRestart | ( | ) | const |
Definition at line 4273 of file ndtxt.cxx.
References GetAttr(), SfxBoolItem::GetValue(), and RES_PARATR_LIST_ISRESTART().
Referenced by SwTaggedPDFHelper::BeginNumberedListStructureElements(), GetActualListStartValue(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::IsNodeNumStart(), SwEditShell::IsNumRuleStart(), SwNodeNum::IsRestart(), OutHTML_SwFormat(), AttributeOutputBase::ParaNumRule(), SwHTMLNumRuleInfo::Set(), SwEditShell::SetNumberingRestart(), and SwDoc::SetNumRuleStart().
bool SwTextNode::IsNotifiable | ( | ) | const |
Checks a temporary notification blocker and the global conditions of IsNotificationEnabled()
Definition at line 4367 of file ndtxt.cxx.
References IsNotificationEnabled(), and m_bNotifiable.
bool SwTextNode::IsNotificationEnabled | ( | ) | const |
Checks some global conditions like loading or destruction of document to economize notifications.
Definition at line 4372 of file ndtxt.cxx.
References SwNode::GetDoc(), SwDoc::IsInDtor(), and SwDoc::IsInReading().
Referenced by IsNotifiable().
bool SwTextNode::IsNumbered | ( | SwRootFrame const * | pLayout = nullptr | ) | const |
Returns is this text node is numbered.
This node is numbered if it has a SwNodeNum and it has a numbering rule and has not a hidden SwNodeNum.
ATTENTION: Returns true even if the SwNumFormat has type SVX_NUM_NUMBER_NONE.
true | This node is numbered. |
false | else |
Definition at line 2989 of file ndtxt.cxx.
References GetNum(), SwNodeNum::GetNumRule(), and IsCountedInList().
Referenced by SwTextFrame::CalcAdditionalFirstLineOffset(), SwDoc::ClearLineNumAttrs(), SwContentTree::FillTransferData(), sw::util::GetNormalNumRuleFromTextNode(), sw::util::GetNumFormatFromTextNode(), SwTextFormatter::NewNumberPortion(), MSWordExportBase::OutputTextNode(), UnHideRedlines(), and SwCursorShell::UpdateMarkedListLevel().
bool SwTextNode::IsOutline | ( | ) | const |
Returns if this text node is an outline.
true | this text node is an outline |
false | else |
Definition at line 4138 of file ndtxt.cxx.
References GetAttrOutlineLevel(), GetNum(), GetNumRule(), SwNode::IsInRedlines(), and SwNumRule::IsOutlineRule().
Referenced by SwTaggedPDFHelper::BeginNumberedListStructureElements(), SwChapterField::ChangeExpansion(), SwNodes::ChgNode(), SwNodes::Delete(), SwNodes::DelNodes(), SwHTMLParser::EndNumberBulletList(), SwContentNode::IsAnyCondition(), SwAccessibleParagraph::IsHeading(), IsOutlineStateChanged(), lcl_FoldedOutlineNodeEndOfParaSplit(), lcl_IsAllowed(), MakeNewTextNode(), SwWrtShell::MakeOutlineContentVisible(), SwNodes::MoveNodes(), OutHTML_NumberBulletListStart(), OutHTML_SwTextNode(), RtfExport::OutputTextNode(), SplitContentNode(), SwNodes::UpdateOutlineNode(), and UpdateOutlineState().
bool SwTextNode::IsOutlineStateChanged | ( | ) | const |
Definition at line 4158 of file ndtxt.cxx.
References IsOutline(), and m_bLastOutlineState.
Referenced by SwNodes::UpdateOutlineNode().
bool SwTextNode::IsSmartTagDirty | ( | ) | const |
Definition at line 2375 of file txtedt.cxx.
References sw::ParagraphIdleData::bSmartTagDirty, and m_aParagraphIdleData.
Referenced by SwLayIdle::DoIdleJob_(), SwXFlatParagraph::isChecked(), lcl_SetWrong(), and SwTextFrame::SmartTagScan().
bool SwTextNode::IsSymbolAt | ( | sal_Int32 | nBegin | ) | const |
in ndcopy.cxx
Definition at line 859 of file itratr.cxx.
References SwAttrIter::GetFnt(), SwNode::getIDocumentLayoutAccess(), SwFont::IsSymbol(), and SwAttrIter::Seek().
Referenced by SwAccessibleParagraph::_correctValues(), SwCursorShell::GetContentAtPos(), SwEditShell::GetCorrection(), SwVisibleCursor::getLOKPayload(), SwCursorShell::GetSmartTagRect(), SwCursorShell::GetSmartTagTerm(), and Spell().
bool SwTextNode::IsWordCountDirty | ( | ) | const |
Definition at line 2340 of file txtedt.cxx.
References sw::ParagraphIdleData::bWordCountDirty, and m_aParagraphIdleData.
Referenced by CountWords(), and SwLayIdle::DoIdleJob_().
bool SwTextNode::IsWrongDirty | ( | ) | const |
Definition at line 2355 of file txtedt.cxx.
References sw::DONE, sw::ParagraphIdleData::eWrongDirty, and m_aParagraphIdleData.
Referenced by SwTextFrame::AutoSpell_(), SwLayIdle::DoIdleJob_(), SwView::ExecSpellPopup(), SwXFlatParagraphIterator::getNextPara(), SwXFlatParagraph::isChecked(), lcl_SetWrong(), and Spell().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 1002 of file ndtxt.cxx.
References SwContentNode::CanJoinNext(), sw::CheckResetRedlineMergeFlag(), SwDoc::CorrAbs(), sw::mark::ContentIdxStore::Create(), CutText(), SwNodes::Delete(), SwIterator< TElementType, TSource, eMode >::First(), SwNode::First, SwNodes::GetDoc(), GetGrammarCheck(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), GetSmartTags(), SwNode::GetTextNode(), GetWrong(), sw::HasNumberingWhichNeedsLayoutUpdate(), SwContentNode::InvalidateNumRule(), Len(), m_Text, SwIterator< TElementType, TSource, eMode >::Next(), sw::No, ReleaseGrammarCheck(), ReleaseSmartTags(), ReleaseWrong(), SwNode::resetAndQueueAccessibilityCheck(), SAL_MAX_INT32, SetGrammarCheck(), SetGrammarCheckDirty(), SetSmartTagDirty(), SetSmartTags(), SetWrong(), SetWrongDirty(), sw::ThisNode, and sw::TODO.
Referenced by SwHTMLParser::Continue(), SwXMLImport::endDocument(), SwUndoInsSection::Join(), sw::DocumentContentOperationsManager::MoveAndJoin(), sw::DocumentContentOperationsManager::MoveRange(), SwUndoTableCpyTable::PrepareRedline(), SwUndoMove::RedoImpl(), SwWW8ImplReader::StopApo(), sw_JoinText(), SwUndoInserts::UndoImpl(), SwUndoSplitNode::UndoImpl(), SwUndoMove::UndoImpl(), and SwUndoTextToTable::UndoImpl().
void SwTextNode::JoinPrev | ( | ) |
Definition at line 1119 of file ndtxt.cxx.
References SwContentNode::CanJoinPrev(), sw::CheckResetRedlineMergeFlag(), ClearGrammarCheck(), ClearSmartTags(), ClearWrong(), SwDoc::CorrAbs(), sw::mark::ContentIdxStore::Create(), CutText(), SwNodes::Delete(), SwNode::First, SwNodes::GetDoc(), GetGrammarCheck(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), GetSmartTags(), SwNode::GetTextNode(), GetWrong(), SwContentNode::InvalidateNumRule(), SwNode::IsCreateFrameWhenHidingRedlines(), Len(), sw::MoveDeletedPrevFrames(), sw::No, SwNode::NonFirst, sw::Predecessor, ReleaseGrammarCheck(), ReleaseSmartTags(), ReleaseWrong(), SwNode::resetAndQueueAccessibilityCheck(), SAL_MAX_INT32, SetGrammarCheck(), SetGrammarCheckDirty(), SetSmartTagDirty(), SetSmartTags(), SetWrong(), SetWrongDirty(), and sw::TODO.
Referenced by SwHTMLParser::Continue(), and SwXMLImport::endDocument().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 291 of file ndtxt.cxx.
References m_Text.
Referenced by SwAccessibleParagraph::_getRunAttributesImpl(), sw::DocumentRedlineManager::AppendRedline(), SwContentTree::BringBookmarksToAttention(), sw::CalcBreaks(), CanSkipOverRedline(), SwXFlatParagraph::changeText(), sw::CheckParaRedlineMerge(), SwXText::Impl::ConvertCell(), SwXText::convertToTextFrame(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwUndoSaveContent::DelContentIndex(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), SwWW8ImplReader::End_Field(), SwGetRefFieldType::FindAnchor(), sw::mark::FindFieldSep(), SwXText::Impl::finishOrAppendParagraph(), SwCursorShell::GetContentAtPos(), SwTextSizeInfo::GetMultiCreator(), GetNextAttrImpl(), SwEditShell::GetScriptType(), SwCursorShell::GetSelText(), GotoCurrTable(), GotoNextTable(), GotoPrevTable(), SwHTMLWriter::GuessFrameType(), SwEditShell::HandleCorrectionError(), SwScriptInfo::InitScriptInfo(), SwEditShell::Insert2(), InsertHint(), IsAtParaMatch(), IsDestroyFrameAnchoredAtChar(), IDocumentMarkAccess::IsLegalPaMForCrossRefHeadingBookmark(), sw::IsMarkHidden(), IsNotBackspaceHeuristic(), IsSelectFrameAnchoredAtPara(), IsShown(), SwUndoInsSection::Join(), JoinNext(), JoinPrev(), lcl_CheckMaxLength(), lcl_CreatePortions(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), SwCursor::LeftRight(), sw::MapViewToModel(), ModelToViewHelper::ModelToViewHelper(), SwDoc::MoveParagraphImpl(), sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), MSWordExportBase::NeedTextNodeSplit(), OutASC_SwTextNode(), SwWW8AttrIter::OutAttrWithRange(), SwWW8ImplReader::Read_F_Tox(), SwWW8ImplReader::ReadText(), SanityCheck(), SwUndoDelete::SaveContent(), SaveFlyInRange(), SwDoc::SearchNumRule(), SwAttrIter::Seek(), SwEditShell::SelectionHasBullet(), SwEditShell::SelectionHasNumber(), sw::DocumentContentOperationsManager::SplitNode(), SwDoc::Summary(), sw_JoinText(), SwUndoReplace::Impl::UndoImpl(), SwUndoInserts::UndoImpl(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateFramesForRemoveDeleteRedline(), sw::UpdateMergedParaForDelete(), sw::UpdateMergedParaForInsert(), SwTOXBaseSection::UpdateOutline(), and DocxAttributeOutput::WriteFlyFrame().
|
overridevirtual |
Implements SwContentNode.
Definition at line 60 of file ndcopy.cxx.
References SwContentNode::ChkCondColl(), SfxItemSet::ClearItem(), CopyAttr(), CopyText(), SwDoc::CopyTextColl(), SwAttrSet::CopyToModify(), SwTextFormatColl::GetNextTextFormatColl(), SwNodeIndex::GetNode(), SwDoc::GetNodes(), SwContentNode::GetpSwAttrSet(), GetText(), GetTextColl(), SwNode::GetTextNode(), SwContentNode::HasSwAttrSet(), SwDoc::IsInsOnlyTextGlossary(), SwNode::IsTextNode(), SwNodes::MakeTextNode(), RES_BREAK(), RES_CONDTXTFMTCOLL(), RES_PAGEDESC(), ResetAllAttr(), and SwFormat::Which().
Referenced by sw::DocumentContentOperationsManager::CopyImplImpl().
|
overridevirtual |
Virtual methods from ContentNode.
Implements SwContentNode.
Definition at line 285 of file ndtxt.cxx.
References sw::MakeTextFrame(), and sw::New.
Referenced by SwTextFrame::SplitFrame().
|
private |
Definition at line 3009 of file ndtxt.cxx.
References ChgFormatColl(), ChgTextCollUpdateNum(), SfxItemSet::ClearItem(), SwContentNode::ClearItemsFromAttrSet(), SfxItemSet::GetItemState(), SwTextFormatColl::GetNextTextFormatColl(), SwNode::GetNodes(), GetNumRule(), SwContentNode::GetpSwAttrSet(), GetTextColl(), SwContentNode::HasSwAttrSet(), sw::BorderCacheOwner::InvalidateInSwCache(), IsCountedInList(), SwNodes::IsDocNodes(), IsOutline(), RES_ATTRSET_CHG(), RES_BREAK(), RES_KEEP(), RES_OBJECTDYING(), RES_PAGEDESC(), RES_PARATR_NUMRULE(), RES_PARATR_SPLIT(), SetCountedInList(), and SwTextNode().
Referenced by AppendNode(), and SplitContentNode().
|
overridevirtual |
Definition at line 5530 of file ndtxt.cxx.
References SwXParagraph::CreateXParagraph(), and SwNode::GetDoc().
|
private |
Move all comprising hard attributes to the AttrSet of the paragraph.
Definition at line 814 of file ndtxt.cxx.
References DestroyAttr(), SwTextAttr::GetAttr(), SwTextAttr::GetEnd(), SwTextAttr::GetStart(), i, SwTextAttr::IsCharFormatAttr(), SwTextAttr::IsDontMoveAttr(), m_pSwpHints, m_Text, and SetAttr().
Referenced by SplitContentNode().
|
overrideprivatevirtual |
Create the specific AttrSet.
Implements SwContentNode.
Definition at line 1217 of file ndtxt.cxx.
References aTextNodeSetRange, IStyleAccess::AUTO_STYLE_PARA, SwStyleNameMapper::FillProgName(), SwContentNode::GetAnyFormatColl(), SwFormat::GetAttrSet(), IStyleAccess::getAutomaticStyle(), SwNode::GetDoc(), SwContentNode::GetFormatColl(), SwDoc::GetIStyleAccess(), SwFormat::GetName(), SwContentNode::mpAttrSet, SfxItemSet::Put(), RES_FRMATR_CONDITIONAL_STYLE_NAME(), RES_FRMATR_STYLE_NAME(), SfxItemSet::SetParent(), and TxtColl.
void SwTextNode::NumRuleChgd | ( | ) |
Notify this textnode that its numbering rule has changed.
Definition at line 2961 of file ndtxt.cxx.
References GetNum(), GetNumRule(), SwContentNode::GetSwAttrSet(), SwAttrSet::GetTextLeftMargin(), IsInList(), mpNodeNum, mpNodeNumRLHidden, and SetWordCountDirty().
Referenced by lcl_SetRuleChgd(), SwNodeNum::NotifyNode(), and UnHideRedlines().
std::unique_ptr< SwGrammarMarkUp > SwTextNode::ReleaseGrammarCheck | ( | ) |
Definition at line 2292 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pGrammarCheck.
Referenced by JoinNext(), JoinPrev(), and SplitContentNode().
std::unique_ptr< SwWrongList > SwTextNode::ReleaseSmartTags | ( | ) |
Definition at line 2320 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pSmartTags.
Referenced by JoinNext(), JoinPrev(), and SplitContentNode().
std::unique_ptr< SwWrongList > SwTextNode::ReleaseWrong | ( | ) |
Definition at line 2266 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pWrong.
Referenced by JoinNext(), JoinPrev(), and SplitContentNode().
void SwTextNode::RemoveFromList | ( | ) |
Definition at line 4508 of file ndtxt.cxx.
References SwNode::GetDoc(), IsInList(), mpNodeNum, RemoveFromListOrig(), RemoveFromListRLHidden(), SwList::RemoveListItem(), and SetWordCountDirty().
Referenced by SwNodes::ChgNode(), SwNodes::MoveNodes(), SwNodes::RemoveNode(), SwNodeNum::UnregisterMeAndChildrenDueToRootDelete(), and ~SwTextNode().
void SwTextNode::RemoveFromListOrig | ( | ) |
Definition at line 4534 of file ndtxt.cxx.
References SwNode::GetDoc(), SwNode::GetNodes(), mpNodeNumOrig, SwList::RemoveListItem(), and SetWordCountDirty().
Referenced by RemoveFromList().
void SwTextNode::RemoveFromListRLHidden | ( | ) |
Definition at line 4522 of file ndtxt.cxx.
References SwNode::GetDoc(), SwNode::GetNodes(), mpNodeNumRLHidden, SwList::RemoveListItem(), and SetWordCountDirty().
Referenced by sw::CheckParaRedlineMerge(), RemoveFromList(), sw::UpdateFramesForAddDeleteRedline(), sw::UpdateMergedParaForDelete(), and sw::UpdateMergedParaForInsert().
void SwTextNode::ReplaceText | ( | const SwContentIndex & | rStart, |
const sal_Int32 | nDelLen, | ||
const OUString & | rText | ||
) |
replace nDelLen characters at rStart with rText in case the replacement does not fit, it is partially inserted up to the capacity of the node
Definition at line 3808 of file ndtxt.cxx.
References CH_TXTATR_BREAKWORD, CH_TXTATR_INWORD, DeleteAttribute(), SwContentIndex::GetContentNode(), SwTextAttr::GetEnd(), SwContentIndex::GetIndex(), GetSpaceLeft(), SwTextAttr::GetStart(), GetTextAttrForCharAt(), SwTextAttr::HasDummyChar(), SwNode::IsIgnoreDontExpand(), m_Text, sw::MakeInsertText(), nPos, SAL_WARN_IF, SwNode::SetIgnoreDontExpand(), u, and Update().
Referenced by sw::DocumentContentOperationsManager::ReplaceRangeImpl(), ReplaceText(), SwExtTextInput::SetInputData(), SwTextInputField::UpdateTextNodeContent(), and SwExtTextInput::~SwExtTextInput().
void SwTextNode::ReplaceText | ( | SwPosition & | rStart, |
const sal_Int32 | nDelLen, | ||
const OUString & | rText | ||
) |
Definition at line 3884 of file ndtxt.cxx.
References SwPosition::nContent, and ReplaceText().
void SwTextNode::ReplaceTextOnly | ( | sal_Int32 | nPos, |
sal_Int32 | nLen, | ||
std::u16string_view | aText, | ||
const css::uno::Sequence< sal_Int32 > & | rOffsets | ||
) |
Definition at line 2047 of file txtedt.cxx.
References GetSpaceLeft(), m_Text, sw::MakeInsertText(), nPos, and Update().
Referenced by UndoTransliterate_Data::SetChangeAtNode(), and TransliterateText().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 5321 of file ndtxt.cxx.
References mbInSetOrResetAttr, and SwContentNode::ResetAllAttr().
Referenced by SwDoc::ClearDoc(), SwHTMLParser::Continue(), MakeCopy(), SwUndoInserts::UndoImpl(), SwUndoDelete::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), and SwNodes::UndoTableToText().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 5307 of file ndtxt.cxx.
References mbInSetOrResetAttr, and SwContentNode::ResetAttr().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 5293 of file ndtxt.cxx.
References mbInSetOrResetAttr, and SwContentNode::ResetAttr().
Referenced by SwHTMLParser::AddParSpace(), AppendNode(), SwHTMLParser::AppendTextNode(), SwHTMLParser::BuildTableCell(), ChgNumToText(), ChgTextToNum(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwDoc::DelNumRules(), SwXMLImport::endDocument(), SwHTMLParser::FixHeaderFooterDistance(), SwNodes::InsertTextSection(), lcl_DelBox(), sw::lcl_PopNumruleState(), lcl_RemoveBreaks(), ResetEmptyListStyleDueToResetOutlineLevelAttr(), SetAttrListRestartValue(), SetCountedInList(), SetListId(), SetListRestart(), SwDoc::SetNumRule(), SwWW8ImplReader::SetTextFormatCollAndListLevel(), SplitContentNode(), SwDoc::Summary(), sw_JoinText(), and ~SwTextNode().
void SwTextNode::ResetEmptyListStyleDueToResetOutlineLevelAttr | ( | ) |
Definition at line 4209 of file ndtxt.cxx.
References mbEmptyListStyleSetDueToSetOutlineLevelAttr, RES_PARATR_NUMRULE(), and ResetAttr().
void SwTextNode::RstTextAttr | ( | const sal_Int32 | nContentStart, |
const sal_Int32 | nLen, | ||
const sal_uInt16 | nWhich = 0 , |
||
const SfxItemSet * | pSet = nullptr , |
||
const bool | bInclRefToxMark = false , |
||
const bool | bExactRange = false |
||
) |
delete all attributes.
Delete all attributes.
If neither pSet nor nWhich is given, delete all attributes (except refmarks, toxmarks, meta) in range.
nContentStart | start position |
nLen | range in which attributes will be deleted |
pSet | if not 0, delete only attributes contained in pSet |
nWhich | if not 0, delete only attributes with matching which |
bInclRefToxMark | refmarks, toxmarks, and metas will be ignored unless this is true ATTENTION: setting bInclRefToxMark is only allowed from UNDO! |
bExactRange | From the attributes included in the range, delete only the ones which have exactly same range. Don't delete the ones which are simply included in the range. |
5 cases: 1) The attribute is completely in the deletion range: -> delete it 2) The end of the attribute is in the deletion range: -> delete it, then re-insert it with new end 3) The start of the attribute is in the deletion range: -> delete it, then re-insert it with new start 4) The attribute contains the deletion range: Split, i.e., -> Delete, re-insert from old start to start of deletion range -> insert new attribute from end of deletion range to old end 5) The attribute is outside the deletion range -> nothing to do
nStt | starting position |
nLen | length of the deletion |
nthat | ??? |
pSet | ??? |
bInclRefToxMark | ??? |
Definition at line 388 of file txtedt.cxx.
References Count, DestroyAttr(), SwTextAttr::End(), SwTextAttr::GetAttr(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwContentNode::GetFormatColl(), SwNode::getIDocumentStyleAccess(), SfxItemSet::GetItemState(), GetpSwpHints(), SwTextCharFormat::GetSortNumber(), SwTextAttr::GetStart(), SwFormatAutoFormat::GetStyleHandle(), GetTextAttrAt(), SwTextAttr::HasContent(), HasHints(), i, InsertHint(), isTXTATR_WITHEND(), lcl_HaveCommonAttributes(), m_pSwpHints, m_Text, MakeTextAttr(), NOHINTADJUST, sw::Parent, RES_TXTATR_AUTOFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_META(), RES_TXTATR_METAFIELD(), RES_TXTATR_REFMARK(), RES_TXTATR_TOXMARK(), SwTextAttr::SetEnd(), SwTextCharFormat::SetSortNumber(), SwTextAttr::SetStart(), TryDeleteSwpHints(), and SwTextAttr::Which().
Referenced by SwUndoInsSection::Join(), sw::DocumentContentOperationsManager::lcl_RstTextAttr(), SetAttr(), SwUndoInserts::UndoImpl(), and SwUndoTableMerge::UndoImpl().
|
overridevirtual |
Reimplemented from SwContentNode.
Definition at line 5080 of file ndtxt.cxx.
References mbInSetOrResetAttr, rSet, and SwContentNode::SetAttr().
bool SwTextNode::SetAttr | ( | const SfxItemSet & | rSet, |
sal_Int32 | nStt, | ||
sal_Int32 | nEnd, | ||
const SetAttrMode | nMode = SetAttrMode::DEFAULT , |
||
SwTextAttr ** | ppNewTextAttr = nullptr |
||
) |
Set these attributes at TextNode.
If the whole range is comprised set them only in AutoAttrSet (SwContentNode::SetAttr).
Definition at line 1906 of file thints.cxx.
References aCharAutoFormatSetRange, SfxItemSet::Count(), DestroyAttr(), DontExpandFormat(), SfxItemIter::GetCurItem(), SwNode::GetDoc(), SwTextAttr::GetEnd(), GetOrCreateSwpHints(), SfxItemSet::GetPool(), HasHints(), InsertHint(), isCHRATR(), IsInvalidItem(), isTXTATR(), m_pSwpHints, m_Text, MakeTextAttr(), n, nCount, SfxItemIter::NextItem(), NOFORMATATTR, SfxItemSet::Put(), RES_TXTATR_AUTOFMT(), RES_TXTATR_BEGIN(), RES_TXTATR_CHARFMT(), RES_TXTATR_END(), RES_TXTATR_UNKNOWN_CONTAINER(), rSet, RstTextAttr(), SetAttr(), TryDeleteSwpHints(), and SfxPoolItem::Which().
|
overridevirtual |
overriding to handle change of certain paragraph attributes
Reimplemented from SwContentNode.
Definition at line 5066 of file ndtxt.cxx.
References mbInSetOrResetAttr, and SwContentNode::SetAttr().
Referenced by SwHTMLParser::AddParSpace(), SwDoc::AppendDoc(), SwHTMLParser::AppendTextNode(), SwWW8ImplReader::AppendTextNode(), ChgNumToText(), ChgTextToNum(), SwDoc::ClearDoc(), SwDoc::ClearLineNumAttrs(), SwHTMLParser::Continue(), CopyCollFormat(), sw::DocumentContentOperationsManager::CopyImplImpl(), CopyText(), CutImpl(), SwDoc::DelNumRules(), SwHTMLParser::FixHeaderFooterDistance(), sw::ToxTextGenerator::GenerateText(), SwWW8ImplReader::HandlePageBreakChar(), SwRegHistory::InsertItems(), SwHTMLParser::InsertSpacer(), SwNodes::InsertTextSection(), lcl_InsertLabel(), sw::lcl_PopNumruleState(), SwDoc::MoveLeftMargin(), MoveTextAttr_To_AttrSet(), SwWW8ImplReader::Read_LR(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SetAttr(), SetAttrListLevel(), SetAttrListRestartValue(), SetAttrOutlineContentVisible(), SetAttrOutlineLevel(), SetCountedInList(), SetEmptyListStyleDueToSetOutlineLevelAttr(), SetListId(), SetListRestart(), sw::DocumentContentOperationsManager::SplitNode(), SwWW8ImplReader::StripNegativeAfterIndent(), sw_JoinText(), SwTextNode(), SwTOXBaseSection::Update(), SwDoc::UpdateParRsid(), and SwDoc::UpdateRsid().
void SwTextNode::SetAttrListLevel | ( | int | nLevel | ) |
Sets the list level of this text node.
Side effect, when the text node is a list item: The text node's representation in the list tree (<SwNodeNum> instance) is updated.
nLevel | level to set |
Definition at line 4218 of file ndtxt.cxx.
References MAXLEVEL, RES_PARATR_LIST_LEVEL(), and SetAttr().
Referenced by SwAutoFormat::BuildEnum(), ChgTextCollUpdateNum(), WW8ListManager::GetNumRuleForActivation(), SwHTMLParser::NewNumberBulletListItem(), SwWW8ImplReader::NextAnlLine(), SwDoc::NumUpDown(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwHTMLParser::SetNodeNum(), SwTextNode(), and SwUndoDelNum::UndoImpl().
void SwTextNode::SetAttrListRestartValue | ( | SwNumberTree::tSwNumTreeNumber | nNum | ) |
Definition at line 4306 of file ndtxt.cxx.
References GetAttrListRestartValue(), HasAttrListRestartValue(), RES_PARATR_LIST_RESTARTVALUE(), ResetAttr(), and SetAttr().
Referenced by WW8ListManager::GetNumRuleForActivation(), SwHTMLParser::NewNumberBulletListItem(), and SwDoc::SetNodeNumStart().
void SwTextNode::SetAttrOutlineContentVisible | ( | bool | bVisible | ) |
Definition at line 4191 of file ndtxt.cxx.
References bVisible, SfxGrabBagItem::GetGrabBag(), RES_PARATR_GRABBAG(), and SetAttr().
Referenced by SwContentTree::ExecuteContextMenuAction(), SwWrtShell::MakeOutlineContentVisible(), and SwEditWin::ToggleOutlineContentVisibility().
void SwTextNode::SetAttrOutlineLevel | ( | int | nLevel | ) |
Sets the out line level at a text node.
nLevel | the level to be set |
If the text node has an outline number the level is set at the outline number.
If the text node has no outline number but has a paragraph style applied the outline level is set at the paragraph style.
NOTE: This is subject to change, see GetOutlineLevel.
Definition at line 4173 of file ndtxt.cxx.
References MAXLEVEL, RES_PARATR_OUTLINELEVEL(), and SetAttr().
Referenced by SwDoc::OutlineUpDown().
void SwTextNode::SetAutoCompleteWordDirty | ( | bool | bNew | ) | const |
Definition at line 2380 of file txtedt.cxx.
References sw::ParagraphIdleData::bAutoComplDirty, and m_aParagraphIdleData.
Referenced by SwTextFrame::AutoSpell_(), SwTextFrame::CollectAutoCmplWrds(), DelFrames_TextNodePart(), SwDoc::InvalidateAutoCompleteFlag(), lcl_SetWrong(), and Update().
|
inline |
Definition at line 781 of file ndtxt.hxx.
Referenced by ChgFormatColl(), DeleteAttributes(), DestroyAttr(), EraseText(), FormatToTextAttr(), InsertText(), and SwpHints::TryInsertHint().
|
inline |
set CalcVisible flags
Definition at line 765 of file ndtxt.hxx.
Referenced by DestroyAttr(), and InsertHint().
void SwTextNode::SetCountedInList | ( | bool | bCounted | ) |
Definition at line 4378 of file ndtxt.cxx.
References RES_PARATR_LIST_ISCOUNTED(), ResetAttr(), and SetAttr().
Referenced by SwHTMLParser::InsertImage(), MakeNewTextNode(), WW8TabDesc::MergeCells(), SwHTMLParser::NewNumberBulletListItem(), SwWW8ImplReader::NextAnlLine(), SwDoc::NoNum(), SwDoc::NumOrNoNum(), SwTable::PrepareMerge(), SwUndoNumOrNoNum::RedoImpl(), SwWW8ImplReader::RegisterNumFormatOnTextNode(), SwHTMLParser::SetNodeNum(), SwXCell::setPropertyValue(), and SwUndoNumOrNoNum::UndoImpl().
void SwTextNode::SetEmptyListStyleDueToSetOutlineLevelAttr | ( | ) |
Definition at line 4200 of file ndtxt.cxx.
References mbEmptyListStyleSetDueToSetOutlineLevelAttr, and SetAttr().
void SwTextNode::SetGrammarCheck | ( | std::unique_ptr< SwGrammarMarkUp > | pNew | ) |
Definition at line 2282 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pGrammarCheck.
Referenced by DelFrames_TextNodePart(), sw::GrammarContact::getGrammarCheck(), JoinNext(), JoinPrev(), SplitContentNode(), and sw::GrammarContact::updateCursorPosition().
void SwTextNode::SetGrammarCheckDirty | ( | bool | bNew | ) | const |
Definition at line 2360 of file txtedt.cxx.
References sw::ParagraphIdleData::bGrammarCheckDirty, and m_aParagraphIdleData.
Referenced by DelFrames_TextNodePart(), sw::GrammarContact::getGrammarCheck(), SwXTextCursor::invalidateMarkings(), JoinNext(), JoinPrev(), lcl_SetWrong(), lcl_SpellAndGrammarAgain(), SwXFlatParagraph::setChecked(), and SplitContentNode().
|
inlineprivate |
Definition at line 185 of file ndtxt.hxx.
Referenced by SwScriptInfo::CalcHiddenRanges(), and SwScriptInfo::GetBoundsOfHiddenRange().
void SwTextNode::SetInSwUndo | ( | bool | bInUndo | ) |
Definition at line 5094 of file ndtxt.cxx.
References m_bInUndo.
Referenced by SwUndoDelete::UndoImpl().
|
private |
Definition at line 1124 of file txtedt.cxx.
References SfxItemSet::Get(), SwViewShell::GetAttrPool(), vcl::Font::GetCharSet(), SwNode::GetDoc(), SwDoc::GetEditShell(), vcl::Font::GetFamilyName(), vcl::Font::GetFamilyType(), SwDoc::getIDocumentContentOperations(), vcl::Font::GetPitch(), vcl::Font::GetStyleName(), IDocumentContentOperations::InsertItemSet(), SfxItemSet::MergeRange(), nLang, SfxItemSet::Put(), SvxFontItem::SetCharSet(), SvxFontItem::SetFamily(), SvxFontItem::SetFamilyName(), SvxFontItem::SetPitch(), and SvxFontItem::SetStyleName().
Referenced by Convert().
void SwTextNode::SetListId | ( | OUString const & | rListId | ) |
Definition at line 4562 of file ndtxt.cxx.
References GetAttr(), CntUnencodedStringItem::GetValue(), RES_PARATR_LIST_ID(), ResetAttr(), and SetAttr().
void SwTextNode::SetListRestart | ( | bool | bRestart | ) |
Definition at line 4257 of file ndtxt.cxx.
References RES_PARATR_LIST_ISRESTART(), ResetAttr(), and SetAttr().
Referenced by WW8ListManager::GetNumRuleForActivation(), SwHTMLParser::NewNumberBulletListItem(), and SwDoc::SetNumRuleStart().
void SwTextNode::SetSmartTagDirty | ( | bool | bNew | ) | const |
Definition at line 2370 of file txtedt.cxx.
References sw::ParagraphIdleData::bSmartTagDirty, and m_aParagraphIdleData.
Referenced by DelFrames_TextNodePart(), SwXTextCursor::invalidateMarkings(), JoinNext(), JoinPrev(), lcl_CheckSmartTagsAgain(), lcl_SetWrong(), SwXFlatParagraph::setChecked(), SwTextFrame::SmartTagScan(), and SplitContentNode().
void SwTextNode::SetSmartTags | ( | std::unique_ptr< SwWrongList > | pNew | ) |
Definition at line 2307 of file txtedt.cxx.
References SwSmartTagMgr::Get(), m_aParagraphIdleData, and sw::ParagraphIdleData::pSmartTags.
Referenced by DelFrames_TextNodePart(), JoinNext(), JoinPrev(), lcl_SetWrong(), and SplitContentNode().
void SwTextNode::SetWordCountDirty | ( | bool | bNew | ) | const |
Definition at line 2335 of file txtedt.cxx.
References sw::ParagraphIdleData::bWordCountDirty, and m_aParagraphIdleData.
Referenced by CountWords(), DelFrames_TextNodePart(), lcl_SetWrong(), NumRuleChgd(), RemoveFromList(), RemoveFromListOrig(), RemoveFromListRLHidden(), and SplitContentNode().
void SwTextNode::SetWrong | ( | std::unique_ptr< SwWrongList > | pNew | ) |
Definition at line 2256 of file txtedt.cxx.
References m_aParagraphIdleData, and sw::ParagraphIdleData::pWrong.
Referenced by SwTextFrame::AutoSpell_(), DelFrames_TextNodePart(), JoinNext(), JoinPrev(), lcl_SetWrong(), and SplitContentNode().
void SwTextNode::SetWrongDirty | ( | sw::WrongState | eNew | ) | const |
Definition at line 2345 of file txtedt.cxx.
References sw::ParagraphIdleData::eWrongDirty, and m_aParagraphIdleData.
Referenced by SwTextFrame::AutoSpell_(), DelFrames_TextNodePart(), SwXTextCursor::invalidateMarkings(), JoinNext(), JoinPrev(), lcl_SetWrong(), lcl_SpellAndGrammarAgain(), SwXFlatParagraph::setChecked(), and SplitContentNode().
void SwTextNode::SetXParagraph | ( | rtl::Reference< SwXParagraph > const & | xParagraph | ) |
Definition at line 5548 of file ndtxt.cxx.
References m_wXParagraph.
Referenced by SwXParagraph::attachToText(), SwXParagraph::CreateXParagraph(), and TriggerNodeUpdate().
bool SwTextNode::Spell | ( | SwSpellArgs * | pArgs | ) |
Definition at line 971 of file txtedt.cxx.
References SwPosition::Assign(), CH_TXTATR_INWORD, SvxSpellWrapper::CheckSpellLang(), SwScanner::GetBegin(), SwPosition::GetContentIndex(), SwScanner::GetCurrentLanguage(), SwNode::GetDoc(), SwScanner::GetEnd(), SwScanner::GetLen(), SwPosition::GetNode(), SwScanner::GetPrevWord(), SwNode::GetTextNode(), SwScanner::GetWord(), GetWrong(), IsSymbolAt(), IsWrongDirty(), LANGUAGE_NONE, lcl_HasComments(), lcl_IsURL(), lcl_MaskRedlinesAndHiddenText(), m_Text, SwScanner::NextWord(), SwWrongList::NextWrong(), pChar, SwArgsBase::pEndPos, SwArgsBase::pStartPos, SwSpellArgs::xSpellAlt, and SwSpellArgs::xSpeller.
Referenced by SwDoc::Spell().
SwTextNode * SwTextNode::SplitContentNode | ( | const SwPosition & | rPos, |
std::function< void(SwTextNode *, sw::mark::RestoreMode, bool AtStart)> const * | pContentIndexRestore | ||
) |
Definition at line 428 of file ndtxt.cxx.
References Clear, CutText(), SwFrameFormat::DelFrames(), SwTextAttr::Destroy(), DestroyAttr(), SwTextAttr::DontExpand(), SwIterator< TElementType, TSource, eMode >::First(), SwNode::First, sw::mark::Flys, SwTextAttr::GetAutoFormat(), SwPosition::GetContentIndex(), SwNode::GetDoc(), SwTextAttr::GetEnd(), SwTextAttr::GetFlyCnt(), SwFormatFlyCnt::GetFrameFormat(), GetGrammarCheck(), SfxItemSet::GetItemIfSet(), SwPosition::GetNode(), GetNumRule(), GetOrCreateSwpHints(), SwNode::GetRedlineMergeFlag(), GetSmartTags(), SwTextAttr::GetStart(), SwFormatAutoFormat::GetStyleHandle(), SwContentNode::GetSwAttrSet(), GetWrong(), HasHints(), SwNode::Hidden, i, sw::BorderCacheOwner::InvalidateInSwCache(), IsOutline(), lcl_ChangeFootnoteRef(), m_pSwpHints, m_Text, SwContentNode::MakeFramesForAdjacentContentNode(), MakeNewTextNode(), sw::MoveMergedFlysAndFootnotes(), MoveTextAttr_To_AttrSet(), SwIterator< TElementType, TSource, eMode >::Next(), SwNode::None, SwNode::NonFirst, sw::mark::NonFlys, ReleaseGrammarCheck(), ReleaseSmartTags(), ReleaseWrong(), RES_ATTRSET_CHG(), RES_CHRATR_ESCAPEMENT(), RES_PAGEDESC(), RES_PARATR_LIST_ID(), RES_PARATR_LIST_ISCOUNTED(), RES_PARATR_LIST_ISRESTART(), RES_PARATR_LIST_LEVEL(), RES_PARATR_LIST_RESTARTVALUE(), RES_TXTATR_AUTOFMT(), RES_TXTATR_FLYCNT(), SwNode::resetAndQueueAccessibilityCheck(), ResetAttr(), SetGrammarCheck(), SetGrammarCheckDirty(), SwpHints::SetInSplitNode(), SwNode::SetRedlineMergeFlag(), SetSmartTagDirty(), SetSmartTags(), SetWordCountDirty(), SetWrong(), SetWrongDirty(), sw::TODO, TriggerNodeUpdate(), and SwTextAttr::Which().
Referenced by sw::DocumentContentOperationsManager::MoveRange(), SwNodes::MoveRange(), SwNodes::TextToTable(), and SwNodes::UndoTableToText().
|
overrideprivatevirtual |
Reimplemented from SwContentNode.
Definition at line 5515 of file ndtxt.cxx.
References SwContentNode::ChkCondColl(), SfxHint::GetId(), and TriggerNodeUpdate().
void SwTextNode::TransliterateText | ( | utl::TransliterationWrapper & | rTrans, |
sal_Int32 | nStart, | ||
sal_Int32 | nEnd, | ||
SwUndoTransliterate * | pUndo, | ||
bool | bUseRedlining = false |
||
) |
change text to Upper/Lower/Hiragana/Katakana/...
Definition at line 1765 of file txtedt.cxx.
References SwUndoTransliterate::AddChanges(), g_pBreakIt, SwBreakIt::GetBreakIter(), SwNode::GetDoc(), SwDoc::getIDocumentContentOperations(), GetLang(), SwBreakIt::GetLocale(), SwPaM::GetPoint(), GetSpaceLeft(), GetText(), SwPaM::GetText(), utl::TransliterationWrapper::getType(), i, LANGUAGE_NONE, LANGUAGE_SYSTEM, m_Text, o3tl::make_unsigned(), min(), utl::TransliterationWrapper::needLanguageForTheMode(), Next, nLang, IDocumentContentOperations::ReplaceRange(), ReplaceTextOnly(), SAL_WARN, SwPosition::SetContent(), SwPaM::SetMark(), and utl::TransliterationWrapper::transliterate().
Referenced by sw::DocumentContentOperationsManager::TransliterateText().
void SwTextNode::TriggerNodeUpdate | ( | const sw::LegacyModifyHint & | rHint | ) |
for hanging TextFormatCollections somewhere else (Outline-Numbering!)
Definition at line 5449 of file ndtxt.cxx.
References ChgTextCollUpdateNum(), SfxItemIter::GetCurItem(), SwNode::GetDoc(), SwDoc::GetNodes(), SwNode::GetNodes(), SwDoc::IsInDtor(), IsInvalidItem(), sw::LegacyModifyHint::m_pNew, sw::LegacyModifyHint::m_pOld, maFillAttributes, mbInSetOrResetAttr, SfxItemIter::NextItem(), RES_ATTRSET_CHG(), RES_FMT_CHG(), RES_REMOVE_UNO_OBJECT(), SetXParagraph(), SwContentNode::SwClientNotify(), SwNodes::UpdateOutlineNode(), SfxPoolItem::Which(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().
Referenced by CopyAttr(), SwTextField::ExpandTextField(), SwFormatField::ForceUpdateTextNode(), SwTextFootnote::InvalidateNumberInLayout(), SwRangeRedline::InvalidateRange(), SwTextField::NotifyContentChange(), sw::DocumentContentOperationsManager::Overwrite(), SplitContentNode(), SwClientNotify(), SwTextRuby::SwClientNotify(), SwTextINetFormat::SwClientNotify(), SwTextCharFormat::TriggerNodeUpdate(), SwpHints::TryInsertHint(), sw::DocumentFieldsManager::UpdateField(), and SwFormatField::UpdateTextNode().
|
inlineprivate |
Definition at line 887 of file ndtxt.hxx.
References m_pSwpHints.
Referenced by CutImpl(), DeleteAttribute(), DeleteAttributes(), EraseText(), FormatToTextAttr(), GCAttr(), RstTextAttr(), and SetAttr().
|
overridevirtual |
override SwContentIndexReg
Definition at line 1251 of file ndtxt.cxx.
References SwContentIndex::Assign(), IDocumentMarkAccess::assureSortedMarkContainers(), SwTextAttr::Destroy(), SwTextAttr::DontExpand(), eMode, SwPaM::End(), SwFrame::FindPageFrame(), SwIterator< TElementType, TSource, eMode >::First(), SwFormat::GetAnchor(), SwNode::GetAnchoredFlys(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwTextAttr::GetAttr(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwContentIndex::GetContentNode(), SwNode::GetDoc(), SwDoc::GetDocShell(), SwTextAttr::GetEnd(), SwNode::getIDocumentMarkAccess(), SwDoc::getIDocumentRedlineAccess(), SwContentIndex::GetIndex(), SwPaM::GetMark(), sw::mark::IMark::GetMarkEnd(), sw::mark::IMark::GetMarkStart(), SwContentIndex::GetNext(), SwPosition::GetNode(), SwPaM::GetPoint(), SwContentIndex::GetRedline(), IDocumentRedlineAccess::GetRedlineTable(), sw::Ring< value_type >::GetRingContainer(), SwTextAttr::GetStart(), HasHints(), SwPaM::HasMark(), i, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), comphelper::LibreOfficeKit::isActive(), SwTextAttr::IsCharFormatAttr(), isCHRATR(), sw::mark::IMark::IsExpanded(), SwTextAttr::IsFormatIgnoreEnd(), SwNode::IsIgnoreDontExpand(), isTXTATR_WITHEND(), SwRedlineTable::LOKRedlineNotification(), m_bInUndo, m_pSwpHints, MakeTextAttr(), Modify, n, SwPosition::nContent, nCount, SwIterator< TElementType, TSource, eMode >::Next(), RES_CHRATR_BEGIN(), RES_TXTATR_CHARFMT(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), RES_TXTATR_WITHEND_END(), SetAutoCompleteWordDirty(), SwTextAttr::SetDontExpand(), SwTextAttr::SetEnd(), SwTextAttr::SetStart(), SwRedlineTable::size(), Start, SwPaM::Start(), SwSortedObjs::UpdateAll(), SwTextInputField::UpdateFieldContent(), and SwTextAttr::Which().
Referenced by CutImpl(), EraseText(), InsertHint(), InsertText(), ReplaceText(), and ReplaceTextOnly().
void SwTextNode::UpdateDocPos | ( | const SwTwips | nDocPos, |
const sal_uInt32 | nIndex | ||
) |
Definition at line 5443 of file ndtxt.cxx.
References nIndex.
Referenced by SwFormatField::UpdateDocPos().
void SwTextNode::UpdateOutlineState | ( | ) |
Definition at line 4163 of file ndtxt.cxx.
References IsOutline(), and m_bLastOutlineState.
Referenced by SwNodes::UpdateOutlineNode().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
mutableprivate |
Definition at line 131 of file ndtxt.hxx.
Referenced by ClearGrammarCheck(), ClearSmartTags(), ClearWrong(), CountWords(), GetGrammarCheck(), GetSmartTags(), GetWrong(), GetWrongDirty(), IsAutoCompleteWordDirty(), IsGrammarCheckDirty(), IsSmartTagDirty(), IsWordCountDirty(), IsWrongDirty(), ReleaseGrammarCheck(), ReleaseSmartTags(), ReleaseWrong(), SetAutoCompleteWordDirty(), SetGrammarCheck(), SetGrammarCheckDirty(), SetSmartTagDirty(), SetSmartTags(), SetWordCountDirty(), SetWrong(), and SetWrongDirty().
|
mutableprivate |
Some of the chars this para are hidden.
Paragraph has to be reformatted on changing the view to print preview.
Definition at line 135 of file ndtxt.hxx.
Referenced by SwTextNode().
|
mutableprivate |
The whole paragraph is hidden because of the hidden text attribute.
Definition at line 137 of file ndtxt.hxx.
Referenced by SwTextNode().
|
private |
Is an undo operation in progress?
Definition at line 152 of file ndtxt.hxx.
Referenced by SetInSwUndo(), and Update().
|
mutableprivate |
Definition at line 141 of file ndtxt.hxx.
Referenced by IsOutlineStateChanged(), and UpdateOutlineState().
|
private |
Definition at line 142 of file ndtxt.hxx.
Referenced by IsNotifiable(), sw::TextNodeNotificationSuppressor::TextNodeNotificationSuppressor(), and sw::TextNodeNotificationSuppressor::~TextNodeNotificationSuppressor().
|
mutableprivate |
The last two flags have to be recalculated if this flag is set:
Definition at line 139 of file ndtxt.hxx.
Referenced by SwTextNode().
|
private |
Definition at line 154 of file ndtxt.hxx.
Referenced by CopyText(), and GetNumString().
|
private |
May be 0.
It is only then not 0 if it contains hard attributes. Therefore: never access directly!
Definition at line 123 of file ndtxt.hxx.
Referenced by ClearSwpHintsArr(), CopyAttr(), CopyExpandText(), CopyText(), CutImpl(), DeleteAttribute(), DeleteAttributes(), DontExpandFormat(), EraseText(), FileLoadedInitHints(), GCAttr(), GetLang(), GetOrCreateSwpHints(), GetParaAttr(), GetSwpHints(), GetTextAttrAt(), GetTextAttrForCharAt(), GetTextAttrsAt(), impl_FormatToTextAttr(), InsertHint(), InsertItem(), InsertText(), MoveTextAttr_To_AttrSet(), RstTextAttr(), SetAttr(), SplitContentNode(), TryDeleteSwpHints(), Update(), and ~SwTextNode().
|
private |
Definition at line 129 of file ndtxt.hxx.
Referenced by SwTextFrame::AutoSpell_(), Convert(), CopyText(), CutImpl(), DelSoftHyph(), DontExpandFormat(), EraseText(), GCAttr(), GetLang(), GetMinMaxSize(), GetSpaceLeft(), Hyphenate(), impl_FormatToTextAttr(), InsertHint(), InsertText(), JoinNext(), Len(), MoveTextAttr_To_AttrSet(), ReplaceText(), ReplaceTextOnly(), RstTextAttr(), SetAttr(), Spell(), SplitContentNode(), and TransliterateText().
|
private |
Definition at line 156 of file ndtxt.hxx.
Referenced by SetXParagraph().
|
private |
Definition at line 159 of file ndtxt.hxx.
Referenced by ChgFormatColl(), getSdrAllFillAttributesHelper(), and TriggerNodeUpdate().
|
private |
Definition at line 144 of file ndtxt.hxx.
Referenced by ResetEmptyListStyleDueToResetOutlineLevelAttr(), and SetEmptyListStyleDueToSetOutlineLevelAttr().
|
private |
boolean, indicating that a <SetAttr(..)> or <ResetAttr(..)> or <ResetAllAttr(..)> method is running.
Needed to avoid duplicate handling of attribute change actions.
Definition at line 149 of file ndtxt.hxx.
Referenced by ChgFormatColl(), ResetAllAttr(), ResetAttr(), SetAttr(), and TriggerNodeUpdate().
|
mutableprivate |
Numbering for this paragraph.
Definition at line 125 of file ndtxt.hxx.
Referenced by AddToList(), DoNum(), GetNum(), NumRuleChgd(), and RemoveFromList().
|
mutableprivate |
Numbering for this paragraph (before changes)
Definition at line 127 of file ndtxt.hxx.
Referenced by AddToListOrig(), DoNum(), GetNum(), and RemoveFromListOrig().
|
mutableprivate |
Numbering for this paragraph (hidden redlines)
Definition at line 126 of file ndtxt.hxx.
Referenced by AddToList(), AddToListRLHidden(), DoNum(), GetActualListLevel(), GetNum(), NumRuleChgd(), and RemoveFromListRLHidden().