LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
FmPropBrw Class Referencefinal

#include <fmPropBrw.hxx>

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

Public Member Functions

 FmPropBrw (const css::uno::Reference< css::uno::XComponentContext > &_xORB, SfxBindings *pBindings, SfxChildWindow *pMgr, vcl::Window *pParent, const SfxChildWinInfo *_pInfo)
 
virtual ~FmPropBrw () override
 
virtual void dispose () override
 
- Public Member Functions inherited from SfxFloatingWindow
void Initialize (SfxChildWinInfo const *pInfo)
 
 DECL_LINK (TimerHdl, Timer *, void)
 
- Public Member Functions inherited from SfxControllerItem
SfxBindingsGetBindings ()
 
const SfxBindingsGetBindings () const
 
 SfxControllerItem ()
 
 SfxControllerItem (sal_uInt16 nId, SfxBindings &)
 
virtual ~SfxControllerItem ()
 
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 *)
 

Private Member Functions

virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void FillInfo (SfxChildWinInfo &rInfo) const override
 
virtual bool Close () override
 
 DECL_LINK (OnAsyncGetFocus, void *, void)
 
void implSetNewSelection (const InterfaceBag &_rSelection)
 
void implDetachController ()
 
bool implIsReadOnlyModel () const
 
OUString getCurrentPage () const
 
virtual void Resize () override
 
void impl_ensurePropertyBrowser_nothrow (FmFormShell *_pFormShell)
 creates the PropertyBrowser (aka ObjectInspector) and plugs it into our frame More...
 
void impl_createPropertyBrowser_throw (FmFormShell *_pFormShell)
 creates a property browser More...
 

Private Attributes

bool m_bInitialStateChange
 
OUString m_sLastActivePage
 
css::uno::Reference< css::uno::XComponentContext > m_xInspectorContext
 
css::uno::Reference< css::uno::XComponentContext > m_xORB
 
css::uno::Reference< css::frame::XFrame2 > m_xMeAsFrame
 
css::uno::Reference< css::uno::XInterface > m_xLastKnownDocument
 
css::uno::Reference< css::inspection::XObjectInspectorModel > m_xInspectorModel
 
css::uno::Reference< css::frame::XController > m_xBrowserController
 
css::uno::Reference< css::awt::XWindow > m_xBrowserComponentWindow
 
css::uno::Reference< css::awt::XWindow > m_xFrameContainerWindow
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxControllerItem
static SfxItemState GetItemState (const SfxPoolItem *pState)
 
- Protected Member Functions inherited from SfxFloatingWindow
 SfxFloatingWindow (SfxBindings *pBindings, SfxChildWindow *pCW, vcl::Window *pParent, WinBits nWinBits)
 
virtual ~SfxFloatingWindow () override
 
virtual void StateChanged (StateChangedType nStateChange) override
 
virtual void Move () override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
SfxBindingsGetBindings ()
 

Detailed Description

Definition at line 43 of file fmPropBrw.hxx.

Constructor & Destructor Documentation

FmPropBrw::FmPropBrw ( const css::uno::Reference< css::uno::XComponentContext > &  _xORB,
SfxBindings pBindings,
SfxChildWindow pMgr,
vcl::Window pParent,
const SfxChildWinInfo _pInfo 
)
FmPropBrw::~FmPropBrw ( )
overridevirtual

Definition at line 252 of file fmPropBrw.cxx.

Member Function Documentation

bool FmPropBrw::Close ( )
overrideprivatevirtual
FmPropBrw::DECL_LINK ( OnAsyncGetFocus  ,
void ,
void   
)
private
void FmPropBrw::dispose ( void  )
overridevirtual
void FmPropBrw::FillInfo ( SfxChildWinInfo rInfo) const
overrideprivatevirtual

Reimplemented from SfxFloatingWindow.

Definition at line 477 of file fmPropBrw.cxx.

References SfxChildWinInfo::aExtraString, SfxChildWinInfo::bVisible, and getCurrentPage().

OUString FmPropBrw::getCurrentPage ( ) const
private

Definition at line 286 of file fmPropBrw.cxx.

References Exception, m_sLastActivePage, and m_xBrowserController.

Referenced by FillInfo(), and implDetachController().

void FmPropBrw::impl_createPropertyBrowser_throw ( FmFormShell _pFormShell)
private
void FmPropBrw::impl_ensurePropertyBrowser_nothrow ( FmFormShell _pFormShell)
private

creates the PropertyBrowser (aka ObjectInspector) and plugs it into our frame

This method ensures that a new component is created every time the XModel which we're working for changed. This is necessary since this model is part of the ComponentContext we use to create the ObjectInspector.

Definition at line 588 of file fmPropBrw.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, SfxObjectShell::GetModel(), SfxShell::GetObjectShell(), impl_createPropertyBrowser_throw(), m_xBrowserComponentWindow, m_xBrowserController, m_xInspectorModel, m_xLastKnownDocument, and m_xMeAsFrame.

Referenced by StateChanged().

void FmPropBrw::implDetachController ( )
private
bool FmPropBrw::implIsReadOnlyModel ( ) const
private

Definition at line 374 of file fmPropBrw.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and m_xInspectorModel.

Referenced by implSetNewSelection().

void FmPropBrw::implSetNewSelection ( const InterfaceBag _rSelection)
private
void FmPropBrw::Resize ( )
overrideprivatevirtual
void FmPropBrw::StateChanged ( sal_uInt16  nSID,
SfxItemState  eState,
const SfxPoolItem pState 
)
overrideprivatevirtual

Member Data Documentation

bool FmPropBrw::m_bInitialStateChange
private

Definition at line 45 of file fmPropBrw.hxx.

Referenced by StateChanged().

OUString FmPropBrw::m_sLastActivePage
private

Definition at line 46 of file fmPropBrw.hxx.

Referenced by FmPropBrw(), getCurrentPage(), implDetachController(), and StateChanged().

css::uno::Reference< css::awt::XWindow > FmPropBrw::m_xBrowserComponentWindow
private
css::uno::Reference< css::frame::XController > FmPropBrw::m_xBrowserController
private
css::uno::Reference< css::awt::XWindow > FmPropBrw::m_xFrameContainerWindow
private

Definition at line 62 of file fmPropBrw.hxx.

Referenced by FmPropBrw(), and Resize().

css::uno::Reference< css::uno::XComponentContext > FmPropBrw::m_xInspectorContext
private

Definition at line 48 of file fmPropBrw.hxx.

Referenced by dispose(), and impl_createPropertyBrowser_throw().

css::uno::Reference< css::inspection::XObjectInspectorModel > FmPropBrw::m_xInspectorModel
private
css::uno::Reference< css::uno::XInterface > FmPropBrw::m_xLastKnownDocument
private

Definition at line 54 of file fmPropBrw.hxx.

Referenced by impl_ensurePropertyBrowser_nothrow().

css::uno::Reference< css::frame::XFrame2 > FmPropBrw::m_xMeAsFrame
private
css::uno::Reference< css::uno::XComponentContext > FmPropBrw::m_xORB
private

Definition at line 50 of file fmPropBrw.hxx.

Referenced by FmPropBrw(), and impl_createPropertyBrowser_throw().


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