LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
SwContentNode Class Referenceabstract

#include <node.hxx>

Inheritance diagram for SwContentNode:
[legend]
Collaboration diagram for SwContentNode:
[legend]

Public Member Functions

virtual SwContentFrameMakeFrame (SwFrame *pSib)=0
 MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g. More...
 
virtual SwContentNodeJoinNext ()
 
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
 
SwContentFramegetLayoutFrame (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 SwContentNodeMakeCopy (SwDoc &, SwNode &rWhere, bool bNewFrames) const =0
 
virtual bool GetInfo (SfxPoolItem &) const override
 Get information from Client. More...
 
const SfxPoolItemGetAttr (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 SfxPoolItemGetNoCondAttr (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 SwAttrSetGetSwAttrSet () const
 Does node has already its own auto-attributes? Access to SwAttrSet. More...
 
const SwAttrSetGetpSwAttrSet () const
 
bool HasSwAttrSet () const
 
virtual SwFormatCollChgFormatColl (SwFormatColl *)
 
SwFormatCollGetFormatColl () const
 
SwFormatCollGetAnyFormatColl () const
 
void SetCondFormatColl (SwFormatColl *)
 
SwFormatCollGetCondFormatColl () 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 SwStartNodeStartOfSectionNode () const
 
SwStartNodeStartOfSectionNode ()
 
SwNodeOffset EndOfSectionIndex () const
 
const SwEndNodeEndOfSectionNode () const
 
SwEndNodeEndOfSectionNode ()
 
sal_uInt8 GetAutoFormatLvl () const
 
void SetAutoFormatLvl (sal_uInt8 nVal)
 
bool IsIgnoreDontExpand () const
 
void SetIgnoreDontExpand (bool bNew)
 
SwNodeType GetNodeType () const
 
SwStartNodeGetStartNode ()
 
const SwStartNodeGetStartNode () const
 
SwContentNodeGetContentNode ()
 
const SwContentNodeGetContentNode () const
 
SwEndNodeGetEndNode ()
 
const SwEndNodeGetEndNode () const
 
SwTextNodeGetTextNode ()
 Inline methods from Node.hxx. More...
 
const SwTextNodeGetTextNode () const
 
SwOLENodeGetOLENode ()
 Inline methods from Node.hxx. More...
 
const SwOLENodeGetOLENode () const
 
SwNoTextNodeGetNoTextNode ()
 
const SwNoTextNodeGetNoTextNode () const
 
SwGrfNodeGetGrfNode ()
 
const SwGrfNodeGetGrfNode () const
 
SwTableNodeGetTableNode ()
 
const SwTableNodeGetTableNode () const
 
SwSectionNodeGetSectionNode ()
 
const SwSectionNodeGetSectionNode () 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...
 
SwTableNodeFindTableNode ()
 Search table node, in which it is. More...
 
const SwTableNodeFindTableNode () const
 
SwSectionNodeFindSectionNode ()
 Search section node, in which it is. More...
 
const SwSectionNodeFindSectionNode () const
 
SwStartNodeFindSttNodeByType (SwStartNodeType eTyp)
 
const SwStartNodeFindSttNodeByType (SwStartNodeType eTyp) const
 
const SwStartNodeFindTableBoxStartNode () const
 
const SwStartNodeFindFlyStartNode () const
 
const SwStartNodeFindFootnoteStartNode () const
 
const SwStartNodeFindHeaderStartNode () const
 
const SwStartNodeFindFooterStartNode () const
 
SwNodesGetNodes ()
 Node is in which nodes-array/doc? More...
 
const SwNodesGetNodes () const
 
SwDocGetDoc ()
 
const SwDocGetDoc () const
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 Provides access to the document setting interface. More...
 
const IDocumentDeviceAccessgetIDocumentDeviceAccess () const
 Provides access to the document device interface. More...
 
const IDocumentMarkAccessgetIDocumentMarkAccess () const
 Provides access to the document bookmark interface. More...
 
const IDocumentRedlineAccessgetIDocumentRedlineAccess () const
 Provides access to the document redline interface. More...
 
const IDocumentStylePoolAccessgetIDocumentStylePoolAccess () const
 Provides access to the document style pool interface. More...
 
const IDocumentDrawModelAccessgetIDocumentDrawModelAccess () const
 Provides access to the document draw model interface. More...
 
const IDocumentLayoutAccessgetIDocumentLayoutAccess () const
 Provides access to the document layout interface. More...
 
IDocumentLayoutAccessgetIDocumentLayoutAccess ()
 
const IDocumentLinksAdministrationgetIDocumentLinksAdministration () const
 Provides access to the document links administration interface. More...
 
IDocumentLinksAdministrationgetIDocumentLinksAdministration ()
 
const IDocumentFieldsAccessgetIDocumentFieldsAccess () const
 Provides access to the document fields administration interface. More...
 
IDocumentFieldsAccessgetIDocumentFieldsAccess ()
 
IDocumentContentOperationsgetIDocumentContentOperations ()
 Provides access to the document content operations interface. More...
 
IStyleAccessgetIDocumentStyleAccess ()
 Provides access to the document automatic styles interface. More...
 
IDocumentListItemsgetIDocumentListItems ()
 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 SwPageDescFindPageDesc (SwNodeOffset *pPgDescNdIdx=nullptr) const
 Search PageDesc with which this node is formatted. More...
 
SwFrameFormatGetFlyFormat () const
 If node is in a fly return the respective format. More...
 
SwTableBoxGetTableBox () const
 If node is in a table return the respective table box. More...
 
SwNodeOffset GetIndex () const
 
const SwTextNodeFindOutlineNodeOfLevel (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::AccessibilityCheckStatusgetAccessibilityCheckStatus ()
 
void resetAndQueueAccessibilityCheck ()
 
- Public Member Functions inherited from sw::BorderCacheOwner
 BorderCacheOwner ()
 
 BorderCacheOwner (BorderCacheOwner &)
 
BorderCacheOwneroperator= (const BorderCacheOwner &)
 
 ~BorderCacheOwner ()
 
bool IsInCache () const
 
void InvalidateInSwCache (const sal_uInt16)
 

Static Public Member Functions

static std::unique_ptr< SwOLENodesCreateOLENodesArray (const SwFormatColl &rColl, bool bOnlyWithInvalidSize)
 

Protected Member Functions

 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 Attributes

std::shared_ptr< const SfxItemSetmpAttrSet
 Attribute-set for all auto attributes of a ContentNode. More...
 
- Protected Attributes inherited from SwNode
SwStartNodem_pStartOfSection
 

Private Member Functions

 SwContentNode (const SwContentNode &rNode)=delete
 
SwContentNodeoperator= (const SwContentNode &rNode)=delete
 

Private Attributes

sw::WriterMultiListener m_aCondCollListener
 
SwFormatCollm_pCondColl
 
bool mbSetModifyAtAttr
 

Additional Inherited Members

- Public Types inherited from SwNode
enum class  Merge {
  None ,
  First ,
  NonFirst ,
  Hidden
}
 sw_redlinehide: redline node merge state More...
 

Detailed Description

Definition at line 394 of file node.hxx.

Constructor & Destructor Documentation

◆ SwContentNode() [1/3]

SwContentNode::SwContentNode ( )
protected

only used by SwContentNodeTmp in SwTextNode::Update

Definition at line 1080 of file node.cxx.

◆ SwContentNode() [2/3]

SwContentNode::SwContentNode ( const SwNode rWhere,
const SwNodeType  nNodeType,
SwFormatColl pFormatColl 
)
protected

Definition at line 1087 of file node.cxx.

◆ ~SwContentNode()

SwContentNode::~SwContentNode ( )
overrideprotectedpure virtual

the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses

Definition at line 1098 of file node.cxx.

References DelFrames(), sw::WriterMultiListener::EndListeningAll(), sw::BorderCacheOwner::InvalidateInSwCache(), SwNode::IsTextNode(), m_aCondCollListener, m_pCondColl, mbSetModifyAtAttr, mpAttrSet, RES_OBJECTDYING(), and SwAttrSet::SetModifyAtAttr().

◆ SwContentNode() [3/3]

SwContentNode::SwContentNode ( const SwContentNode rNode)
privatedelete

Member Function Documentation

◆ CanJoinNext() [1/2]

bool SwContentNode::CanJoinNext ( SwNodeIndex pIdx = nullptr) const

◆ CanJoinNext() [2/2]

bool SwContentNode::CanJoinNext ( SwPosition pIdx) const

◆ CanJoinPrev()

bool SwContentNode::CanJoinPrev ( SwNodeIndex pIdx = nullptr) const

◆ ChgFormatColl()

SwFormatColl * SwContentNode::ChgFormatColl ( SwFormatColl pNewColl)
virtual

◆ ChkCondColl()

void SwContentNode::ChkCondColl ( const SwTextFormatColl pColl = nullptr)

◆ ClearItemsFromAttrSet()

sal_uInt16 SwContentNode::ClearItemsFromAttrSet ( const std::vector< sal_uInt16 > &  rWhichIds)
protected

There some functions that like to remove items from the internal SwAttrSet (handle):

Definition at line 1786 of file node.cxx.

References SfxItemSet::ClearItem(), AttrSetHandleHelper::GetNewAutoStyle(), GetpSwAttrSet(), and mpAttrSet.

Referenced by SwTextNode::FormatToTextAttr(), SwTextNode::impl_FormatToTextAttr(), SwTextNode::MakeNewTextNode(), ResetAllAttr(), and ResetAttr().

◆ CreateOLENodesArray()

std::unique_ptr< SwOLENodes > SwContentNode::CreateOLENodesArray ( const SwFormatColl rColl,
bool  bOnlyWithInvalidSize 
)
static

◆ DelFrames()

void SwContentNode::DelFrames ( SwRootFrame const *  pLayout)

◆ FindLayoutRect()

SwRect SwContentNode::FindLayoutRect ( const bool  bPrtArea = false,
const Point pPoint = nullptr 
) const

◆ FindPageFrameRect()

SwRect SwContentNode::FindPageFrameRect ( ) const

◆ GetAnyFormatColl()

SwFormatColl & SwContentNode::GetAnyFormatColl ( ) const
inline

◆ GetAttr() [1/3]

const SfxPoolItem & SwContentNode::GetAttr ( sal_uInt16  nWhich,
bool  bInParent = true 
) const
inline

◆ GetAttr() [2/3]

bool SwContentNode::GetAttr ( SfxItemSet rSet) const

◆ GetAttr() [3/3]

template<class T >
const T & SwContentNode::GetAttr ( TypedWhichId< T >  nWhich,
bool  bInParent = true 
) const
inline

Definition at line 474 of file node.hxx.

◆ GetCondFormatColl()

SwFormatColl * SwContentNode::GetCondFormatColl ( ) const
inline

◆ GetFormatColl()

SwFormatColl * SwContentNode::GetFormatColl ( ) const
inline

◆ GetInfo()

bool SwContentNode::GetInfo ( SfxPoolItem rInfo) const
overridevirtual

Get information from Client.

Get info from Modify.

Definition at line 1567 of file node.cxx.

References GetAttr(), SwNode::GetNodes(), RES_AUTOFMT_DOCNODE(), RES_FINDNEARESTNODE(), RES_PAGEDESC(), and SfxPoolItem::Which().

◆ getLayoutFrame()

SwContentFrame * SwContentNode::getLayoutFrame ( const SwRootFrame _pRoot,
const SwPosition pPos = nullptr,
std::pair< Point, bool > const *  pViewPosAndCalcFrame = nullptr 
) const
See also
GetFrameOfModify

Definition at line 1223 of file node.cxx.

References FRM_CNTNT, and GetFrameOfModify().

Referenced by SwEditShell::AutoCorrect(), SwContentTree::BringBookmarksToAttention(), SwContentTree::BringFootnotesToAttention(), SwContentTree::BringPostItFieldsToAttention(), SwContentTree::BringReferencesToAttention(), SwContentTree::BringTextFieldsToAttention(), SwContentTree::BringURLFieldsToAttention(), SwRootFrame::CalcFrameRects(), sw::DefaultToxTabStopTokenHandler::CanUseLayoutRectangle(), SwRefPageGetField::ChangeExpansion(), CheckMergeSel(), CheckSplitCells(), SwDoc::ChgAnchor(), SwAutoCorrDoc::ChgAutoCorrWord(), ChkChartSel(), SwEditShell::ClearAutomaticContour(), CollectFrameAtNode(), SwShellTableCursor::Contains(), sw::DocumentChartDataProviderManager::CreateChartInternalDataProviders(), SwAutoCorrDoc::Delete(), SwCursor::DoSetBidiLevelLeftRight(), SwBaseShell::ExecDelete(), SwView::ExecSpellPopup(), SwContentType::FillMemberList(), SwViewShell::FillPrtDoc(), SwShellTableCursor::FillRects(), SwTOXPara::FillText(), SwFEShell::FindAnchorPos(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwNode::FindOutlineNodeOfLevel(), SwNode::FindPageDesc(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), sw::GetAttrMerged(), SwDocUpdateField::GetBodyNode(), SwDocUpdateField::GetBodyNodeGeneric(), SwCursorShell::GetBoxNms(), SwEditShell::GetChunkForAutoText(), SwCursorShell::GetContentAtPos(), SwUnoCursorHelper::GetCurPageStyle(), SwCursorShell::GetCurrFrame(), SwRootFrame::GetCurrPage(), SwCursorShell::GetCursor(), SwEditShell::GetCurWord(), SwEditShell::GetDropText(), sw::GetExpandTextMerged(), SwAccessibleDocument::getExtendedAttributes(), sw::GetFirstAndLastNode(), SwFEShell::GetFormatFromAnyObj(), SwAutoFormat::GetFrame(), SwFEShell::GetFrameType(), SwEditShell::GetIMapGraphic(), SwEditShell::GetINetAttrs(), SwAutoCorrDoc::GetLanguage(), SwCallLink::getLayoutFrame(), SwEditShell::GetLineCount(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), SwAutoFormat::GetNextNode(), GetNode(), SwDoc::GetNumRuleAtPos(), SwOLEObj::GetOleRef(), SwPaM::GetPageNum(), sw::GetParaPropsNode(), SwEditShell::GetPrevAutoCorrWord(), SwFootnoteFrame::GetRefFromAttr(), SwEditShell::GetScalingOfSelectedText(), SwFEShell::GetSelectedPageDescs(), SwAuthorityFieldType::GetSequencePos(), SwCursorShell::GetSmartTagRect(), GetTableSel(), GetTextDirection(), SwCursorShell::GotoFootnoteText(), sw::GotoNextLayoutTextFrame(), SwCursorShell::GotoNextTOXBase(), SwCursorShell::GotoNxtPrvTableFormula(), SwCursorShell::GotoNxtPrvTOXMark(), sw::GotoPrevLayoutTextFrame(), SwCursorShell::GotoPrevTOXBase(), SwDoc::GotoTOXMark(), sw::ToxTextGenerator::HandleChapterToken(), SwEditShell::HandleCorrectionError(), sw::ToxTextGenerator::HandleTextToken(), SwEditShell::HasOLEObj(), SwPaM::HasReadonlySel(), SwTextNode::Hyphenate(), SwFEShell::ImpEndCreate(), SwCallLink::ImplDestroy(), SwAutoCorrDoc::Insert(), InsertCnt_(), SwFEShell::InsertDrawObj(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwCursor::IsAtLeftRightMargin(), IsAtStartOrEndOfFrame(), SwCursor::IsAtValidPos(), SwTextNode::IsCollapse(), SwCursorShell::IsEndPara(), SwFEShell::IsFlyInFly(), IsFrameBehind(), IsHeadingContained(), SwCursorShell::isInHiddenTextFrame(), SwContentAtPos::IsInProtectSect(), SwNode::IsInVisibleArea(), sw::IsMarkHidden(), sw::IsMarkHintHidden(), SwEditShell::IsMoveLeftMargin(), SwWrtShell::IsOutlineContentVisible(), sw::IsParaPropsNode(), SwOLEObj::IsProtected(), SwCursorShell::IsSttPara(), lcl_FindAnchorLayPos(), lcl_FindAnchorPos(), lcl_FindField(), lcl_FindNextCell(), lcl_FindPrevCell(), lcl_GetBoxFrame(), lcl_getLayoutRect(), lcl_GetRowNumber(), lcl_GetStartEndCell(), lcl_HyphenateNode(), lcl_IsInHeaderFooter(), lcl_MakeFieldLst(), lcl_SetAnchor(), lcl_SetNewFlyPos(), SwCursor::LeftRight(), SwCursorShell::LeftRight(), SwCursor::LeftRightMargin(), SwUnoTableCursor::MakeBoxSels(), SwWrtShell::MakeOutlineContentVisible(), SwWrtShell::MakeOutlineLevelsVisible(), SwRefPageGetFieldType::MakeSetList(), SwRootFrame::MakeTableCursors(), SwEditWin::MouseMove(), SwCursorShell::MoveCursorToNum(), sw::NotifyTableCollapsedParagraph(), SwCursorShell::RefreshBlockCursor(), SwUndoInsertLabel::RepeatImpl(), sw::ReplaceBackReferences(), SwEditShell::ReplaceDropText(), SwAutoCorrDoc::ReplaceRange(), SwGrfNode::ReRead(), RestFlyInRange(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelTableRowOrCol(), SwAutoCorrDoc::SetAttr(), SwDoc::SetBoxAttr(), SwOLENode::SetChanged(), SwCursorShell::SetCursorInHdFt(), SwEditShell::SetGraphicPolygon(), SwHistoryChangeFlyAnchor::SetInDoc(), SwAutoCorrDoc::SetINetAttr(), SwVisibleCursor::SetPosAndShow(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwDoc::SetTextFormatCollByAutoFormat(), SwCursorShell::SetVisibleCursor(), SwDoc::Spell(), SwAutoFormat::SwAutoFormat(), SwFlyLayFrame::SwClientNotify(), SwFlyAtContentFrame::SwClientNotify(), SwTOXBaseSection::SwClientNotify(), SwTOXSortTabBase::SwTOXSortTabBase(), SwNodes::TextToTable(), SwAutoCorrDoc::TransliterateRTLWord(), UnHideRedlines(), UnHideRedlinesExtras(), SwTOXBaseSection::UpdateAuthorities(), SwDoc::UpdateCharts_(), SwTOXBaseSection::UpdateContent(), SwCursorShell::UpdateCursor(), SwGetRefField::UpdateField(), SwRefPageGetFieldType::UpdateField(), SwTOXBaseSection::UpdateOutline(), SwTOXBaseSection::UpdatePageNum(), SwTOXBaseSection::UpdateSequence(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), SwShellCursor::UpDown(), and SwCursor::UpDown().

◆ GetModifyAtAttr()

bool SwContentNode::GetModifyAtAttr ( ) const
inline

◆ GetNoCondAttr() [1/2]

const SfxPoolItem * SwContentNode::GetNoCondAttr ( sal_uInt16  nWhich,
bool  bInParents 
) const

Obtains attribute that is not delivered via conditional style!

Definition at line 1804 of file node.cxx.

References SfxItemSet::GetItemState(), GetpSwAttrSet(), GetSwAttrSet(), and m_pCondColl.

Referenced by SwXMLImport::endDocument(), SwTextNode::GetNumRule(), InvalidateNumRule(), and SwXMLImport::MergeListsAtDocumentInsertPosition().

◆ GetNoCondAttr() [2/2]

template<class T >
const T * SwContentNode::GetNoCondAttr ( TypedWhichId< T >  nWhich,
bool  bInParents 
) const
inline

Definition at line 487 of file node.hxx.

◆ GetpSwAttrSet()

const SwAttrSet * SwContentNode::GetpSwAttrSet ( ) const
inline

Definition at line 493 of file node.hxx.

Referenced by SwAccessibleParagraph::_getRunAttributesImpl(), SwTextNode::AreListLevelIndentsApplicableImpl(), ChgFormatColl(), ChgNumToText(), ChgTextToNum(), ClearItemsFromAttrSet(), SwHTMLParser::Continue(), SwTextNode::CopyCollFormat(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwTextNode::CopyText(), sw::util::CorrectWordWrapPolygonForExport(), SwTextNode::CutImpl(), SwDoc::DelNumRules(), SwEditShell::FillByEx(), HTMLTable::FixFrameFormat(), RtfAttributeOutput::FlyFrameGraphic(), SwTextNode::FormatToTextAttr(), SwCursorShell::GetContentAtPos(), SwWW8FltControlStack::GetFormatAttr(), SwTextFrame::GetLowerMarginForFlyIntersect(), GetNoCondAttr(), SwTextNode::GetNumRule(), SwXParagraph::Impl::GetPropertyValuesTolerant_Impl(), GetSwAttrSet(), SwTextNode::HasAttrListLevel(), SwTextNode::HasAttrListRestartValue(), SwAutoFormat::HasBreakAttr(), SwUndoReplace::Impl::Impl(), SwAttrIter::InitFontAndAttrHandler(), SwDoc::InsertTable(), SwNodes::InsertTextSection(), InsTableBox(), lcl_dbg_out(), lcl_InsTableBox(), sw::lcl_PushNumruleState(), lcl_RemoveBreaks(), lcl_RstAttr(), lcl_SwXParagraph_getPropertyState(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), SwTextNode::MakeCopy(), SwTextNode::MakeNewTextNode(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), ResetAllAttr(), ResetAttr(), SwDoc::ResetAttrs(), SwUndoTableMerge::SaveCollection(), SwUndoDelete::SaveContent(), DocxAttributeOutput::SectionBreaks(), RtfAttributeOutput::SectionBreaks(), WW8Export::SectionBreaksAndFrames(), SetAttr(), SwFltControlStack::SetAttrInDoc(), SwAutoFormat::SetColl(), SetCondFormatColl(), SwDoc::SetTextFormatCollByAutoFormat(), DocxAttributeOutput::StartParagraph(), sw_JoinText(), SwClientNotify(), SwTableToTextSave::SwTableToTextSave(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwUndoSplitNode::UndoImpl(), SwTOXBaseSection::Update(), SwWW8WrGrf::WriteGraphicNode(), SwWW8WrGrf::WriteGrfFromGrfNode(), and MSWordExportBase::WriteText().

◆ getSdrAllFillAttributesHelper()

drawinglayer::attribute::SdrAllFillAttributesHelperPtr SwContentNode::getSdrAllFillAttributesHelper ( ) const
virtual

Reimplemented in SwTextNode.

Definition at line 2130 of file node.cxx.

Referenced by SwFrame::getSdrAllFillAttributesHelper().

◆ GetSwAttrSet()

const SwAttrSet & SwContentNode::GetSwAttrSet ( ) const
inline

Does node has already its own auto-attributes? Access to SwAttrSet.

Definition at line 727 of file node.hxx.

References GetAnyFormatColl(), SwFormat::GetAttrSet(), GetpSwAttrSet(), and mpAttrSet.

Referenced by SwDoc::AppendDoc(), SwAutoFormat::BuildEnum(), SwpHints::BuildPortions(), SwHTMLParser::BuildTableCell(), CanSkipOverRedline(), SwAttrSet::CopyToModify(), SwTextIter::CtorInitTextIter(), SwTextMargin::CtorInitTextMargin(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwSectionFormat::DelFrames(), SwAutoFormat::DoTable(), SwTextNode::dumpAsXml(), SwTextFrame::EmptyHeight(), RtfExport::ExportDocument_Impl(), SwTextFrame::FillCursorPos(), sw::FindAttrImpl(), WidowsAndOrphans::FindWidows(), DocxAttributeOutput::FlyFrameGraphic(), SwTextFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatEmpty(), SwTextNode::GetAdditionalIndentForStartingNewList(), GetAttr(), SwFrame::GetAttrSet(), SwTextFrame::GetBreakItem(), SwTextFormatInfo::GetCharAttr(), SwCursorShell::GetContentAtPos(), SwTextFormatInfo::GetDropFormat(), SwTextNode::GetDropLen(), SwTextFrame::GetDropLen(), SwTextNode::GetDropSize(), SwTextNode::GetFirstLineOfsWithNum(), SwGrfNode::GetGraphicAttr(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwEditShell::GetItemWithPaM(), SwTextNode::GetLang(), SwTextNode::GetLeftMarginForTabCalculation(), SwTextNode::GetLeftMarginWithNum(), SwTextFrame::GetLineSpace(), SwTextNode::GetListTabStopPosition(), SwNoTextFrame::getLocalFrameRotation(), SwTextNode::GetMinMaxSize(), SwTextSizeInfo::GetMultiCreator(), GetNoCondAttr(), SwTextFrame::GetPageDescItem(), SwUnoCursorHelper::GetParaListAutoFormat(), SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame(), SwXParagraph::Impl::GetPropertyValues_Impl(), SwXParagraph::Impl::GetPropertyValuesTolerant_Impl(), SwTextNode::getSdrAllFillAttributesHelper(), SwDoc::GetTableAutoFormat(), SwTextGuess::Guess(), SwTextNode::Hyphenate(), SwRootFrame::Init(), SwTextFormatInfo::InitHyph(), SwNodes::InsertTable(), InsTableBox(), SwGrfNode::IsTransparent(), lcl_dbg_out(), lcl_InsertLabel(), lcl_IsItemSet(), lcl_Search(), SwDoc::MakeFlySection(), SwHTMLParser::MovePageDescAttrs(), SwTextNode::NumRuleChgd(), SwWW8AttrIter::OutAttr(), SwHTMLWriter::OutCSS1_FrameFormatBackground(), OutHTML_FrameFormatGrfNode(), OutHTML_SwTextNode(), DocxExport::OutputEndNode(), MSWordExportBase::OutputSectionNode(), MSWordExportBase::OutputTextNode(), SwTextFrame::PaintEmpty(), RtfAttributeOutput::ParaNumRule_Impl(), SwTextFrame::RecalcAllLines(), sw::DocumentContentOperationsManager::ReRead(), SwUndoReRead::SaveGraphicData(), SwLanguageIterator::SearchNextChg(), MSWordExportBase::SectionProperties(), SwScriptInfo::selectHiddenTextProperty(), SwWW8ImplReader::SetAttributesAtGrfNode(), SwTextNode::SplitContentNode(), SwDoc::Summary(), SwAutoFormat::SwAutoFormat(), SwTextFrameBreak::SwTextFrameBreak(), SwDoc::TextToTable(), SwTOXBaseSection::Update(), MSWordExportBase::UpdateTocSectionNodeProperties(), WidowsAndOrphans::WidowsAndOrphans(), WidowsAndOrphans::WouldFit(), DocxAttributeOutput::WriteFlyFrame(), SwBasicEscherEx::WriteGrfAttr(), SwBasicEscherEx::WriteGrfFlyFrame(), SwBasicEscherEx::WriteOLEFlyFrame(), and WW8Ruby::WW8Ruby().

◆ GetTextDirection()

SvxFrameDirection SwContentNode::GetTextDirection ( const SwPosition rPos,
const Point pPt 
) const

determines the text direction for a certain position.

Returns
-1, if text direction could not be determined.

Definition at line 2076 of file node.cxx.

References SwNode::GetDoc(), SwNode::getIDocumentLayoutAccess(), getLayoutFrame(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), and SwFrame::IsVertLRBT().

Referenced by SwDoc::GetTextDirection(), and SwFEShell::IsVerticalModeAtNdAndPos().

◆ GoNext() [1/2]

bool SwContentNode::GoNext ( SwContentIndex pIdx,
SwCursorSkipMode  nMode 
) const

◆ GoNext() [2/2]

bool SwContentNode::GoNext ( SwPosition pPos,
SwCursorSkipMode  nMode 
) const

◆ GoPrevious()

bool SwContentNode::GoPrevious ( SwContentIndex pIdx,
SwCursorSkipMode  nMode 
) const

◆ HasSwAttrSet()

bool SwContentNode::HasSwAttrSet ( ) const
inline

◆ InvalidateNumRule()

bool SwContentNode::InvalidateNumRule ( )

Invalidates NumRule at the node.

NumRule is updated on EndAction of a Shell at the latest.

Definition at line 1208 of file node.cxx.

References SwNode::GetDoc(), GetNoCondAttr(), SwNode::GetNodes(), GetValue, RES_PARATR_NUMRULE(), and SwNumRule::SetInvalidRule().

Referenced by SwNodes::ChgNode(), SwNodes::Delete(), SwTextNode::JoinNext(), and SwTextNode::JoinPrev().

◆ IsAnyCondition()

bool SwContentNode::IsAnyCondition ( SwCollCondition rTmp) const

◆ JoinNext()

SwContentNode * SwContentNode::JoinNext ( )
virtual

Reimplemented in SwTextNode.

Definition at line 1560 of file node.cxx.

Referenced by SwDoc::MoveParagraphImpl(), and SwUndoTextToTable::UndoImpl().

◆ Len()

sal_Int32 SwContentNode::Len ( ) const
virtual
Returns
count of elements of node content. Default is 1. There are differences between text node and formula node.

Reimplemented in SwTextNode.

Definition at line 1256 of file node.cxx.

Referenced by SwPosition::AssignEndIndex(), SwAutoCorrDoc::ChgAutoCorrWord(), SwEditWin::Command(), sw::DocumentContentOperationsManager::CopyRange(), SwEditShell::CopySelToDoc(), SwDoc::CorrAbs(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), DelFrames(), SwWW8ImplReader::End_Field(), SwCursorShell::ExtendedSelectedAll(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwCursorShell::FindValidContentNode(), sw::GetAllValidRanges(), Writer::GetBookmarks(), SwEditShell::GetFullSelectedSectionCount(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), GetSttOrEnd(), GoCurrPara(), GoEndOfSection(), GoNext(), GotoCurrRegionAndSkip(), GotoNextRegion(), SwXTextCursor::gotoNextWord(), GotoPrevRegion(), SwCursorShell::GotoRedline_(), SwFEShell::HasBoxSelection(), SwDoc::InsertGlossary(), SwDoc::InsertSwSection(), IsAtEndOfSection(), SwTableBox::IsEmpty(), SwCursorShell::IsEndOfDoc(), SwUnoCursorHelper::IsEndOfPara(), SwXTextCursor::isEndOfSentence(), SwCursorShell::IsEndPara(), SwDoc::IsInsRegionAvailable(), SwCursorShell::IsSelFullPara(), SwUnoCursor::IsSelOvr(), SwCursor::IsStartEndSentence(), lcl_CopySelToDoc(), lcl_CpyBox(), lcl_MoveCursor(), lcl_SpecialInsertNode(), SwCursor::LeftRight(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwFltStackEntry::MakeRegion(), MoveCell(), SwRangeRedline::MoveFromSection(), SwCursor::MovePara(), SwDoc::MoveParagraphImpl(), SwFEShell::Paste(), SwTransferable::PrepareForCopyTextRange(), SwTable::PrepareMerge(), SwReader::Read(), SwWW8ImplReader::ReadChar(), SwUndoRedlineSort::RedoRedlineImpl(), SwRedlineExtraData_FormatColl::Reject(), SwDoc::RemoveInvisibleContent(), SwCursor::RestoreSavePos(), SwEditShell::SaveGlossaryDoc(), SwUndoSaveSection::SaveSection(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwHTMLParser::SetAttr_(), SwCursorShell::SetShadowCursorPos(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwHTMLParser::SplitAttrTab(), SwHTMLParser::StripTrailingPara(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoTextToTable::SwUndoTextToTable(), SwDoc::TextToTable(), SwUndoSplitTable::UndoImpl(), SwUndoRedlineSort::UndoRedlineImpl(), and SwTableLine::UpdateTextChangesOnly().

◆ MakeCopy()

virtual SwContentNode * SwContentNode::MakeCopy ( SwDoc ,
SwNode rWhere,
bool  bNewFrames 
) const
pure virtual

Implemented in SwGrfNode, SwOLENode, and SwTextNode.

References GetInfo.

◆ MakeFrame()

virtual SwContentFrame * SwContentNode::MakeFrame ( SwFrame pSib)
pure virtual

MakeFrame will be called for a certain layout pSib is another SwFrame of the same layout (e.g.

the SwRootFrame itself, a sibling, the parent)

Implemented in SwNoTextNode, and SwTextNode.

Referenced by InsertCnt_(), SwTableNode::MakeFramesForAdjacentContentNode(), SwSectionNode::MakeFramesForAdjacentContentNode(), and MakeFramesForAdjacentContentNode().

◆ MakeFramesForAdjacentContentNode()

void SwContentNode::MakeFramesForAdjacentContentNode ( SwContentNode rNode)

◆ NewAttrSet()

virtual void SwContentNode::NewAttrSet ( SwAttrPool )
protectedpure virtual

Make respective nodes create the specific AttrSets.

Implemented in SwNoTextNode, and SwTextNode.

Referenced by SetAttr().

◆ operator=()

SwContentNode & SwContentNode::operator= ( const SwContentNode rNode)
privatedelete

◆ ResetAllAttr()

sal_uInt16 SwContentNode::ResetAllAttr ( )
virtual

◆ ResetAttr() [1/2]

bool SwContentNode::ResetAttr ( const std::vector< sal_uInt16 > &  rWhichArr)
virtual

◆ ResetAttr() [2/2]

bool SwContentNode::ResetAttr ( sal_uInt16  nWhich1,
sal_uInt16  nWhich2 = 0 
)
virtual

◆ SetAttr() [1/2]

bool SwContentNode::SetAttr ( const SfxItemSet rSet)
virtual

◆ SetAttr() [2/2]

bool SwContentNode::SetAttr ( const SfxPoolItem rAttr)
virtual

◆ SetCondFormatColl()

void SwContentNode::SetCondFormatColl ( SwFormatColl pColl)

◆ SetModifyAtAttr()

void SwContentNode::SetModifyAtAttr ( bool  bSetModifyAtAttr) const
inline

Definition at line 515 of file node.hxx.

Referenced by AttrSetHandleHelper::GetNewAutoStyle().

◆ SwClientNotify()

void SwContentNode::SwClientNotify ( const SwModify ,
const SfxHint rHint 
)
overrideprotectedvirtual

◆ UpdateAttr()

void SwContentNode::UpdateAttr ( const SwUpdateAttr rUpdate)

Member Data Documentation

◆ m_aCondCollListener

sw::WriterMultiListener SwContentNode::m_aCondCollListener
private

Definition at line 397 of file node.hxx.

Referenced by SetCondFormatColl(), and ~SwContentNode().

◆ m_pCondColl

SwFormatColl* SwContentNode::m_pCondColl
private

◆ mbSetModifyAtAttr

bool SwContentNode::mbSetModifyAtAttr
mutableprivate

Definition at line 399 of file node.hxx.

Referenced by ~SwContentNode().

◆ mpAttrSet

std::shared_ptr<const SfxItemSet> SwContentNode::mpAttrSet
protected

The documentation for this class was generated from the following files: