LibreOffice Module extensions (master) 1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
pcr::FormController Class Reference

Legacy implementation of com.sun.star.form.PropertyBrowserController. More...

#include <formcontroller.hxx>

Inheritance diagram for pcr::FormController:
[legend]
Collaboration diagram for pcr::FormController:
[legend]

Public Member Functions

 FormController (const css::uno::Reference< css::uno::XComponentContext > &_rxContext, OUString sImplementName, const css::uno::Sequence< OUString > &aSupportedServiceNames, bool _bUseFormFormComponentHandlers)
 
- Public Member Functions inherited from pcr::OPropertyBrowserController
 OPropertyBrowserController (const css::uno::Reference< css::uno::XComponentContext > &_rxContext)
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
virtual void Clicked (const OUString &_rName, bool _bPrimary)=0
 
virtual void Commit (const OUString &_rName, const css::uno::Any &_rVal)=0
 
virtual void focusGained (const css::uno::Reference< css::inspection::XPropertyControl > &Control)=0
 
virtual void valueChanged (const css::uno::Reference< css::inspection::XPropertyControl > &Control)=0
 
virtual bool hasPropertyByName (const OUString &_rName)=0
 
- Public Member Functions inherited from cppu::OPropertySetHelper
 OPropertySetHelper (OBroadcastHelper &rBHelper)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, bool bIgnoreRuntimeExceptionsWhileFiring)
 
 OPropertySetHelper (OBroadcastHelper &rBHelper, IEventNotificationHook *i_pFireEvents, bool bIgnoreRuntimeExceptionsWhileFiring=false)
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) SAL_OVERRIDE
 
css::uno::Sequence< css::uno::Type > getTypes ()
 
void SAL_CALL disposing ()
 
virtual void SAL_CALL setPropertyValue (const ::rtl::OUString &rPropertyName, const css::uno::Any &aValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (const ::rtl::OUString &aPropertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (const ::rtl::OUString &aPropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Sequence< css::uno::Any > &Values) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::uno::Any > SAL_CALL getPropertyValues (const css::uno::Sequence< ::rtl::OUString > &PropertyNames) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertiesChangeListener (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
virtual void SAL_CALL firePropertiesChangeEvent (const css::uno::Sequence< ::rtl::OUString > &PropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &Listener) SAL_OVERRIDE
 
- Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
 OPropertyArrayUsageHelper ()
 
virtual ~OPropertyArrayUsageHelper ()
 
::cppu::IPropertyArrayHelpergetArrayHelper ()
 

Protected Member Functions

virtual ~FormController () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () override
 
virtual ::cppu::IPropertyArrayHelper &SAL_CALL getInfoHelper () override
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () 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 void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
- Protected Member Functions inherited from pcr::OPropertyBrowserController
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 void SAL_CALL attachFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) override
 
virtual sal_Bool SAL_CALL attachModel (const css::uno::Reference< css::frame::XModel > &xModel) override
 
virtual sal_Bool SAL_CALL suspend (sal_Bool bSuspend) override
 
virtual css::uno::Any SAL_CALL getViewData () override
 
virtual void SAL_CALL restoreViewData (const css::uno::Any &Data) override
 
virtual css::uno::Reference< css::frame::XModel > SAL_CALL getModel () override
 
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame () 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 > &aListener) override
 
virtual void SAL_CALL focusGained (const css::awt::FocusEvent &_rSource) override
 
virtual void SAL_CALL focusLost (const css::awt::FocusEvent &_rSource) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &Source) override
 
virtual css::awt::Size SAL_CALL getMinimumSize () override
 
virtual css::awt::Size SAL_CALL getPreferredSize () override
 
virtual css::awt::Size SAL_CALL calcAdjustedSize (const css::awt::Size &rNewSize) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &_rEvent) override
 
virtual css::uno::Reference< css::inspection::XPropertyControl > SAL_CALL createPropertyControl (::sal_Int16 ControlType, sal_Bool CreateReadOnly) override
 XPropertyControlFactory. More...
 
