LibreOffice Module forms (master) 1
Public Member Functions | Protected Member Functions | List of all members
frm::OImageButtonModel Class Reference

#include <ImageButton.hxx>

Inheritance diagram for frm::OImageButtonModel:
[legend]
Collaboration diagram for frm::OImageButtonModel:
[legend]

Public Member Functions

 OImageButtonModel (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
 OImageButtonModel (const OImageButtonModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
virtual ~OImageButtonModel () override
 
OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual OUString SAL_CALL getServiceName () override
 
virtual void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream) override
 
virtual void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream) override
 
virtual void describeFixedProperties (css::uno::Sequence< css::beans::Property > &_rProps) const override
 describes the properties provided by this class, or its respective derived class More...
 
- Public Member Functions inherited from frm::OClickableImageBaseModel
 OClickableImageBaseModel (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, const OUString &_rUnoControlModelTypeName, const OUString &_rDefault)
 
 OClickableImageBaseModel (const OClickableImageBaseModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
virtual ~OClickableImageBaseModel () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
::osl::Mutex & getMutex (GuardAccess)
 
ImageProducergetImageProducer (GuardAccess)
 
- Public Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
- Public Member Functions inherited from frm::OControlModel
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual OUString SAL_CALL getImplementationName () override=0
 
virtual OUString SAL_CALL getServiceName () override=0
 
virtual void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream) override
 
virtual void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual css::beans::PropertyState getPropertyStateByHandle (sal_Int32 nHandle) override
 
virtual void setPropertyToDefaultByHandle (sal_Int32 nHandle) override
 
virtual css::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const override
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override=0
 
virtual void SAL_CALL addProperty (const OUString &Name, ::sal_Int16 Attributes, const css::uno::Any &DefaultValue) override
 
virtual void SAL_CALL removeProperty (const OUString &Name) override
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () override
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &aProps) override
 
void lockInstance (LockAccess)
 
oslInterlockedCount unlockInstance (LockAccess)
 
void firePropertyChanges (const std::vector< sal_Int32 > &_rHandles, const std::vector< css::uno::Any > &_rOldValues, const std::vector< css::uno::Any > &_rNewValues, LockAccess)
 
::osl::Mutex & getInstanceMutex ()
 
- Public Member Functions inherited from cppu::OComponentHelper
 OComponentHelper (::osl::Mutex &rMutex)
 
virtual ~OComponentHelper () SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE=0
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual void SAL_CALL dispose () SAL_OVERRIDE
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
virtual void SAL_CALL acquire () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual void SAL_CALL release () SAL_NOEXCEPT SAL_OVERRIDE
 
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL queryAdapter () SAL_OVERRIDE
 
SAL_CALL operator css::uno::Reference< css::uno::XInterface > ()
 
- Public Member Functions inherited from cppu::ImplHelper7< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7 >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () SAL_OVERRIDE
 
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId () SAL_OVERRIDE
 
virtual ::osl::Mutex & getMutex ()=0
 
virtual void describeFixedAndAggregateProperties (css::uno::Sequence< css::beans::Property > &_out_rFixedProperties, css::uno::Sequence< css::beans::Property > &_out_rAggregateProperties) const =0
 
virtual css::uno::Reference< css::beans::XMultiPropertySet > getPropertiesInterface ()=0
 
- Public Member Functions inherited from comphelper::OPropertyChangeListener
 OPropertyChangeListener (::osl::Mutex &_rMutex)
 
virtual ~OPropertyChangeListener ()
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0
 
virtual void _disposing (const css::lang::EventObject &_rSource)
 

Protected Member Functions

virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
- Protected Member Functions inherited from frm::OClickableImageBaseModel
 DECL_LINK (DownloadDoneLink, void *, void)
 
ImageProducerGetImageProducer ()
 
void StartProduction ()
 
void SetURL (const OUString &rURL)
 
void DataAvailable ()
 
css::uno::Sequence< css::uno::Type > _getTypes () override
 
bool isDispatchUrlInternal () const
 
