LibreOffice Module sw (master) 1
|
Starts a section of nodes in the document model. More...
#include <node.hxx>
Public Member Functions | |
SwStartNodeType | GetStartNodeType () const |
void | CheckSectionCondColl () const |
Call ChkCondcoll to all ContentNodes of section. More... | |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const override |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default) More... | |
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) |
Protected Member Functions | |
SwStartNode (const SwNode &rWhere, const SwNodeType nNodeType=SwNodeType::Start, SwStartNodeType=SwNormalStartNode) | |
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... | |
Private Member Functions | |
SwStartNode (SwNodes &rNodes, SwNodeOffset nPos) | |
for the initial StartNode More... | |
SwStartNode (const SwStartNode &rNode)=delete | |
SwStartNode & | operator= (const SwStartNode &rNode)=delete |
Private Attributes | |
SwEndNode * | m_pEndOfSection |
SwStartNodeType | m_eStartNodeType |
Friends | |
class | SwNode |
class | SwNodes |
class | SwEndNode |
to set the theEndOfSection !! More... | |
Additional Inherited Members | |
Public Types inherited from SwNode | |
enum class | Merge { None , First , NonFirst , Hidden } |
sw_redlinehide: redline node merge state More... | |
Protected Attributes inherited from SwNode | |
SwStartNode * | m_pStartOfSection |
|
private |
for the initial StartNode
Definition at line 981 of file node.cxx.
References SwNodes::InsertNode(), m_pEndOfSection, SwNode::m_pStartOfSection, nPos, and Start.
|
protected |
Definition at line 967 of file node.cxx.
References SwNode::GetIndex(), SwNode::GetNodes(), SwNodes::InsertNode(), m_pEndOfSection, and SwNode::m_pStartOfSection.
|
privatedelete |
void SwStartNode::CheckSectionCondColl | ( | ) | const |
Call ChkCondcoll to all ContentNodes of section.
Definition at line 993 of file node.cxx.
References SwContentNode::ChkCondColl(), SwNode::EndOfSectionIndex(), SwNode::GetIndex(), SwNode::GetNodes(), and SwNodes::GoNext().
Referenced by SwDoc::InsertSwSection(), lcl_BoxSetHeadCondColl(), lcl_CopyTableBox(), and sw_BoxSetSplitBoxFormats().
|
overridevirtual |
Dumps the node structure to the given destination (file nodes.xml in the current directory by default)
Reimplemented from SwNode.
Reimplemented in SwTableNode, and SwSectionNode.
Definition at line 1003 of file node.cxx.
References SwNode::GetIndex(), SwNode::GetNodeType(), GetStartNodeType(), SwNode::GetTableBox(), pName, SwFlyStartNode, SwFooterStartNode, SwFootnoteStartNode, SwHeaderStartNode, SwNormalStartNode, SwTableBoxStartNode, and Table.
|
inline |
Definition at line 364 of file node.hxx.
Referenced by SwXText::Impl::CheckForOwnMember(), SwCursorShell::CheckTableBoxContent(), SwXText::convertToTextFrame(), SwNodes::CopyNodes(), sw::CreateParentXText(), SwDoc::DelTable(), dumpAsXml(), SwNode::FindPageDesc(), SwNode::FindSttNodeByType(), SwUndoSetFlyFormat::GetAnchor(), SwUnoCursorHelper::getCursorPropertyValue(), SwContentNode::IsAnyCondition(), SwCursorShell::IsCursorInFootnote(), lcl_IsValidPrevNextNumNode(), lcl_NodeContext(), WW8Glossary::MakeEntries(), SwNodes::MoveNodes(), OutHTML_SwTextNode(), SwUndoFormatAttr::RestoreFlyAnchor(), and sw::DocumentContentOperationsManager::SplitNode().
|
privatedelete |
|
friend |
to set the theEndOfSection !!
Definition at line 351 of file node.hxx.
Referenced by SwTableNode::MakeCopy(), and SwSectionNode::MakeCopy().
|
private |
|
private |
Definition at line 353 of file node.hxx.
Referenced by SwNode::EndOfSectionNode(), SwNodes::MergeTable(), SwNodes::MoveNodes(), SwNodes::SectionUpDown(), SwNodes::SplitTable(), SwEndNode::SwEndNode(), and SwStartNode().