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
 
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
 
virtual void Modify (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
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 414 of file tox.hxx.

Constructor & Destructor Documentation

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

Definition at line 501 of file tox.cxx.

References m_aData, and NONE.

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

Definition at line 520 of file tox.cxx.

References CopyTOXBase().

SwTOXBase::~SwTOXBase ( )
overridevirtual

Definition at line 590 of file tox.cxx.

Member Function Documentation

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

Definition at line 545 of file tox.hxx.

References SwForm::AdjustTabStops().

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

Definition at line 471 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::EnableKeepExpression ( )
inline

Definition at line 470 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

const SfxItemSet * SwTOXBase::GetAttrSet ( ) const

Definition at line 2068 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 701 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 704 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 468 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 707 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 552 of file tox.hxx.

Referenced by SwContentType::FillMemberList().

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

Definition at line 527 of file tox.cxx.

References SwModify::Add().

Referenced by lcl_ReAssignTOXType(), and lcl_toxMatchACSwitch().

void SwTOXBase::SetAttrSet ( const SfxItemSet rSet)

Definition at line 2076 of file doctxm.cxx.

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

Referenced by operator=().

void SwTOXBase::SetBookmarkName ( const OUString &  bName)

Definition at line 599 of file tox.cxx.

References m_aBookmarkName.

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

Definition at line 713 of file tox.hxx.

References m_nCreateType.

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

void SwTOXBase::SetEntryTypeName ( const OUString &  sName)

Definition at line 604 of file tox.cxx.

References m_aEntryTypeName.

void SwTOXBase::SetFromChapter ( bool  bSet)
inline

Definition at line 517 of file tox.hxx.

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

void SwTOXBase::SetFromObjectNames ( bool  bSet)
inline

Definition at line 520 of file tox.hxx.

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

void SwTOXBase::SetLanguage ( LanguageType  nLang)
inline

Definition at line 540 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 523 of file tox.hxx.

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

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

Definition at line 486 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

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

Definition at line 469 of file tox.hxx.

void SwTOXBase::SetOLEOptions ( SwTOOElements  nOpt)
inline

Definition at line 502 of file tox.hxx.

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

void SwTOXBase::SetOptions ( SwTOIOptions  nOpt)
inline

Definition at line 740 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 526 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 543 of file tox.hxx.

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

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

Definition at line 511 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 596 of file tox.cxx.

References m_aTitle.

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

void SwTOXBase::SetTOXForm ( const SwForm rForm)
inline

Definition at line 716 of file tox.hxx.

References m_aForm.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

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

Definition at line 465 of file tox.hxx.

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

Member Data Documentation

OUString SwTOXBase::m_aBookmarkName
private

Definition at line 419 of file tox.hxx.

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

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

Definition at line 420 of file tox.hxx.

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

SwForm SwTOXBase::m_aForm
private

Definition at line 416 of file tox.hxx.

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

OUString SwTOXBase::m_aName
private

Definition at line 417 of file tox.hxx.

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

OUString SwTOXBase::m_aStyleNames[MAXLEVEL]
private

Definition at line 424 of file tox.hxx.

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

OUString SwTOXBase::m_aTitle
private

Definition at line 418 of file tox.hxx.

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

bool SwTOXBase::m_bFromChapter
private

Definition at line 439 of file tox.hxx.

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

bool SwTOXBase::m_bFromObjectNames
private

Definition at line 440 of file tox.hxx.

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

bool SwTOXBase::m_bLevelFromChapter
private

Definition at line 442 of file tox.hxx.

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

bool SwTOXBase::m_bProtected
private

Definition at line 438 of file tox.hxx.

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

SwCaptionDisplay SwTOXBase::m_eCaptionDisplay
private

Definition at line 437 of file tox.hxx.

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

LanguageType SwTOXBase::m_eLanguage
private

Definition at line 427 of file tox.hxx.

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

SwTOXElement SwTOXBase::m_nCreateType
private

Definition at line 435 of file tox.hxx.

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

SwTOOElements SwTOXBase::m_nOLEOptions
private

Definition at line 436 of file tox.hxx.

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

OUString SwTOXBase::m_sMainEntryCharStyle
private

Definition at line 422 of file tox.hxx.

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

OUString SwTOXBase::m_sSequenceName
private

Definition at line 425 of file tox.hxx.

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

OUString SwTOXBase::m_sSortAlgorithm
private

Definition at line 428 of file tox.hxx.

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

OUString SwTOXBase::maMSTOCExpression
protected

Definition at line 447 of file tox.hxx.

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

bool SwTOXBase::mbKeepExpression
protected

Definition at line 448 of file tox.hxx.

Referenced by SwTOXBaseSection::Update().

sal_uInt16 SwTOXBase::nLevel
SwTOIOptions SwTOXBase::nOptions

Definition at line 432 of file tox.hxx.

Referenced by CopyTOXBase().


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