LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
FmFieldWin Class Reference

#include <tabwin.hxx>

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

Public Member Functions

 FmFieldWin (SfxBindings *pBindings, SfxChildWindow *pMgr, weld::Window *pParent)
 
virtual ~FmFieldWin () override
 
virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
void UpdateContent (FmFormShell const *)
 
void UpdateContent (const css::uno::Reference< css::form::XForm > &)
 
void FillInfo (SfxChildWinInfo &rInfo) const override
 
const OUString & GetDatabaseName () const
 
const ::dbtools::SharedConnectionGetConnection () const
 
const OUString & GetObjectName () const
 
sal_Int32 GetObjectType () const
 
bool createSelectionControls ()
 
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
 
void Initialize (SfxChildWinInfo const *pInfo)
 
bool IsClosing () const
 
virtual void Close () override
 
virtual void EndDialog () override
 
virtual void Activate () override
 
virtual void Deactivate () override
 
virtual void ChildWinDispose () override
 
SfxBindingsGetBindings () const
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
- Public Member Functions inherited from SfxControllerItem
SfxBindingsGetBindings ()
 
const SfxBindingsGetBindings () const
 
 SfxControllerItem ()
 
 SfxControllerItem (sal_uInt16 nId, SfxBindings &)
 
virtual ~SfxControllerItem ()
 
virtual void dispose ()
 
void Bind (sal_uInt16 nNewId, SfxBindings *)
 
void UnBind ()
 
void ReBind ()
 
bool IsBound () const
 
void ClearCache ()
 
SfxControllerItemGetItemLink ()
 
SfxControllerItemChangeItemLink (SfxControllerItem *pNewLink)
 
void SetId (sal_uInt16 nItemId)
 
sal_uInt16 GetId () const
 
MapUnit GetCoreMetric () const
 
SAL_DLLPRIVATE void BindInternal_Impl (sal_uInt16 nNewId, SfxBindings *)
 
- Public Member Functions inherited from comphelper::OPropertyChangeListener
 OPropertyChangeListener (::osl::Mutex &_rMutex)
 
virtual ~OPropertyChangeListener ()
 
virtual void _disposing (const css::lang::EventObject &_rSource)
 

Protected Member Functions

virtual void _propertyChanged (const css::beans::PropertyChangeEvent &evt) override
 
- Protected Member Functions inherited from SfxModelessDialogController
 SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Protected Member Functions inherited from comphelper::OPropertyChangeListener
void disposeAdapter ()
 
void setAdapter (OPropertyChangeMultiplexer *_pAdapter)
 

Private Member Functions

void addToList (const css::uno::Reference< css::container::XNameAccess > &i_xColumns)
 
 DECL_LINK (RowActivatedHdl, weld::TreeView &, bool)
 
 DECL_LINK (DragBeginHdl, weld::TreeView &, bool)
 

Private Attributes

::osl::Mutex m_aMutex
 
std::unique_ptr< weld::TreeViewm_xListBox
 
std::vector< std::unique_ptr< ColumnInfo > > m_aListBoxData
 
::dbtools::SharedConnection m_aConnection
 
OUString m_aDatabaseName
 
OUString m_aObjectName
 
sal_Int32 m_nObjectType
 
rtl::Reference< comphelper::OPropertyChangeMultiplexerm_xChangeListener
 
rtl::Reference< svx::OColumnTransferablem_xHelper
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxControllerItem
static SfxItemState GetItemState (const SfxPoolItem *pState)
 

Detailed Description

Definition at line 34 of file tabwin.hxx.

Constructor & Destructor Documentation

FmFieldWin::FmFieldWin ( SfxBindings pBindings,
SfxChildWindow pMgr,
weld::Window pParent 
)
FmFieldWin::~FmFieldWin ( )
overridevirtual

Definition at line 142 of file tabwin.cxx.

References SfxControllerItem::dispose(), and m_xChangeListener.