void setDispatchUrlInternal (bool _bDispatch)
 
virtual void SAL_CALL disposing () override
 
virtual css::uno::Reference< css::awt::XImageProducer > SAL_CALL getImageProducer () override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void _propertyChanged (const css::beans::PropertyChangeEvent &) override
 
virtual css::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const override
 
virtual void SAL_CALL addConsumer (const css::uno::Reference< css::awt::XImageConsumer > &xConsumer) override
 
virtual void SAL_CALL removeConsumer (const css::uno::Reference< css::awt::XImageConsumer > &xConsumer) override
 
virtual void SAL_CALL startProduction () override
 
virtual css::uno::Reference< css::form::submission::XSubmission > SAL_CALL getSubmission () override
 
virtual void SAL_CALL setSubmission (const css::uno::Reference< css::form::submission::XSubmission > &_submission) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
void implConstruct ()
 
void implInitializeImageURL ()
 
SfxObjectShellGetObjectShell ()
 
 DECL_LINK (OnImageImportDone, ::Graphic *, void)
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual ::osl::Mutex & getMutex () override
 
- Protected Member Functions inherited from cppu::ImplHelper3< class Ifc1, class Ifc2, class Ifc3 >
 ~ImplHelper3 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from frm::OControlModel
const css::uno::Reference< css::uno::XComponentContext > & getContext () const
 
 OControlModel (const css::uno::Reference< css::uno::XComponentContext > &_rFactory, const OUString &_rUnoControlModelTypeName, const OUString &rDefault=OUString(), const bool _bSetDelegator=true)
 
 OControlModel (const OControlModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rFactory, const bool _bCloneAggregate=true, const bool _bSetDelegator=true)
 
virtual ~OControlModel () override
 
virtual void clonedFrom (const OControlModel *_pOriginal)
 to be called after an OBoundControlModel (a derivee, respectively) has been cloned More...
 
virtual css::uno::Sequence< css::uno::Type > _getTypes ()
 
void readHelpTextCompatibly (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream)
 
void writeHelpTextCompatibly (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream)
 
void doSetDelegator ()
 
void doResetDelegator ()
 
css::uno::Sequence< OUString > getAggregateServiceNames () const
 
virtual void writeAggregate (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream) const
 
virtual void readAggregate (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream)
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual void describeFixedProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 describes the properties provided by this class, or its respective derived class More...
 
virtual ::osl::Mutex & getMutex () override
 
virtual void describeFixedAndAggregateProperties (css::uno::Sequence< css::beans::Property > &_out_rFixedProperties, css::uno::Sequence< css::beans::Property > &_out_rAggregateProperties) const override
 
virtual css::uno::Reference< css::beans::XMultiPropertySet > getPropertiesInterface () override
 
virtual void describeAggregateProperties (css::uno::Sequence< css::beans::Property > &_rAggregateProps) const
 describes the properties of our aggregate More...
 
virtual void SAL_CALL disposing ()
 
- Protected Member Functions inherited from cppu::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from cppu::ImplHelper7< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7 >
 ~ImplHelper7 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from frm::IPropertyBagHelperContext
 ~IPropertyBagHelperContext ()
 
- Protected Member Functions inherited from comphelper::OPropertyChangeListener
void disposeAdapter ()
 

Additional Inherited Members

- Static Public Member Functions inherited from frm::OControlModel
static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
- Static Protected Member Functions inherited from frm::OCloneableAggregation
static css::uno::Reference< css::uno::XAggregation > createAggregateClone (const OCloneableAggregation *_pOriginal)
 
- Protected Attributes inherited from frm::OClickableImageBaseModel
css::form::FormButtonType m_eButtonType
 
OUString m_sTargetURL
 
OUString m_sTargetFrame
 
css::uno::Reference< css::graphic::XGraphicObject > m_xGraphicObject
 
std::unique_ptr< SfxMediumm_pMedium
 
rtl::Reference< ImageProducerm_xProducer
 
bool m_bDispatchUrlInternal
 
bool m_bProdStarted: 1
 
