LibreOffice Module forms (master) 1
|
#include <Button.hxx>
Public Member Functions | |
OButtonModel (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory) | |
OButtonModel (const OButtonModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory) | |
virtual | ~OButtonModel () override |
virtual css::uno::Any SAL_CALL | queryAggregation (const css::uno::Type &_rType) override |
css::uno::Sequence< css::uno::Type > | _getTypes () 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 SAL_CALL | reset () override |
virtual void SAL_CALL | addResetListener (const css::uno::Reference< css::form::XResetListener > &aListener) override |
virtual void SAL_CALL | removeResetListener (const css::uno::Reference< css::form::XResetListener > &aListener) 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... | |
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 css::uno::Any | getPropertyDefaultByHandle (sal_Int32 nHandle) const override |
virtual void SAL_CALL | disposing () override |
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) |
ImageProducer * | getImageProducer (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) |
Public Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
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 |
Protected Member Functions | |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () override |
virtual void SAL_CALL | disposing () override |
Protected Member Functions inherited from frm::OClickableImageBaseModel | |
DECL_LINK (DownloadDoneLink, void *, void) | |
ImageProducer * | GetImageProducer () |
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 () |
SfxObjectShell * | GetObjectShell () |
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 () |
Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 > | |
~ImplHelper1 () SAL_NOEXCEPT | |
Private Member Functions | |
void | impl_resetNoBroadcast_nothrow () |
Private Attributes | |
ResetHelper | m_aResetHelper |
ToggleState | m_eDefaultState |
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< SfxMedium > | m_pMedium |
rtl::Reference< ImageProducer > | m_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 |
Definition at line 44 of file Button.hxx.
frm::OButtonModel::OButtonModel | ( | const css::uno::Reference< css::uno::XComponentContext > & | _rxFactory | ) |
Referenced by createClone().
frm::OButtonModel::OButtonModel | ( | const OButtonModel * | _pOriginal, |
const css::uno::Reference< css::uno::XComponentContext > & | _rxFactory | ||
) |
References DECLARE_UNO3_AGG_DEFAULTS.
|
overridevirtual |
Definition at line 99 of file Button.cxx.
|
overridevirtual |
Reimplemented from frm::OControlModel.
Definition at line 79 of file Button.cxx.
|
overridevirtual |
Definition at line 248 of file Button.cxx.
References frm::ResetHelper::addResetListener(), and m_aResetHelper.
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 295 of file Button.cxx.
References frm::OClickableImageBaseModel::convertFastPropertyValue(), m_eDefaultState, PROPERTY_ID_DEFAULT_STATE, and tryPropertyValue().
|
overrideprotectedvirtual |
Implements frm::OControlModel.
Definition at line 120 of file Button.cxx.
References frm::OControlModel::getContext(), and OButtonModel().
|
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 104 of file Button.cxx.
References DBG_ASSERT, frm::OControlModel::describeFixedProperties(), PROPERTY_BUTTONTYPE, PROPERTY_DEFAULT_STATE, PROPERTY_DISPATCHURLINTERNAL, PROPERTY_ID_BUTTONTYPE, PROPERTY_ID_DEFAULT_STATE, PROPERTY_ID_DISPATCHURLINTERNAL, PROPERTY_ID_TABINDEX, PROPERTY_ID_TARGET_FRAME, PROPERTY_ID_TARGET_URL, PROPERTY_TABINDEX, PROPERTY_TARGET_FRAME, and PROPERTY_TARGET_URL.
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 230 of file Button.cxx.
References frm::ResetHelper::disposing(), frm::OClickableImageBaseModel::disposing(), and m_aResetHelper.
|
overrideprotectedvirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 110 of file clickableimage.cxx.
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 260 of file Button.cxx.
References frm::OClickableImageBaseModel::getFastPropertyValue(), m_eDefaultState, and PROPERTY_ID_DEFAULT_STATE.
|
inlineoverridevirtual |
Implements frm::OControlModel.
Definition at line 64 of file Button.hxx.
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 312 of file Button.cxx.
References Any, frm::OClickableImageBaseModel::getPropertyDefaultByHandle(), PROPERTY_ID_DEFAULT_STATE, and frm::TRISTATE_FALSE.
|
overridevirtual |
Implements frm::OControlModel.
Definition at line 143 of file Button.cxx.
References FRM_COMPONENT_COMMANDBUTTON.
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 130 of file Button.cxx.
References FRM_COMPONENT_COMMANDBUTTON, FRM_SUN_COMPONENT_COMMANDBUTTON, and frm::OClickableImageBaseModel::getSupportedServiceNames().
|
private |
Definition at line 329 of file Button.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, getPropertyValue(), PROPERTY_DEFAULT_STATE, PROPERTY_STATE, and setPropertyValue().
Referenced by reset(), and setFastPropertyValue_NoBroadcast().
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 70 of file Button.cxx.
References Any.
|
overridevirtual |
Reimplemented from frm::OControlModel.
Definition at line 170 of file Button.cxx.
References frm::OClickableImageBaseModel::m_eButtonType, frm::OClickableImageBaseModel::m_sTargetFrame, frm::OClickableImageBaseModel::m_sTargetURL, nVersion, frm::OControlModel::read(), frm::OControlModel::readHelpTextCompatibly(), and frm::OClickableImageBaseModel::setDispatchUrlInternal().
|
overridevirtual |
Definition at line 254 of file Button.cxx.
References m_aResetHelper, and frm::ResetHelper::removeResetListener().
|
overridevirtual |
Definition at line 237 of file Button.cxx.
References frm::ResetHelper::approveReset(), impl_resetNoBroadcast_nothrow(), m_aResetHelper, and frm::ResetHelper::notifyResetted().
|
overridevirtual |
Reimplemented from frm::OClickableImageBaseModel.
Definition at line 275 of file Button.cxx.
References impl_resetNoBroadcast_nothrow(), m_eDefaultState, PROPERTY_ID_DEFAULT_STATE, frm::OClickableImageBaseModel::setFastPropertyValue_NoBroadcast(), and frm::TRISTATE_FALSE.
|
overridevirtual |
Reimplemented from frm::OControlModel.
Definition at line 149 of file Button.cxx.
References INetURLObject::decode(), frm::OClickableImageBaseModel::isDispatchUrlInternal(), frm::OClickableImageBaseModel::m_eButtonType, frm::OClickableImageBaseModel::m_sTargetFrame, frm::OClickableImageBaseModel::m_sTargetURL, INetURLObject::Unambiguous, frm::OControlModel::write(), and frm::OControlModel::writeHelpTextCompatibly().
|
private |
Definition at line 103 of file Button.hxx.
Referenced by addResetListener(), disposing(), removeResetListener(), and reset().
|
private |
Definition at line 106 of file Button.hxx.
Referenced by convertFastPropertyValue(), getFastPropertyValue(), and setFastPropertyValue_NoBroadcast().