LibreOffice Module svx (master) 1
|
#include <tabwin.hxx>
Public Member Functions | |
FmFieldWin (SfxBindings *pBindings, SfxChildWindow *pMgr, weld::Window *pParent) | |
virtual | ~FmFieldWin () override |
virtual void | StateChangedAtToolBoxControl (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::SharedConnection & | GetConnection () 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 (int nResponse) override |
virtual void | Activate () override |
virtual void | Deactivate () override |
virtual void | ChildWinDispose () override |
virtual void | FillInfo (SfxChildWinInfo &) const |
SfxBindings & | GetBindings () const |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Public Member Functions inherited from SfxControllerItem | |
SfxBindings & | GetBindings () |
const SfxBindings & | GetBindings () 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 () |
SfxControllerItem * | GetItemLink () |
SfxControllerItem * | ChangeItemLink (SfxControllerItem *pNewLink) |
void | SetId (sal_uInt16 nItemId) |
sal_uInt16 | GetId () const |
virtual void | StateChangedAtToolBoxControl (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) |
virtual void | GetControlState (sal_uInt16 nSID, boost::property_tree::ptree &) |
MapUnit | GetCoreMetric () const |
void | SetFallbackCoreMetric (MapUnit eFallback) |
SAL_DLLPRIVATE void | BindInternal_Impl (sal_uInt16 nNewId, SfxBindings *) |
Public Member Functions inherited from comphelper::OPropertyChangeListener2 | |
virtual | ~OPropertyChangeListener2 () |
virtual void | _propertyChanged (const css::beans::PropertyChangeEvent &_rEvent)=0 |
Private Member Functions | |
void | addToList (const css::uno::Reference< css::container::XNameAccess > &i_xColumns) |
DECL_LINK (RowActivatedHdl, weld::TreeView &, bool) | |
DECL_LINK (DragBeginHdl, bool &, bool) | |
virtual void | _propertyChanged (const css::beans::PropertyChangeEvent &evt) override |
SfxBindings & | GetBindings () |
const SfxBindings & | GetBindings () const |
Private Attributes | |
std::mutex | m_aMutex |
std::unique_ptr< weld::TreeView > | m_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::OPropertyChangeMultiplexer2 > | m_xChangeListener |
rtl::Reference< svx::OColumnTransferable > | m_xHelper |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxControllerItem | |
static SfxItemState | GetItemState (const SfxPoolItem *pState) |
Protected Member Functions inherited from SfxModelessDialogController | |
SfxModelessDialogController (SfxBindings *, SfxChildWindow *pChildWin, weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
Protected Member Functions inherited from comphelper::OPropertyChangeListener2 | |
void | disposeAdapter (std::unique_lock< std::mutex > &rGuard) |
Definition at line 34 of file tabwin.hxx.
FmFieldWin::FmFieldWin | ( | SfxBindings * | pBindings, |
SfxChildWindow * | pMgr, | ||
weld::Window * | pParent | ||
) |
Definition at line 112 of file tabwin.cxx.
References COLUMN_DESCRIPTOR, CONTROL_EXCHANGE, DND_ACTION_COPY, FIELD_DESCRIPTOR, HID_FIELD_SEL, HID_FIELD_SEL_WIN, LINK, m_xDialog, m_xHelper, m_xListBox, STD_WIN_SIZE_X, STD_WIN_SIZE_Y, and UpdateContent().
|
overridevirtual |
Definition at line 134 of file tabwin.cxx.
References SfxControllerItem::dispose(), m_aMutex, and m_xChangeListener.
|
overrideprivatevirtual |
Implements comphelper::OPropertyChangeListener2.
Definition at line 181 of file tabwin.cxx.
References UpdateContent().
|
private |
Definition at line 71 of file tabwin.cxx.
References aEntries, FM_PROP_LABEL, m_aListBoxData, m_xListBox, sId, weld::toId(), and xColumn.
Referenced by UpdateContent().
bool FmFieldWin::createSelectionControls | ( | ) |
Definition at line 152 of file tabwin.cxx.
References Any, SfxBindings::Execute(), GetBindings(), GetConnection(), GetDatabaseName(), GetObjectName(), GetObjectType(), utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::getTyped(), and m_xListBox.
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxModelessDialogController.
Definition at line 292 of file tabwin.cxx.
References SfxChildWinInfo::bVisible.
|
private |
Referenced by createSelectionControls().
|
private |
|
inline |
Definition at line 67 of file tabwin.hxx.
References m_aConnection.
Referenced by createSelectionControls().
|
inline |
Definition at line 66 of file tabwin.hxx.
References m_aDatabaseName.
Referenced by createSelectionControls().
|
inline |
Definition at line 68 of file tabwin.hxx.
References m_aObjectName.
Referenced by createSelectionControls().
|
inline |
Definition at line 69 of file tabwin.hxx.
References m_nObjectType.
Referenced by createSelectionControls().
|
overridevirtual |
Reimplemented from SfxControllerItem.
Definition at line 187 of file tabwin.cxx.
References GetShell(), and UpdateContent().
void FmFieldWin::UpdateContent | ( | const css::uno::Reference< css::form::XForm > & | xForm | ) |
Definition at line 216 of file tabwin.cxx.
References addToList(), connectRowset(), Exception, FM_PROP_COMMAND, FM_PROP_COMMANDTYPE, FM_PROP_DATASOURCE, getFieldsByCommandDescriptor(), utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::is(), m_aConnection, m_aDatabaseName, m_aListBoxData, m_aMutex, m_aObjectName, m_nObjectType, m_xChangeListener, m_xDialog, m_xListBox, utl::SharedUNOComponent< css::sdbc::XConnection >::NoTakeOwnership, utl::SharedUNOComponent< class INTERFACE, class COMPONENT >::reset(), SvxResId(), and TOOLS_WARN_EXCEPTION.
void FmFieldWin::UpdateContent | ( | FmFormShell const * | pShell | ) |
Definition at line 201 of file tabwin.cxx.
References FmFormShell::GetImpl(), m_aListBoxData, m_xDialog, m_xListBox, SvxResId(), and UpdateContent().
Referenced by _propertyChanged(), FmFieldWin(), StateChangedAtToolBoxControl(), and UpdateContent().
|
private |
Definition at line 42 of file tabwin.hxx.
Referenced by GetConnection(), and UpdateContent().
|
private |
Definition at line 43 of file tabwin.hxx.
Referenced by GetDatabaseName(), and UpdateContent().
|
private |
Definition at line 40 of file tabwin.hxx.
Referenced by addToList(), and UpdateContent().
|
private |
Definition at line 38 of file tabwin.hxx.
Referenced by UpdateContent(), and ~FmFieldWin().
|
private |
Definition at line 44 of file tabwin.hxx.
Referenced by GetObjectName(), and UpdateContent().
|
private |
Definition at line 45 of file tabwin.hxx.
Referenced by GetObjectType(), and UpdateContent().
|
private |
Definition at line 47 of file tabwin.hxx.
Referenced by UpdateContent(), and ~FmFieldWin().
|
private |
Definition at line 48 of file tabwin.hxx.
Referenced by FmFieldWin().
|
private |
Definition at line 39 of file tabwin.hxx.
Referenced by addToList(), createSelectionControls(), FmFieldWin(), and UpdateContent().