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 CanJoinPrev (SwNodeIndex *pIdx=nullptr) const
 Can we join two Nodes? We can return the 2nd position in pIdx. More...
 
void MakeStartIndex (SwIndex *pIdx)
 
void MakeEndIndex (SwIndex *pIdx)
 
bool GoNext (SwIndex *, sal_uInt16 nMode) const
 
bool GoPrevious (SwIndex *, sal_uInt16 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 *, const SwNodeIndex &, 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...
 
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...
 
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 ()
 
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
 
virtual void ModifyNotification (const SfxPoolItem *pOld, const SfxPoolItem *pNew) override
 
- Public Member Functions inherited from SwModify
 SwModify ()
 
 SwModify (SwModify *pToRegisterIn)
 
void NotifyClients (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void ModifyBroadcast (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void CallSwClientNotify (const SfxHint &rHint) const
 
virtual ~SwModify () override
 
void Add (SwClient *pDepend)
 
SwClientRemove (SwClient *pDepend)
 
bool HasWriterListeners () const
 
void LockModify ()
 
void UnlockModify ()
 
void SetInCache (bool bNew)
 
void SetInSwFntCache (bool bNew)
 
void SetInDocDTOR ()
 
bool IsModifyLocked () const
 
bool IsInCache () const
 
bool IsInSwFntCache () const
 
void CheckCaching (const sal_uInt16 nWhich)
 
bool HasOnlyOneListener ()
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 
- Public Member Functions inherited from SwNode
bool IsCreateFrameWhenHidingRedlines ()
 
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...
 
long GetSerial () const
 
sal_uInt16 GetSectionLevel () const
 Returns the section level at the position given by aIndex. More...
 
sal_uLong StartOfSectionIndex () const
 
const SwStartNodeStartOfSectionNode () const
 
SwStartNodeStartOfSectionNode ()
 
sal_uLong 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 an protected area? More...
 
bool IsProtect () const
 Is node in something that is protected (range, frame, table cells ... More...
 
const SwPageDescFindPageDesc (size_t *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...
 
sal_uLong 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...
 
- Public Member Functions inherited from SwIndexReg
 SwIndexReg ()
 
virtual ~SwIndexReg ()
 
void MoveTo (SwIndexReg &rArr)
 
const SwIndexGetFirstIndex () const
 

Static Public Member Functions

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

Protected Member Functions

 SwContentNode (const SwNodeIndex &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 SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 
- Protected Member Functions inherited from SwNode
 SwNode (const SwNodeIndex &rWhere, const SwNodeType nNodeId)
 
 SwNode (SwNodes &rNodes, sal_uLong nPos, const SwNodeType nNodeId)
 for the initial StartNode More...
 
- Protected Member Functions inherited from SwIndexReg
virtual void Update (SwIndex const &rPos, const sal_Int32 nChangeLen, const bool bNegative=false, const bool bDelete=false)
 
bool HasAnyIndex () const
 

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  Merge {
  Merge::None,
  Merge::First,
  Merge::NonFirst,
  Merge::Hidden
}
 sw_redlinehide: redline node merge state More...
 

Detailed Description

Definition at line 352 of file node.hxx.

Constructor & Destructor Documentation

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

Definition at line 1026 of file node.cxx.

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 1036 of file node.cxx.

References DelFrames(), sw::WriterMultiListener::EndListeningAll(), SwNode::IsTextNode(), m_aCondCollListener, m_pCondColl, mbSetModifyAtAttr, and mpAttrSet.

SwContentNode::SwContentNode ( const SwContentNode rNode)
privatedelete

Member Function Documentation

bool SwContentNode::CanJoinNext ( SwNodeIndex pIdx = nullptr) const
bool SwContentNode::CanJoinPrev ( SwNodeIndex pIdx = nullptr) const
SwFormatColl * SwContentNode::ChgFormatColl ( SwFormatColl pNewColl)
virtual
void SwContentNode::ChkCondColl ( )
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 1717 of file node.cxx.

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

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

std::unique_ptr< SwOLENodes > SwContentNode::CreateOLENodesArray ( const SwFormatColl rColl,
bool  bOnlyWithInvalidSize 
)
static
void SwContentNode::DelFrames ( SwRootFrame const *  pLayout)
SwRect SwContentNode::FindLayoutRect ( const bool  bPrtArea = false,
const Point pPoint = nullptr 
) const
SwRect SwContentNode::FindPageFrameRect ( ) const
SwFormatColl & SwContentNode::GetAnyFormatColl ( ) const
inline
const SfxPoolItem & SwContentNode::GetAttr ( sal_uInt16  nWhich,
bool  bInParent = true 
) const
inline
bool SwContentNode::GetAttr ( SfxItemSet rSet) const
SwFormatColl * SwContentNode::GetCondFormatColl ( ) const
inline

Definition at line 711 of file node.hxx.

References m_pCondColl.

Referenced by lcl_dbg_out(), SetAttr(), SetCondFormatColl(), and SwUndoDelNum::UndoImpl().

SwFormatColl* SwContentNode::GetFormatColl ( ) const
inline
bool SwContentNode::GetInfo ( SfxPoolItem rInfo) const
overridevirtual
SwContentFrame * SwContentNode::getLayoutFrame ( const SwRootFrame _pRoot,
const SwPosition pPos = nullptr,
std::pair< Point, bool > const *  pViewPosAndCalcFrame = nullptr 
) const
See also
GetFrameOfModify

Definition at line 1150 of file node.cxx.

References FRM_CNTNT, and GetFrameOfModify().

Referenced by SwEditShell::AutoCorrect(), SwRootFrame::CalcFrameRects(), sw::DefaultToxTabStopTokenHandler::CanUseLayoutRectangle(), SwRefPageGetField::ChangeExpansion(), CheckMergeSel(), CheckSplitCells(), SwDoc::ChgAnchor(), SwAutoCorrDoc::ChgAutoCorrWord(), ChkChartSel(), SwEditShell::ClearAutomaticContour(), CollectFrameAtNode(), SwAutoCorrDoc::Delete(), SwCursor::DoSetBidiLevelLeftRight(), SwView::ExecSpellPopup(), SwViewShell::FillPrtDoc(), SwShellCursor::FillRects(), SwShellTableCursor::FillRects(), SwTOXPara::FillText(), SwFEShell::FindAnchorPos(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwNode::FindOutlineNodeOfLevel(), SwNode::FindPageDesc(), sw::FindTextImpl(), SwCursorShell::FindValidContentNode(), SwAccessibleDocument::getAccFlowTo(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), sw::GetAttrMerged(), GetAutoSumSel(), SwDocUpdateField::GetBodyNode(), SwCursorShell::GetBoxNms(), SwUnoCursorHelper::GetCurPageStyle(), SwCursorShell::GetCurrFrame(), SwRootFrame::GetCurrPage(), SwCursorShell::GetCursor(), SwPageFrame::GetCursorOfst(), SwEditShell::GetCurWord(), SwEditShell::GetDropText(), sw::GetExpandTextMerged(), SwFEShell::GetFormatFromAnyObj(), SwAutoFormat::GetFrame(), SwFEShell::GetFrameType(), SwEditShell::GetIMapGraphic(), SwAutoCorrDoc::GetLanguage(), SwCallLink::getLayoutFrame(), SwEditShell::GetLineCount(), GetMergeSel(), SwAutoFormat::GetNextNode(), SwDoc::GetNumRuleAtPos(), SwOLEObj::GetOleRef(), SwPaM::GetPageNum(), 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(), SwCursorShell::GotoTOXMarkBase(), sw::ToxTextGenerator::HandleChapterToken(), SwEditShell::HandleCorrectionError(), sw::ToxTextGenerator::HandleTextToken(), SwPaM::HasReadonlySel(), SwTextNode::Hyphenate(), SwFEShell::ImpEndCreate(), SwAutoCorrDoc::Insert(), InsertCnt_(), SwAccessibleMap::InvalidateShapeInParaSelection(), SwCursor::IsAtLeftRightMargin(), IsAtStartOrEndOfFrame(), SwTextNode::IsCollapse(), SwFEShell::IsFlyInFly(), IsFrameBehind(), SwCursorShell::isInHiddenTextFrame(), SwContentAtPos::IsInProtectSect(), SwShellTableCursor::IsInside(), SwNode::IsInVisibleArea(), sw::IsMarkHidden(), sw::IsMarkHintHidden(), SwEditShell::IsMoveLeftMargin(), sw::IsParaPropsNode(), lcl_FindAnchorLayPos(), lcl_FindField(), lcl_FindNextCell(), lcl_FindPrevCell(), lcl_getLayoutRect(), lcl_GetRowNumber(), lcl_GetStartEndCell(), lcl_HyphenateNode(), lcl_IsInHeaderFooter(), lcl_MakeFieldLst(), lcl_notifyRow(), lcl_SetAnchor(), lcl_SetNewFlyPos(), SwCursor::LeftRight(), SwCursorShell::LeftRight(), SwCursor::LeftRightMargin(), SwUnoTableCursor::MakeBoxSels(), SwRefPageGetFieldType::MakeSetList(), SwRootFrame::MakeTableCursors(), SwFlyLayFrame::Modify(), SwFlyAtContentFrame::Modify(), SwCursorShell::MoveCursorToNum(), SwCursorShell::RefreshBlockCursor(), SwUndoInsertLabel::RepeatImpl(), sw::ReplaceBackReferences(), SwEditShell::ReplaceDropText(), SwAutoCorrDoc::ReplaceRange(), SwGrfNode::ReRead(), RestFlyInRange(), SwCursorShell::SelectNxtPrvHyperlink(), SwCursorShell::SelTableRowOrCol(), SwAutoCorrDoc::SetAttr(), SwDoc::SetBoxAttr(), SwOLENode::SetChanged(), SwEditShell::SetGraphicPolygon(), SwHistoryChangeFlyAnchor::SetInDoc(), SwAutoCorrDoc::SetINetAttr(), SwVisibleCursor::SetPosAndShow(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwDoc::SetTextFormatCollByAutoFormat(), SwCursorShell::SetVisibleCursor(), SwDoc::Spell(), SwAutoFormat::SwAutoFormat(), SwTOXSortTabBase::SwTOXSortTabBase(), SwNodes::TextToTable(), UnHideRedlines(), UnHideRedlinesExtras(), SwTextNode::Update(), SwTOXBaseSection::UpdateAuthorities(), SwDoc::UpdateCharts_(), SwTOXBaseSection::UpdateContent(), SwCursorShell::UpdateCursor(), SwGetRefField::UpdateField(), SwRefPageGetFieldType::UpdateField(), SwTOXBaseSection::UpdateMarks(), SwTOXBaseSection::UpdateSequence(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), SwCursor::UpDown(), and SwCallLink::~SwCallLink().

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

Obtains attribute that is not delivered via conditional style!

Definition at line 1735 of file node.cxx.

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

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

const SwAttrSet* SwContentNode::GetpSwAttrSet ( ) const
inline

Definition at line 443 of file node.hxx.

Referenced by SwTextNode::AreListLevelIndentsApplicable(), ChgFormatColl(), ChgNumToText(), ChgTextToNum(), ClearItemsFromAttrSet(), SwHTMLParser::Continue(), SwTextNode::CopyCollFormat(), sw::DocumentContentOperationsManager::CopyImpl(), SwTextNode::CopyText(), SwTextNode::CutImpl(), SwDoc::DelNumRules(), SwEditShell::FillByEx(), HTMLTable::FixFrameFormat(), RtfAttributeOutput::FlyFrameGraphic(), SwTextNode::FormatToTextAttr(), SwWW8FltControlStack::GetFormatAttr(), GetNoCondAttr(), SwTextNode::GetNumRule(), SwXParagraph::Impl::GetPropertyValuesTolerant_Impl(), GetSwAttrSet(), SwTextNode::HasAttrListLevel(), SwTextNode::HasAttrListRestartValue(), SwAutoFormat::HasBreakAttr(), SwUndoReplace::Impl::Impl(), SwAttrIter::InitFontAndAttrHandler(), SwDoc::InsertTable(), SwNodes::InsertTextSection(), lcl_dbg_out(), sw::lcl_PushNumruleState(), lcl_RemoveBreaks(), lcl_RstAttr(), lcl_SwXParagraph_getPropertyState(), SwGrfNode::MakeCopy(), SwOLENode::MakeCopy(), SwTextNode::MakeCopy(), SwTextNode::MakeNewTextNode(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwRedlineExtraData_FormatColl::Reject(), ResetAllAttr(), ResetAttr(), SwDoc::ResetAttrs(), SwUndoDelete::SaveContent(), SaveBox::SaveContentAttrs(), RtfAttributeOutput::SectionBreaks(), DocxAttributeOutput::SectionBreaks(), WW8Export::SectionBreaksAndFrames(), SetAttr(), 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().

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

Reimplemented in SwTextNode.

Definition at line 2031 of file node.cxx.

Referenced by SwFrame::getSdrAllFillAttributesHelper().

const SwAttrSet & SwContentNode::GetSwAttrSet ( ) const
inline

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

Definition at line 723 of file node.hxx.

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

Referenced by SwAutoFormat::BuildEnum(), SwpHints::BuildPortions(), SwHTMLParser::BuildTableCell(), CanSkipOverRedline(), DocxSdrExport::Impl::checkFrameBtlr(), SwTextFrame::ChgThisLines(), SwTextMargin::CtorInitTextMargin(), SwTextSizeInfo::CtorInitTextSizeInfo(), SwSectionFormat::DelFrames(), SwAutoFormat::DoTable(), SwTextNode::dumpAsXml(), SwTextFrame::EmptyHeight(), RtfExport::ExportDocument_Impl(), SwTextFrame::FillCursorPos(), sw::FindAttrImpl(), DocxAttributeOutput::FlyFrameGraphic(), SwTextFrame::Format(), SwTextFrame::Format_(), SwTextFrame::FormatEmpty(), SwTextNode::GetAdditionalIndentForStartingNewList(), GetAttr(), SwFrame::GetAttrSet(), SwTextFrame::GetBreakItem(), SwTextFormatInfo::GetCharAttr(), SwTextFormatInfo::GetDropFormat(), SwTextFrame::GetDropLen(), SwTextNode::GetDropLen(), SwTextNode::GetDropSize(), SwTextNode::GetFirstLineOfsWithNum(), SwGrfNode::GetGraphicAttr(), SwNoTextFrame::GetGrfArea(), SwFrameFormat::GetIMapObject(), SwEditShell::GetItemWithPaM(), SwTextNode::GetLang(), SwTextNode::GetLeftMarginForTabCalculation(), SwTextNode::GetLeftMarginWithNum(), SwTextFrame::GetLineSpace(), SwTextNode::GetListTabStopPosition(), SwTextNode::GetMinMaxSize(), SwTextSizeInfo::GetMultiCreator(), GetNoCondAttr(), SwTextFrame::GetPageDescItem(), SwVirtFlyDrawObj::getPossibleRotationFromFraphicFrame(), SwXFrame::getPropertyStates(), SwXFrame::getPropertyValue(), SwXParagraph::Impl::GetPropertyValues_Impl(), SwXParagraph::Impl::GetPropertyValuesTolerant_Impl(), SwTextNode::getSdrAllFillAttributesHelper(), SwTextGuess::Guess(), SwTextNode::Hyphenate(), SwTextFormatInfo::InitHyph(), SwNodes::InsertTable(), 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::Prepare(), SwTextFrame::RecalcAllLines(), sw::DocumentContentOperationsManager::ReRead(), SwUndoReRead::SaveGraphicData(), SwLanguageIterator::SearchNextChg(), MSWordExportBase::SectionProperties(), SwScriptInfo::selectHiddenTextProperty(), SwAttrCheckArr::SetNewSet(), SwXFrame::setPropertyToDefault(), SwXFrame::setPropertyValue(), SwXCell::setPropertyValue(), SwTextNode::SplitContentNode(), SwDoc::Summary(), SwAutoFormat::SwAutoFormat(), SwTextFrameBreak::SwTextFrameBreak(), SwDoc::TextToTable(), SwTOXBaseSection::Update(), MSWordExportBase::UpdateTocSectionNodeProperties(), WidowsAndOrphans::WidowsAndOrphans(), WidowsAndOrphans::WouldFit(), SwBasicEscherEx::WriteGrfAttr(), SwBasicEscherEx::WriteGrfFlyFrame(), and WW8Ruby::WW8Ruby().

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 1977 of file node.cxx.

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

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

bool SwContentNode::GoNext ( SwIndex pIdx,
sal_uInt16  nMode 
) const
bool SwContentNode::GoPrevious ( SwIndex pIdx,
sal_uInt16  nMode 
) const
bool SwContentNode::HasSwAttrSet ( ) const
inline
bool SwContentNode::InvalidateNumRule ( )

Invalidates NumRule at the node.

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

Definition at line 1135 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().

bool SwContentNode::IsAnyCondition ( SwCollCondition rTmp) const
SwContentNode * SwContentNode::JoinNext ( )
virtual

Reimplemented in SwTextNode.

Definition at line 1437 of file node.cxx.

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

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 1183 of file node.cxx.

Referenced by SwEditWin::Command(), DelBookmarks(), sw::DocumentContentOperationsManager::DeleteRangeImplImpl(), DelFrames(), SwCursorShell::ExtendedSelectAll(), SwCursorShell::ExtendedSelectedAll(), SwCursor::FillFindPos(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwCursorShell::FindValidContentNode(), sw::GetAllValidRanges(), Writer::GetBookmarks(), SwPageFrame::GetCursorOfst(), SwEditShell::GetFullSelectedSectionCount(), GetMergeSel(), GetSttOrEnd(), GoCurrPara(), GoNext(), GotoCurrRegionAndSkip(), GotoNextRegion(), GotoPrevRegion(), SwCursorShell::GotoRedline_(), SwDoc::InsertSwSection(), IsBoxEmpty(), SwCursorShell::IsEndOfDoc(), SwUnoCursorHelper::IsEndOfPara(), SwDoc::IsInsRegionAvailable(), SwCursorShell::IsSelFullPara(), SwUnoCursor::IsSelOvr(), SwCursor::IsSelOvr(), SwCursor::IsStartEndSentence(), lcl_CpyBox(), lcl_MoveCursor(), lcl_SpecialInsertNode(), SwCursor::LeftRight(), SwDOCXReader::MakeEntries(), WW8Glossary::MakeEntries(), SwFltStackEntry::MakeRegion(), SwRangeRedline::MoveFromSection(), SwCursor::MovePara(), SwDoc::MoveParagraphImpl(), SwTable::PrepareMerge(), SwReader::Read(), SwWW8ImplReader::ReadChar(), SwUndoRedlineSort::RedoRedlineImpl(), SwDoc::RemoveInvisibleContent(), SwCursor::RestoreSavePos(), SaveFlyInRange(), SwUndoSaveSection::SaveSection(), sw::DocumentRedlineManager::SelNextRedline(), sw::DocumentRedlineManager::SelPrevRedline(), SwHTMLParser::SetAttr_(), CompareData::SetRedlinesToDoc(), SwCursorShell::SetShadowCursorPos(), SwXTextCursor::sort(), SwFEShell::Sort(), SwDoc::SortText(), SwHTMLParser::SplitAttrTab(), SwHTMLParser::StripTrailingPara(), SwParaSelection::SwParaSelection(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoTextToTable::SwUndoTextToTable(), SwDoc::TextToTable(), SwUndoInserts::UndoImpl(), and SwUndoRedlineSort::UndoRedlineImpl().

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

Implemented in SwTextNode, SwOLENode, and SwGrfNode.

void SwContentNode::MakeEndIndex ( SwIndex pIdx)
inline
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 SwTextNode, and SwNoTextNode.

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

void SwContentNode::MakeFramesForAdjacentContentNode ( SwContentNode rNode)
void SwContentNode::MakeStartIndex ( SwIndex pIdx)
inline
virtual void SwContentNode::ModifyNotification ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
inlineoverridevirtual
virtual void SwContentNode::NewAttrSet ( SwAttrPool )
protectedpure virtual

Make respective nodes create the specific AttrSets.

Implemented in SwTextNode, and SwNoTextNode.

Referenced by SetAttr().

SwContentNode& SwContentNode::operator= ( const SwContentNode rNode)
privatedelete
sal_uInt16 SwContentNode::ResetAllAttr ( )
virtual
bool SwContentNode::ResetAttr ( sal_uInt16  nWhich1,
sal_uInt16  nWhich2 = 0 
)
virtual
bool SwContentNode::ResetAttr ( const std::vector< sal_uInt16 > &  rWhichArr)
virtual
bool SwContentNode::SetAttr ( const SfxPoolItem rAttr)
virtual
bool SwContentNode::SetAttr ( const SfxItemSet rSet)
virtual
void SwContentNode::SetCondFormatColl ( SwFormatColl pColl)
void SwContentNode::SetModifyAtAttr ( bool  bSetModifyAtAttr) const
inline

Definition at line 467 of file node.hxx.

Referenced by AttrSetHandleHelper::GetNewAutoStyle().

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

Member Data Documentation

sw::WriterMultiListener SwContentNode::m_aCondCollListener
private

Definition at line 355 of file node.hxx.

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

SwFormatColl* SwContentNode::m_pCondColl
private
bool SwContentNode::mbSetModifyAtAttr
mutableprivate

Definition at line 357 of file node.hxx.

Referenced by ~SwContentNode().

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

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