LibreOffice Module sw (master)
1
|
#include <node.hxx>
Public Member Functions | |
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 | 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 |
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 &, const SwNodeIndex &, 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... | |
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... | |
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 &) |
![]() | |
virtual void | CallSwClientNotify (const SfxHint &rHint) const override |
![]() | |
SwModify () | |
virtual | ~SwModify () override |
void | Add (SwClient *pDepend) |
SwClient * | Remove (SwClient *pDepend) |
bool | HasWriterListeners () const |
bool | HasOnlyOneListener () const |
void | LockModify () |
void | UnlockModify () |
bool | IsModifyLocked () const |
![]() | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::unique_ptr< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
![]() | |
bool | IsLast () const |
![]() | |
BroadcasterMixin ()=default | |
BroadcasterMixin (BroadcasterMixin const &)=default | |
BroadcasterMixin & | operator= (const BroadcasterMixin &) |
SvtBroadcaster & | GetNotifier () |
![]() | |
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... | |
sal_uLong | StartOfSectionIndex () const |
const SwStartNode * | StartOfSectionNode () const |
SwStartNode * | StartOfSectionNode () |
sal_uLong | 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 ... More... | |
const SwPageDesc * | FindPageDesc (size_t *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... | |
sal_uLong | 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... | |
![]() | |
BorderCacheOwner () | |
BorderCacheOwner (BorderCacheOwner &) | |
BorderCacheOwner & | operator= (const BorderCacheOwner &) |
~BorderCacheOwner () | |
bool | IsInCache () const |
void | InvalidateInSwCache (const sal_uInt16) |
![]() | |
SwIndexReg () | |
virtual | ~SwIndexReg () |
void | MoveTo (SwIndexReg &rArr) |
const SwIndex * | GetFirstIndex () const |
Static Public Member Functions | |
static std::unique_ptr< SwOLENodes > | CreateOLENodesArray (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 |
![]() | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
![]() | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
![]() | |
SwNode (const SwNodeIndex &rWhere, const SwNodeType nNodeId) | |
SwNode (SwNodes &rNodes, sal_uLong nPos, const SwNodeType nNodeId) | |
for the initial StartNode More... | |
![]() | |
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 SfxItemSet > | mpAttrSet |
Attribute-set for all auto attributes of a ContentNode. More... | |
![]() | |
SwStartNode * | m_pStartOfSection |
Private Member Functions | |
SwContentNode (const SwContentNode &rNode)=delete | |
SwContentNode & | operator= (const SwContentNode &rNode)=delete |
Private Attributes | |
sw::WriterMultiListener | m_aCondCollListener |
SwFormatColl * | m_pCondColl |
bool | mbSetModifyAtAttr |
Additional Inherited Members | |
![]() | |
enum | Merge { Merge::None, Merge::First, Merge::NonFirst, Merge::Hidden } |
sw_redlinehide: redline node merge state More... | |
|
protected |
Definition at line 1072 of file node.cxx.
References SwModify::Add().
|
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 1083 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().
|
privatedelete |
bool SwContentNode::CanJoinNext | ( | SwNodeIndex * | pIdx = nullptr | ) | const |
Is it possible to join two nodes? In pIdx the second position can be returned.
Can we join two Nodes? We can return the 2nd position in pIdx.
Definition at line 1822 of file node.cxx.
References SwNodes::Count(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::IsEndNode(), SwNode::IsSectionNode(), lcl_CheckMaxLength(), and SwNode::StartOfSectionNode().
Referenced by SwHTMLParser::Continue(), SwXMLImport::endDocument(), SwTextNode::JoinNext(), sw::DocumentContentOperationsManager::MoveAndJoin(), sw::DocumentContentOperationsManager::MoveRange(), SwUndoMove::RedoImpl(), SwUndoTextToTable::UndoImpl(), and SwUndoInserts::UndoImpl().
bool SwContentNode::CanJoinPrev | ( | SwNodeIndex * | pIdx = nullptr | ) | const |
Can we join two Nodes? We can return the 2nd position in pIdx.
Definition at line 1846 of file node.cxx.
References SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::IsEndNode(), SwNode::IsSectionNode(), lcl_CheckMaxLength(), and SwNode::StartOfSectionNode().
Referenced by SwHTMLParser::Continue(), SwXMLImport::endDocument(), and SwTextNode::JoinPrev().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1247 of file node.cxx.
References SwModify::Add(), GetFormatColl(), GetpSwAttrSet(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, RES_ATTRSET_CHG(), SetCondFormatColl(), AttrSetHandleHelper::SetParent(), and SwClientNotify().
Referenced by SwTextNode::ChgFormatColl(), SwRangeRedline::CopyToSection(), lcl_SetTextFormatColl(), SwRangeRedline::MoveFromSection(), SwHistoryChangeFormatColl::SetInDoc(), and sw_BoxSetSplitBoxFormats().
void SwContentNode::ChkCondColl | ( | const SwTextFormatColl * | pColl = nullptr | ) |
Definition at line 1976 of file node.cxx.
References SwNode::GetDoc(), GetFormatColl(), SwNode::GetNodes(), TextFormatCollFunc::GetNumRule(), SwClient::GetRegisteredIn(), SwCollCondition::GetTextFormatColl(), IsAnyCondition(), SwNode::IsTextNode(), m_pCondColl, NONE, PARA_IN_LIST, RES_CONDTXTFMTCOLL(), SAL_WARN, SetCondFormatColl(), and SwCollCondition::SetCondition().
Referenced by SwStartNode::CheckSectionCondColl(), SwNodes::ChgNode(), SwTextNode::ChgTextCollUpdateNum(), SwDoc::DelNumRules(), SwDoc::DelSectionFormat(), SwTextNode::MakeCopy(), SwTextNode::SwClientNotify(), SwClientNotify(), and SwUndoDelNum::UndoImpl().
|
protected |
There some functions that like to remove items from the internal SwAttrSet (handle):
Definition at line 1764 of file node.cxx.
References SfxItemSet::ClearItem(), AttrSetHandleHelper::GetNewAutoStyle(), GetpSwAttrSet(), and mpAttrSet.
Referenced by SwTextNode::FormatToTextAttr(), SwTextNode::impl_FormatToTextAttr(), SwTextNode::MakeNewTextNode(), ResetAllAttr(), and ResetAttr().
|
static |
Definition at line 2066 of file node.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), SwNode::GetOLENode(), SwOLENode::IsOLESizeInvalid(), and SwIterator< TElementType, TSource, eMode >::Next().
Referenced by IMPL_LINK_NOARG(), and SwDoc::PrtOLENotify().
void SwContentNode::DelFrames | ( | SwRootFrame const * | pLayout | ) |
Method deletes all views of document for the node.
Deletes all Views from the Doc for this Node.
The content- frames are removed from the respective layout.
The ContentFrames are removed from the corresponding Layout.
Definition at line 1406 of file node.cxx.
References assert(), SwFrame::DestroyFrame(), SwFrame::FindFootnoteFrame(), SwContentFrame::FindMaster(), SwIterator< TElementType, TSource, eMode >::First(), FootnoteInvalidationGone, SwNode::GetEndNode(), SwFootnoteFrame::GetFollow(), SwNode::GetIndex(), SwFootnoteFrame::GetMaster(), SwNode::GetNodes(), SwFootnoteFrame::GetRefFromAttr(), SwFrame::getRootFrame(), SwNode::GetTextNode(), SwModify::HasWriterListeners(), SwNode::Hidden, i, SwViewShell::InvalidateAccessibleParaFlowRelation(), SwFlowFrame::IsFollow(), SwFrame::IsTextFrame(), SwNode::IsTextNode(), Len(), SwIterator< TElementType, TSource, eMode >::Next(), SwTextFrame::Prepare(), SwFlowFrame::SetFollow(), and sw::UpdateMergedParaForDelete().
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwTextNode::InsertHint(), lcl_RemoveBreaks(), SwTextFlyCnt::SetAnchor(), SwWrtShell::ToggleOutlineContentVisibility(), ~SwContentNode(), SwGrfNode::~SwGrfNode(), and SwTextNode::~SwTextNode().
SwRect SwContentNode::FindLayoutRect | ( | const bool | bPrtArea = false , |
const Point * | pPoint = nullptr |
||
) | const |
Definition at line 1220 of file node.cxx.
References FRM_CNTNT, SwFrameAreaDefinition::getFrameArea(), GetFrameOfModify(), and SwFrameAreaDefinition::getFramePrintArea().
Referenced by SwXTextField::getPropertyValue(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), SwRedlineTable::LOKRedlineNotification(), and AttributeOutputBase::OutputFlyFrame().
SwRect SwContentNode::FindPageFrameRect | ( | ) | const |
Definition at line 1236 of file node.cxx.
References SwFrame::FindPageFrame(), FRM_CNTNT, SwFrameAreaDefinition::getFrameArea(), and GetFrameOfModify().
Referenced by AttributeOutputBase::OutputFlyFrame(), and WW8AttributeOutput::OutputFlyFrame_Impl().
|
inline |
Definition at line 711 of file node.hxx.
References SwClient::GetRegisteredIn(), and m_pCondColl.
Referenced by SwHTMLParser::AddParSpace(), SwHTMLParser::AppendTextNode(), SwTextFrame::EmptyHeight(), SwHTMLParser::FixHeaderFooterDistance(), SwHTMLParser::GetCurrFormatColl(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), GetSwAttrSet(), SwWW8AttrIter::handleToggleProperty(), SwAttrIter::InitFontAndAttrHandler(), lcl_getFormatCollection(), lcl_GetMinMaxSize(), SwTextNode::NewAttrSet(), SwHTMLParser::NewMarquee(), SwWW8AttrIter::OutAttr(), OutHTML_SwFormat(), OutHTML_SwTextNode(), MSWordExportBase::OutputTextNode(), SwTextFrame::PaintEmpty(), SetAttr(), SetCondFormatColl(), and WW8Export::WriteMainText().
|
inline |
SS for PoolItems: hard attributation.
If bInParent is FALSE search for attribute only in this node.
Definition at line 725 of file node.hxx.
References SfxItemSet::Get(), and GetSwAttrSet().
Referenced by SwDoc::AppendDoc(), checkApplyParagraphMarkFormatToNumbering(), SwHTMLWriter::CollectFlyFrames(), SwWW8ImplReader::End_Footnote(), SwNode::FindPageDesc(), RtfAttributeOutput::FlyFrameGraphic(), RtfAttributeOutput::FlyFrameOLEReplacement(), SwTextNode::GetAttrListLevel(), SwTextNode::GetAttrListRestartValue(), SwTextNode::GetAttrOutlineContentVisible(), SwTextNode::GetAttrOutlineLevel(), SwWW8FltControlStack::GetFormatAttr(), GetInfo(), SwTextNode::GetListId(), SwTextNode::GetParRsid(), SwHTMLParser::InsertSpacer(), SwTextNode::IsCountedInList(), SwTextNode::IsListRestart(), SwEditShell::IsMoveLeftMargin(), sw::util::ItemGet(), SwHTMLWriter::MakeHeader(), MSWordExportBase::OutputTextNode(), SwWW8FltControlStack::SetAttrInDoc(), SwTextNode::SetListId(), SwCursorShell::SetShadowCursorPos(), and SwTextNode::TryCharSetExpandToNum().
bool SwContentNode::GetAttr | ( | SfxItemSet & | rSet | ) | const |
Definition at line 1755 of file node.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::Count(), GetSwAttrSet(), and SfxItemSet::Set().
|
inline |
Definition at line 706 of file node.hxx.
References m_pCondColl.
Referenced by lcl_dbg_out(), SetAttr(), SetCondFormatColl(), and SwUndoDelNum::UndoImpl().
|
inline |
Definition at line 456 of file node.hxx.
References SwClient::GetRegisteredIn().
Referenced by SwCollectTableLineBoxes::AddToUndoHistory(), SwTaggedPDFHelper::BeginBlockStructureElements(), ChgFormatColl(), ChkCondColl(), SwRangeRedline::CopyToSection(), SwDoc::DelNumRules(), SwDoc::DelSectionFormat(), SwTextNode::dumpAsXml(), sw::FindAttrImpl(), SwTextNode::FormatToTextAttr(), SwUnoCursorHelper::getCursorPropertyValue(), SwUnoCursorHelper::GetCurTextFormatColl(), SwXTextCursor::invalidateMarkings(), lcl_CpyBox(), lcl_dbg_out(), lcl_IdenticalStyles(), lcl_SetTextFormatColl(), SwRangeRedline::MoveFromSection(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), SwUndoFormatAttr::RepeatImpl(), SwTextNode::RstTextAttr(), SetAttr(), SetCondFormatColl(), and SwClientNotify().
|
overridevirtual |
Get information from Client.
Get info from Modify.
Reimplemented from SwModify.
Definition at line 1530 of file node.cxx.
References SwIterator< TElementType, TSource, eMode >::First(), GetAttr(), SwModify::GetInfo(), SwNode::GetNodes(), pObject, RES_AUTOFMT_DOCNODE(), RES_CONTENT_VISIBLE(), RES_FINDNEARESTNODE(), RES_PAGEDESC(), and SfxPoolItem::Which().
SwContentFrame * SwContentNode::getLayoutFrame | ( | const SwRootFrame * | _pRoot, |
const SwPosition * | pPos = nullptr , |
||
std::pair< Point, bool > const * | pViewPosAndCalcFrame = nullptr |
||
) | const |
Definition at line 1212 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(), SwFEShell::GetAnyCurRect(), SwEditShell::GetAnySection(), sw::GetAttrMerged(), GetAutoSumSel(), SwDocUpdateField::GetBodyNode(), SwCursorShell::GetBoxNms(), SwEditShell::GetChunkForAutoText(), SwUnoCursorHelper::GetCurPageStyle(), SwCursorShell::GetCurrFrame(), SwRootFrame::GetCurrPage(), SwCursorShell::GetCursor(), SwEditShell::GetCurWord(), SwEditShell::GetDropText(), sw::GetExpandTextMerged(), SwFEShell::GetFormatFromAnyObj(), SwAutoFormat::GetFrame(), SwFEShell::GetFrameType(), SwEditShell::GetIMapGraphic(), SwAutoCorrDoc::GetLanguage(), SwCallLink::getLayoutFrame(), SwEditShell::GetLineCount(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), 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(), 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(), SwEditWin::MouseMove(), 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(), SwFrameControlsManager::SetOutlineContentVisibilityButton(), SwVisibleCursor::SetPosAndShow(), SwDoc::SetTabBorders(), SwDoc::SetTabLineStyle(), SwDoc::SetTextFormatCollByAutoFormat(), SwCursorShell::SetVisibleCursor(), SwDoc::Spell(), SwAutoFormat::SwAutoFormat(), SwTOXBaseSection::SwClientNotify(), SwFlyLayFrame::SwClientNotify(), SwFlyAtContentFrame::SwClientNotify(), SwTOXSortTabBase::SwTOXSortTabBase(), SwNodes::TextToTable(), SwWrtShell::ToggleOutlineContentVisibility(), SwAutoCorrDoc::TransliterateRTLWord(), UnHideRedlines(), UnHideRedlinesExtras(), SwTextNode::Update(), SwTOXBaseSection::UpdateAuthorities(), SwDoc::UpdateCharts_(), SwTOXBaseSection::UpdateContent(), SwCursorShell::UpdateCursor(), SwGetRefField::UpdateField(), SwRefPageGetFieldType::UpdateField(), SwTOXBaseSection::UpdateSequence(), SwTOXBaseSection::UpdateTable(), sw::DocumentFieldsManager::UpdateTableFields(), SwCursor::UpDown(), and SwCallLink::~SwCallLink().
|
inline |
Definition at line 475 of file node.hxx.
Referenced by AttrSetHandleHelper::ClearItem_BC(), AttrSetHandleHelper::GetNewAutoStyle(), and AttrSetHandleHelper::Put_BC().
const SfxPoolItem * SwContentNode::GetNoCondAttr | ( | sal_uInt16 | nWhich, |
bool | bInParents | ||
) | const |
Obtains attribute that is not delivered via conditional style!
Definition at line 1782 of file node.cxx.
References SfxItemSet::GetItemState(), GetpSwAttrSet(), SwClient::GetRegisteredIn(), GetSwAttrSet(), m_pCondColl, and void().
Referenced by SwXMLImport::endDocument(), SwTextNode::GetNumRule(), InvalidateNumRule(), and SwXMLImport::MergeListsAtDocumentInsertPosition().
|
inline |
Definition at line 452 of file node.hxx.
Referenced by SwTextNode::AreListLevelIndentsApplicable(), 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(), 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(), ResetAllAttr(), ResetAttr(), SwDoc::ResetAttrs(), SwUndoDelete::SaveContent(), 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().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 2084 of file node.cxx.
Referenced by SwFrame::getSdrAllFillAttributesHelper().
|
inline |
Does node has already its own auto-attributes? Access to SwAttrSet.
Definition at line 718 of file node.hxx.
References GetAnyFormatColl(), SwFormat::GetAttrSet(), GetpSwAttrSet(), and mpAttrSet.
Referenced by SwAutoFormat::BuildEnum(), SwpHints::BuildPortions(), SwHTMLParser::BuildTableCell(), CanSkipOverRedline(), 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(), SwUnoCursorHelper::GetParaListAutoFormat(), 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(), DocxAttributeOutput::OutputFlyFrame_Impl(), MSWordExportBase::OutputSectionNode(), MSWordExportBase::OutputTextNode(), SwTextFrame::PaintEmpty(), RtfAttributeOutput::ParaNumRule_Impl(), SwTextFrame::Prepare(), SwTextFrame::RecalcAllLines(), sw::DocumentContentOperationsManager::ReRead(), SwUndoReRead::SaveGraphicData(), SwLanguageIterator::SearchNextChg(), MSWordExportBase::SectionProperties(), SwScriptInfo::selectHiddenTextProperty(), SwXFrame::setPropertyToDefault(), SwXFrame::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.
Definition at line 2030 of file node.cxx.
References SwNode::GetDoc(), SwNode::getIDocumentLayoutAccess(), getLayoutFrame(), SwFrame::IsRightToLeft(), SwFrame::IsVertical(), SwFrame::IsVertLRBT(), and Point.
Referenced by SwDoc::GetTextDirection(), and SwFEShell::IsVerticalModeAtNdAndPos().
bool SwContentNode::GoNext | ( | SwIndex * | pIdx, |
sal_uInt16 | nMode | ||
) | const |
Definition at line 1273 of file node.cxx.
References assert(), COMPLETE_STRING, CRSR_SKIP_CELLS, CRSR_SKIP_HIDDEN, g_pBreakIt, SwScriptInfo::GetBoundsOfHiddenRange(), SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), Len(), and nPos.
Referenced by SwDoc::SelectNextRubyChars().
bool SwContentNode::GoPrevious | ( | SwIndex * | pIdx, |
sal_uInt16 | nMode | ||
) | const |
Definition at line 1314 of file node.cxx.
References assert(), COMPLETE_STRING, CRSR_SKIP_CELLS, CRSR_SKIP_HIDDEN, g_pBreakIt, SwScriptInfo::GetBoundsOfHiddenRange(), SwBreakIt::GetBreakIter(), SwIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwTextNode::GetText(), SwNode::GetTextNode(), SwNode::IsTextNode(), and nPos.
Referenced by SwEditShell::GetScriptType().
|
inline |
Definition at line 453 of file node.hxx.
Referenced by SwTextNode::AreListLevelIndentsApplicable(), SwpHints::BuildPortions(), SwHTMLParser::Continue(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwTextNode::CopyText(), SwTextNode::CutImpl(), SwTextNode::dumpAsXml(), SwTextFrame::EmptyHeight(), SwEditShell::FillByEx(), sw::FindAttrImpl(), HTMLTable::FixFrameFormat(), SwTextNode::FormatToTextAttr(), SwEditShell::GetItemWithPaM(), SwTextNode::GetNumRule(), SwUndoReplace::Impl::Impl(), SwDoc::InsertTable(), SwNodes::InsertTextSection(), lcl_RstAttr(), lcl_Search(), SwTextNode::MakeCopy(), SwTextNode::MakeNewTextNode(), SwWW8AttrIter::OutAttr(), SwTextFrame::PaintEmpty(), SwDoc::ResetAttrs(), SwUndoDelete::SaveContent(), SwAutoFormat::SetColl(), SwDoc::SetTextFormatCollByAutoFormat(), SwDoc::Summary(), sw_JoinText(), SwAutoFormat::SwAutoFormat(), SwTableToTextSave::SwTableToTextSave(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwUndoDelete::UndoImpl(), SwUndoTableNumFormat::UndoImpl(), SwNodes::UndoTableToText(), and SwTOXBaseSection::Update().
bool SwContentNode::InvalidateNumRule | ( | ) |
Invalidates NumRule at the node.
NumRule is updated on EndAction of a Shell at the latest.
Definition at line 1197 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 |
Definition at line 1890 of file node.cxx.
References o3tl::sorted_vector< Value, Compare, Find, class >::empty(), SwNode::FindTableNode(), SwTextNode::GetAttrOutlineLevel(), SwNodes::GetDoc(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteIdxs(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetNodeType(), SwNodes::GetOutLineNds(), SwTextFootnote::GetStartNode(), SwStartNode::GetStartNodeType(), SwTableNode::GetTable(), SwNode::GetTableBox(), SwFormatFootnote::IsEndNote(), SwTableBox::IsInHeadline(), SwTextNode::IsOutline(), n, NONE, nPos, PARA_IN_ENDNOTE, PARA_IN_FOOTER, PARA_IN_FOOTNOTE, PARA_IN_FRAME, PARA_IN_HEADER, PARA_IN_OUTLINE, PARA_IN_SECTION, PARA_IN_TABLEBODY, PARA_IN_TABLEHEAD, Section, SwOutlineNodes::Seek_Entry(), SwCollCondition::SetCondition(), o3tl::sorted_vector< Value, Compare, Find, class >::size(), SwNode::StartOfSectionNode(), SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, SwTableBoxStartNode, and Table.
Referenced by ChkCondColl().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1524 of file node.cxx.
Referenced by SwDoc::MoveParagraphImpl(), and SwUndoTextToTable::UndoImpl().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1245 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(), SwEditShell::GetFullSelectedSectionCount(), GetMergeSel(), SwPageFrame::GetModelPositionForViewPoint(), SwXTextRange::GetPositions(), 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(), SwRedlineExtraData_FormatColl::Reject(), SwDoc::RemoveInvisibleContent(), SwCursor::RestoreSavePos(), 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(), and SwUndoRedlineSort::UndoRedlineImpl().
|
pure virtual |
Implemented in SwTextNode, SwOLENode, and SwGrfNode.
Definition at line 401 of file node.hxx.
References SwIndex::Assign().
Referenced by sw::DocumentContentOperationsManager::DelFullPara(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), GoEndDoc(), GoEndSection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), and Writer::NewUnoCursor().
|
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 | ) |
Method creates all views of document for given node.
Creates all Views for the Doc for this Node.
The content frames that are created are put in the respective layout.
The created ContentFrames are attached to the corresponding Layout.
Definition at line 1359 of file node.cxx.
References SwFrame::FindNextCnt(), SwFrame::FindPrevCnt(), SwNode::FindTableNode(), SwRootFrame::GetCurrShell(), SwNode::GetIndex(), SwFrame::getRootFrame(), SwRootFrame::HasMergedParas(), SwModify::HasWriterListeners(), SwViewShell::InvalidateAccessibleParaFlowRelation(), SwNode::IsCreateFrameWhenHidingRedlines(), SwFrame::IsTextFrame(), MakeFrame(), and SwFrame::Paste().
Referenced by SwTextNode::AppendNode(), SwNodes::ChgNode(), SwNodes::InsertTextSection(), SwSectionNode::MakeFramesForAdjacentContentNode(), SwTextNode::SplitContentNode(), and SwNodes::TableToText().
Definition at line 400 of file node.hxx.
References SwIndex::Assign().
Referenced by SwXText::copyText(), sw::DocumentContentOperationsManager::DelFullPara(), FindAttrsImpl(), GoStartDoc(), GoStartSection(), lcl_MakeSelBkwrd(), lcl_MakeSelFwrd(), and SwUndoSaveContent::MovePtForward().
|
protectedpure virtual |
Make respective nodes create the specific AttrSets.
Implemented in SwTextNode, and SwNoTextNode.
Referenced by SetAttr().
|
privatedelete |
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1725 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), SfxItemSet::Count(), Count, GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, and RES_ATTRSET_CHG().
Referenced by lcl_RstAttr(), SwTextNode::ResetAllAttr(), and SwUndoMove::UndoImpl().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1653 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), Count, GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, and RES_ATTRSET_CHG().
Referenced by SwDoc::InsertTable(), lcl_RstAttr(), lcl_SetTextFormatColl(), SwHTMLParser::MovePageDescAttrs(), SwTextNode::ResetAttr(), SwGrfNode::~SwGrfNode(), and SwOLENode::~SwOLENode().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1696 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), Count, GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, and RES_ATTRSET_CHG().
|
virtual |
made virtual
rAttr | the attribute to set |
Reimplemented in SwTextNode.
Definition at line 1558 of file node.cxx.
References sw::ClientNotifyAttrChg(), SwNode::GetDoc(), GetpSwAttrSet(), sw::GetRanges(), SwModify::HasWriterListeners(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, NewAttrSet(), AttrSetHandleHelper::Put(), AttrSetHandleHelper::Put_BC(), RES_ATTRSET_CHG(), RES_PARATR_NUMRULE(), and SfxPoolItem::Which().
Referenced by SwHTMLParser::BuildTableCell(), SwAttrSet::CopyToModify(), SwDoc::DeleteRowCol(), HTMLTable::FixFrameFormat(), SwHTMLParser::InsertTableSection(), sw::DocumentContentOperationsManager::InsNoTextNode(), lcl_RstAttr(), lcl_SetAFormatBox(), SwDoc::MakeFlySection(), SwXMLImport::MergeListsAtDocumentInsertPosition(), SwHTMLParser::MovePageDescAttrs(), SwUndoDelete::RedoImpl(), SwUndoFormatAttr::RepeatImpl(), sw::DocumentContentOperationsManager::ReRead(), SwUndoReRead::SetAndSave(), SwTextNode::SetAttr(), SwHTMLParser::SetAttr_(), SwWW8FltControlStack::SetAttrInDoc(), SetHTMLTemplate(), SwXFrame::setPropertyToDefault(), SwXFrame::setPropertyValue(), SwHTMLParser::StripTrailingPara(), SwNoTextNode::SwNoTextNode(), SwNodes::TableToText(), SwDoc::TextToTable(), SwUndoInsTable::UndoImpl(), SwUndoCpyTable::UndoImpl(), and SwTOXBaseSection::Update().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1585 of file node.cxx.
References sw::ClientNotifyAttrChg(), SfxItemSet::Count(), GetAnyFormatColl(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), GetCondFormatColl(), SwNode::GetDoc(), GetFormatColl(), SfxItemSet::GetItemState(), GetpSwAttrSet(), sw::GetRanges(), GetValue, SwModify::HasWriterListeners(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), mpAttrSet, NewAttrSet(), AttrSetHandleHelper::Put(), AttrSetHandleHelper::Put_BC(), RES_ATTRSET_CHG(), RES_AUTO_STYLE(), RES_FRMATR_STYLE_NAME(), RES_PARATR_NUMRULE(), and AttrSetHandleHelper::SetParent().
void SwContentNode::SetCondFormatColl | ( | SwFormatColl * | pColl | ) |
Definition at line 1867 of file node.cxx.
References sw::BroadcastingModify::CallSwClientNotify(), sw::WriterMultiListener::EndListeningAll(), GetAnyFormatColl(), GetCondFormatColl(), GetFormatColl(), GetpSwAttrSet(), SwClient::GetRegisteredIn(), sw::BorderCacheOwner::InvalidateInSwCache(), SwModify::IsModifyLocked(), m_aCondCollListener, m_pCondColl, mpAttrSet, RES_ATTRSET_CHG(), AttrSetHandleHelper::SetParent(), and sw::WriterMultiListener::StartListening().
Referenced by ChgFormatColl(), and ChkCondColl().
|
inline |
Definition at line 474 of file node.hxx.
Referenced by AttrSetHandleHelper::GetNewAutoStyle().
|
overrideprotectedvirtual |
Reimplemented from SwModify.
Reimplemented in SwTextNode.
Definition at line 1108 of file node.cxx.
References SwModify::Add(), assert(), sw::BroadcastingModify::CallSwClientNotify(), ChkCondColl(), SwClient::EndListeningAll(), GetFormatColl(), SwNode::GetNodes(), GetpSwAttrSet(), SwClient::GetRegisteredIn(), sw::BorderCacheOwner::InvalidateInSwCache(), SwNode::IsTextNode(), m_pCondColl, mpAttrSet, pObject, RES_ATTRSET_CHG(), RES_CHRATR_HIDDEN(), RES_FMT_CHG(), RES_OBJECTDYING(), RES_UPDATE_ATTR(), SAL_WARN, AttrSetHandleHelper::SetParent(), and UpdateAttr().
Referenced by ChgFormatColl(), and SwTextNode::TriggerNodeUpdate().
void SwContentNode::UpdateAttr | ( | const SwUpdateAttr & | rUpdate | ) |
Definition at line 1099 of file node.cxx.
References sw::BroadcastingModify::CallSwClientNotify(), SwNode::GetNodes(), SwUpdateAttr::getWhichAttr(), SwNode::IsTextNode(), and RES_ATTRSET_CHG().
Referenced by IMPL_LINK_NOARG(), and SwClientNotify().
|
private |
Definition at line 364 of file node.hxx.
Referenced by SetCondFormatColl(), and ~SwContentNode().
|
private |
Definition at line 365 of file node.hxx.
Referenced by ChkCondColl(), GetAnyFormatColl(), GetCondFormatColl(), GetNoCondAttr(), SetCondFormatColl(), SwClientNotify(), and ~SwContentNode().
|
mutableprivate |
Definition at line 366 of file node.hxx.
Referenced by ~SwContentNode().
|
protected |
Attribute-set for all auto attributes of a ContentNode.
(e.g. TextNode or NoTextNode).
Definition at line 377 of file node.hxx.
Referenced by ChgFormatColl(), ClearItemsFromAttrSet(), GetSwAttrSet(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), ResetAllAttr(), ResetAttr(), SetAttr(), SetCondFormatColl(), SwClientNotify(), and ~SwContentNode().