LibreOffice Module sw (master) 1
Classes | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwXTextSection Class Referencefinal

#include <unosection.hxx>

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

Classes

class  Impl
 

Public Member Functions

SwSectionFormatGetFormat () const
 
virtual ::sfx2::Metadatable * GetCoreObject () override
 
virtual css::uno::Reference< css::frame::XModel > GetModel () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &rPropertyName, const css::uno::Any &rValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &rPropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &rPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &xListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &rPropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &rPropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &rPropertyName) override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Sequence< css::uno::Any > &rValues) override
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< OUString > &rPropertyNames) override
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< OUString > &rPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) override
 
virtual void SAL_CALL attach (const css::uno::Reference< css::text::XTextRange > &xTextRange) override
 
virtual css::uno::Reference< css::text::XTextRange > SAL_CALL getAnchor () override
 
virtual css::uno::Reference< css::text::XTextSection > SAL_CALL getParentSection () override
 
virtual css::uno::Sequence< css::uno::Reference< css::text::XTextSection > > SAL_CALL getChildSections () override
 

Static Public Member Functions

static rtl::Reference< SwXTextSectionCreateXTextSection (SwSectionFormat *const pFormat, const bool bIndexHeader=false)
 

Private Member Functions

 SwXTextSection (SwSectionFormat *const pFormat, const bool bIndexHeader)
 
virtual ~SwXTextSection () override
 

Private Attributes

::sw::UnoImplPtr< Implm_pImpl
 

Detailed Description

Definition at line 48 of file unosection.hxx.

Constructor & Destructor Documentation

◆ SwXTextSection()

SwXTextSection::SwXTextSection ( SwSectionFormat *const  pFormat,
const bool  bIndexHeader 
)
private

Definition at line 218 of file unosect.cxx.

Referenced by CreateXTextSection().

◆ ~SwXTextSection()

SwXTextSection::~SwXTextSection ( )
overrideprivatevirtual

Definition at line 224 of file unosect.cxx.

Member Function Documentation

◆ addEventListener()

void SAL_CALL SwXTextSection::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 479 of file unosect.cxx.

References m_pImpl.

◆ addPropertiesChangeListener()

void SAL_CALL SwXTextSection::addPropertiesChangeListener ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 1283 of file unosect.cxx.

◆ addPropertyChangeListener()

void SAL_CALL SwXTextSection::addPropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 1304 of file unosect.cxx.

◆ addVetoableChangeListener()

void SAL_CALL SwXTextSection::addVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 1320 of file unosect.cxx.

◆ attach()

void SAL_CALL SwXTextSection::attach ( const css::uno::Reference< css::text::XTextRange > &  xTextRange)
overridevirtual

◆ CreateXTextSection()

rtl::Reference< SwXTextSection > SwXTextSection::CreateXTextSection ( SwSectionFormat *const  pFormat,
const bool  bIndexHeader = false 
)
static

◆ dispose()

void SAL_CALL SwXTextSection::dispose ( void  )
overridevirtual

Definition at line 468 of file unosect.cxx.

References SwDoc::DelSectionFormat(), SwFormat::GetDoc(), and m_pImpl.

◆ firePropertiesChangeEvent()

void SAL_CALL SwXTextSection::firePropertiesChangeEvent ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener 
)
overridevirtual

Definition at line 1296 of file unosect.cxx.

◆ getAnchor()

uno::Reference< text::XTextRange > SAL_CALL SwXTextSection::getAnchor ( )
overridevirtual

◆ getChildSections()

uno::Sequence< uno::Reference< text::XTextSection > > SAL_CALL SwXTextSection::getChildSections ( )
overridevirtual

Definition at line 242 of file unosect.cxx.

References aSeq, CreateXTextSection(), SwSectionFormat::GetChildSections(), i, m_pImpl, and Not.

◆ GetCoreObject()

sfx2::Metadatable * SwXTextSection::GetCoreObject ( )
override

Definition at line 1712 of file unosect.cxx.

References m_pImpl.

◆ GetFormat()

SwSectionFormat * SwXTextSection::GetFormat ( ) const

◆ getImplementationName()