virtual ~OPropertyBrowserController () override
 
virtual void Clicked (const OUString &_rName, bool _bPrimary) override
 
virtual void Commit (const OUString &_rName, const css::uno::Any &_rVal) override
 
virtual void focusGained (const css::uno::Reference< css::inspection::XPropertyControl > &Control) override
 
virtual void valueChanged (const css::uno::Reference< css::inspection::XPropertyControl > &Control) override
 
virtual bool hasPropertyByName (const OUString &_rName) override
 
virtual void SAL_CALL enablePropertyUI (const OUString &_rPropertyName, sal_Bool _bEnable) override
 
virtual void SAL_CALL enablePropertyUIElements (const OUString &_rPropertyName, ::sal_Int16 _nElements, sal_Bool _bEnable) override
 
virtual void SAL_CALL rebuildPropertyUI (const OUString &_rPropertyName) override
 
virtual void SAL_CALL showPropertyUI (const OUString &_rPropertyName) override
 
virtual void SAL_CALL hidePropertyUI (const OUString &_rPropertyName) override
 
virtual void SAL_CALL showCategory (const OUString &_rCategory, sal_Bool _bShow) override
 
virtual css::uno::Reference< css::inspection::XPropertyControl > SAL_CALL getPropertyControl (const OUString &_rPropertyName) override
 
virtual void SAL_CALL registerControlObserver (const css::uno::Reference< css::inspection::XPropertyControlObserver > &Observer) override
 
virtual void SAL_CALL revokeControlObserver (const css::uno::Reference< css::inspection::XPropertyControlObserver > &Observer) override
 
virtual void SAL_CALL setHelpSectionText (const OUString &HelpText) override
 
virtual css::uno::Reference< css::inspection::XObjectInspectorModel > SAL_CALL getInspectorModel () override
 
virtual void SAL_CALL setInspectorModel (const css::uno::Reference< css::inspection::XObjectInspectorModel > &_inspectormodel) override
 
virtual css::uno::Reference< css::inspection::XObjectInspectorUI > SAL_CALL getInspectorUI () override
 
virtual void SAL_CALL inspect (const css::uno::Sequence< css::uno::Reference< css::uno::XInterface > > &Objects) override
 
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch (const css::util::URL &URL, const OUString &TargetFrameName, ::sal_Int32 SearchFlags) override
 
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &Requests) override
 
virtual void SAL_CALL initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override
 
- Protected Member Functions inherited from pcr::IPropertyLineListener
 ~IPropertyLineListener ()
 
- Protected Member Functions inherited from pcr::IPropertyControlObserver
 ~IPropertyControlObserver ()
 
- Protected Member Functions inherited from pcr::IPropertyExistenceCheck
 ~IPropertyExistenceCheck ()
 
- Protected Member Functions inherited from cppu::OPropertySetHelper
void SAL_CALL fire (sal_Int32 *pnHandles, const css::uno::Any *pNewValues, const css::uno::Any *pOldValues, sal_Int32 nCount, sal_Bool bVetoable)
 
void SAL_CALL setFastPropertyValues (sal_Int32 nSeqLen, sal_Int32 *pHandles, const css::uno::Any *pValues, sal_Int32 nHitCount)
 
virtual IPropertyArrayHelper &SAL_CALL getInfoHelper ()=0
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue)=0
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const=0
 
void setDependentFastPropertyValue (sal_Int32 i_handle, const css::uno::Any &i_value)
 
 ~OPropertySetHelper ()
 
virtual ::cppu::IPropertyArrayHelpercreateArrayHelper () const=0
 

Private Member Functions

virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) SAL_OVERRIDE
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const =0
 

Private Attributes

css::uno::Reference< css::beans::XPropertySetm_xCurrentInspectee
 
OUString m_sImplementationName
 
css::uno::Sequence< OUString > m_aSupportedServiceNames
 

Additional Inherited Members

