LibreOffice Module extensions (master) 1
|
#include <framectr.hxx>
Public Member Functions | |
BibFrameController_Impl (css::uno::Reference< css::awt::XWindow > xComponent, BibDataManager *pDatMan) | |
virtual | ~BibFrameController_Impl () override |
void | ChangeDataSource (const css::uno::Sequence< css::beans::PropertyValue > &aArgs) |
void | RemoveFilter () |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &sServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual void SAL_CALL | attachFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) override |
virtual sal_Bool SAL_CALL | attachModel (const css::uno::Reference< css::frame::XModel > &xModel) override |
virtual sal_Bool SAL_CALL | suspend (sal_Bool bSuspend) override |
virtual css::uno::Any SAL_CALL | getViewData () override |
virtual void SAL_CALL | restoreViewData (const css::uno::Any &Value) override |
virtual css::uno::Reference< css::frame::XFrame > SAL_CALL | getFrame () override |
virtual css::uno::Reference< css::frame::XModel > SAL_CALL | getModel () override |
virtual void SAL_CALL | dispose () override |
virtual void SAL_CALL | addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual void SAL_CALL | removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override |
virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL | queryDispatch (const css::util::URL &aURL, const OUString &aTargetFrameName, sal_Int32 nSearchFlags) override |
virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL | queryDispatches (const css::uno::Sequence< css::frame::DispatchDescriptor > &aDescripts) override |
virtual void SAL_CALL | dispatch (const css::util::URL &aURL, const css::uno::Sequence< css::beans::PropertyValue > &aArgs) override |
virtual void SAL_CALL | addStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
virtual void SAL_CALL | removeStatusListener (const css::uno::Reference< css::frame::XStatusListener > &xControl, const css::util::URL &aURL) override |
virtual css::uno::Sequence< ::sal_Int16 > SAL_CALL | getSupportedCommandGroups () override |
virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL | getConfigurableDispatchInformation (::sal_Int16 CommandGroup) override |
Private Member Functions | |
DECL_LINK (DisposeHdl, void *, void) | |
Static Private Member Functions | |
static bool | SaveModified (const css::uno::Reference< css::form::runtime::XFormController > &xController) |
Private Attributes | |
rtl::Reference< BibFrameCtrl_Impl > | m_xImpl |
BibStatusDispatchArr | m_aStatusListeners |
css::uno::Reference< css::awt::XWindow > | m_xWindow |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
bool | m_bDisposing |
rtl::Reference< BibDataManager > | m_xDatMan |
VclPtr< vcl::Window > | m_xLastQueriedFocusWin |
Friends | |
class | BibFrameCtrl_Impl |
Definition at line 56 of file framectr.hxx.
BibFrameController_Impl::BibFrameController_Impl | ( | css::uno::Reference< css::awt::XWindow > | xComponent, |
BibDataManager * | pDatMan | ||
) |
Definition at line 151 of file framectr.cxx.
References BibFrameCtrl_Impl, m_bDisposing, and m_xImpl.
|
overridevirtual |
Definition at line 161 of file framectr.cxx.
|
overridevirtual |
Definition at line 239 of file framectr.cxx.
References m_xImpl.
|
overridevirtual |
Definition at line 607 of file framectr.cxx.
References aData, aEvent, aURL, canInsertRecords(), BibModul::GetConfig(), SotExchange::GetFormatDataFlavor(), BibConfig::getQueryText(), VCLUnoHelper::GetWindow(), lcl_GetFocusChild(), m_aStatusListeners, m_xDatMan, m_xLastQueriedFocusWin, m_xWindow, and nCount.
|
overridevirtual |
Definition at line 184 of file framectr.cxx.
|
overridevirtual |
Definition at line 190 of file framectr.cxx.
void BibFrameController_Impl::ChangeDataSource | ( | const css::uno::Sequence< css::beans::PropertyValue > & | aArgs | ) |
Definition at line 804 of file framectr.cxx.
References aEvent, aURL, BibStatusDispatch::aURL, BibModul::GetConfig(), BibConfig::getQueryText(), m_aStatusListeners, m_xDatMan, n, nCount, uno::Any::Value, and BibStatusDispatch::xListener.
Referenced by dispatch().
|
private |
|
overridevirtual |
Definition at line 374 of file framectr.cxx.
References aCommand, aEvent, aURL, BibStatusDispatch::aURL, canInsertRecords(), ChangeDataSource(), Exception, VclPtr< class reference_type >::get(), BibModul::GetConfig(), Application::GetFrameWeld(), vcl::Window::KeyInput(), LINK, m_aStatusListeners, m_bDisposing, m_xDatMan, m_xLastQueriedFocusWin, m_xWindow, comphelper::makePropertyValue(), n, nCount, Application::PostUserEvent(), RemoveFilter(), SaveModified(), BibConfig::setQueryField(), TOOLS_WARN_EXCEPTION, uno::Any::Value, and BibStatusDispatch::xListener.
|
overridevirtual |
Definition at line 223 of file framectr.cxx.
References VclPtr< class reference_type >::clear(), getFrame(), m_aStatusListeners, m_bDisposing, m_xDatMan, m_xImpl, m_xLastQueriedFocusWin, and xFrame.
|
overridevirtual |
Definition at line 285 of file framectr.cxx.
References comphelper::containerToSequence(), and GetCommandToInfoCache().
|
overridevirtual |
Definition at line 213 of file framectr.cxx.
References m_xFrame.
Referenced by dispose(), BibFrameCtrl_Impl::disposing(), and suspend().
|
overridevirtual |
Definition at line 167 of file framectr.cxx.
|
overridevirtual |
Definition at line 218 of file framectr.cxx.
|
overridevirtual |
Definition at line 275 of file framectr.cxx.
|
overridevirtual |
Definition at line 177 of file framectr.cxx.
|
overridevirtual |
Definition at line 204 of file framectr.cxx.
|
overridevirtual |
Definition at line 249 of file framectr.cxx.
References aURL, GetCommandToInfoCache(), m_bDisposing, and m_xDatMan.
Referenced by queryDispatches().
|
overridevirtual |
Definition at line 266 of file framectr.cxx.
References i, and queryDispatch().
|
overridevirtual |
Definition at line 244 of file framectr.cxx.
References m_xImpl.
void BibFrameController_Impl::RemoveFilter | ( | ) |
Definition at line 763 of file framectr.cxx.
References aEvent, BibStatusDispatch::aURL, m_aStatusListeners, m_xDatMan, n, nCount, and BibStatusDispatch::xListener.
Referenced by dispatch().
|
overridevirtual |
Definition at line 741 of file framectr.cxx.
References aURL, BibStatusDispatch::aURL, m_aStatusListeners, m_bDisposing, n, nCount, and BibStatusDispatch::xListener.
|
overridevirtual |
Definition at line 209 of file framectr.cxx.
|
staticprivate |
Definition at line 322 of file framectr.cxx.
References Exception, TOOLS_WARN_EXCEPTION, and xController.
Referenced by dispatch().
|
overridevirtual |
Definition at line 172 of file framectr.cxx.
References sServiceName, and cppu::supportsService().
Definition at line 195 of file framectr.cxx.
References getFrame(), and m_xImpl.
|
friend |
Definition at line 64 of file framectr.hxx.
Referenced by BibFrameController_Impl().
|
private |
Definition at line 66 of file framectr.hxx.
Referenced by addStatusListener(), ChangeDataSource(), dispatch(), dispose(), RemoveFilter(), and removeStatusListener().
|
private |
Definition at line 69 of file framectr.hxx.
Referenced by BibFrameController_Impl(), dispatch(), dispose(), queryDispatch(), and removeStatusListener().
|
private |
Definition at line 70 of file framectr.hxx.
Referenced by addStatusListener(), ChangeDataSource(), dispatch(), dispose(), queryDispatch(), RemoveFilter(), and ~BibFrameController_Impl().
|
private |
Definition at line 68 of file framectr.hxx.
Referenced by attachFrame(), and getFrame().
|
private |
Definition at line 65 of file framectr.hxx.
Referenced by addEventListener(), attachFrame(), BibFrameController_Impl(), dispose(), removeEventListener(), suspend(), and ~BibFrameController_Impl().
|
private |
Definition at line 71 of file framectr.hxx.
Referenced by addStatusListener(), dispatch(), and dispose().
|
private |
Definition at line 67 of file framectr.hxx.
Referenced by addStatusListener(), and dispatch().