20#ifndef INCLUDED_SW_INC_NDARR_HXX
21#define INCLUDED_SW_INC_NDARR_HXX
31#include <rtl/ustring.hxx>
65namespace sw {
class DocumentContentOperationsManager; }
66namespace svt {
class EmbeddedObjectRef; }
80 static constexpr auto npos = std::numeric_limits<size_type>::max();
95 friend class ::sw::DocumentContentOperationsManager;
122 void UpdateOutlineIdx(
const SwNode& );
125 bool bNewFrames,
bool bTableInsDummyNode =
false )
const;
166 bool IsDocNodes()
const;
172 bool bNewFrames =
true );
176 bool bNewFrames =
true )
const
177 { CopyNodes( rRg, rInsPos, bNewFrames ); }
191 bool bSkipProtect =
true )
const;
193 bool bSkipProtect =
true );
204 bool bNewFrames =
true);
210 const OUString& rGrfName,
211 const OUString& rFltName,
224 const OUString &rName,
233 void UpdateOutlineNode(
SwNode & rNd);
245 sal_uInt16 nLines, sal_uInt16 nRepeat,
257 std::unique_ptr<SwNodeRange> ExpandRangeForTableBox(
const SwNodeRange & rRange);
260 SwTableNode* TextToTable(
const TableRanges_t& rTableNodes,
278 sal_uInt16 nInsPos, sal_uInt16 nCnt = 1 );
286 bool bCalcNewSize =
false );
288 bool MergeTable(
const SwNodeIndex& rPos,
bool bWithPrev =
true,
289 sal_uInt16 nMode = 0 );
297 bool const bInsAtStart =
true,
298 bool const bCreateFrames =
true);
312 SwNode * DocumentSectionStartNode(
SwNode * pNode)
const;
struct _xmlTextWriter * xmlTextWriterPtr
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.
bool m_bInNodesDel
In Case of recursive calling.
SwNode & GetEndOfExtras() const
This is the last EndNode of a special section.
std::unique_ptr< SwOutlineNodes > m_pOutlineNodes
Array of all outline nodes.
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
void Copy_(const SwNodeRange &rRg, const SwNodeIndex &rInsPos, bool bNewFrames=true) const
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.
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.
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
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
bool GoPrevious(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
bool GoNext(SwNode *pNd, SwIndex *pIdx, sal_uInt16 nMode)
bool operator()(SwNode *const &lhs, SwNode *const &rhs) const
Marks a position in the document model.