- Static Public Member Functions inherited from cppu::OPropertySetHelper
static css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL createPropertySetInfo (IPropertyArrayHelper &rProperties)
 
- Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static std::mutextheMutex ()
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 
- Protected Attributes inherited from cppu::OPropertySetHelper
OBroadcastHelperrBHelper
 
OMultiTypeInterfaceContainerHelperInt32 aBoundLC
 
OMultiTypeInterfaceContainerHelperInt32 aVetoableLC
 
Impl *const m_pReserved
 
- Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< class TYPE >
static sal_Int32 s_nRefCount
 
::cppu::IPropertyArrayHelpers_pProps
 

Detailed Description

Legacy implementation of com.sun.star.form.PropertyBrowserController.

Nowadays only a wrapper around an ObjectInspector using a DefaultFormComponentInspectorModel.

Definition at line 43 of file formcontroller.hxx.

Constructor & Destructor Documentation

◆ FormController()

pcr::FormController::FormController ( const css::uno::Reference< css::uno::XComponentContext > &  _rxContext,
OUString  sImplementName,
const css::uno::Sequence< OUString > &  aSupportedServiceNames,
bool  _bUseFormFormComponentHandlers 
)

References DECLARE_XINTERFACE.

◆ ~FormController()

pcr::FormController::~FormController ( )
overrideprotectedvirtual

Definition at line 80 of file formcontroller.cxx.

Member Function Documentation

◆ convertFastPropertyValue()

virtual sal_Bool SAL_CALL pcr::FormController::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprotectedvirtual

◆ createArrayHelper()

cppu::IPropertyArrayHelper * pcr::FormController::createArrayHelper ( ) const
overrideprotectedvirtual

◆ getFastPropertyValue() [1/3]

virtual void SAL_CALL cppu::OPropertySetHelper::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
privatevirtual

◆ getFastPropertyValue() [2/3]

void SAL_CALL pcr::FormController::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overrideprotectedvirtual

Implements cppu::OPropertySetHelper.

Definition at line 208 of file formcontroller.cxx.

References nHandle.

◆ getFastPropertyValue() [3/3]

virtual css::uno::Any SAL_CALL cppu::OPropertySetHelper::getFastPropertyValue ( sal_Int32  nHandle)
privatevirtual

Reimplemented from cppu::OPropertySetHelper.

◆ getImplementationName()

OUString SAL_CALL pcr::FormController::getImplementationName ( )
overrideprotectedvirtual

Reimplemented from pcr::OPropertyBrowserController.

Definition at line 102 of file formcontroller.cxx.

◆ getInfoHelper()

cppu::IPropertyArrayHelper &SAL_CALL pcr::FormController::getInfoHelper ( )
overrideprotectedvirtual

Implements cppu::OPropertySetHelper.

Definition at line 123 of file formcontroller.cxx.

◆ getPropertySetInfo()

Reference< XPropertySetInfo > SAL_CALL pcr::FormController::getPropertySetInfo ( )
overrideprotectedvirtual

Definition at line 117 of file formcontroller.cxx.

◆ getSupportedServiceNames()

Sequence< OUString > SAL_CALL pcr::FormController::getSupportedServiceNames ( )
overrideprotectedvirtual

Reimplemented from pcr::OPropertyBrowserController.

Definition at line 108 of file formcontroller.cxx.

◆ setFastPropertyValue_NoBroadcast()

virtual void SAL_CALL pcr::FormController::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overrideprotectedvirtual

Member Data Documentation

◆ m_aSupportedServiceNames

css::uno::Sequence<OUString> pcr::FormController::m_aSupportedServiceNames
private

Definition at line 51 of file formcontroller.hxx.

◆ m_sImplementationName

OUString pcr::FormController::m_sImplementationName
private

Definition at line 50 of file formcontroller.hxx.

◆ m_xCurrentInspectee

css::uno::Reference< css::beans::XPropertySet > pcr::FormController::m_xCurrentInspectee
private

Definition at line 49 of file formcontroller.hxx.


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