20#ifndef INCLUDED_SW_INC_NDARR_HXX
21#define INCLUDED_SW_INC_NDARR_HXX
32#include <rtl/ustring.hxx>
66namespace sw {
class DocumentContentOperationsManager; }
67namespace svt {
class EmbeddedObjectRef; }
81 static constexpr auto npos = std::numeric_limits<size_type>::max();
96 friend class ::sw::DocumentContentOperationsManager;
123 void UpdateOutlineIdx(
const SwNode& );
126 bool bNewFrames,
bool bTableInsDummyNode =
false )
const;
169 bool IsDocNodes()
const;
176 bool bNewFrames =
true );
180 bool bNewFrames =
true )
const
181 { CopyNodes( rRg, rInsPos, bNewFrames ); }
197 bool bSkipProtect =
true )
const;
199 bool bSkipProtect =
true )
const;
201 bool bSkipProtect =
true );
203 bool bSkipProtect =
true );
214 bool bNewFrames =
true);
220 const OUString& rGrfName,
221 const OUString& rFltName,
230 const OUString &rName,
239 void UpdateOutlineNode(
SwNode & rNd);
251 sal_uInt16 nLines, sal_uInt16 nRepeat,
263 void ExpandRangeForTableBox(
const SwNodeRange & rRange,
264 std::optional<SwNodeRange>& rExpandedRange);
267 SwTableNode* TextToTable(
const TableRanges_t& rTableNodes,
285 sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 );
293 bool bCalcNewSize =
false );
295 bool MergeTable(
SwNode& rPos,
bool bWithPrev =
true );
303 bool const bInsAtStart =
true,
304 bool const bCreateFrames =
true);
318 SwNode * DocumentSectionStartNode(
SwNode * pNode)
const;
BigPtrEntry * operator[](sal_Int32) const
Marks a node in the document model.
Base class of the Writer document model elements.
sal_uInt16 GetSectionLevel() const
Returns the section level at the position given by aIndex.
void ForEach(FnForEach_SwNodes fnForEach, void *pArgs=nullptr)
const SwOutlineNodes & GetOutLineNds() const
Array of all OutlineNodes.
SwOutlineNodes m_aOutlineNodes
Array of all outline nodes.
bool m_bInNodesDel
In Case of recursive calling.
SwNode & GetEndOfExtras() const
This is the last EndNode of a special section.
bool m_bInDelUpdOutline
Flag for updating of Outline.
SwNode * m_pEndOfAutotext
SwNode & GetEndOfAutotext() const
Section for all Flys/Header/Footers.
SwNodes & operator=(SwNodes const &)=delete
SwNode & GetEndOfContent() const
Regular ContentSection (i.e. the BodyText).
std::unique_ptr< SwNode > m_pEndOfContent
SwNode * m_pEndOfInserts
These are the fixed ranges.
std::vector< NodeRanges_t > TableRanges_t
const SwDoc & GetDoc() const
SwNode & GetEndOfRedlines() const
Section for all Redlines.
void Copy_(const SwNodeRange &rRg, SwNode &rInsPos, bool bNewFrames=true) const
SwNodes(SwNodes const &)=delete
SwNode & GetEndOfInserts() const
Section for all footnotes.
std::vector< SwNodeRange > NodeRanges_t
SwNode & GetEndOfPostIts() const
A still empty section.
SwDoc & GetDoc()
Which Doc contains the nodes-array?
SwDoc & m_rMyDoc
This Doc contains the nodes-array.
SwNodeIndex * m_vIndices
ring of all indices on nodes.
SwNodeOffset Count() const
bool Seek_Entry(SwNode *rP, size_type *pnPos) const
static constexpr auto npos
PaM is Point and Mark: a selection of the document model.
The root element of a Writer document layout.
A section node represents the start of a section on the UI, i.e.
Starts a section of nodes in the document model.
virtual void dumpAsXml(xmlTextWriterPtr pWriter) const override
Dumps the node structure to the given destination (file nodes.xml in the current directory by default...
SwTableLine is one table row in the document model.
Represents the style of a paragraph.
SwTextNode is a paragraph in the document model.
std::vector< Value >::size_type size_type
struct _xmlTextWriter * xmlTextWriterPtr
Dialog to specify the properties of date form field.
std::vector< std::unique_ptr< SwTableToTextSave > > SwTableToTextSaves
bool(* FnForEach_SwNodes)(SwNode *, void *pArgs)
struct _xmlTextWriter * xmlTextWriterPtr
o3tl::strong_int< sal_Int32, struct Tag_SwNodeOffset > SwNodeOffset
void GoEndOfSection(SwPosition *pPos)
bool GoNext(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
void GoStartOfSection(SwPosition *pPos)
bool GoPrevious(SwNode *pNd, SwContentIndex *pIdx, SwCursorSkipMode nMode)
bool operator()(SwNode *const &lhs, SwNode *const &rhs) const
Marks a position in the document model.