LibreOffice Module sw (master)  1
Public Member Functions | Protected Attributes | Private Attributes | List of all members
SwTOXBase Class Reference

#include <tox.hxx>

Inheritance diagram for SwTOXBase:
[legend]
Collaboration diagram for SwTOXBase:
[legend]

Public Member Functions

 SwTOXBase (const SwTOXType *pTyp, const SwForm &rForm, SwTOXElement nCreaType, const OUString &rTitle)
 
 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 SwTOXTypeGetTOXType () 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 SwFormGetTOXForm () 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)
 
const OUString & GetEntryTypeName () const
 
void SetEntryTypeName (const OUString &sName)
 
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 SfxItemSetGetAttrSet () 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)
 
SwTOXBaseoperator= (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::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
void CheckRegistrationFormat (SwFormat &rOld)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Protected Attributes

OUString maMSTOCExpression
 
bool mbKeepExpression
 

Private Attributes

SwForm m_aForm
 
OUString m_aName
 
OUString m_aTitle
 
OUString m_aBookmarkName
 
OUString m_aEntryTypeName
 
OUString m_sMainEntryCharStyle
 
OUString m_aStyleNames [MAXLEVEL]
 
OUString m_sSequenceName
 
LanguageType m_eLanguage
 
OUString m_sSortAlgorithm
 
union {
   sal_uInt16   nLevel
 
   SwTOIOptions   nOptions
 
m_aData
 
SwTOXElement m_nCreateType
 
SwTOOElements m_nOLEOptions
 
SwCaptionDisplay m_eCaptionDisplay
 
bool m_bProtected: 1
 
bool m_bFromChapter: 1
 
bool m_bFromObjectNames: 1
 
bool m_bLevelFromChapter: 1
 

Additional Inherited Members

- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Detailed Description

Definition at line 431 of file tox.hxx.

Constructor & Destructor Documentation

SwTOXBase::SwTOXBase ( const SwTOXType pTyp,
const SwForm rForm,
SwTOXElement  nCreaType,
const OUString &  rTitle 
)

Definition at line 526 of file tox.cxx.

References m_aData, and NONE.

SwTOXBase::SwTOXBase ( const SwTOXBase rCopy,
SwDoc pDoc = nullptr 
)

Definition at line 545 of file tox.cxx.

References CopyTOXBase().

SwTOXBase::~SwTOXBase ( )
overridevirtual

Definition at line 615 of file tox.cxx.

Member Function Documentation

void SwTOXBase::AdjustTabStops ( SwDoc const &  rDoc)
inline

Definition at line 569 of file tox.hxx.

References SwForm::AdjustTabStops().

void SwTOXBase::CopyTOXBase ( SwDoc pDoc,
const SwTOXBase rSource 
)
void SwTOXBase::DisableKeepExpression ( )
inline

Definition at line 495 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::EnableKeepExpression ( )
inline

Definition at line 494 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

const SfxItemSet * SwTOXBase::GetAttrSet ( ) const

Definition at line 2036 of file doctxm.cxx.

References SwFormat::GetAttrSet(), and SwSection::GetFormat().

Referenced by SwTextShell::ExecIdx(), and operator=().

const OUString & SwTOXBase::GetBookmarkName ( ) const
inline

Definition at line 725 of file tox.hxx.

References m_aBookmarkName.

SwCaptionDisplay SwTOXBase::GetCaptionDisplay ( ) const
inline
SwTOXElement SwTOXBase::GetCreateType ( ) const
inline
const OUString & SwTOXBase::GetEntryTypeName ( ) const
inline

Definition at line 728 of file tox.hxx.

References m_aEntryTypeName.

LanguageType SwTOXBase::GetLanguage ( ) const
inline
sal_uInt16 SwTOXBase::GetLevel ( ) const
inline
const OUString& SwTOXBase::GetMainEntryCharStyle ( ) const
inline
const OUString& SwTOXBase::GetMSTOCExpression ( ) const
inline

Definition at line 492 of file tox.hxx.

SwTOOElements SwTOXBase::GetOLEOptions ( ) const
inline
SwTOIOptions SwTOXBase::GetOptions ( ) const
inline
const OUString& SwTOXBase::GetSequenceName ( ) const
inline
const OUString& SwTOXBase::GetSortAlgorithm ( ) const
inline
OUString const& SwTOXBase::GetStyleNames ( sal_uInt16  nLevel) const
inline
const OUString & SwTOXBase::GetTitle ( ) const
inline
const SwForm & SwTOXBase::GetTOXForm ( ) const
inline
const OUString& SwTOXBase::GetTOXName ( ) const
inline
const SwTOXType * SwTOXBase::GetTOXType ( ) const
inline
TOXTypes SwTOXBase::GetType ( ) const
inline
OUString const & SwTOXBase::GetTypeName ( ) const
inline

Definition at line 731 of file tox.hxx.

References GetTOXType(), and SwTOXType::GetTypeName().

bool SwTOXBase::IsFromChapter ( ) const
inline
bool SwTOXBase::IsFromObjectNames ( ) const
inline
bool SwTOXBase::IsLevelFromChapter ( ) const
inline
bool SwTOXBase::IsProtected ( ) const
inline
bool SwTOXBase::IsTOXBaseInReadonly ( ) const
virtual bool SwTOXBase::IsVisible ( ) const
inlinevirtual

Reimplemented in SwTOXBaseSection.

Definition at line 576 of file tox.hxx.

Referenced by SwContentType::FillMemberList().

SwTOXBase & SwTOXBase::operator= ( const SwTOXBase rSource)
void SwTOXBase::RegisterToTOXType ( SwTOXType rMark)

Definition at line 552 of file tox.cxx.

References SwModify::Add().

Referenced by lcl_ReAssignTOXType(), and lcl_toxMatchACSwitch().

void SwTOXBase::SetAttrSet ( const SfxItemSet rSet)

Definition at line 2044 of file doctxm.cxx.

References SwSection::GetFormat(), and SwFormat::SetFormatAttr().

Referenced by operator=().

void SwTOXBase::SetBookmarkName ( const OUString &  bName)

Definition at line 624 of file tox.cxx.

References m_aBookmarkName.

void SwTOXBase::SetCaptionDisplay ( SwCaptionDisplay  eSet)
inline
void SwTOXBase::SetCreate ( SwTOXElement  nCreate)
inline

Definition at line 737 of file tox.hxx.

References m_nCreateType.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetEntryTypeName ( const OUString &  sName)

Definition at line 629 of file tox.cxx.

References m_aEntryTypeName.

void SwTOXBase::SetFromChapter ( bool  bSet)
inline

Definition at line 541 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetFromObjectNames ( bool  bSet)
inline

Definition at line 544 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetLanguage ( LanguageType  nLang)
inline

Definition at line 564 of file tox.hxx.

References nLang.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetLevel ( sal_uInt16  nLev)
inline
void SwTOXBase::SetLevelFromChapter ( bool  bSet)
inline

Definition at line 547 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetMainEntryCharStyle ( const OUString &  rSet)
inline

Definition at line 510 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetMSTOCExpression ( const OUString &  rExp)
inline

Definition at line 493 of file tox.hxx.

void SwTOXBase::SetOLEOptions ( SwTOOElements  nOpt)
inline

Definition at line 526 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetOptions ( SwTOIOptions  nOpt)
inline

Definition at line 764 of file tox.hxx.

References GetTOXType(), GetType(), m_aData, SAL_WARN_IF, and TOX_INDEX.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetProtected ( bool  bSet)
inline

Definition at line 550 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetSequenceName ( const OUString &  rSet)
inline
void SwTOXBase::SetSortAlgorithm ( const OUString &  rSet)
inline

Definition at line 567 of file tox.hxx.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetStyleNames ( const OUString &  rSet,
sal_uInt16  nLevel 
)
inline

Definition at line 535 of file tox.hxx.

References MAXLEVEL, and SAL_WARN_IF.

Referenced by SwTOXDescription::ApplyTo(), lcl_toxMatchTSwitch(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetTitle ( const OUString &  rTitle)

Definition at line 621 of file tox.cxx.

References m_aTitle.

Referenced by SwTOXDescription::ApplyTo(), and SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetTOXForm ( const SwForm rForm)
inline

Definition at line 740 of file tox.hxx.

References m_aForm.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::SetTOXName ( const OUString &  rSet)
inline

Definition at line 489 of file tox.hxx.

Referenced by SwDoc::InsertTableOf(), and SwDoc::SetTOXBaseName().

virtual void SwTOXBase::SwClientNotify ( const SwModify rMod,
const SfxHint rHint 
)
inlineoverridevirtual

Reimplemented from SwClient.

Reimplemented in SwTOXBaseSection.

Definition at line 473 of file tox.hxx.

References SwClient::GetRegisteredIn(), SwModify::Remove(), and SwClient::SwClientNotify().

Referenced by SwTOXBaseSection::SwClientNotify().

Member Data Documentation

OUString SwTOXBase::m_aBookmarkName
private

Definition at line 436 of file tox.hxx.

Referenced by CopyTOXBase(), GetBookmarkName(), operator=(), and SetBookmarkName().

union { ... } SwTOXBase::m_aData
OUString SwTOXBase::m_aEntryTypeName
private

Definition at line 437 of file tox.hxx.

Referenced by CopyTOXBase(), GetEntryTypeName(), operator=(), and SetEntryTypeName().

SwForm SwTOXBase::m_aForm
private

Definition at line 433 of file tox.hxx.

Referenced by CopyTOXBase(), GetTOXForm(), operator=(), and SetTOXForm().

OUString SwTOXBase::m_aName
private

Definition at line 434 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::m_aStyleNames[MAXLEVEL]
private

Definition at line 441 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::m_aTitle
private

Definition at line 435 of file tox.hxx.

Referenced by CopyTOXBase(), GetTitle(), operator=(), and SetTitle().

bool SwTOXBase::m_bFromChapter
private

Definition at line 456 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

bool SwTOXBase::m_bFromObjectNames
private

Definition at line 457 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

bool SwTOXBase::m_bLevelFromChapter
private

Definition at line 459 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

bool SwTOXBase::m_bProtected
private

Definition at line 455 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

SwCaptionDisplay SwTOXBase::m_eCaptionDisplay
private

Definition at line 454 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

LanguageType SwTOXBase::m_eLanguage
private

Definition at line 444 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

SwTOXElement SwTOXBase::m_nCreateType
private

Definition at line 452 of file tox.hxx.

Referenced by CopyTOXBase(), GetCreateType(), operator=(), and SetCreate().

SwTOOElements SwTOXBase::m_nOLEOptions
private

Definition at line 453 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::m_sMainEntryCharStyle
private

Definition at line 439 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::m_sSequenceName
private

Definition at line 442 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::m_sSortAlgorithm
private

Definition at line 445 of file tox.hxx.

Referenced by CopyTOXBase(), and operator=().

OUString SwTOXBase::maMSTOCExpression
protected

Definition at line 464 of file tox.hxx.

Referenced by CopyTOXBase(), and SwTOXBaseSection::Update().

bool SwTOXBase::mbKeepExpression
protected

Definition at line 465 of file tox.hxx.

Referenced by SwTOXBaseSection::Update().

sal_uInt16 SwTOXBase::nLevel
SwTOIOptions SwTOXBase::nOptions

Definition at line 449 of file tox.hxx.

Referenced by CopyTOXBase().


The documentation for this class was generated from the following files: