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 | CanJoinNext (SwPosition *pIdx) const |
Can we join two Nodes? We can return the 2nd position in pIdx. More... | |
bool | CanJoinPrev (SwNodeIndex *pIdx=nullptr) const |
Can we join two Nodes? We can return the 2nd position in pIdx. More... | |
bool | GoNext (SwContentIndex *, SwCursorSkipMode nMode) const |
bool | GoNext (SwPosition *, SwCursorSkipMode nMode) const |
bool | GoPrevious (SwContentIndex *, SwCursorSkipMode nMode) const |
SwContentFrame * | getLayoutFrame (const SwRootFrame *, const SwPosition *pPos=nullptr, std::pair< Point, bool > const *pViewPosAndCalcFrame=nullptr) const |
SwRect | FindLayoutRect (const bool bPrtArea=false, const Point *pPoint=nullptr) const |
SwRect | FindPageFrameRect () const |
void | MakeFramesForAdjacentContentNode (SwContentNode &rNode) |
Method creates all views of document for given node. More... | |
void | DelFrames (SwRootFrame const *pLayout) |
Method deletes all views of document for the node. More... | |
virtual sal_Int32 | Len () const |
virtual SwContentNode * | MakeCopy (SwDoc &, SwNode &rWhere, bool bNewFrames) const =0 |
virtual bool | GetInfo (SfxPoolItem &) const override |
Get information from Client. More... | |
const SfxPoolItem & | GetAttr (sal_uInt16 nWhich, bool bInParent=true) const |
SS for PoolItems: hard attributation. More... | |
template<class T > | |
const T & | GetAttr (TypedWhichId< T > nWhich, bool bInParent=true) const |
bool | GetAttr (SfxItemSet &rSet) const |
virtual bool | SetAttr (const SfxPoolItem &) |
made virtual More... | |
virtual bool | SetAttr (const SfxItemSet &rSet) |
virtual bool | ResetAttr (sal_uInt16 nWhich1, sal_uInt16 nWhich2=0) |
virtual bool | ResetAttr (const std::vector< sal_uInt16 > &rWhichArr) |
virtual sal_uInt16 | ResetAllAttr () |
const SfxPoolItem * | GetNoCondAttr (sal_uInt16 nWhich, bool bInParents) const |
Obtains attribute that is not delivered via conditional style! More... | |
template<class T > | |
const T * | GetNoCondAttr (TypedWhichId< T > nWhich, bool bInParents) const |
const SwAttrSet & | GetSwAttrSet () const |
Does node has already its own auto-attributes? Access to SwAttrSet. More... | |
const SwAttrSet * | GetpSwAttrSet () const |
bool | HasSwAttrSet () const |
virtual SwFormatColl * | ChgFormatColl (SwFormatColl *) |
SwFormatColl * | GetFormatColl () const |
SwFormatColl & | GetAnyFormatColl () const |
void | SetCondFormatColl (SwFormatColl *) |
SwFormatColl * | GetCondFormatColl () const |
bool | IsAnyCondition (SwCollCondition &rTmp) const |
void | ChkCondColl (const SwTextFormatColl *pColl=nullptr) |
bool | InvalidateNumRule () |
Invalidates NumRule at the node. More... | |
SvxFrameDirection | GetTextDirection (const SwPosition &rPos, const Point *pPt) const |
determines the text direction for a certain position. More... | |
void | SetModifyAtAttr (bool bSetModifyAtAttr) const |
bool | GetModifyAtAttr () const |
virtual drawinglayer::attribute::SdrAllFillAttributesHelperPtr | getSdrAllFillAttributesHelper () const |
void | UpdateAttr (const SwUpdateAttr &) |
Public Member Functions inherited from SwNode | |
bool | IsCreateFrameWhenHidingRedlines () const |
void | SetRedlineMergeFlag (Merge const eMerge) |
Merge | GetRedlineMergeFlag () const |
virtual | ~SwNode () override=0 |
the = 0 forces the class to be an abstract base class, but the dtor can be still called from subclasses More... | |
tools::Long | GetSerial () const |
sal_uInt16 | GetSectionLevel () const |
Returns the section level at the position given by aIndex. More... | |
SwNodeOffset | StartOfSectionIndex () const |
const SwStartNode * | StartOfSectionNode () const |
SwStartNode * | StartOfSectionNode () |
SwNodeOffset | EndOfSectionIndex () const |
const SwEndNode * | EndOfSectionNode () const |
SwEndNode * | EndOfSectionNode () |
sal_uInt8 | GetAutoFormatLvl () const |
void | SetAutoFormatLvl (sal_uInt8 nVal) |
bool | IsIgnoreDontExpand () const |
void | SetIgnoreDontExpand (bool bNew) |
SwNodeType | GetNodeType () const |
SwStartNode * | GetStartNode () |
const SwStartNode * | GetStartNode () const |
SwContentNode * | GetContentNode () |
const SwContentNode * | GetContentNode () const |
SwEndNode * | GetEndNode () |
const SwEndNode * | GetEndNode () const |
SwTextNode * | GetTextNode () |
Inline methods from Node.hxx. More... | |
const SwTextNode * | GetTextNode () const |
SwOLENode * | GetOLENode () |
Inline methods from Node.hxx. More... | |
const SwOLENode * | GetOLENode () const |
SwNoTextNode * | GetNoTextNode () |
const SwNoTextNode * | GetNoTextNode () const |
SwGrfNode * | GetGrfNode () |
const SwGrfNode * | GetGrfNode () const |
SwTableNode * | GetTableNode () |
const SwTableNode * | GetTableNode () const |
SwSectionNode * | GetSectionNode () |
const SwSectionNode * | GetSectionNode () const |
bool | IsStartNode () const |
bool | IsContentNode () const |
bool | IsEndNode () const |
bool | IsTextNode () const |
bool | IsTableNode () const |
bool | IsSectionNode () const |
bool | IsOLENode () const |
bool | IsNoTextNode () const |
bool | IsGrfNode () const |
bool | IsInRedlines () const |
Checks if this node is in redlines. More... | |
SwTableNode * | FindTableNode () |
Search table node, in which it is. More... | |
const SwTableNode * | FindTableNode () const |
SwSectionNode * | FindSectionNode () |
Search section node, in which it is. More... | |
const SwSectionNode * | FindSectionNode () const |
SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) |
const SwStartNode * | FindSttNodeByType (SwStartNodeType eTyp) const |
const SwStartNode * | FindTableBoxStartNode () const |
const SwStartNode * | FindFlyStartNode () const |
const SwStartNode * | FindFootnoteStartNode () const |
const SwStartNode * | FindHeaderStartNode () const |
const SwStartNode * | FindFooterStartNode () const |
SwNodes & | GetNodes () |
Node is in which nodes-array/doc? More... | |
const SwNodes & | GetNodes () const |
SwDoc & | GetDoc () |
const SwDoc & | GetDoc () const |
const IDocumentSettingAccess * | getIDocumentSettingAccess () const |
Provides access to the document setting interface. More... | |
const IDocumentDeviceAccess & | getIDocumentDeviceAccess () const |
Provides access to the document device interface. More... | |
const IDocumentMarkAccess * | getIDocumentMarkAccess () const |
Provides access to the document bookmark interface. More... | |
const IDocumentRedlineAccess & | getIDocumentRedlineAccess () const |
Provides access to the document redline interface. More... | |
const IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () const |
Provides access to the document style pool interface. More... | |
const IDocumentDrawModelAccess & | getIDocumentDrawModelAccess () const |
Provides access to the document draw model interface. More... | |
const IDocumentLayoutAccess & | getIDocumentLayoutAccess () const |
Provides access to the document layout interface. More... | |
IDocumentLayoutAccess & | getIDocumentLayoutAccess () |
const IDocumentLinksAdministration & | getIDocumentLinksAdministration () const |
Provides access to the document links administration interface. More... | |
IDocumentLinksAdministration & | getIDocumentLinksAdministration () |
const IDocumentFieldsAccess & | getIDocumentFieldsAccess () const |
Provides access to the document fields administration interface. More... | |
IDocumentFieldsAccess & | getIDocumentFieldsAccess () |
IDocumentContentOperations & | getIDocumentContentOperations () |
Provides access to the document content operations interface. More... | |
IStyleAccess & | getIDocumentStyleAccess () |
Provides access to the document automatic styles interface. More... | |
IDocumentListItems & | getIDocumentListItems () |
Provides access to the document's numbered items interface. More... | |
bool | IsInVisibleArea (SwViewShell const *pSh) const |
Is node in the visible area of the Shell? More... | |
bool | IsInProtectSect () const |
Is node in a protected area? More... | |
bool | IsProtect () const |
Is node in something that is protected (range, frame, table cells ... including anchor in case of frames or footnotes)? More... | |
const SwPageDesc * | FindPageDesc (SwNodeOffset *pPgDescNdIdx=nullptr) const |
Search PageDesc with which this node is formatted. More... | |
SwFrameFormat * | GetFlyFormat () const |
If node is in a fly return the respective format. More... | |
SwTableBox * | GetTableBox () const |
If node is in a table return the respective table box. More... | |
SwNodeOffset | GetIndex () const |
const SwTextNode * | FindOutlineNodeOfLevel (sal_uInt8 nLvl, SwRootFrame const *pLayout=nullptr) const |
sal_uInt8 | HasPrevNextLayNode () const |
std::vector< SwFrameFormat * > const & | GetAnchoredFlys () const |
void | AddAnchoredFly (SwFrameFormat *) |
void | RemoveAnchoredFly (SwFrameFormat *) |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More... | |
bool | operator== (const SwNode &rOther) const |
bool | operator!= (const SwNode &rOther) const |
bool | operator< (const SwNode &rOther) const |
bool | operator<= (const SwNode &rOther) const |
bool | operator> (const SwNode &rOther) const |
bool | operator>= (const SwNode &rOther) const |
sw::AccessibilityCheckStatus & | getAccessibilityCheckStatus () |
void | resetAndQueueAccessibilityCheck () |
Public Member Functions inherited from sw::BorderCacheOwner | |
BorderCacheOwner () | |
BorderCacheOwner (BorderCacheOwner &) | |
BorderCacheOwner & | operator= (const BorderCacheOwner &) |
~BorderCacheOwner () | |
bool | IsInCache () const |
void | InvalidateInSwCache (const sal_uInt16) |
Static Public Member Functions | |
static std::unique_ptr< SwOLENodes > | CreateOLENodesArray (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 SfxItemSet > | mpAttrSet |
Attribute-set for all auto attributes of a ContentNode. More... | |
Protected Attributes inherited from SwNode | |
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 | |
Public Types inherited from SwNode | |
enum class | Merge { None , First , NonFirst , Hidden } |
sw_redlinehide: redline node merge state More... | |
|
protected |
only used by SwContentNodeTmp in SwTextNode::Update
|
protected |
|
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().
|
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 1844 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(), sw_JoinText(), SwUndoInserts::UndoImpl(), and SwUndoTextToTable::UndoImpl().
bool SwContentNode::CanJoinNext | ( | SwPosition * | pIdx | ) | const |
Can we join two Nodes? We can return the 2nd position in pIdx.
Definition at line 1868 of file node.cxx.
References SwPosition::Assign(), SwNodes::Count(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::IsEndNode(), SwNode::IsSectionNode(), lcl_CheckMaxLength(), and SwNode::StartOfSectionNode().
bool SwContentNode::CanJoinPrev | ( | SwNodeIndex * | pIdx = nullptr | ) | const |
Can we join two Nodes? We can return the 2nd position in pIdx.
Definition at line 1892 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 1258 of file node.cxx.
References ChkCondColl(), GetFormatColl(), GetpSwAttrSet(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, RES_ATTRSET_CHG(), SetCondFormatColl(), and AttrSetHandleHelper::SetParent().
Referenced by SwTextNode::ChgFormatColl(), SwRangeRedline::CopyToSection(), lcl_SetTextFormatColl(), SwRangeRedline::MoveFromSection(), SetHTMLTemplate(), SwHistoryChangeFormatColl::SetInDoc(), and sw_BoxSetSplitBoxFormats().
void SwContentNode::ChkCondColl | ( | const SwTextFormatColl * | pColl = nullptr | ) |
Definition at line 2022 of file node.cxx.
References SwNode::GetDoc(), GetFormatColl(), SwNode::GetNodes(), TextFormatCollFunc::GetNumRule(), SwCollCondition::GetTextFormatColl(), IsAnyCondition(), SwNode::IsTextNode(), m_pCondColl, NONE, PARA_IN_LIST, RES_CONDTXTFMTCOLL(), SAL_INFO, SAL_WARN, SetCondFormatColl(), and SwCollCondition::SetCondition().
Referenced by SwStartNode::CheckSectionCondColl(), ChgFormatColl(), 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 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().
|
static |
Definition at line 2112 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 1432 of file node.cxx.
References SwFrame::DestroyFrame(), SwFrame::FindFootnoteFrame(), SwContentFrame::FindMaster(), SwIterator< TElementType, TSource, eMode >::First(), FootnoteInvalidationGone, SwNode::GetEndNode(), SwFootnoteFrame::GetFollow(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwFootnoteFrame::GetMaster(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwFootnoteFrame::GetRefFromAttr(), SwFrame::getRootFrame(), SwNode::GetTextNode(), SwNode::Hidden, i, SwViewShell::InvalidateAccessibleParaFlowRelation(), SwRootFrame::IsAnyShellAccessible(), SwFrame::IsTextFrame(), SwNode::IsTextNode(), Len(), SwIterator< TElementType, TSource, eMode >::Next(), SwTextFrame::Prepare(), and sw::UpdateMergedParaForDelete().
Referenced by sw::DocumentContentOperationsManager::CopyWithFlyInFly(), SwTextNode::InsertHint(), SwNodes::InsertTextSection(), lcl_RemoveBreaks(), SwWrtShell::MakeOutlineContentVisible(), SwWrtShell::MakeOutlineLevelsVisible(), SwNodes::MoveNodes(), ~SwContentNode(), SwGrfNode::~SwGrfNode(), and SwTextNode::~SwTextNode().
SwRect SwContentNode::FindLayoutRect | ( | const bool | bPrtArea = false , |
const Point * | pPoint = nullptr |
||
) | const |
Definition at line 1231 of file node.cxx.
References FRM_CNTNT, SwFrameAreaDefinition::getFrameArea(), GetFrameOfModify(), and SwFrameAreaDefinition::getFramePrintArea().
Referenced by SwXTextField::getPropertyValue(), sw::DefaultToxTabStopTokenHandler::HandleTabStopToken(), SwRedlineTable::LOKRedlineNotification(), AttributeOutputBase::OutputFlyFrame(), and SwDoc::UpdateCharts_().
SwRect SwContentNode::FindPageFrameRect | ( | ) | const |
Definition at line 1247 of file node.cxx.
References SwFrame::FindPageFrame(), FRM_CNTNT, SwFrameAreaDefinition::getFrameArea(), and GetFrameOfModify().
Referenced by SwDocShell::GetVisArea(), AttributeOutputBase::OutputFlyFrame(), and WW8AttributeOutput::OutputFlyFrame_Impl().
|
inline |
Definition at line 720 of file node.hxx.
References 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 732 of file node.hxx.
References SfxItemSet::Get(), and GetSwAttrSet().
Referenced by SwHTMLWriter::CollectFlyFrames(), SwNode::FindPageDesc(), RtfAttributeOutput::FlyFrameGraphic(), RtfAttributeOutput::FlyFrameOLEReplacement(), SwWW8FltControlStack::GetFormatAttr(), GetInfo(), SwEditShell::IsMoveLeftMargin(), SwHTMLWriter::MakeHeader(), SwWW8FltControlStack::SetAttrInDoc(), and SwCursorShell::SetShadowCursorPos().
bool SwContentNode::GetAttr | ( | SfxItemSet & | rSet | ) | const |
Definition at line 1777 of file node.cxx.
References SfxItemSet::ClearItem(), SfxItemSet::Count(), GetSwAttrSet(), rSet, and SfxItemSet::Set().
|
inline |
|
inline |
Definition at line 715 of file node.hxx.
References m_pCondColl.
Referenced by SwCursorShell::GetContentAtPos(), lcl_dbg_out(), SetAttr(), SetCondFormatColl(), and SwUndoDelNum::UndoImpl().
|
inline |
Definition at line 497 of file node.hxx.
Referenced by SwCollectTableLineBoxes::AddToUndoHistory(), SwTaggedPDFHelper::BeginBlockStructureElements(), ChgFormatColl(), ChkCondColl(), SwRangeRedline::CopyToSection(), SwDoc::DelNumRules(), SwDoc::DelSectionFormat(), SwTextNode::dumpAsXml(), sw::FindAttrImpl(), FindAttrsImpl(), sw::FindFormatImpl(), SwTextNode::FormatToTextAttr(), SwCursorShell::GetContentAtPos(), 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(), SwUndoTableMerge::SaveCollection(), SetAttr(), SetCondFormatColl(), sw_BoxSetSplitBoxFormats(), and SwClientNotify().
|
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().
SwContentFrame * SwContentNode::getLayoutFrame | ( | const SwRootFrame * | _pRoot, |
const SwPosition * | pPos = nullptr , |
||
std::pair< Point, bool > const * | pViewPosAndCalcFrame = nullptr |
||
) | const |
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().
|
inline |
Definition at line 516 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 1804 of file node.cxx.
References SfxItemSet::GetItemState(), GetpSwAttrSet(), GetSwAttrSet(), and m_pCondColl.
Referenced by SwXMLImport::endDocument(), SwTextNode::GetNumRule(), InvalidateNumRule(), and SwXMLImport::MergeListsAtDocumentInsertPosition().
|
inline |
|
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().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 2130 of file node.cxx.
Referenced by SwFrame::getSdrAllFillAttributesHelper().
|
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().
SvxFrameDirection SwContentNode::GetTextDirection | ( | const SwPosition & | rPos, |
const Point * | pPt | ||
) | const |
determines the text direction for a certain position.
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().
bool SwContentNode::GoNext | ( | SwContentIndex * | pIdx, |
SwCursorSkipMode | nMode | ||
) | const |
Definition at line 1295 of file node.cxx.
References Cells, COMPLETE_STRING, g_pBreakIt, SwScriptInfo::GetBoundsOfHiddenRange(), SwBreakIt::GetBreakIter(), SwContentIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwTextNode::GetText(), SwNode::GetTextNode(), Hidden, SwNode::IsTextNode(), Len(), and nPos.
Referenced by GoNext(), and SwDoc::SelectNextRubyChars().
bool SwContentNode::GoNext | ( | SwPosition * | pPos, |
SwCursorSkipMode | nMode | ||
) | const |
Definition at line 1286 of file node.cxx.
References SwNodeIndex::Assign(), SwContentIndex::GetContentNode(), SwPosition::GetNode(), GoNext(), SwPosition::nContent, and SwPosition::nNode.
bool SwContentNode::GoPrevious | ( | SwContentIndex * | pIdx, |
SwCursorSkipMode | nMode | ||
) | const |
Definition at line 1336 of file node.cxx.
References Cells, COMPLETE_STRING, g_pBreakIt, SwScriptInfo::GetBoundsOfHiddenRange(), SwBreakIt::GetBreakIter(), SwContentIndex::GetIndex(), SwTextNode::GetLang(), SwBreakIt::GetLocale(), SwTextNode::GetText(), SwNode::GetTextNode(), Hidden, SwNode::IsTextNode(), and nPos.
Referenced by SwEditShell::GetScriptType().
|
inline |
Definition at line 494 of file node.hxx.
Referenced by SwAccessibleParagraph::_getRunAttributesImpl(), SwTextNode::AreListLevelIndentsApplicableImpl(), SwpHints::BuildPortions(), SwHTMLParser::Continue(), sw::DocumentContentOperationsManager::CopyImplImpl(), SwTextNode::CopyText(), SwAttrSet::CopyToModify(), SwTextNode::CutImpl(), SwTextNode::dumpAsXml(), SwTextFrame::EmptyHeight(), SwEditShell::FillByEx(), sw::FindAttrImpl(), FindAttrsImpl(), HTMLTable::FixFrameFormat(), SwTextNode::FormatToTextAttr(), SwCursorShell::GetContentAtPos(), 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(), SwUndoTableMerge::SaveCollection(), SwUndoDelete::SaveContent(), SwAutoFormat::SetColl(), SwDoc::SetTextFormatCollByAutoFormat(), SwDoc::Summary(), sw_JoinText(), SwAutoFormat::SwAutoFormat(), SwTableToTextSave::SwTableToTextSave(), SwUndoInserts::SwUndoInserts(), SwUndoInsSection::SwUndoInsSection(), SwUndoMove::SwUndoMove(), SwUndoTableNumFormat::SwUndoTableNumFormat(), SwUndoDelete::UndoImpl(), SwUndoMove::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 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().
bool SwContentNode::IsAnyCondition | ( | SwCollCondition & | rTmp | ) | const |
Definition at line 1936 of file node.cxx.
References o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::FindTableNode(), SwTextNode::GetAttrOutlineLevel(), SwNodes::GetDoc(), SwTextAttr::GetFootnote(), SwDoc::GetFootnoteIdxs(), SwNode::GetIndex(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetNodeType(), SwNodes::GetOutLineNds(), SwNode::GetStartNode(), 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< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwNode::StartOfSectionNode(), SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, SwTableBoxStartNode, and Table.
Referenced by ChkCondColl().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1560 of file node.cxx.
Referenced by SwDoc::MoveParagraphImpl(), and SwUndoTextToTable::UndoImpl().
|
virtual |
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().
|
pure virtual |
Implemented in SwGrfNode, SwOLENode, and SwTextNode.
References GetInfo.
|
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().
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 1381 of file node.cxx.
References SwFrame::FindNextCnt(), SwFrame::FindPrevCnt(), SwNode::FindTableNode(), SwRootFrame::GetCurrShell(), SwNode::GetIndex(), SwViewShell::GetLayout(), SwFrame::getRootFrame(), SwRootFrame::HasMergedParas(), SwViewShell::InvalidateAccessibleParaFlowRelation(), SwRootFrame::IsAnyShellAccessible(), SwNode::IsCreateFrameWhenHidingRedlines(), SwFrame::IsTextFrame(), MakeFrame(), SwFrame::Paste(), and SwNode2Layout::UpperFrame().
Referenced by SwTextNode::AppendNode(), SwNodes::InsertTextSection(), SwSectionNode::MakeFramesForAdjacentContentNode(), and SwTextNode::SplitContentNode().
|
protectedpure virtual |
Make respective nodes create the specific AttrSets.
Implemented in SwNoTextNode, and SwTextNode.
Referenced by SetAttr().
|
privatedelete |
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1749 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), Count, SfxItemSet::Count(), GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, and RES_ATTRSET_CHG().
Referenced by lcl_RstAttr(), SwTextNode::ResetAllAttr(), and SwUndoMove::UndoImpl().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1720 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), Count, GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, and RES_ATTRSET_CHG().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1679 of file node.cxx.
References AttrSetHandleHelper::ClearItem_BC(), ClearItemsFromAttrSet(), sw::ClientNotifyAttrChg(), Count, GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, and RES_ATTRSET_CHG().
Referenced by SwAttrSet::CopyToModify(), SwDoc::InsertTable(), lcl_RstAttr(), lcl_SetTextFormatColl(), SwHTMLParser::MovePageDescAttrs(), SwTextNode::ResetAttr(), SwFltControlStack::SetAttrInDoc(), SwGrfNode::~SwGrfNode(), and SwOLENode::~SwOLENode().
|
virtual |
Reimplemented in SwTextNode.
Definition at line 1613 of file node.cxx.
References sw::ClientNotifyAttrChg(), SfxItemSet::Count(), GetAnyFormatColl(), SwDoc::GetAttrPool(), SwFormat::GetAttrSet(), GetCondFormatColl(), SwNode::GetDoc(), GetFormatColl(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), GetpSwAttrSet(), sw::GetRanges(), CntUnencodedStringItem::GetValue(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, NewAttrSet(), AttrSetHandleHelper::Put(), AttrSetHandleHelper::Put_BC(), RES_ATTRSET_CHG(), RES_AUTO_STYLE(), RES_FRMATR_STYLE_NAME(), RES_PARATR_NUMRULE(), rSet, and AttrSetHandleHelper::SetParent().
|
virtual |
made virtual
rAttr | the attribute to set |
Reimplemented in SwTextNode.
Definition at line 1586 of file node.cxx.
References sw::ClientNotifyAttrChg(), SwNode::GetDoc(), GetpSwAttrSet(), sw::GetRanges(), sw::BorderCacheOwner::InvalidateInSwCache(), mpAttrSet, NewAttrSet(), AttrSetHandleHelper::Put(), AttrSetHandleHelper::Put_BC(), RES_ATTRSET_CHG(), RES_PARATR_NUMRULE(), and SfxPoolItem::Which().
Referenced by SwHTMLParser::BuildTableCell(), SwAttrSet::CopyToModify(), SwDoc::DelTable(), SwViewShell::FillPrtDoc(), HTMLTable::FixFrameFormat(), SwHTMLParser::InsertTableSection(), sw::DocumentContentOperationsManager::InsNoTextNode(), lcl_RstAttr(), lcl_SetAFormatBox(), lcl_SetTextFormatColl(), SwDoc::MakeFlySection(), SwXMLImport::MergeListsAtDocumentInsertPosition(), SwHTMLParser::MovePageDescAttrs(), SwUndoDelete::RedoImpl(), sw::DocumentContentOperationsManager::ReRead(), SwUndoReRead::SetAndSave(), SwTextNode::SetAttr(), SwHTMLParser::SetAttr_(), SwWW8ImplReader::SetAttributesAtGrfNode(), SwFltControlStack::SetAttrInDoc(), SwWW8FltControlStack::SetAttrInDoc(), SetHTMLTemplate(), SwHTMLParser::StripTrailingPara(), SwNoTextNode::SwNoTextNode(), SwNodes::TableToText(), SwDoc::TextToTable(), SwUndoInsTable::UndoImpl(), SwUndoCpyTable::UndoImpl(), and SwTOXBaseSection::Update().
void SwContentNode::SetCondFormatColl | ( | SwFormatColl * | pColl | ) |
Definition at line 1913 of file node.cxx.
References sw::WriterMultiListener::EndListeningAll(), GetAnyFormatColl(), GetCondFormatColl(), GetFormatColl(), GetpSwAttrSet(), sw::BorderCacheOwner::InvalidateInSwCache(), m_aCondCollListener, m_pCondColl, mpAttrSet, RES_ATTRSET_CHG(), AttrSetHandleHelper::SetParent(), and sw::WriterMultiListener::StartListening().
Referenced by ChgFormatColl(), and ChkCondColl().
|
inline |
Definition at line 515 of file node.hxx.
Referenced by AttrSetHandleHelper::GetNewAutoStyle().
|
overrideprotectedvirtual |
Reimplemented in SwTextNode.
Definition at line 1123 of file node.cxx.
References ChkCondColl(), GetFormatColl(), SfxHint::GetId(), SwNode::GetNodes(), GetpSwAttrSet(), sw::LegacyModifyHint::GetWhich(), sw::BorderCacheOwner::InvalidateInSwCache(), SwNode::IsTextNode(), m_pCondColl, mpAttrSet, SwFormatChg::pChangedFormat, pObject, RES_ATTRSET_CHG(), RES_CHRATR_HIDDEN(), RES_FMT_CHG(), RES_OBJECTDYING(), RES_UPDATE_ATTR(), SAL_WARN, AttrSetHandleHelper::SetParent(), and UpdateAttr().
Referenced by SwTextNode::TriggerNodeUpdate().
void SwContentNode::UpdateAttr | ( | const SwUpdateAttr & | rUpdate | ) |
Definition at line 1114 of file node.cxx.
References SwNode::GetNodes(), SwUpdateAttr::getWhichAttr(), SwNode::IsTextNode(), and RES_ATTRSET_CHG().
Referenced by IMPL_LINK_NOARG(), and SwClientNotify().
|
private |
Definition at line 397 of file node.hxx.
Referenced by SetCondFormatColl(), and ~SwContentNode().
|
private |
Definition at line 398 of file node.hxx.
Referenced by ChkCondColl(), GetAnyFormatColl(), GetCondFormatColl(), GetNoCondAttr(), SetCondFormatColl(), SwClientNotify(), and ~SwContentNode().
|
mutableprivate |
Definition at line 399 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 413 of file node.hxx.
Referenced by ChgFormatColl(), ClearItemsFromAttrSet(), GetSwAttrSet(), SwNoTextNode::NewAttrSet(), SwTextNode::NewAttrSet(), ResetAllAttr(), ResetAttr(), SetAttr(), SetCondFormatColl(), SwClientNotify(), and ~SwContentNode().