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 bool GetInfo (SfxPoolItem &rInfo) const 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)
 
- 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 &)
 
- 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 389 of file tox.hxx.

Constructor & Destructor Documentation

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

Definition at line 513 of file tox.cxx.

References m_aData, and NONE.

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

Definition at line 532 of file tox.cxx.

References CopyTOXBase().

SwTOXBase::~SwTOXBase ( )
overridevirtual

Definition at line 602 of file tox.cxx.

Member Function Documentation

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

Definition at line 522 of file tox.hxx.

References SwForm::AdjustTabStops().

Referenced by SwWW8ImplReader::Read_F_Tox().

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

Definition at line 448 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

void SwTOXBase::EnableKeepExpression ( )
inline

Definition at line 447 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

const SfxItemSet * SwTOXBase::GetAttrSet ( ) const

Definition at line 2045 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 677 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 680 of file tox.hxx.

References m_aEntryTypeName.

bool SwTOXBase::GetInfo ( SfxPoolItem rInfo) const
overridevirtual
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 445 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 683 of file tox.hxx.

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

Referenced by SwCompareLine::CompareNode(), and SwCompareLine::GetText().

bool SwTOXBase::IsFromChapter ( ) const
inline
bool SwTOXBase::IsFromObjectNames ( ) const
inline
bool SwTOXBase::IsLevelFromChapter ( ) const
inline
bool SwTOXBase::IsProtected ( ) const
inline
bool SwTOXBase::IsTOXBaseInReadonly ( ) const
SwTOXBase & SwTOXBase::operator= ( const SwTOXBase rSource)
void SwTOXBase::RegisterToTOXType ( SwTOXType rMark)

Definition at line 539 of file tox.cxx.

References SwModify::Add().

Referenced by lcl_ReAssignTOXType(), and lcl_toxMatchACSwitch().

void SwTOXBase::SetAttrSet ( const SfxItemSet rSet)

Definition at line 2053 of file doctxm.cxx.

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

Referenced by operator=().

void SwTOXBase::SetBookmarkName ( const OUString &  bName)

Definition at line 611 of file tox.cxx.

References m_aBookmarkName.

void SwTOXBase::SetCaptionDisplay ( SwCaptionDisplay  eSet)
inline
void SwTOXBase::SetCreate ( SwTOXElement  nCreate)
inline
void SwTOXBase::SetEntryTypeName ( const OUString &  sName)

Definition at line 616 of file tox.cxx.

References m_aEntryTypeName.

void SwTOXBase::SetFromChapter ( bool  bSet)
inline

Definition at line 494 of file tox.hxx.

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

void SwTOXBase::SetFromObjectNames ( bool  bSet)
inline

Definition at line 497 of file tox.hxx.

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

void SwTOXBase::SetLanguage ( LanguageType  nLang)
inline

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

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

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

Definition at line 463 of file tox.hxx.

Referenced by SwTOXMgr::UpdateOrInsertTOX().

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

Definition at line 446 of file tox.hxx.

void SwTOXBase::SetOLEOptions ( SwTOOElements  nOpt)
inline

Definition at line 479 of file tox.hxx.

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

void SwTOXBase::SetOptions ( SwTOIOptions  nOpt)
inline
void SwTOXBase::SetProtected ( bool  bSet)
inline
void SwTOXBase::SetSequenceName ( const OUString &  rSet)
inline
void SwTOXBase::SetSortAlgorithm ( const OUString &  rSet)
inline

Definition at line 520 of file tox.hxx.

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

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

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

References m_aTitle.

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

void SwTOXBase::SetTOXForm ( const SwForm rForm)
inline

Definition at line 692 of file tox.hxx.

References m_aForm.

Referenced by SwWW8ImplReader::Read_F_Tox(), and SwTOXMgr::UpdateOrInsertTOX().

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

Definition at line 442 of file tox.hxx.

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

Member Data Documentation

OUString SwTOXBase::m_aBookmarkName
private

Definition at line 394 of file tox.hxx.

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

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

Definition at line 395 of file tox.hxx.

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

SwForm SwTOXBase::m_aForm
private

Definition at line 391 of file tox.hxx.

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

OUString SwTOXBase::m_aName
private

Definition at line 392 of file tox.hxx.

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

OUString SwTOXBase::m_aStyleNames[MAXLEVEL]
private

Definition at line 399 of file tox.hxx.

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

OUString SwTOXBase::m_aTitle
private

Definition at line 393 of file tox.hxx.

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

bool SwTOXBase::m_bFromChapter
private

Definition at line 414 of file tox.hxx.

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

bool SwTOXBase::m_bFromObjectNames
private

Definition at line 415 of file tox.hxx.

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

bool SwTOXBase::m_bLevelFromChapter
private

Definition at line 417 of file tox.hxx.

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

bool SwTOXBase::m_bProtected
private

Definition at line 413 of file tox.hxx.

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

SwCaptionDisplay SwTOXBase::m_eCaptionDisplay
private

Definition at line 412 of file tox.hxx.

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

LanguageType SwTOXBase::m_eLanguage
private

Definition at line 402 of file tox.hxx.

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

SwTOXElement SwTOXBase::m_nCreateType
private

Definition at line 410 of file tox.hxx.

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

SwTOOElements SwTOXBase::m_nOLEOptions
private

Definition at line 411 of file tox.hxx.

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

OUString SwTOXBase::m_sMainEntryCharStyle
private

Definition at line 397 of file tox.hxx.

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

OUString SwTOXBase::m_sSequenceName
private

Definition at line 400 of file tox.hxx.

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

OUString SwTOXBase::m_sSortAlgorithm
private

Definition at line 403 of file tox.hxx.

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

OUString SwTOXBase::maMSTOCExpression
protected

Definition at line 422 of file tox.hxx.

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

bool SwTOXBase::mbKeepExpression
protected

Definition at line 423 of file tox.hxx.

Referenced by SwTOXBaseSection::Update().

sal_uInt16 SwTOXBase::nLevel
SwTOIOptions SwTOXBase::nOptions

Definition at line 407 of file tox.hxx.

Referenced by CopyTOXBase().


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