css::uno::Reference< css::form::submission::XSubmission > m_xSubmissionDelegate
 
- Protected Attributes inherited from frm::OControlModel
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
::osl::Mutex m_aMutex
 
oslInterlockedCount m_lockCount
 
css::uno::Reference< css::uno::XInterface > m_xParent
 
PropertyBagHelper m_aPropertyBagHelper
 
OUString m_aName
 
OUString m_aTag
 
sal_Int16 m_nTabIndex
 
sal_Int16 m_nClassId
 
bool m_bNativeLook
 
bool m_bStandardTheme
 
bool m_bGenerateVbEvents
 
sal_Int16 m_nControlTypeinMSO
 
sal_uInt16 m_nObjIDinMSO
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 
- Protected Attributes inherited from frm::OCloneableAggregation
css::uno::Reference< css::uno::XAggregation > m_xAggregate
 

Detailed Description

Definition at line 29 of file ImageButton.hxx.

Constructor & Destructor Documentation

◆ OImageButtonModel() [1/2]

frm::OImageButtonModel::OImageButtonModel ( const css::uno::Reference< css::uno::XComponentContext > &  _rxFactory)

◆ OImageButtonModel() [2/2]

frm::OImageButtonModel::OImageButtonModel ( const OImageButtonModel _pOriginal,
const css::uno::Reference< css::uno::XComponentContext > &  _rxFactory 
)

◆ ~OImageButtonModel()

frm::OImageButtonModel::~OImageButtonModel ( )
overridevirtual

Definition at line 67 of file ImageButton.cxx.

Member Function Documentation

◆ createClone()

css::uno::Reference< css::util::XCloneable > SAL_CALL frm::OImageButtonModel::createClone ( )
overrideprotectedvirtual

Implements frm::OControlModel.

Definition at line 60 of file ImageButton.cxx.

◆ describeFixedProperties()

void frm::OImageButtonModel::describeFixedProperties ( css::uno::Sequence< css::beans::Property > &  _rProps) const
overridevirtual

describes the properties provided by this class, or its respective derived class

Derived classes usually call the base class first, and then append own properties.

Reimplemented from frm::OControlModel.

Definition at line 83 of file ImageButton.cxx.

References DBG_ASSERT, PROPERTY_BUTTONTYPE, PROPERTY_DISPATCHURLINTERNAL, PROPERTY_ID_BUTTONTYPE, PROPERTY_ID_DISPATCHURLINTERNAL, PROPERTY_ID_TABINDEX, PROPERTY_ID_TARGET_FRAME, PROPERTY_ID_TARGET_URL, PROPERTY_TABINDEX, PROPERTY_TARGET_FRAME, and PROPERTY_TARGET_URL.

◆ getImplementationName()

OUString SAL_CALL frm::OImageButtonModel::getImplementationName ( )
inlineoverridevirtual

Implements frm::OControlModel.

Definition at line 43 of file ImageButton.hxx.

◆ getServiceName()

OUString frm::OImageButtonModel::getServiceName ( )
overridevirtual

Implements frm::OControlModel.

Definition at line 97 of file ImageButton.cxx.

References FRM_COMPONENT_IMAGEBUTTON.

◆ getSupportedServiceNames()

css::uno::Sequence< OUString > frm::OImageButtonModel::getSupportedServiceNames ( )
overridevirtual

Reimplemented from frm::OClickableImageBaseModel.

Definition at line 72 of file ImageButton.cxx.

References FRM_COMPONENT_IMAGEBUTTON, and FRM_SUN_COMPONENT_IMAGEBUTTON.

◆ read()

void frm::OImageButtonModel::read ( const css::uno::Reference< css::io::XObjectInputStream > &  _rxInStream)
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 116 of file ImageButton.cxx.

References nVersion.

◆ write()

void frm::OImageButtonModel::write ( const css::uno::Reference< css::io::XObjectOutputStream > &  _rxOutStream)
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 102 of file ImageButton.cxx.

References INetURLObject::decode(), and INetURLObject::Unambiguous.


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