LibreOffice Module forms (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
frm::OGridControlModel Class Referencefinal

#include <Grid.hxx>

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

Public Member Functions

 OGridControlModel (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
 OGridControlModel (const OGridControlModel *_pOriginal, const css::uno::Reference< css::uno::XComponentContext > &_rxFactory)
 
virtual ~OGridControlModel () override
 
virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &_rType) override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 
OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes () override
 
virtual void SAL_CALL disposing () override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL reset () override
 
virtual void SAL_CALL addResetListener (const css::uno::Reference< css::form::XResetListener > &_rxListener) override
 
virtual void SAL_CALL removeResetListener (const css::uno::Reference< css::form::XResetListener > &_rxListener) override
 
virtual sal_Bool SAL_CALL select (const css::uno::Any &aElement) override
 
virtual css::uno::Any SAL_CALL getSelection () override
 
virtual void SAL_CALL addSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual void SAL_CALL removeSelectionChangeListener (const css::uno::Reference< css::view::XSelectionChangeListener > &xListener) override
 
virtual css::uno::Reference< css::beans::XPropertySet > SAL_CALL createColumn (const OUString &ColumnType) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getColumnTypes () 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 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::uno::Any getPropertyDefaultByHandle (sal_Int32 nHandle) const override
 
virtual void SAL_CALL errorOccured (const css::sdb::SQLErrorEvent &_rEvent) override
 
virtual css::uno::Reference< css::sdbc::XRowSet > SAL_CALL getRowSet () override
 
virtual void SAL_CALL setRowSet (const css::uno::Reference< css::sdbc::XRowSet > &xDataSource) override
 
virtual void SAL_CALL addRowSetChangeListener (const css::uno::Reference< css::sdb::XRowSetChangeListener > &i_Listener) override
 
virtual void SAL_CALL removeRowSetChangeListener (const css::uno::Reference< css::sdb::XRowSetChangeListener > &i_Listener) 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 disposing () 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
 
- 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 frm::OInterfaceContainer
 OInterfaceContainer (const css::uno::Reference< css::uno::XComponentContext > &_rxFactory, ::osl::Mutex &_rMutex, const css::uno::Type &_rElementType)
 
 OInterfaceContainer (::osl::Mutex &_rMutex, const OInterfaceContainer &_cloneSource)
 
void clonedFrom (const OInterfaceContainer &_cloneSource)
 
virtual OUString SAL_CALL getServiceName () override=0
 
virtual void SAL_CALL write (const css::uno::Reference< css::io::XObjectOutputStream > &OutStream) override
 
virtual void SAL_CALL read (const css::uno::Reference< css::io::XObjectInputStream > &InStream) override
 
virtual void SAL_CALL disposing (const css::lang::EventObject &_rSource) override
 
virtual void SAL_CALL propertyChange (const css::beans::PropertyChangeEvent &evt) override
 
virtual css::uno::Type SAL_CALL getElementType () override
 
virtual sal_Bool SAL_CALL hasElements () override
 
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL createEnumeration () override
 
virtual css::uno::Any SAL_CALL getByName (const OUString &aName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getElementNames () override
 
virtual sal_Bool SAL_CALL hasByName (const OUString &aName) override
 
virtual void SAL_CALL replaceByName (const OUString &Name, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL insertByName (const OUString &Name, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL removeByName (const OUString &Name) override
 
virtual sal_Int32 SAL_CALL getCount () override
 
virtual css::uno::Any SAL_CALL getByIndex (sal_Int32 _nIndex) override
 
virtual void SAL_CALL replaceByIndex (sal_Int32 _nIndex, const css::uno::Any &_rElement) override
 
virtual void SAL_CALL insertByIndex (sal_Int32 _nIndex, const css::uno::Any &Element) override
 
virtual void SAL_CALL removeByIndex (sal_Int32 _nIndex) override
 
virtual void SAL_CALL addContainerListener (const css::uno::Reference< css::container::XContainerListener > &_rxListener) override
 
virtual void SAL_CALL removeContainerListener (const css::uno::Reference< css::container::XContainerListener > &_rxListener) override
 
virtual void SAL_CALL registerScriptEvent (sal_Int32 nIndex, const css::script::ScriptEventDescriptor &aScriptEvent) override
 
virtual void SAL_CALL registerScriptEvents (sal_Int32 nIndex, const css::uno::Sequence< css::script::ScriptEventDescriptor > &aScriptEvents) override
 
virtual void SAL_CALL revokeScriptEvent (sal_Int32 nIndex, const OUString &aListenerType, const OUString &aEventMethod, const OUString &aRemoveListenerParam) override
 
virtual void SAL_CALL revokeScriptEvents (sal_Int32 nIndex) override
 
virtual void SAL_CALL insertEntry (sal_Int32 nIndex) override
 
virtual void SAL_CALL removeEntry (sal_Int32 nIndex) override
 
virtual css::uno::Sequence< css::script::ScriptEventDescriptor > SAL_CALL getScriptEvents (sal_Int32 Index) override
 
virtual void SAL_CALL attach (sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface > &xObject, const css::uno::Any &aHelper) override
 
virtual void SAL_CALL detach (sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface > &xObject) override
 
virtual void SAL_CALL addScriptListener (const css::uno::Reference< css::script::XScriptListener > &xListener) override
 
virtual void SAL_CALL removeScriptListener (const css::uno::Reference< css::script::XScriptListener > &Listener) override
 
- Public Member Functions inherited from cppu::ImplHelper8< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8 >
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 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
 

Private Member Functions

void _reset ()
 
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone () override
 
virtual void approveNewElement (const css::uno::Reference< css::beans::XPropertySet > &_rxObject, ElementDescription *_pElement) override
 to be overridden if elements which are to be inserted into the container shall be checked More...
 
css::uno::Reference< css::beans::XPropertySetcreateColumnById (sal_Int32 nTypeId) const
 
virtual ElementDescriptioncreateElementMetaData () override
 
virtual void implRemoved (const css::uno::Reference< css::uno::XInterface > &_rxObject) override
 
virtual void implInserted (const ElementDescription *_pElement) override
 
virtual void impl_replacedElement (const css::container::ContainerEvent &_rEvent, ::osl::ClearableMutexGuard &_rInstanceLock) override
 called after an object was replaced. More...
 
void gotColumn (const css::uno::Reference< css::uno::XInterface > &_rxColumn)
 
void lostColumn (const css::uno::Reference< css::uno::XInterface > &_rxColumn)
 
void cloneColumns (const OGridControlModel *_pOriginalContainer)
 

Private Attributes

::comphelper::OInterfaceContainerHelper3< css::view::XSelectionChangeListener > m_aSelectListeners
 
::comphelper::OInterfaceContainerHelper3< css::form::XResetListener > m_aResetListeners
 
::comphelper::OInterfaceContainerHelper3< css::sdb::XRowSetChangeListener > m_aRowSetChangeListeners
 
css::uno::Any m_aRowHeight
 
css::uno::Any m_aTabStop
 
css::uno::Any m_aBackgroundColor
 
css::uno::Any m_aCursorColor
 
css::uno::Any m_aBorderColor
 
OUString m_aDefaultControl
 
OUString m_sHelpText
 
css::uno::Reference< css::beans::XPropertySetm_xSelection
 
OUString m_sHelpURL
 
sal_Int16 m_nBorder
 
sal_Int16 m_nWritingMode
 
sal_Int16 m_nContextWritingMode
 
bool m_bEnableVisible: 1
 
bool m_bEnable: 1
 
bool m_bNavigation: 1
 
bool m_bRecordMarker: 1
 
bool m_bPrintable: 1
 
bool m_bAlwaysShowCursor: 1
 
bool m_bDisplaySynchron: 1
 

Additional Inherited Members

- Static Public Member Functions inherited from frm::OControlModel
static css::uno::Sequence< OUString > getSupportedServiceNames_Static ()
 
- 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 frm::OInterfaceContainer
virtual ~OInterfaceContainer ()
 
virtual void SAL_CALL disposing ()
 
void removeElementsNoEvents ()
 
virtual void approveNewElement (const css::uno::Reference< css::beans::XPropertySet > &_rxObject, ElementDescription *_pElement)
 to be overridden if elements which are to be inserted into the container shall be checked More...
 
virtual ElementDescriptioncreateElementMetaData ()
 
void implInsert (sal_Int32 _nIndex, const css::uno::Reference< css::beans::XPropertySet > &_rxObject, bool _bEvents, ElementDescription *_pApprovalResult, bool _bFire)
 inserts an object into our internal structures More...
 
virtual void implInserted (const ElementDescription *_pElement)
 
virtual void implRemoved (const css::uno::Reference< css::uno::XInterface > &_rxObject)
 
virtual void impl_replacedElement (const css::container::ContainerEvent &_rEvent, ::osl::ClearableMutexGuard &_rInstanceLock)
 called after an object was replaced. More...
 
void SAL_CALL writeEvents (const css::uno::Reference< css::io::XObjectOutputStream > &_rxOutStream)
 
void SAL_CALL readEvents (const css::uno::Reference< css::io::XObjectInputStream > &_rxInStream)
 
void implReplaceByIndex (const sal_Int32 _nIndex, const css::uno::Any &_rNewElement, ::osl::ClearableMutexGuard &_rClearBeforeNotify)
 replace an element, specified by position More...
 
void implRemoveByIndex (const sal_Int32 _nIndex, ::osl::ClearableMutexGuard &_rClearBeforeNotify)
 removes an element, specified by position More...
 
void implCheckIndex (const sal_Int32 _nIndex)
 validates the given index More...
 
- Protected Member Functions inherited from cppu::ImplHelper8< class Ifc1, class Ifc2, class Ifc3, class Ifc4, class Ifc5, class Ifc6, class Ifc7, class Ifc8 >
 ~ImplHelper8 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from frm::OErrorBroadcaster
 OErrorBroadcaster (::cppu::OBroadcastHelper &_rBHelper)
 
virtual ~OErrorBroadcaster ()
 
void disposing ()
 
void onError (const css::sdbc::SQLException &_rException, const OUString &_rContextDescription)
 
void onError (const css::sdb::SQLErrorEvent &_rException)
 
virtual void SAL_CALL addSQLErrorListener (const css::uno::Reference< css::sdb::XSQLErrorListener > &_rListener) override
 
virtual void SAL_CALL removeSQLErrorListener (const css::uno::Reference< css::sdb::XSQLErrorListener > &_rListener) override
 
- Protected Member Functions inherited from cppu::ImplHelper1< class Ifc1 >
 ~ImplHelper1 () SAL_NOEXCEPT
 
- Protected Member Functions inherited from frm::FontControlModel
const css::awt::FontDescriptor & getFont () const
 
void setFont (const css::awt::FontDescriptor &_rFont)
 
void setTextColor (Color _nColor)
 
void clearTextColor ()
 
bool hasTextColor () const
 
Color getTextColor () const
 
void setTextLineColor (Color _nColor)
 
void clearTextLineColor ()
 
bool hasTextLineColor () const
 
Color getTextLineColor () const
 
 FontControlModel (bool _bToolkitCompatibleDefaults)
 
 FontControlModel (const FontControlModel *_pOriginal)
 
void getFastPropertyValue (css::uno::Any &_rValue, sal_Int32 _nHandle) const
 
bool convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue)
 
void setFastPropertyValue_NoBroadcast_impl (::cppu::OPropertySetHelper &rBase, void(::cppu::OPropertySetHelper::*pSet)(sal_Int32, css::uno::Any const &), sal_Int32 nHandle, const css::uno::Any &rValue)
 
css::uno::Any getPropertyDefaultByHandle (sal_Int32 _nHandle) const
 
- Static Protected Member Functions inherited from frm::OCloneableAggregation
static css::uno::Reference< css::uno::XAggregation > createAggregateClone (const OCloneableAggregation *_pOriginal)
 
- Static Protected Member Functions inherited from frm::FontControlModel
static bool isFontRelatedProperty (sal_Int32 _nPropertyHandle)
 
static bool isFontAggregateProperty (sal_Int32 _nPropertyHandle)
 
static void describeFontRelatedProperties (css::uno::Sequence< css::beans::Property > &_rProps)
 appends (!) the description of all font related properties to the given sequence More...
 
- 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
 
- Protected Attributes inherited from frm::OInterfaceContainer
::osl::Mutex & m_rMutex
 
OInterfaceArray m_aItems
 
OInterfaceMap m_aMap
 
::comphelper::OInterfaceContainerHelper3< css::container::XContainerListener > m_aContainerListeners
 
const css::uno::Type m_aElementType
 
css::uno::Reference< css::uno::XComponentContext > m_xContext
 
css::uno::Reference< css::script::XEventAttacherManager > m_xEventAttacher
 

Detailed Description

Definition at line 52 of file Grid.hxx.

Constructor & Destructor Documentation

◆ OGridControlModel() [1/2]

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

◆ OGridControlModel() [2/2]

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

◆ ~OGridControlModel()

frm::OGridControlModel::~OGridControlModel ( )
overridevirtual

Definition at line 112 of file Grid.cxx.

References dispose().

Member Function Documentation

◆ _reset()

void frm::OGridControlModel::_reset ( )
private

Definition at line 364 of file Grid.cxx.

References nCount, and nIndex.

◆ addResetListener()

void SAL_CALL frm::OGridControlModel::addResetListener ( const css::uno::Reference< css::form::XResetListener > &  _rxListener)
overridevirtual

Definition at line 356 of file Grid.cxx.

◆ addRowSetChangeListener()

void SAL_CALL frm::OGridControlModel::addRowSetChangeListener ( const css::uno::Reference< css::sdb::XRowSetChangeListener > &  i_Listener)
overridevirtual

Definition at line 209 of file Grid.cxx.

◆ addSelectionChangeListener()

void frm::OGridControlModel::addSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

Definition at line 299 of file Grid.cxx.

◆ approveNewElement()

void frm::OGridControlModel::approveNewElement ( const css::uno::Reference< css::beans::XPropertySet > &  _rxObject,
ElementDescription _pElement 
)
overrideprivatevirtual

to be overridden if elements which are to be inserted into the container shall be checked

the ElementDescription given can be used to cache information about the object - it will be passed later on to implInserted/implReplaced.

Reimplemented from frm::OInterfaceContainer.

Definition at line 746 of file Grid.cxx.

◆ cloneColumns()

void frm::OGridControlModel::cloneColumns ( const OGridControlModel _pOriginalContainer)
private

◆ convertFastPropertyValue()

sal_Bool frm::OGridControlModel::convertFastPropertyValue ( css::uno::Any &  rConvertedValue,
css::uno::Any &  rOldValue,
sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

◆ createClone()

Reference< XCloneable > SAL_CALL frm::OGridControlModel::createClone ( )
overrideprivatevirtual

Implements frm::OControlModel.

Definition at line 122 of file Grid.cxx.

◆ createColumn()

Reference< XPropertySet > SAL_CALL frm::OGridControlModel::createColumn ( const OUString &  ColumnType)
overridevirtual

Definition at line 310 of file Grid.cxx.

References detail::findPos(), and frm::getColumnTypes().

◆ createColumnById()

Reference< XPropertySet > frm::OGridControlModel::createColumnById ( sal_Int32  nTypeId) const
private

◆ createElementMetaData()

ElementDescription * frm::OGridControlModel::createElementMetaData ( )
overrideprivatevirtual

Reimplemented from frm::OInterfaceContainer.

Definition at line 741 of file Grid.cxx.

◆ describeFixedProperties()

void frm::OGridControlModel::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 377 of file Grid.cxx.

References DBG_ASSERT, PROPERTY_ALWAYSSHOWCURSOR, PROPERTY_BACKGROUNDCOLOR, PROPERTY_BORDER, PROPERTY_BORDERCOLOR, PROPERTY_CLASSID, PROPERTY_CONTEXT_WRITING_MODE, PROPERTY_CURSORCOLOR, PROPERTY_DEFAULTCONTROL, PROPERTY_DISPLAYSYNCHRON, PROPERTY_ENABLED, PROPERTY_ENABLEVISIBLE, PROPERTY_FONT, PROPERTY_FONT_CHARSET, PROPERTY_FONT_FAMILY, PROPERTY_FONT_HEIGHT, PROPERTY_FONT_NAME, PROPERTY_FONT_SLANT, PROPERTY_FONT_STRIKEOUT, PROPERTY_FONT_STYLENAME, PROPERTY_FONT_UNDERLINE, PROPERTY_FONT_WEIGHT, PROPERTY_FONT_WORDLINEMODE, PROPERTY_FONTEMPHASISMARK, PROPERTY_FONTRELIEF, PROPERTY_HASNAVIGATION, PROPERTY_HELPTEXT, PROPERTY_HELPURL, PROPERTY_ID_ALWAYSSHOWCURSOR, PROPERTY_ID_BACKGROUNDCOLOR, PROPERTY_ID_BORDER, PROPERTY_ID_BORDERCOLOR, PROPERTY_ID_CLASSID, PROPERTY_ID_CONTEXT_WRITING_MODE, PROPERTY_ID_CURSORCOLOR, PROPERTY_ID_DEFAULTCONTROL, PROPERTY_ID_DISPLAYSYNCHRON, PROPERTY_ID_ENABLED, PROPERTY_ID_ENABLEVISIBLE, PROPERTY_ID_FONT, PROPERTY_ID_FONT_CHARSET, PROPERTY_ID_FONT_FAMILY, PROPERTY_ID_FONT_HEIGHT, PROPERTY_ID_FONT_NAME, PROPERTY_ID_FONT_SLANT, PROPERTY_ID_FONT_STRIKEOUT, PROPERTY_ID_FONT_STYLENAME, PROPERTY_ID_FONT_UNDERLINE, PROPERTY_ID_FONT_WEIGHT, PROPERTY_ID_FONT_WORDLINEMODE, PROPERTY_ID_FONTEMPHASISMARK, PROPERTY_ID_FONTRELIEF, PROPERTY_ID_HASNAVIGATION, PROPERTY_ID_HELPTEXT, PROPERTY_ID_HELPURL, PROPERTY_ID_NAME, PROPERTY_ID_PRINTABLE, PROPERTY_ID_RECORDMARKER, PROPERTY_ID_ROWHEIGHT, PROPERTY_ID_TABINDEX, PROPERTY_ID_TABSTOP, PROPERTY_ID_TAG, PROPERTY_ID_TEXTCOLOR, PROPERTY_ID_TEXTLINECOLOR, PROPERTY_ID_WRITING_MODE, PROPERTY_NAME, PROPERTY_PRINTABLE, PROPERTY_RECORDMARKER, PROPERTY_ROWHEIGHT, PROPERTY_TABINDEX, PROPERTY_TABSTOP, PROPERTY_TAG, PROPERTY_TEXTCOLOR, PROPERTY_TEXTLINECOLOR, and PROPERTY_WRITING_MODE.

◆ disposing() [1/4]

void frm::OGridControlModel::disposing ( )
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 244 of file Grid.cxx.

◆ disposing() [2/4]

void frm::OControlModel::disposing ( )
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 376 of file FormComponent.cxx.

◆ disposing() [3/4]

virtual void SAL_CALL frm::OGridControlModel::disposing ( const css::lang::EventObject &  _rSource)
overridevirtual

Reimplemented from frm::OControlModel.

◆ disposing() [4/4]

void SAL_CALL frm::OControlModel::disposing ( const css::lang::EventObject &  Source)
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 403 of file FormComponent.cxx.

◆ errorOccured()

void SAL_CALL frm::OGridControlModel::errorOccured ( const css::sdb::SQLErrorEvent &  _rEvent)
overridevirtual

Definition at line 192 of file Grid.cxx.

◆ getColumnTypes()

css::uno::Sequence< OUString > SAL_CALL frm::OGridControlModel::getColumnTypes ( )
overridevirtual

Definition at line 337 of file Grid.cxx.

References frm::getColumnTypes().

◆ getFastPropertyValue() [1/2]

void frm::OGridControlModel::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overridevirtual

◆ getFastPropertyValue() [2/2]

void frm::OControlModel::getFastPropertyValue ( css::uno::Any &  rValue,
sal_Int32  nHandle 
) const
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 406 of file FormComponent.cxx.

◆ getImplementationName()

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

Implements frm::OControlModel.

Definition at line 108 of file Grid.hxx.

◆ getPropertyDefaultByHandle()

Any frm::OGridControlModel::getPropertyDefaultByHandle ( sal_Int32  nHandle) const
overridevirtual

◆ getRowSet()

Reference< XRowSet > SAL_CALL frm::OGridControlModel::getRowSet ( )
overridevirtual

Definition at line 199 of file Grid.cxx.

◆ getSelection()

Any SAL_CALL frm::OGridControlModel::getSelection ( )
overridevirtual

Definition at line 294 of file Grid.cxx.

References Any.

◆ getServiceName()

OUString SAL_CALL frm::OGridControlModel::getServiceName ( )
overridevirtual

Implements frm::OControlModel.

Definition at line 755 of file Grid.cxx.

References FRM_COMPONENT_GRID.

◆ getSupportedServiceNames()

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

Reimplemented from frm::OControlModel.

Definition at line 164 of file Grid.cxx.

References FRM_COMPONENT_GRID, FRM_COMPONENT_GRIDCONTROL, and FRM_SUN_COMPONENT_GRIDCONTROL.

◆ getTypes()

Sequence< Type > SAL_CALL frm::OGridControlModel::getTypes ( )
overridevirtual

◆ gotColumn()

void frm::OGridControlModel::gotColumn ( const css::uno::Reference< css::uno::XInterface > &  _rxColumn)
private

Definition at line 692 of file Grid.cxx.

◆ impl_replacedElement()

void frm::OGridControlModel::impl_replacedElement ( const css::container::ContainerEvent &  _rEvent,
::osl::ClearableMutexGuard &  _rInstanceLock 
)
overrideprivatevirtual

called after an object was replaced.

The default implementation notifies our listeners, after releasing the instance lock.

Reimplemented from frm::OInterfaceContainer.

Definition at line 724 of file Grid.cxx.

◆ implInserted()

void frm::OGridControlModel::implInserted ( const ElementDescription _pElement)
overrideprivatevirtual

Reimplemented from frm::OInterfaceContainer.

Definition at line 718 of file Grid.cxx.

References frm::ElementDescription::xInterface.

◆ implRemoved()

void frm::OGridControlModel::implRemoved ( const css::uno::Reference< css::uno::XInterface > &  _rxObject)
overrideprivatevirtual

Reimplemented from frm::OInterfaceContainer.

Definition at line 712 of file Grid.cxx.

◆ lostColumn()

void frm::OGridControlModel::lostColumn ( const css::uno::Reference< css::uno::XInterface > &  _rxColumn)
private

Definition at line 699 of file Grid.cxx.

◆ queryAggregation()

Any SAL_CALL frm::OGridControlModel::queryAggregation ( const css::uno::Type &  _rType)
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 175 of file Grid.cxx.

References Any.

◆ read()

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

◆ removeResetListener()

void SAL_CALL frm::OGridControlModel::removeResetListener ( const css::uno::Reference< css::form::XResetListener > &  _rxListener)
overridevirtual

Definition at line 360 of file Grid.cxx.

◆ removeRowSetChangeListener()

void SAL_CALL frm::OGridControlModel::removeRowSetChangeListener ( const css::uno::Reference< css::sdb::XRowSetChangeListener > &  i_Listener)
overridevirtual

Definition at line 215 of file Grid.cxx.

◆ removeSelectionChangeListener()

void frm::OGridControlModel::removeSelectionChangeListener ( const css::uno::Reference< css::view::XSelectionChangeListener > &  xListener)
overridevirtual

Definition at line 304 of file Grid.cxx.

◆ reset()

void SAL_CALL frm::OGridControlModel::reset ( )
overridevirtual

◆ select()

sal_Bool SAL_CALL frm::OGridControlModel::select ( const css::uno::Any &  aElement)
overridevirtual

Definition at line 264 of file Grid.cxx.

References m_aMutex.

◆ setFastPropertyValue_NoBroadcast()

void frm::OGridControlModel::setFastPropertyValue_NoBroadcast ( sal_Int32  nHandle,
const css::uno::Any &  rValue 
)
overridevirtual

◆ setParent()

void SAL_CALL frm::OGridControlModel::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Reimplemented from frm::OControlModel.

Definition at line 221 of file Grid.cxx.

References aEvent, and m_aMutex.

◆ setRowSet()

void SAL_CALL frm::OGridControlModel::setRowSet ( const css::uno::Reference< css::sdbc::XRowSet > &  xDataSource)
overridevirtual

Definition at line 204 of file Grid.cxx.

◆ write()

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

Member Data Documentation

◆ m_aBackgroundColor

css::uno::Any frm::OGridControlModel::m_aBackgroundColor
private

Definition at line 65 of file Grid.hxx.

◆ m_aBorderColor

css::uno::Any frm::OGridControlModel::m_aBorderColor
private

Definition at line 67 of file Grid.hxx.

◆ m_aCursorColor

css::uno::Any frm::OGridControlModel::m_aCursorColor
private

Definition at line 66 of file Grid.hxx.

◆ m_aDefaultControl

OUString frm::OGridControlModel::m_aDefaultControl
private

Definition at line 68 of file Grid.hxx.

◆ m_aResetListeners

::comphelper::OInterfaceContainerHelper3<css::form::XResetListener> frm::OGridControlModel::m_aResetListeners
private

Definition at line 59 of file Grid.hxx.

◆ m_aRowHeight

css::uno::Any frm::OGridControlModel::m_aRowHeight
private

Definition at line 63 of file Grid.hxx.

◆ m_aRowSetChangeListeners

::comphelper::OInterfaceContainerHelper3<css::sdb::XRowSetChangeListener> frm::OGridControlModel::m_aRowSetChangeListeners
private

Definition at line 60 of file Grid.hxx.

◆ m_aSelectListeners

::comphelper::OInterfaceContainerHelper3<css::view::XSelectionChangeListener> frm::OGridControlModel::m_aSelectListeners
private

Definition at line 58 of file Grid.hxx.

◆ m_aTabStop

css::uno::Any frm::OGridControlModel::m_aTabStop
private

Definition at line 64 of file Grid.hxx.

◆ m_bAlwaysShowCursor

bool frm::OGridControlModel::m_bAlwaysShowCursor
private

Definition at line 84 of file Grid.hxx.

◆ m_bDisplaySynchron

bool frm::OGridControlModel::m_bDisplaySynchron
private

Definition at line 85 of file Grid.hxx.

◆ m_bEnable

bool frm::OGridControlModel::m_bEnable
private

Definition at line 80 of file Grid.hxx.

◆ m_bEnableVisible

bool frm::OGridControlModel::m_bEnableVisible
private

Definition at line 79 of file Grid.hxx.

◆ m_bNavigation

bool frm::OGridControlModel::m_bNavigation
private

Definition at line 81 of file Grid.hxx.

◆ m_bPrintable

bool frm::OGridControlModel::m_bPrintable
private

Definition at line 83 of file Grid.hxx.

◆ m_bRecordMarker

bool frm::OGridControlModel::m_bRecordMarker
private

Definition at line 82 of file Grid.hxx.

◆ m_nBorder

sal_Int16 frm::OGridControlModel::m_nBorder
private

Definition at line 76 of file Grid.hxx.

◆ m_nContextWritingMode

sal_Int16 frm::OGridControlModel::m_nContextWritingMode
private

Definition at line 78 of file Grid.hxx.

◆ m_nWritingMode

sal_Int16 frm::OGridControlModel::m_nWritingMode
private

Definition at line 77 of file Grid.hxx.

◆ m_sHelpText

OUString frm::OGridControlModel::m_sHelpText
private

Definition at line 69 of file Grid.hxx.

◆ m_sHelpURL

OUString frm::OGridControlModel::m_sHelpURL
private

Definition at line 75 of file Grid.hxx.

◆ m_xSelection

css::uno::Reference< css::beans::XPropertySet > frm::OGridControlModel::m_xSelection
private

Definition at line 72 of file Grid.hxx.


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