LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sw::XStyleFamily Class Reference
Inheritance diagram for sw::XStyleFamily:
[legend]
Collaboration diagram for sw::XStyleFamily:
[legend]

Public Member Functions

 XStyleFamily (SwDocShell *pDocShell, const SfxStyleFamily eFamily)
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual uno::Any SAL_CALL getByIndex (sal_Int32 nIndex) override
 
virtual uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual uno::Any SAL_CALL getByName (const OUString &Name) override
 
virtual uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &Name) override
 
virtual void SAL_CALL insertByName (const OUString &Name, const uno::Any &Element) override
 
virtual void SAL_CALL replaceByName (const OUString &Name, const uno::Any &Element) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual uno::Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &, const uno::Any &) override
 
virtual uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &, const uno::Reference< beans::XPropertyChangeListener > &) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &, const uno::Reference< beans::XPropertyChangeListener > &) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &, const uno::Reference< beans::XVetoableChangeListener > &) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &, const uno::Reference< beans::XVetoableChangeListener > &) override
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &rServiceName) override
 
virtual uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

Private Member Functions

SwXStyleFindStyle (const OUString &rStyleName) const
 
sal_Int32 GetCountOrName (OUString *pString, sal_Int32 nIndex=SAL_MAX_INT32)
 

Static Private Member Functions

static const StyleFamilyEntry & InitEntry (SfxStyleFamily eFamily)
 

Private Attributes

const StyleFamilyEntry & m_rEntry
 
SfxStyleSheetBasePoolm_pBasePool
 
SwDocShellm_pDocShell
 

Detailed Description

Definition at line 177 of file unostyle.cxx.

Constructor & Destructor Documentation

sw::XStyleFamily::XStyleFamily ( SwDocShell pDocShell,
const SfxStyleFamily  eFamily 
)
inline

Definition at line 202 of file unostyle.cxx.

References SfxListener::StartListening().

Member Function Documentation

virtual void SAL_CALL sw::XStyleFamily::addPropertyChangeListener ( const OUString &  ,
const uno::Reference< beans::XPropertyChangeListener > &   
)
inlineoverridevirtual

Definition at line 245 of file unostyle.cxx.

References SAL_WARN.

virtual void SAL_CALL sw::XStyleFamily::addVetoableChangeListener ( const OUString &  ,
const uno::Reference< beans::XVetoableChangeListener > &   
)
inlineoverridevirtual

Definition at line 249 of file unostyle.cxx.

References SAL_WARN.

SwXStyle * XStyleFamily::FindStyle ( const OUString &  rStyleName) const
private
uno::Any XStyleFamily::getByIndex ( sal_Int32  nIndex)
overridevirtual
uno::Any XStyleFamily::getByName ( const OUString &  Name)
overridevirtual
virtual sal_Int32 SAL_CALL sw::XStyleFamily::getCount ( )
inlineoverridevirtual

Definition at line 212 of file unostyle.cxx.

References GetCountOrName().

sal_Int32 sw::XStyleFamily::GetCountOrName ( OUString *  pString,
sal_Int32  nIndex = SAL_MAX_INT32 
)
inlineprivate

Definition at line 191 of file unostyle.cxx.

References SwDocShell::GetDoc().

Referenced by getByIndex(), and getCount().

uno::Sequence< OUString > XStyleFamily::getElementNames ( )
overridevirtual
virtual uno::Type SAL_CALL sw::XStyleFamily::getElementType ( )
inlineoverridevirtual

Definition at line 220 of file unostyle.cxx.

References cppu::UnoType< class >::get().

virtual OUString SAL_CALL sw::XStyleFamily::getImplementationName ( )
inlineoverridevirtual

Definition at line 266 of file unostyle.cxx.

virtual uno::Reference< beans::XPropertySetInfo > SAL_CALL sw::XStyleFamily::getPropertySetInfo ( )
inlineoverridevirtual

Definition at line 240 of file unostyle.cxx.

uno::Any SAL_CALL XStyleFamily::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 1056 of file unostyle.cxx.

References m_rEntry, and SwResId().

virtual uno::Sequence< OUString > SAL_CALL sw::XStyleFamily::getSupportedServiceNames ( )
inlineoverridevirtual

Definition at line 270 of file unostyle.cxx.

sal_Bool XStyleFamily::hasByName ( const OUString &  Name)
overridevirtual
virtual sal_Bool SAL_CALL sw::XStyleFamily::hasElements ( )
inlineoverridevirtual

Definition at line 222 of file unostyle.cxx.

static const StyleFamilyEntry& sw::XStyleFamily::InitEntry ( SfxStyleFamily  eFamily)
inlinestaticprivate

Definition at line 193 of file unostyle.cxx.

References lcl_GetStyleFamilyEntries().

void XStyleFamily::insertByName ( const OUString &  Name,
const uno::Any Element 
)
overridevirtual
virtual void sw::XStyleFamily::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
inlineoverridevirtual

Reimplemented from SfxListener.

Definition at line 255 of file unostyle.cxx.

References SfxListener::EndListening(), and SfxHint::GetId().

void XStyleFamily::removeByName ( const OUString &  Name)
overridevirtual
virtual void SAL_CALL sw::XStyleFamily::removePropertyChangeListener ( const OUString &  ,
const uno::Reference< beans::XPropertyChangeListener > &   
)
inlineoverridevirtual

Definition at line 247 of file unostyle.cxx.

References SAL_WARN.

virtual void SAL_CALL sw::XStyleFamily::removeVetoableChangeListener ( const OUString &  ,
const uno::Reference< beans::XVetoableChangeListener > &   
)
inlineoverridevirtual

Definition at line 251 of file unostyle.cxx.

References SAL_WARN.

void XStyleFamily::replaceByName ( const OUString &  Name,
const uno::Any Element 
)
overridevirtual
virtual void SAL_CALL sw::XStyleFamily::setPropertyValue ( const OUString &  ,
const uno::Any  
)
inlineoverridevirtual

Definition at line 242 of file unostyle.cxx.

References SAL_WARN.

virtual sal_Bool SAL_CALL sw::XStyleFamily::supportsService ( const OUString &  rServiceName)
inlineoverridevirtual

Definition at line 268 of file unostyle.cxx.

References cppu::supportsService().

Member Data Documentation

SfxStyleSheetBasePool* sw::XStyleFamily::m_pBasePool
private
SwDocShell* sw::XStyleFamily::m_pDocShell
private

Definition at line 188 of file unostyle.cxx.

Referenced by getByName(), insertByName(), removeByName(), and replaceByName().

const StyleFamilyEntry& sw::XStyleFamily::m_rEntry
private

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