20#ifndef INCLUDED_SW_SOURCE_CORE_INC_DOCTXM_HXX
21#define INCLUDED_SW_SOURCE_CORE_INC_DOCTXM_HXX
37 std::vector<std::unique_ptr<SwTOXSortTabBase>>
m_aSortArr;
57 void InsertSorted(std::unique_ptr<SwTOXSortTabBase> pBase);
64 const std::vector<sal_uInt16>& rNums,
65 const std::vector<SwPageDesc*>& rDescs,
66 const std::vector<sal_uInt16>* pMainEntryNums,
72 const Range& rRange );
86 const bool _bNewTOX =
false );
The root element of a Writer document layout.
SwSectionFormat * GetFormat()
void UpdateTemplate(const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
Generate table of contents from template areas.
void UpdatePageNum()
Calculate PageNumber and insert after formatting.
bool IsVisible() const override
void InsertAlphaDelimiter(const SwTOXInternational &rIntl)
void UpdateTable(const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
Collect table entries.
void UpdateSequence(const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
Generate content from sequence fields.
void InsertSorted(std::unique_ptr< SwTOXSortTabBase > pBase)
virtual void SwClientNotify(const SwModify &rModify, const SfxHint &rHint) override
Range GetKeyRange(const OUString &rStr, const OUString &rStrReading, const SwTOXSortTabBase &rNew, sal_uInt16 nLevel, const Range &rRange)
Find Key Range and insert if possible.
void UpdateContent(SwTOXElement eType, const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
void Update(const SfxItemSet *pAttr=nullptr, SwRootFrame const *pLayout=nullptr, const bool _bNewTOX=false)
Collect table of contents content.
void UpdateMarks(const SwTOXInternational &rIntl, const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
Create from Marks.
SwTextFormatColl * GetTextFormatColl(sal_uInt16 nLevel)
Evaluate Template.
bool SetPosAtStartEnd(SwPosition &rPos) const
SwTOXBaseSection(SwTOXBase const &rBase, SwSectionFormat &rFormat)
void UpdateOutline(const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout)
Generate table of contents from outline.
void UpdateAuthorities(const SwTOXInternational &rIntl, SwRootFrame const *pLayout)
std::vector< std::unique_ptr< SwTOXSortTabBase > > m_aSortArr
void UpdatePageNum_(SwTextNode *pNd, const std::vector< sal_uInt16 > &rNums, const std::vector< SwPageDesc * > &rDescs, const std::vector< sal_uInt16 > *pMainEntryNums, const SwTOXInternational &rIntl)
virtual ~SwTOXBaseSection() override
Represents the style of a paragraph.
SwTextNode is a paragraph in the document model.
std::unique_ptr< SwTOXBase > pAuthBase
std::unique_ptr< SwTOXBase > pContBase
std::unique_ptr< SwTOXBase > pTableBase
std::unique_ptr< SwTOXBase > pObjBase
std::unique_ptr< SwTOXBase > pIllBase
std::unique_ptr< SwTOXBase > pIdxBase
std::unique_ptr< SwTOXBase > pBiblioBase
std::unique_ptr< SwTOXBase > pUserBase
Marks a position in the document model.
Class for sorting directories.