OUString SAL_CALL SwXTextSection::getImplementationName ( )
overridevirtual

Definition at line 1691 of file unosect.cxx.

◆ GetModel()

uno::Reference< frame::XModel > SwXTextSection::GetModel ( )
overridevirtual

◆ getName()

OUString SAL_CALL SwXTextSection::getName ( )
overridevirtual

Definition at line 1622 of file unosect.cxx.

References SwSectionFormat::GetSection(), SwSection::GetSectionName(), and m_pImpl.

◆ getParentSection()

uno::Reference< text::XTextSection > SAL_CALL SwXTextSection::getParentSection ( )
overridevirtual

Definition at line 229 of file unosect.cxx.

References CreateXTextSection(), SwSectionFormat::GetParent(), and m_pImpl.

◆ getPropertyDefault()

uno::Any SAL_CALL SwXTextSection::getPropertyDefault ( const OUString &  rPropertyName)
overridevirtual

◆ getPropertySetInfo()

uno::Reference< beans::XPropertySetInfo > SAL_CALL SwXTextSection::getPropertySetInfo ( )
overridevirtual

Definition at line 496 of file unosect.cxx.

References m_pImpl.

◆ getPropertyState()

beans::PropertyState SAL_CALL SwXTextSection::getPropertyState ( const OUString &  rPropertyName)
overridevirtual

Definition at line 1336 of file unosect.cxx.

References getPropertyStates().

◆ getPropertyStates()

uno::Sequence< beans::PropertyState > SAL_CALL SwXTextSection::getPropertyStates ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

◆ getPropertyValue()

uno::Any SAL_CALL SwXTextSection::getPropertyValue ( const OUString &  rPropertyName)
overridevirtual

Definition at line 1275 of file unosect.cxx.

References m_pImpl.

◆ getPropertyValues()

uno::Sequence< uno::Any > SAL_CALL SwXTextSection::getPropertyValues ( const css::uno::Sequence< OUString > &  rPropertyNames)
overridevirtual

Definition at line 1247 of file unosect.cxx.

References cppu::getCaughtException(), and m_pImpl.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL SwXTextSection::getSupportedServiceNames ( )
overridevirtual

Definition at line 1702 of file unosect.cxx.

◆ removeEventListener()

void SAL_CALL SwXTextSection::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  xListener)
overridevirtual

Definition at line 487 of file unosect.cxx.

References m_pImpl.

◆ removePropertiesChangeListener()

void SAL_CALL SwXTextSection::removePropertiesChangeListener ( const css::uno::Reference< css::beans::XPropertiesChangeListener > &  xListener)
overridevirtual

Definition at line 1290 of file unosect.cxx.

◆ removePropertyChangeListener()

void SAL_CALL SwXTextSection::removePropertyChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual

Definition at line 1312 of file unosect.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL SwXTextSection::removeVetoableChangeListener ( const OUString &  rPropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  xListener 
)
overridevirtual

Definition at line 1328 of file unosect.cxx.

◆ setName()

void SAL_CALL SwXTextSection::setName ( const OUString &  rName)
overridevirtual

◆ setPropertyToDefault()

void SAL_CALL SwXTextSection::setPropertyToDefault ( const OUString &  rPropertyName)
overridevirtual

◆ setPropertyValue()

void SwXTextSection::setPropertyValue ( const OUString &  rPropertyName,
const css::uno::Any &  rValue 
)
overridevirtual

Definition at line 933 of file unosect.cxx.

References m_pImpl.

◆ setPropertyValues()

void SAL_CALL SwXTextSection::setPropertyValues ( const css::uno::Sequence< OUString > &  rPropertyNames,
const css::uno::Sequence< css::uno::Any > &  rValues 
)
overridevirtual

Definition at line 912 of file unosect.cxx.

References m_pImpl.

◆ supportsService()

sal_Bool SAL_CALL SwXTextSection::supportsService ( const OUString &  rServiceName)
overridevirtual

Definition at line 1696 of file unosect.cxx.

References cppu::supportsService().

Member Data Documentation

◆ m_pImpl

::sw::UnoImplPtr<Impl> SwXTextSection::m_pImpl
private

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