25#include <osl/diagnose.h>
35 *pnPos = it -
begin();
36 return it !=
end() && rP->
GetIndex() == (*it)->GetIndex();
55 if ( &(pTextNd->
GetNodes()) ==
this )
61 OSL_FAIL(
"<SwNodes::UpdateOutlineNode(..)> - given text node isn't in the correct nodes array. This is a serious defect" );
virtual SwFieldType * GetSysFieldType(const SwFieldIds eWhich) const =0
IDocumentFieldsAccess const & getIDocumentFieldsAccess() const
virtual void UpdateFields()
Base class of the Writer document model elements.
SwTextNode * GetTextNode()
Inline methods from Node.hxx.
SwNodeOffset GetIndex() const
SwNodes & GetNodes()
Node is in which nodes-array/doc?
SwOutlineNodes m_aOutlineNodes
Array of all outline nodes.
void UpdateOutlineIdx(const SwNode &)
Update all OutlineNodes starting from Node.
bool IsDocNodes() const
Is the NodesArray the regular one of Doc? (and not the UndoNds, ...) Implementation in doc....
void UpdateOutlineNode(SwNode &rNd)
Update all Nodes - Rule/Format-Change.
SwDoc & GetDoc()
Which Doc contains the nodes-array?
bool Seek_Entry(SwNode *rP, size_type *pnPos) const
SwTextNode is a paragraph in the document model.
bool IsOutline() const
Returns if this text node is an outline.
void UpdateOutlineState()
bool IsOutlineStateChanged() const
const_iterator begin() const
std::vector< Value >::const_iterator const_iterator
const_iterator find(const Value &x) const
size_type erase(const Value &x)
const_iterator end() const
std::vector< Value >::size_type size_type
std::pair< const_iterator, bool > insert(Value &&x)
const_iterator lower_bound(const Value &x) const
bool operator()(SwNode *const &lhs, SwNode *const &rhs) const