LibreOffice Module sw (master) 1
|
For sorting by text. More...
#include <txmsrt.hxx>
Public Member Functions | |
SwTOXIndex (const SwTextNode &, const SwTextTOXMark *, SwTOIOptions nOptions, sal_uInt8 nKeyLevel, const SwTOXInternational &rIntl, const css::lang::Locale &rLocale) | |
virtual void | FillText (SwTextNode &rNd, const SwContentIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const override |
virtual sal_uInt16 | GetLevel () const override |
virtual bool | equivalent (const SwTOXSortTabBase &) override |
virtual bool | sort_lt (const SwTOXSortTabBase &) override |
Public Member Functions inherited from SwTOXSortTabBase | |
bool | operator== (const SwTOXSortTabBase &) const =delete |
bool | operator< (const SwTOXSortTabBase &) const =delete |
SwTOXSortTabBase (TOXSortType nType, const SwContentNode *pTOXSrc, const SwTextTOXMark *pTextMark, const SwTOXInternational *pIntl, const css::lang::Locale *pLocale=nullptr) | |
virtual | ~SwTOXSortTabBase () |
sal_uInt16 | GetType () const |
virtual void | FillText (SwTextNode &rNd, const SwContentIndex &rInsPos, sal_uInt16 nAuthField, SwRootFrame const *pLayout) const |
virtual sal_uInt16 | GetLevel () const =0 |
virtual bool | equivalent (const SwTOXSortTabBase &) |
virtual bool | sort_lt (const SwTOXSortTabBase &) |
virtual std::pair< OUString, bool > | GetURL (SwRootFrame const *const pLayout) const |
virtual bool | IsFullPara () const |
void | InitText (SwRootFrame const *const pLayout) |
TextAndReading const & | GetText () const |
const css::lang::Locale & | GetLocale () const |
Private Member Functions | |
virtual TextAndReading | GetText_Impl (SwRootFrame const *pLayout) const override |
Private Attributes | |
sal_uInt8 | nKeyLevel |
Additional Inherited Members | |
Static Public Member Functions inherited from SwTOXSortTabBase | |
static SwTOIOptions | GetOptions () |
Public Attributes inherited from SwTOXSortTabBase | |
std::vector< SwTOXSource > | aTOXSources |
css::lang::Locale | aLocale |
const SwTextNode * | pTOXNd |
const SwTextTOXMark * | pTextMark |
const SwTOXInternational * | pTOXIntl |
SwNodeOffset | nPos |
sal_Int32 | nCntPos |
sal_uInt16 | nType |
Static Public Attributes inherited from SwTOXSortTabBase | |
static SwTOIOptions | nOpt = SwTOIOptions::NONE |
For sorting by text.
Definition at line 193 of file txmsrt.hxx.
SwTOXIndex::SwTOXIndex | ( | const SwTextNode & | , |
const SwTextTOXMark * | , | ||
SwTOIOptions | nOptions, | ||
sal_uInt8 | nKeyLevel, | ||
const SwTOXInternational & | rIntl, | ||
const css::lang::Locale & | rLocale | ||
) |
Definition at line 302 of file txmsrt.cxx.
References SwNode::GetIndex(), SwTOXSortTabBase::nOpt, and SwTOXSortTabBase::nPos.
|
overridevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 316 of file txmsrt.cxx.
References GetLevel(), SwTOXSortTabBase::GetLocale(), SwTOXSortTabBase::GetOptions(), SwTOXSortTabBase::GetText(), SwTOXInternational::IsEqual(), nKeyLevel, SwTOXSortTabBase::nPos, SwTOXSortTabBase::pTextMark, SwTOXSortTabBase::pTOXIntl, and SameEntry.
|
overridevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 398 of file txmsrt.cxx.
References SwTOXSortTabBase::aTOXSources, SwTextAttr::End(), ExpandFootnote, SwTOXSortTabBase::GetOptions(), SwTextAttr::GetStart(), SwTOXSortTabBase::GetText(), SwTextAttr::GetTOXMark(), HideDeletions, InitialCaps, SwTextNode::InsertText(), SwTOXMark::IsAlternativeText(), SwRootFrame::IsHideRedlines(), KeyAsEntry, SwTOXSortTabBase::nOpt, SwTOXSortTabBase::pTextMark, SwTOXSortTabBase::pTOXIntl, TextAndReading::sText, and SwTOXInternational::ToUpper().
|
overridevirtual |
Implements SwTOXSortTabBase.
Definition at line 428 of file txmsrt.cxx.
References FORM_ENTRY, FORM_PRIMARY_KEY, FORM_SECONDARY_KEY, SwTOXSortTabBase::GetOptions(), SwTOXMark::GetPrimaryKey(), SwTOXMark::GetSecondaryKey(), SwTextAttr::GetTOXMark(), KeyAsEntry, and SwTOXSortTabBase::pTextMark.
Referenced by equivalent(), and sort_lt().
|
overrideprivatevirtual |
Implements SwTOXSortTabBase.
Definition at line 362 of file txmsrt.cxx.
References FORM_ENTRY, FORM_PRIMARY_KEY, FORM_SECONDARY_KEY, SwTOXMark::GetPrimaryKey(), SwTOXMark::GetPrimaryKeyReading(), SwTOXMark::GetSecondaryKey(), SwTOXMark::GetSecondaryKeyReading(), SwTOXMark::GetText(), SwTOXMark::GetTextReading(), SwTextAttr::GetTOXMark(), InitialCaps, nKeyLevel, SwTOXSortTabBase::nOpt, SwTOXSortTabBase::pTextMark, SwTOXSortTabBase::pTOXIntl, TextAndReading::sReading, TextAndReading::sText, and SwTOXInternational::ToUpper().
|
overridevirtual |
Reimplemented from SwTOXSortTabBase.
Definition at line 338 of file txmsrt.cxx.
References SwTOXSortTabBase::GetLevel(), GetLevel(), SwTOXSortTabBase::GetLocale(), SwTOXSortTabBase::GetOptions(), SwTOXSortTabBase::GetText(), SwTOXInternational::IsEqual(), SwTOXInternational::IsLess(), SwTOXSortTabBase::nPos, SwTOXSortTabBase::pTextMark, SwTOXSortTabBase::pTOXIntl, and SameEntry.
|
private |
Definition at line 208 of file txmsrt.hxx.
Referenced by equivalent(), and GetText_Impl().