LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdUnoPageBackground Class Referencefinal

#include <unopback.hxx>

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

Public Member Functions

 SdUnoPageBackground (SdDrawDocument *pDoc=nullptr, const SfxItemSet *pSet=nullptr)
 
virtual ~SdUnoPageBackground () noexcept override
 
void fillItemSet (SdDrawDocument *pDoc, SfxItemSet &rSet)
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual css::beans::PropertyState SAL_CALL getPropertyState (const OUString &PropertyName) override
 
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override
 
virtual void SAL_CALL setPropertyToDefault (const OUString &PropertyName) override
 
virtual css::uno::Any SAL_CALL getPropertyDefault (const OUString &aPropertyName) 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
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

const SfxItemPropertyMapEntrygetPropertyMapEntry (std::u16string_view rPropertyName) const noexcept
 this is used because our property map is not sorted yet More...
 

Private Attributes

const SvxItemPropertySetmpPropSet
 
SvxItemPropertySetUsrAnys maUsrAnys
 
std::unique_ptr< SfxItemSetmpSet
 
SdrModelmpDoc
 

Detailed Description

Definition at line 43 of file unopback.hxx.

Constructor & Destructor Documentation

◆ SdUnoPageBackground()

SdUnoPageBackground::SdUnoPageBackground ( SdDrawDocument pDoc = nullptr,
const SfxItemSet pSet = nullptr 
)

Definition at line 48 of file unopback.cxx.

References SdDrawDocument::GetPool(), mpSet, and SfxListener::StartListening().

◆ ~SdUnoPageBackground()

SdUnoPageBackground::~SdUnoPageBackground ( )
overridevirtualnoexcept

Definition at line 64 of file unopback.cxx.

References SfxListener::EndListening(), and mpDoc.

Member Function Documentation

◆ addPropertyChangeListener()

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

Definition at line 289 of file unopback.cxx.

◆ addVetoableChangeListener()

void SAL_CALL SdUnoPageBackground::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 291 of file unopback.cxx.

◆ fillItemSet()

void SdUnoPageBackground::fillItemSet ( SdDrawDocument pDoc,
SfxItemSet rSet 
)

◆ getImplementationName()

OUString SAL_CALL SdUnoPageBackground::getImplementationName ( )
overridevirtual

Definition at line 164 of file unopback.cxx.

◆ getPropertyDefault()

uno::Any SAL_CALL SdUnoPageBackground::getPropertyDefault ( const OUString &  aPropertyName)
overridevirtual

◆ getPropertyMapEntry()

const SfxItemPropertyMapEntry * SdUnoPageBackground::getPropertyMapEntry ( std::u16string_view  rPropertyName) const
privatenoexcept

this is used because our property map is not sorted yet

Definition at line 402 of file unopback.cxx.

Referenced by getPropertyDefault(), getPropertyState(), getPropertyValue(), setPropertyToDefault(), and setPropertyValue().

◆ getPropertySetInfo()

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

Definition at line 180 of file unopback.cxx.

References SvxItemPropertySet::getPropertySetInfo(), and mpPropSet.

◆ getPropertyState()

beans::PropertyState SAL_CALL SdUnoPageBackground::getPropertyState ( const OUString &  PropertyName)
overridevirtual

◆ getPropertyStates()

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

Definition at line 340 of file unopback.cxx.

References nCount.

◆ getPropertyValue()

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

◆ getSupportedServiceNames()

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

Definition at line 174 of file unopback.cxx.

References sUNO_Service_FillProperties, and sUNO_Service_PageBackground.

◆ Notify()

void SdUnoPageBackground::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overridevirtual

Reimplemented from SfxListener.

Definition at line 72 of file unopback.cxx.

References SfxHint::GetId(), SdrHint::GetKind(), mpDoc, and mpSet.

◆ removePropertyChangeListener()

void SAL_CALL SdUnoPageBackground::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual

Definition at line 290 of file unopback.cxx.

◆ removeVetoableChangeListener()

void SAL_CALL SdUnoPageBackground::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual

Definition at line 292 of file unopback.cxx.

◆ setPropertyToDefault()

void SAL_CALL SdUnoPageBackground::setPropertyToDefault ( const OUString &  PropertyName)
overridevirtual

◆ setPropertyValue()

void SAL_CALL SdUnoPageBackground::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

◆ supportsService()

sal_Bool SAL_CALL SdUnoPageBackground::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 169 of file unopback.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maUsrAnys

SvxItemPropertySetUsrAnys SdUnoPageBackground::maUsrAnys
private

Definition at line 50 of file unopback.hxx.

Referenced by fillItemSet(), getPropertyState(), getPropertyValue(), and setPropertyValue().

◆ mpDoc

SdrModel* SdUnoPageBackground::mpDoc
private

Definition at line 52 of file unopback.hxx.

Referenced by fillItemSet(), Notify(), and ~SdUnoPageBackground().

◆ mpPropSet

const SvxItemPropertySet* SdUnoPageBackground::mpPropSet
private

Definition at line 49 of file unopback.hxx.

Referenced by fillItemSet(), getPropertySetInfo(), and getPropertyValue().

◆ mpSet

std::unique_ptr<SfxItemSet> SdUnoPageBackground::mpSet
private

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