Member Function Documentation

void FmFieldWin::_propertyChanged ( const css::beans::PropertyChangeEvent &  evt)
overrideprotectedvirtual

Implements comphelper::OPropertyChangeListener.

Definition at line 186 of file tabwin.cxx.

References UpdateContent().

void FmFieldWin::addToList ( const css::uno::Reference< css::container::XNameAccess > &  i_xColumns)
private

Definition at line 81 of file tabwin.cxx.

References aEntries, FM_PROP_LABEL, m_aListBoxData, m_xListBox, sId, and xColumn.

Referenced by UpdateContent().

bool FmFieldWin::createSelectionControls ( )
FmFieldWin::DECL_LINK ( RowActivatedHdl  ,
weld::TreeView ,
bool   
)
private
FmFieldWin::DECL_LINK ( DragBeginHdl  ,
weld::TreeView ,
bool   
)
private
void FmFieldWin::FillInfo ( SfxChildWinInfo rInfo) const
overridevirtual

Reimplemented from SfxModelessDialogController.

Definition at line 296 of file tabwin.cxx.

References SfxChildWinInfo::bVisible.

const ::dbtools::SharedConnection& FmFieldWin::GetConnection ( ) const
inline

Definition at line 67 of file tabwin.hxx.

References m_aConnection.

Referenced by createSelectionControls().

const OUString& FmFieldWin::GetDatabaseName ( ) const
inline

Definition at line 66 of file tabwin.hxx.

References m_aDatabaseName.

Referenced by createSelectionControls().

const OUString& FmFieldWin::GetObjectName ( ) const
inline

Definition at line 68 of file tabwin.hxx.

References m_aObjectName.

Referenced by createSelectionControls().

sal_Int32 FmFieldWin::GetObjectType ( ) const
inline

Definition at line 69 of file tabwin.hxx.

References m_nObjectType.

Referenced by createSelectionControls().

void FmFieldWin::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

Reimplemented from SfxControllerItem.

Definition at line 192 of file tabwin.cxx.

References GetShell(), and UpdateContent().

void FmFieldWin::UpdateContent ( FmFormShell const *  pShell)
void FmFieldWin::UpdateContent ( const css::uno::Reference< css::form::XForm > &  xForm)

Member Data Documentation

::dbtools::SharedConnection FmFieldWin::m_aConnection
private

Definition at line 42 of file tabwin.hxx.

Referenced by GetConnection(), and UpdateContent().

OUString FmFieldWin::m_aDatabaseName
private

Definition at line 43 of file tabwin.hxx.

Referenced by GetDatabaseName(), and UpdateContent().

std::vector<std::unique_ptr<ColumnInfo> > FmFieldWin::m_aListBoxData
private

Definition at line 40 of file tabwin.hxx.

Referenced by addToList(), and UpdateContent().

::osl::Mutex FmFieldWin::m_aMutex
private

Definition at line 38 of file tabwin.hxx.

OUString FmFieldWin::m_aObjectName
private

Definition at line 43 of file tabwin.hxx.

Referenced by GetObjectName(), and UpdateContent().

sal_Int32 FmFieldWin::m_nObjectType
private

Definition at line 45 of file tabwin.hxx.

Referenced by GetObjectType(), and UpdateContent().

rtl::Reference<comphelper::OPropertyChangeMultiplexer> FmFieldWin::m_xChangeListener
private

Definition at line 47 of file tabwin.hxx.

Referenced by UpdateContent(), and ~FmFieldWin().

rtl::Reference<svx::OColumnTransferable> FmFieldWin::m_xHelper
private

Definition at line 48 of file tabwin.hxx.

Referenced by FmFieldWin().

std::unique_ptr<weld::TreeView> FmFieldWin::m_xListBox
private

Definition at line 39 of file tabwin.hxx.

Referenced by addToList(), createSelectionControls(), FmFieldWin(), and UpdateContent().


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