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:
Collaboration diagram for FmPropBrw:

Public Member Functions

 FmPropBrw (const css::uno::Reference< css::uno::XComponentContext > &_xORB, SfxBindings *pBindings, SfxChildWindow *pMgr, weld::Window *pParent, const SfxChildWinInfo *_pInfo)
virtual ~FmPropBrw () override
- Public Member Functions inherited from SfxModelessDialogController
virtual ~SfxModelessDialogController () override
void Initialize (SfxChildWinInfo const *pInfo)
bool IsClosing () const
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
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 *)

Private Member Functions

virtual void StateChanged (sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem *pState) override
virtual void FillInfo (SfxChildWinInfo &rInfo) const override
virtual void Close () override
 DECL_LINK (OnAsyncGetFocus, void *, void)
void implSetNewSelection (const InterfaceBag &_rSelection)
void implDetachController ()
bool implIsReadOnlyModel () const
OUString getCurrentPage () const
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
std::unique_ptr< weld::Containerm_xContainer
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

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 OString &rID)

Detailed Description

Definition at line 42 of file fmPropBrw.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

void FmPropBrw::Close ( )
FmPropBrw::DECL_LINK ( OnAsyncGetFocus  ,
void ,
void FmPropBrw::FillInfo ( SfxChildWinInfo rInfo) const
OUString FmPropBrw::getCurrentPage ( ) const

Definition at line 237 of file fmPropBrw.cxx.

References Exception, m_sLastActivePage, m_xBrowserController, and TOOLS_WARN_EXCEPTION.

Referenced by FillInfo(), and implDetachController().

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

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 493 of file fmPropBrw.cxx.

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

Referenced by StateChanged().

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

Definition at line 316 of file fmPropBrw.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and m_xInspectorModel.

Referenced by implSetNewSelection().

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

Member Data Documentation

bool FmPropBrw::m_bInitialStateChange

Definition at line 44 of file fmPropBrw.hxx.

Referenced by StateChanged().

ImplSVEvent* FmPropBrw::m_nAsyncGetFocusId

Definition at line 46 of file fmPropBrw.hxx.

Referenced by StateChanged(), and ~FmPropBrw().

weld::Window* FmPropBrw::m_pParent

Definition at line 45 of file fmPropBrw.hxx.

Referenced by impl_createPropertyBrowser_throw().

OUString FmPropBrw::m_sLastActivePage

Definition at line 47 of file fmPropBrw.hxx.

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

css::uno::Reference< css::frame::XController > FmPropBrw::m_xBrowserController
std::unique_ptr<weld::Container> FmPropBrw::m_xContainer

Definition at line 48 of file fmPropBrw.hxx.

Referenced by FmPropBrw().

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

Definition at line 50 of file fmPropBrw.hxx.

Referenced by impl_createPropertyBrowser_throw(), and ~FmPropBrw().

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

Definition at line 56 of file fmPropBrw.hxx.

Referenced by impl_ensurePropertyBrowser_nothrow().

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

Definition at line 52 of file fmPropBrw.hxx.

Referenced by FmPropBrw(), and impl_createPropertyBrowser_throw().

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