LibreOffice Module sw (master) 1
|
#include <doctxm.hxx>
Public Member Functions | |
SwTOXBaseSection (SwTOXBase const &rBase, SwSectionFormat &rFormat) | |
virtual | ~SwTOXBaseSection () override |
void | Update (const SfxItemSet *pAttr=nullptr, SwRootFrame const *pLayout=nullptr, const bool _bNewTOX=false) |
Collect table of contents content. More... | |
void | UpdatePageNum () |
Calculate PageNumber and insert after formatting. More... | |
bool | SetPosAtStartEnd (SwPosition &rPos) const |
bool | IsVisible () const override |
Public Member Functions inherited from SwTOXBase | |
SwTOXBase (const SwTOXType *pTyp, const SwForm &rForm, SwTOXElement nCreaType, OUString aTitle) | |
SwTOXBase (const SwTOXBase &rCopy, SwDoc *pDoc=nullptr) | |
virtual | ~SwTOXBase () override |
virtual void | SwClientNotify (const SwModify &rMod, const SfxHint &rHint) override |
void | CopyTOXBase (SwDoc *, const SwTOXBase &) |
const SwTOXType * | GetTOXType () const |
SwTOXElement | GetCreateType () const |
const OUString & | GetTOXName () const |
void | SetTOXName (const OUString &rSet) |
const OUString & | GetMSTOCExpression () const |
void | SetMSTOCExpression (const OUString &rExp) |
void | EnableKeepExpression () |
void | DisableKeepExpression () |
const OUString & | GetTitle () const |
const OUString & | GetBookmarkName () const |
OUString const & | GetTypeName () const |
const SwForm & | GetTOXForm () const |
void | SetCreate (SwTOXElement) |
void | SetTitle (const OUString &rTitle) |
void | SetTOXForm (const SwForm &rForm) |
void | SetBookmarkName (const OUString &bName) |
TOXTypes | GetType () const |
const OUString & | GetMainEntryCharStyle () const |
void | SetMainEntryCharStyle (const OUString &rSet) |
void | SetLevel (sal_uInt16) |
sal_uInt16 | GetLevel () const |
SwTOIOptions | GetOptions () const |
void | SetOptions (SwTOIOptions nOpt) |
SwTOOElements | GetOLEOptions () const |
void | SetOLEOptions (SwTOOElements nOpt) |
OUString const & | GetStyleNames (sal_uInt16 nLevel) const |
void | SetStyleNames (const OUString &rSet, sal_uInt16 nLevel) |
bool | IsFromChapter () const |
void | SetFromChapter (bool bSet) |
bool | IsFromObjectNames () const |
void | SetFromObjectNames (bool bSet) |
bool | IsLevelFromChapter () const |
void | SetLevelFromChapter (bool bSet) |
bool | IsProtected () const |
void | SetProtected (bool bSet) |
const OUString & | GetSequenceName () const |
void | SetSequenceName (const OUString &rSet) |
SwCaptionDisplay | GetCaptionDisplay () const |
void | SetCaptionDisplay (SwCaptionDisplay eSet) |
bool | IsTOXBaseInReadonly () const |
const SfxItemSet * | GetAttrSet () const |
void | SetAttrSet (const SfxItemSet &) |
LanguageType | GetLanguage () const |
void | SetLanguage (LanguageType nLang) |
const OUString & | GetSortAlgorithm () const |
void | SetSortAlgorithm (const OUString &rSet) |
void | AdjustTabStops (SwDoc const &rDoc) |
SwTOXBase & | operator= (const SwTOXBase &rSource) |
void | RegisterToTOXType (SwTOXType &rMark) |
virtual bool | IsVisible () const |
Public Member Functions inherited from SwClient | |
SwClient () | |
SwClient (SwClient &&) noexcept | |
virtual | ~SwClient () override |
std::optional< sw::ModifyChangedHint > | CheckRegistration (const SfxPoolItem *pOldValue) |
void | CheckRegistrationFormat (SwFormat &rOld) |
const SwModify * | GetRegisteredIn () const |
SwModify * | GetRegisteredIn () |
void | EndListeningAll () |
void | StartListeningToSameModifyAs (const SwClient &) |
virtual bool | GetInfo (SfxPoolItem &) const |
Public Member Functions inherited from sw::WriterListener | |
bool | IsLast () const |
virtual const SwCellFrame * | DynCastCellFrame () const |
virtual const SwTabFrame * | DynCastTabFrame () const |
virtual const SwRowFrame * | DynCastRowFrame () const |
virtual const SwTable * | DynCastTable () const |
Public Member Functions inherited from SwSection | |
SwSection (SectionType const eType, OUString const &rName, SwSectionFormat &rFormat) | |
virtual | ~SwSection () override |
bool | DataEquals (SwSectionData const &rCmp) const |
void | SetSectionData (SwSectionData const &rData) |
const OUString & | GetSectionName () const |
void | SetSectionName (OUString const &rName) |
SectionType | GetType () const |
void | SetType (SectionType const eType) |
SwSectionFormat * | GetFormat () |
SwSectionFormat const * | GetFormat () const |
bool | IsHidden () const |
void | SetHidden (bool const bFlag=true) |
bool | IsProtect () const |
void | SetProtect (bool const bFlag=true) |
bool | IsEditInReadonly () const |
void | SetEditInReadonly (bool const bFlag=true) |
bool | IsHiddenFlag () const |
bool | IsProtectFlag () const |
bool | IsEditInReadonlyFlag () const |
void | SetCondHidden (bool const bFlag) |
bool | IsCondHidden () const |
bool | CalcHiddenFlag () const |
SwSection * | GetParent () const |
OUString const & | GetCondition () const |
void | SetCondition (OUString const &rNew) |
OUString const & | GetLinkFileName () const |
void | SetLinkFileName (OUString const &rNew) |
OUString const & | GetLinkFilePassword () const |
void | SetLinkFilePassword (OUString const &rS) |
css::uno::Sequence< sal_Int8 > const & | GetPassword () const |
void | SetRefObject (SwServerObject *pObj) |
const SwServerObject * | GetObject () const |
SwServerObject * | GetObject () |
bool | IsServer () const |
SfxLinkUpdateMode | GetUpdateType () const |
void | SetUpdateType (SfxLinkUpdateMode nType) |
bool | IsConnected () const |
void | UpdateNow () |
void | Disconnect () |
const ::sfx2::SvBaseLink & | GetBaseLink () const |
::sfx2::SvBaseLink & | GetBaseLink () |
void | CreateLink (LinkCreateType eType) |
bool | IsLinkType () const |
bool | IsConnectFlag () const |
void | SetConnectFlag (bool const bFlag=true) |
const SwTOXBase * | GetTOXBase () const |
void | BreakLink () |
void | dumpAsXml (xmlTextWriterPtr pWriter) const |
Public Member Functions inherited from SvtListener | |
SvtListener ()=default | |
SvtListener (const SvtListener &r)=default | |
virtual | ~SvtListener () COVERITY_NOEXCEPT_FALSE |
bool | StartListening (SvtBroadcaster &rBroadcaster) |
void | EndListening (SvtBroadcaster &rBroadcaster) |
void | EndListeningAll () |
void | CopyAllBroadcasters (const SvtListener &r) |
bool | HasBroadcaster () const |
virtual void | Notify (const SfxHint &rHint) |
virtual void | Query (QueryBase &rQuery) const |
Private Member Functions | |
void | UpdateMarks (const SwTOXInternational &rIntl, const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
Create from Marks. More... | |
void | UpdateOutline (const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
Generate table of contents from outline. More... | |
void | UpdateTemplate (const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
Generate table of contents from template areas. More... | |
void | UpdateContent (SwTOXElement eType, const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
void | UpdateTable (const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
Collect table entries. More... | |
void | UpdateSequence (const SwTextNode *pOwnChapterNode, SwRootFrame const *pLayout) |
Generate content from sequence fields. More... | |
void | UpdateAuthorities (const SwTOXInternational &rIntl, SwRootFrame const *pLayout) |
void | InsertSorted (std::unique_ptr< SwTOXSortTabBase > pBase) |
void | InsertAlphaDelimiter (const SwTOXInternational &rIntl) |
void | UpdatePageNum_ (SwTextNode *pNd, const std::vector< sal_uInt16 > &rNums, const std::vector< SwPageDesc * > &rDescs, const std::vector< sal_uInt16 > *pMainEntryNums, const SwTOXInternational &rIntl) |
Range | GetKeyRange (const OUString &rStr, const OUString &rStrReading, const SwTOXSortTabBase &rNew, sal_uInt16 nLevel, const Range &rRange) |
Find Key Range and insert if possible. More... | |
SwTextFormatColl * | GetTextFormatColl (sal_uInt16 nLevel) |
Evaluate Template. More... | |
virtual void | SwClientNotify (const SwModify &rModify, const SfxHint &rHint) override |
Private Attributes | |
std::vector< std::unique_ptr< SwTOXSortTabBase > > | m_aSortArr |
Additional Inherited Members | |
Static Public Member Functions inherited from SwSection | |
static void | MakeChildLinksVisible (const SwSectionNode &rSectNd) |
Protected Member Functions inherited from SwClient | |
SwClient (SwModify *pToRegisterIn) | |
SwModify * | GetRegisteredInNonConst () const |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint) override |
Protected Member Functions inherited from sw::WriterListener | |
WriterListener () | |
virtual | ~WriterListener () COVERITY_NOEXCEPT_FALSE |
virtual void | SwClientNotify (const SwModify &, const SfxHint &rHint)=0 |
Protected Member Functions inherited from SwSection | |
virtual void | Notify (SfxHint const &rHint) override |
virtual void | SwClientNotify (const SwModify &, const SfxHint &) override |
Protected Attributes inherited from SwTOXBase | |
OUString | maMSTOCExpression |
bool | mbKeepExpression |
Definition at line 35 of file doctxm.hxx.
SwTOXBaseSection::SwTOXBaseSection | ( | SwTOXBase const & | rBase, |
SwSectionFormat & | rFormat | ||
) |
Definition at line 827 of file doctxm.cxx.
References SwTOXBase::GetTOXName(), SwTOXBase::IsProtected(), SwSection::SetProtect(), SwSection::SetSectionName(), and ToxContent.
|
overridevirtual |
Definition at line 835 of file doctxm.cxx.
|
private |
Find Key Range and insert if possible.
Definition at line 2041 of file doctxm.cxx.
References SwTOXBase::GetLevel(), SwTOXSortTabBase::GetLevel(), SwTOXSortTabBase::GetLocale(), SwTOXBase::GetOptions(), SwTOXSortTabBase::GetText(), i, InitialCaps, SwTOXInternational::IsEqual(), m_aSortArr, Range::Max(), Range::Min(), SwTOXBase::nLevel, SwTOXSortTabBase::pTOXIntl, TextAndReading::sText, and SwTOXInternational::ToUpper().
Referenced by InsertSorted().
|
private |
Evaluate Template.
TODO
Definition at line 1206 of file doctxm.cxx.
References SwDoc::FindTextFormatCollByName(), SwFormat::GetDoc(), SwSection::GetFormat(), SwDoc::getIDocumentStylePoolAccess(), SwForm::GetTemplate(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwTOXBase::GetTOXForm(), SwTOXBase::GetType(), SwTOXBase::nLevel, RES_POOLCOLL_TOX_AUTHORITIESH, RES_POOLCOLL_TOX_CNTNT6, RES_POOLCOLL_TOX_CNTNTH, RES_POOLCOLL_TOX_IDXH, RES_POOLCOLL_TOX_ILLUSH, RES_POOLCOLL_TOX_OBJECTH, RES_POOLCOLL_TOX_TABLESH, RES_POOLCOLL_TOX_USER6, RES_POOLCOLL_TOX_USERH, TOX_AUTHORITIES, TOX_BIBLIOGRAPHY, TOX_CITATION, TOX_CONTENT, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_TABLES, and TOX_USER.
Referenced by Update().
|
private |
Definition at line 1163 of file doctxm.cxx.
References FORM_ALPHA_DELIMITER, SwFormat::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwTOXInternational::GetIndexKey(), i, m_aSortArr, SwTOXBase::nLevel, and SetProgressState().
Referenced by Update().
|
private |
Definition at line 1954 of file doctxm.cxx.
References SwTOXSortTabBase::aTOXSources, SwTOXSortTabBase::equivalent(), FORM_PRIMARY_KEY, FORM_SECONDARY_KEY, GetKeyRange(), SwTOXSortTabBase::GetOptions(), SwTOXBase::GetOptions(), SwTOXMark::GetPrimaryKey(), SwTOXMark::GetPrimaryKeyReading(), SwTOXMark::GetSecondaryKey(), SwTOXMark::GetSecondaryKeyReading(), SwTOXBase::GetType(), SwTOXSortTabBase::GetType(), i, KeyAsEntry, m_aSortArr, Range::Max(), Range::Min(), SameEntry, SwTOXSortTabBase::sort_lt(), TOX_AUTHORITIES, TOX_INDEX, and TOX_SORT_CUSTOM.
Referenced by UpdateAuthorities(), UpdateContent(), UpdateMarks(), UpdateOutline(), UpdateSequence(), UpdateTable(), and UpdateTemplate().
|
inlineoverridevirtual |
Reimplemented from SwTOXBase.
Definition at line 90 of file doctxm.hxx.
References SwSection::GetFormat(), and SwSectionFormat::IsVisible().
bool SwTOXBaseSection::SetPosAtStartEnd | ( | SwPosition & | rPos | ) | const |
Definition at line 839 of file doctxm.cxx.
References SwPosition::Assign(), SwNode::GetDoc(), SwSection::GetFormat(), SwDoc::GetNodes(), SwSectionFormat::GetSectionNode(), and SwNodes::GoNext().
Referenced by SwEditShell::InsertTableOf(), and SwEditShell::UpdateTableOf().
|
overrideprivatevirtual |
Reimplemented from SwSection.
Definition at line 1255 of file doctxm.cxx.
References SwNode::EndOfSectionIndex(), SwNode::GetContentNode(), SwSection::GetFormat(), SwContentNode::getLayoutFrame(), SwNodeIndex::GetNode(), SwNode::GetNodes(), SwNode::GetSectionNode(), SwNodes::GoNext(), and SwTOXBase::SwClientNotify().
void SwTOXBaseSection::Update | ( | const SfxItemSet * | pAttr = nullptr , |
SwRootFrame const * | pLayout = nullptr , |
||
const bool | _bNewTOX = false |
||
) |
Collect table of contents content.
Definition at line 853 of file doctxm.cxx.
References aBreakSetRange, AlphaDelimiter, SwFrame::CheckPageDescs(), SwDoc::ChgFormat(), SwDoc::CorrAbs(), SfxItemSet::Count(), SwNodes::Delete(), IDocumentRedlineAccess::DeleteRedline(), DelFlyInRange(), SwNode::EndOfSectionIndex(), SwNode::EndOfSectionNode(), SwNode::FindPageDesc(), SwNode::FindSectionNode(), fnMoveBackward, fnMoveForward, FORM_TITLE, Frame, sw::ToxTextGenerator::GenerateText(), sw::DocumentSettingManager::get(), SwDoc::GetAllLayouts(), SwDoc::GetAttrPool(), SvxFormatBreakItem::GetBreak(), SwAttrSet::GetBreak(), SwNode::GetContentNode(), SwTOXBase::GetCreateType(), SwNode::GetDoc(), SwDoc::GetDocShell(), SwDoc::GetDocumentSettingManager(), SwNodes::GetEndOfContent(), SwSection::GetFormat(), SwDoc::getIDocumentRedlineAccess(), SwDoc::getIDocumentState(), SwDoc::getIDocumentStylePoolAccess(), SwDoc::GetIDocumentUndoRedo(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwTOXBase::GetLanguage(), SwNodeIndex::GetNode(), GetNode(), SwDoc::GetNodes(), SwNode::GetNodes(), SwTOXBase::GetOptions(), SwFormatPageDesc::GetPageDesc(), SwFormat::GetPageDesc(), SwDoc::GetPageDesc(), SwPaM::GetPoint(), SwTOXMark::GetPrimaryKey(), SwContentNode::GetpSwAttrSet(), SwNode::GetRedlineMergeFlag(), SwTOXMark::GetSecondaryKey(), SwSectionNode::GetSection(), SwNode::GetSectionLevel(), SwTOXBase::GetSequenceName(), SwTOXBase::GetSortAlgorithm(), SwContentNode::GetSwAttrSet(), IDocumentStylePoolAccess::GetTextCollFromPool(), GetTextFormatColl(), SwTOXBase::GetTitle(), SwTOXBase::GetTOXForm(), SwTOXBase::GetTOXName(), SwTOXBase::GetTOXType(), SwSection::GetType(), SwTOXBase::GetType(), SwNodes::GoNext(), SwNodes::GoPrevious(), Graphic, SwRootFrame::HasMergedParas(), SwContentNode::HasSwAttrSet(), SwNode::Hidden, InsertAlphaDelimiter(), SwTextNode::InsertText(), SwNodes::InsertTextSection(), SwNodes::IsDocNodes(), SwTOXBase::IsFromChapter(), SwTOXBase::IsFromObjectNames(), SwSection::IsHiddenFlag(), SwTOXBase::IsProtected(), lcl_FindChapterNode(), m_aSortArr, SwDoc::MakeSectionFormat(), SwNodes::MakeTextNode(), SwTOXBase::maMSTOCExpression, Mark, SwTOXBase::mbKeepExpression, SwPaM::Move(), NONE, Ole, OutlineLevel, SfxItemSet::Put(), RES_POOLCOLL_TEXT, SwNode2LayoutSaveUpperFrames::RestoreUpperFrames(), SwContentNode::SetAttr(), SwTextNode::SetAttr(), IDocumentState::SetModified(), SetProgressState(), SwSection::SetProtect(), SwNode::StartOfSectionIndex(), Table, TABS_RELATIVE_TO_INDENT, sw::DefaultToxTabStopTokenHandler::TABSTOPS_RELATIVE_TO_INDENT, sw::DefaultToxTabStopTokenHandler::TABSTOPS_RELATIVE_TO_PAGE, Template, SwUndoUpdateIndex::TitleSectionInserted(), TOX_AUTHORITIES, TOX_ILLUSTRATIONS, TOX_INDEX, TOX_OBJECTS, TOX_SORT_INDEX, TOX_TABLES, ToxHeader, UpdateAuthorities(), UpdateContent(), UpdateMarks(), SwDoc::UpdateNumRule(), UpdateOutline(), UpdateSequence(), UpdateTable(), and UpdateTemplate().
Referenced by SwDoc::InsertTableOf(), SwXDocumentIndex::refresh(), and SwEditShell::UpdateTableOf().
|
private |
Definition at line 1433 of file doctxm.cxx.
References SwFieldType::GatherFields(), GetBodyTextNode(), SwFormat::GetDoc(), SwDoc::GetDocShell(), IDocumentFieldsAccess::GetFieldType(), SwSection::GetFormat(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentRedlineAccess(), SwContentNode::getLayoutFrame(), SwTextNode::GetText(), SwNode::GetTextNode(), InsertSorted(), sw::IsFieldDeletedInModel(), SwRootFrame::IsHideRedlines(), SwFrame::IsInDocBody(), SetProgressState(), and TableOfAuthorities.
Referenced by Update().
|
private |
Definition at line 1512 of file doctxm.cxx.
References SwNode::EndOfSectionIndex(), FORM_ALPHA_DELIMITER, Frame, SwTextFormatColl::GetAttrOutlineLevel(), SwNode::GetContentNode(), SwFormat::GetDoc(), SwDoc::GetDocShell(), SwNodes::GetEndOfAutotext(), SwSection::GetFormat(), SwNode::GetIndex(), SwContentNode::getLayoutFrame(), SwDoc::GetNodes(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwTOXBase::GetOLEOptions(), SwOLEObj::GetOleRef(), SwNode::GetRedlineMergeFlag(), SwTextNode::GetTextColl(), SwTOXBase::GetType(), SwNodes::GoNext(), Graphic, SwRootFrame::HasMergedParas(), SwNode::Hidden, InsertSorted(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwTOXBase::IsFromChapter(), SwNode::IsGrfNode(), IsHeadingContained(), SwTOXBase::IsLevelFromChapter(), SwNode::IsNoTextNode(), SwNode::IsOLENode(), SwOLEObj::IsOleRef(), lcl_FindChapterNode(), lcl_IsSOObject(), MAXLEVEL, NONE, Ole, Other, SetProgressState(), SwNode::StartOfSectionIndex(), SwNode::StartOfSectionNode(), TOX_ILLUSTRATIONS, TOX_OBJECTS, and TOX_TABLES.
Referenced by Update().
|
private |
Create from Marks.
Definition at line 1281 of file doctxm.cxx.
References FORM_ENTRY, FORM_PRIMARY_KEY, FORM_SECONDARY_KEY, g_pBreakIt, SwFormat::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwTOXBase::GetLevel(), SwBreakIt::GetLocale(), SwTOXBase::GetOptions(), SwClient::GetRegisteredIn(), SwTOXBase::GetTOXType(), SwTOXType::GetType(), InsertSorted(), SwTOXBase::IsFromChapter(), IsHeadingContained(), KeyAsEntry, SetProgressState(), TOX_INDEX, and TOX_USER.
Referenced by Update().
|
private |
Generate table of contents from outline.
Definition at line 1320 of file doctxm.cxx.
References SwTextNode::GetAttrOutlineLevel(), SwFormat::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwContentNode::getLayoutFrame(), SwTOXBase::GetLevel(), SwDoc::GetNodes(), SwNodes::GetOutLineNds(), SwNode::GetTextNode(), SwTextFrame::GetTextNodeForParaProps(), SwTextNode::HasHiddenCharAttribute(), SwRootFrame::HasMergedParas(), InsertSorted(), SwTOXBase::IsFromChapter(), IsHeadingContained(), SwTextNode::IsHiddenByParaField(), SwTextNode::Len(), o3tl::make_unsigned(), OutlineLevel, and SetProgressState().
Referenced by Update().
void SwTOXBaseSection::UpdatePageNum | ( | ) |
Calculate PageNumber and insert after formatting.
Definition at line 1668 of file doctxm.cxx.
References SwTOXSortTabBase::aTOXSources, SwTOXSource::bMainEntry, SwFrame::FindPageFrame(), IDocumentLayoutAccess::GetCurrentLayout(), SwFormat::GetDoc(), SwDoc::GetDocShell(), SwContentFrame::GetFollow(), SwSection::GetFormat(), SwDoc::getIDocumentLayoutAccess(), SwTOXBase::GetLanguage(), SwContentNode::getLayoutFrame(), SwTOXBase::GetOptions(), SwPageFrame::GetPageDesc(), SwTOXMark::GetPrimaryKey(), SwTOXMark::GetSecondaryKey(), SwTOXBase::GetSortAlgorithm(), SwNode::GetTextNode(), SwTOXBase::GetTOXForm(), SwTOXBase::GetTOXType(), SwSection::GetType(), SwTOXSortTabBase::GetType(), SwFrame::GetVirtPageNum(), i, SwFrame::IsTextFrame(), SwDoc::IsUpdateTOX(), m_aSortArr, sw::MapModelToView(), NONE, nPos, SwTOXSource::nPos, SwTOXSource::pNd, SwTOXSortTabBase::pTOXNd, SetProgressState(), TOX_INDEX, TOX_SORT_INDEX, and UpdatePageNum_().
Referenced by SwXDocumentIndex::attach(), SwXDocumentIndex::refresh(), and SwEditShell::UpdateTableOf().
|
private |
Definition at line 1794 of file doctxm.cxx.
References C_END_PAGE_NUM, C_NUM_REPL, ChrFmt, SwpHints::Count(), Dash, DONTEXPAND, EMPTYEXPAND, SwTextAttr::End(), SwTextNode::EraseText(), FF, SwDoc::FindCharFormatByName(), FORCEHINTEXPAND, SwpHints::Get(), SwFormatCharFormat::GetCharFormat(), SwTextAttr::GetCharFormat(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetDoc(), SwTOXInternational::GetFollowingText(), SwDoc::getIDocumentStylePoolAccess(), SwTOXBase::GetMainEntryCharStyle(), SvxNumberType::GetNumStr(), GetNumType(), SwTOXBase::GetOptions(), SwStyleNameMapper::GetPoolIdFromUIName(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwTOXBase::GetType(), i, SwTextNode::InsertItem(), SwTextNode::InsertText(), lcl_HasMainEntry(), SwDoc::MakeCharFormat(), nCount, RES_TXTATR_CHARFMT(), SwTOXMark::S_PAGE_DELI, TOX_INDEX, and SwTextAttr::Which().
Referenced by UpdatePageNum().
|
private |
Generate content from sequence fields.
Definition at line 1390 of file doctxm.cxx.
References CAPTION_NUMBER, CAPTION_TEXT, cSequenceMarkSeparator, SwFieldType::GatherFields(), SwTOXBase::GetCaptionDisplay(), SwFormat::GetDoc(), SwDoc::GetDocShell(), IDocumentFieldsAccess::GetFieldType(), SwSection::GetFormat(), SwDoc::getIDocumentFieldsAccess(), SwDoc::getIDocumentRedlineAccess(), SwContentNode::getLayoutFrame(), SwGetExpField::GetReferenceTextPos(), SwSetExpField::GetSeqNumber(), SwTOXBase::GetSequenceName(), SwTextAttr::GetStart(), SwTextNode::GetText(), SwTextField::GetTextNode(), InsertSorted(), sw::IsFieldDeletedInModel(), SwTOXBase::IsFromChapter(), IsHeadingContained(), SwRootFrame::IsHideRedlines(), Sequence, SetExp, SetProgressState(), and sName.
Referenced by Update().
|
private |
Collect table entries.
Definition at line 1617 of file doctxm.cxx.
References SwNode::EndOfSectionIndex(), SwTable::FindTable(), SwNode::FindTableNode(), SwTextFormatColl::GetAttrOutlineLevel(), SwFormat::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwNodeIndex::GetIndex(), SwContentNode::getLayoutFrame(), SwDoc::GetNodes(), SwNode::GetNodes(), SwNode::GetRedlineMergeFlag(), SwTableBox::GetSttNd(), SwDoc::GetTableFrameFormats(), SwTable::GetTabSortBoxes(), SwTextNode::GetTextColl(), SwTOXBase::GetType(), SwNodes::GoNext(), SwRootFrame::HasMergedParas(), SwNode::Hidden, InsertSorted(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwNodes::IsDocNodes(), SwTOXBase::IsFromChapter(), IsHeadingContained(), SwTOXBase::IsLevelFromChapter(), lcl_FindChapterNode(), MAXLEVEL, SetProgressState(), and TOX_TABLES.
Referenced by Update().
|
private |
Generate table of contents from template areas.
Definition at line 1346 of file doctxm.cxx.
References SwDoc::FindTextFormatCollByName(), SwIterator< TElementType, TSource, eMode >::First(), SwTOXBase::GetCreateType(), SwFormat::GetDoc(), SwDoc::GetDocShell(), SwSection::GetFormat(), SwTOXBase::GetLevel(), SwTOXBase::GetStyleNames(), SwTextFrame::GetTextNodeForParaProps(), SwTOXBase::GetType(), SwRootFrame::HasMergedParas(), i, InsertSorted(), SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), SwTOXBase::IsFromChapter(), IsHeadingContained(), o3tl::make_unsigned(), MAXLEVEL, SwIterator< TElementType, TSource, eMode >::Next(), nIndex, OutlineLevel, SetProgressState(), Template, TOX_CONTENT, and TOX_STYLE_DELIMITER.
Referenced by Update().
|
private |
Definition at line 37 of file doctxm.hxx.
Referenced by GetKeyRange(), InsertAlphaDelimiter(), InsertSorted(), Update(), and UpdatePageNum().