Kaydet (Commit) 59a601d1 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

com::sun::star->css in include/dbaccess

Change-Id: I90202b5a537cb64f4ddae3141e19270a93c5b6e0
Reviewed-on: https://gerrit.libreoffice.org/19487Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 08233bd2
...@@ -44,25 +44,25 @@ namespace dbaui ...@@ -44,25 +44,25 @@ namespace dbaui
/** executes the given command without checking if it is allowed /** executes the given command without checking if it is allowed
@param _rCommand the URL of the command @param _rCommand the URL of the command
*/ */
virtual void executeUnChecked(const ::com::sun::star::util::URL& _rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) = 0; virtual void executeUnChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) = 0;
/** executes the given command only when it is allowed /** executes the given command only when it is allowed
@param _rCommand @param _rCommand
the URL of the command the URL of the command
*/ */
virtual void executeChecked(const ::com::sun::star::util::URL& _rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) = 0; virtual void executeChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) = 0;
/** executes the given command without checking if it is allowed /** executes the given command without checking if it is allowed
@param _nCommandId @param _nCommandId
the id of the command URL the id of the command URL
*/ */
virtual void executeUnChecked(sal_uInt16 _nCommandId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) = 0; virtual void executeUnChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) = 0;
/** executes the given command only when it is allowed /** executes the given command only when it is allowed
@param _nCommandId @param _nCommandId
the id of the command URL the id of the command URL
*/ */
virtual void executeChecked(sal_uInt16 _nCommandId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) = 0; virtual void executeChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) = 0;
/** checks if the given Command is enabled /** checks if the given Command is enabled
...@@ -114,8 +114,8 @@ namespace dbaui ...@@ -114,8 +114,8 @@ namespace dbaui
This must be the same model as returned by XController::getModel, and might be <NULL/> when This must be the same model as returned by XController::getModel, and might be <NULL/> when
the controller does not have an own model. the controller does not have an own model.
*/ */
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > virtual css::uno::Reference< css::frame::XController >
getXController() throw( ::com::sun::star::uno::RuntimeException ) = 0; getXController() throw( css::uno::RuntimeException ) = 0;
/** allows interception of user input, aka mouse clicks and key events /** allows interception of user input, aka mouse clicks and key events
*/ */
......
...@@ -46,13 +46,13 @@ namespace dbaui ...@@ -46,13 +46,13 @@ namespace dbaui
~ControllerFrame(); ~ControllerFrame();
/// attaches a new frame /// attaches a new frame
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& const css::uno::Reference< css::frame::XFrame >&
attachFrame( attachFrame(
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame const css::uno::Reference< css::frame::XFrame >& _rxFrame
); );
// retrieves the current frame // retrieves the current frame
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& const css::uno::Reference< css::frame::XFrame >&
getFrame() const; getFrame() const;
/** determines whether the frame is currently active /** determines whether the frame is currently active
...@@ -61,7 +61,7 @@ namespace dbaui ...@@ -61,7 +61,7 @@ namespace dbaui
/** notifies the instance that a certain frame action happened with our frame /** notifies the instance that a certain frame action happened with our frame
*/ */
void frameAction( ::com::sun::star::frame::FrameAction _eAction ); void frameAction( css::frame::FrameAction _eAction );
private: private:
::std::unique_ptr< ControllerFrame_Data > m_pData; ::std::unique_ptr< ControllerFrame_Data > m_pData;
......
...@@ -34,7 +34,7 @@ namespace dbaui ...@@ -34,7 +34,7 @@ namespace dbaui
class IController; class IController;
class DBACCESS_DLLPUBLIC ODataView : public vcl::Window class DBACCESS_DLLPUBLIC ODataView : public vcl::Window
{ {
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; // the service factory to work with css::uno::Reference< css::uno::XComponentContext > m_xContext; // the service factory to work with
protected: protected:
rtl::Reference<IController> m_xController; // the controller in where we resides in rtl::Reference<IController> m_xController; // the controller in where we resides in
...@@ -44,7 +44,7 @@ namespace dbaui ...@@ -44,7 +44,7 @@ namespace dbaui
public: public:
ODataView( vcl::Window* pParent, ODataView( vcl::Window* pParent,
IController& _rController, IController& _rController,
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& , const css::uno::Reference< css::uno::XComponentContext >& ,
WinBits nStyle = 0 ); WinBits nStyle = 0 );
virtual ~ODataView(); virtual ~ODataView();
virtual void dispose() override; virtual void dispose() override;
...@@ -60,12 +60,12 @@ namespace dbaui ...@@ -60,12 +60,12 @@ namespace dbaui
inline IController& getCommandController() const { return *m_xController.get(); } inline IController& getCommandController() const { return *m_xController.get(); }
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getORB() { return m_xContext;} css::uno::Reference< css::uno::XComponentContext > getORB() { return m_xContext;}
// the default implementation simply calls resizeAll( GetSizePixel() ) // the default implementation simply calls resizeAll( GetSizePixel() )
virtual void Resize() override; virtual void Resize() override;
void attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame); void attachFrame(const css::uno::Reference< css::frame::XFrame >& _xFrame);
protected: protected:
// window overridables // window overridables
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& _rRect ) override; virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& _rRect ) override;
......
...@@ -39,7 +39,7 @@ namespace dbaui ...@@ -39,7 +39,7 @@ namespace dbaui
//= UndoManager //= UndoManager
struct UndoManager_Impl; struct UndoManager_Impl;
typedef ::cppu::ImplHelper1< ::com::sun::star::document::XUndoManager > UndoManager_Base; typedef ::cppu::ImplHelper1< css::document::XUndoManager > UndoManager_Base;
class DBACCESS_DLLPUBLIC UndoManager : public UndoManager_Base class DBACCESS_DLLPUBLIC UndoManager : public UndoManager_Base
{ {
public: public:
...@@ -56,32 +56,32 @@ namespace dbaui ...@@ -56,32 +56,32 @@ namespace dbaui
void disposing(); void disposing();
// XUndoManager // XUndoManager
virtual void SAL_CALL enterUndoContext( const OUString& i_title ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL enterUndoContext( const OUString& i_title ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL enterHiddenUndoContext( ) throw (::com::sun::star::document::EmptyUndoStackException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL enterHiddenUndoContext( ) throw (css::document::EmptyUndoStackException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL leaveUndoContext( ) throw (::com::sun::star::util::InvalidStateException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL leaveUndoContext( ) throw (css::util::InvalidStateException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL addUndoAction( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoAction >& i_action ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addUndoAction( const css::uno::Reference< css::document::XUndoAction >& i_action ) throw (css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL undo( ) throw (::com::sun::star::document::EmptyUndoStackException, ::com::sun::star::document::UndoContextNotClosedException, ::com::sun::star::document::UndoFailedException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL undo( ) throw (css::document::EmptyUndoStackException, css::document::UndoContextNotClosedException, css::document::UndoFailedException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL redo( ) throw (::com::sun::star::document::EmptyUndoStackException, ::com::sun::star::document::UndoContextNotClosedException, ::com::sun::star::document::UndoFailedException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL redo( ) throw (css::document::EmptyUndoStackException, css::document::UndoContextNotClosedException, css::document::UndoFailedException, css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL isUndoPossible( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL isUndoPossible( ) throw (css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL isRedoPossible( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL isRedoPossible( ) throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getCurrentUndoActionTitle( ) throw (::com::sun::star::document::EmptyUndoStackException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual OUString SAL_CALL getCurrentUndoActionTitle( ) throw (css::document::EmptyUndoStackException, css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getCurrentRedoActionTitle( ) throw (::com::sun::star::document::EmptyUndoStackException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual OUString SAL_CALL getCurrentRedoActionTitle( ) throw (css::document::EmptyUndoStackException, css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAllUndoActionTitles( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getAllUndoActionTitles( ) throw (css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getAllRedoActionTitles( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< OUString > SAL_CALL getAllRedoActionTitles( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL clear( ) throw (::com::sun::star::document::UndoContextNotClosedException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL clear( ) throw (css::document::UndoContextNotClosedException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL clearRedo( ) throw (::com::sun::star::document::UndoContextNotClosedException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL clearRedo( ) throw (css::document::UndoContextNotClosedException, css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL reset( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL reset( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL addUndoManagerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManagerListener >& i_listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addUndoManagerListener( const css::uno::Reference< css::document::XUndoManagerListener >& i_listener ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeUndoManagerListener( const ::com::sun::star::uno::Reference< ::com::sun::star::document::XUndoManagerListener >& i_listener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeUndoManagerListener( const css::uno::Reference< css::document::XUndoManagerListener >& i_listener ) throw (css::uno::RuntimeException, std::exception) override;
// XLockable (base of XUndoManager) // XLockable (base of XUndoManager)
virtual void SAL_CALL lock( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL lock( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL unlock( ) throw (::com::sun::star::util::NotLockedException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL unlock( ) throw (css::util::NotLockedException, css::uno::RuntimeException, std::exception) override;
virtual sal_Bool SAL_CALL isLocked( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL isLocked( ) throw (css::uno::RuntimeException, std::exception) override;
// XChild (base of XUndoManager) // XChild (base of XUndoManager)
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& Parent ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) override;
private: private:
std::unique_ptr< UndoManager_Impl > m_xImpl; std::unique_ptr< UndoManager_Impl > m_xImpl;
......
...@@ -48,8 +48,8 @@ namespace dbaui ...@@ -48,8 +48,8 @@ namespace dbaui
class DBSubComponentController; class DBSubComponentController;
typedef ::cppu::ImplInheritanceHelper< OGenericUnoController typedef ::cppu::ImplInheritanceHelper< OGenericUnoController
, ::com::sun::star::document::XScriptInvocationContext , css::document::XScriptInvocationContext
, ::com::sun::star::util::XModifiable , css::util::XModifiable
> DBSubComponentController_Base; > DBSubComponentController_Base;
struct DBSubComponentController_Impl; struct DBSubComponentController_Impl;
...@@ -62,16 +62,16 @@ namespace dbaui ...@@ -62,16 +62,16 @@ namespace dbaui
/** forces usage of a connection which we do not own /** forces usage of a connection which we do not own
<p>To be used from within XInitialization::initialize, resp. impl_initialize, only.</p> <p>To be used from within XInitialization::initialize, resp. impl_initialize, only.</p>
*/ */
void initializeConnection( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxForeignConn ); void initializeConnection( const css::uno::Reference< css::sdbc::XConnection >& _rxForeignConn );
protected: protected:
// OGenericUnoController - initialization // OGenericUnoController - initialization
virtual void impl_initialize() override; virtual void impl_initialize() override;
// OGenericUnoController // OGenericUnoController
virtual void Execute(sal_uInt16 nId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) override; virtual void Execute(sal_uInt16 nId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > getPrivateModel() const override; virtual css::uno::Reference< css::frame::XModel > getPrivateModel() const override;
bool impl_isModified() const; bool impl_isModified() const;
virtual void impl_onModifyChanged(); virtual void impl_onModifyChanged();
...@@ -87,17 +87,17 @@ namespace dbaui ...@@ -87,17 +87,17 @@ namespace dbaui
bool isConnected() const; bool isConnected() const;
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > css::uno::Reference< css::sdbc::XDatabaseMetaData >
getMetaData( ) const; getMetaData( ) const;
// access to the data source / document // access to the data source / document
OUString getDataSourceName() const; OUString getDataSourceName() const;
const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& const css::uno::Reference< css::beans::XPropertySet >&
getDataSource() const; getDataSource() const;
bool haveDataSource() const; bool haveDataSource() const;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > css::uno::Reference< css::frame::XModel >
getDatabaseDocument() const; getDatabaseDocument() const;
/** provides access to the SDB-level database meta data of the current connection /** provides access to the SDB-level database meta data of the current connection
...@@ -137,33 +137,33 @@ namespace dbaui ...@@ -137,33 +137,33 @@ namespace dbaui
@return @return
the currently used connection. the currently used connection.
*/ */
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& const css::uno::Reference< css::sdbc::XConnection >&
getConnection() const; getConnection() const;
/** returns the number formatter /** returns the number formatter
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatter > getNumberFormatter() const; css::uno::Reference< css::util::XNumberFormatter > getNumberFormatter() const;
// ::com::sun::star::frame::XController // css::frame::XController
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL attachModel(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual sal_Bool SAL_CALL attachModel(const css::uno::Reference< css::frame::XModel > & xModel) throw( css::uno::RuntimeException, std::exception ) override;
// XScriptInvocationContext // XScriptInvocationContext
virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XEmbeddedScripts > SAL_CALL getScriptContainer() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::document::XEmbeddedScripts > SAL_CALL getScriptContainer() throw (css::uno::RuntimeException, std::exception) override;
// XModifiable // XModifiable
virtual sal_Bool SAL_CALL isModified( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL isModified( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setModified( sal_Bool bModified ) throw (::com::sun::star::beans::PropertyVetoException, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setModified( sal_Bool bModified ) throw (css::beans::PropertyVetoException, css::uno::RuntimeException, std::exception) override;
// XModifyBroadcaster // XModifyBroadcaster
virtual void SAL_CALL addModifyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addModifyListener( const css::uno::Reference< css::util::XModifyListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeModifyListener( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyListener >& aListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeModifyListener( const css::uno::Reference< css::util::XModifyListener >& aListener ) throw (css::uno::RuntimeException, std::exception) override;
// XTitle // XTitle
virtual OUString SAL_CALL getTitle( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual OUString SAL_CALL getTitle( ) throw (css::uno::RuntimeException, std::exception) override;
protected: protected:
DBSubComponentController(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxORB); DBSubComponentController(const css::uno::Reference< css::uno::XComponentContext>& _rxORB);
virtual ~DBSubComponentController(); virtual ~DBSubComponentController();
void disconnect(); void disconnect();
...@@ -177,16 +177,16 @@ namespace dbaui ...@@ -177,16 +177,16 @@ namespace dbaui
protected: protected:
// XEventListener // XEventListener
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw( css::uno::RuntimeException, std::exception ) override;
// OComponentHelper // OComponentHelper
virtual void SAL_CALL disposing() override; virtual void SAL_CALL disposing() override;
// XInterface // XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface(const ::com::sun::star::uno::Type& _rType) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& _rType) throw (css::uno::RuntimeException, std::exception) override;
// XTypeProvider // XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override;
protected: protected:
sal_Int32 getCurrentStartNumber() const; sal_Int32 getCurrentStartNumber() const;
......
...@@ -105,7 +105,7 @@ namespace dbaui ...@@ -105,7 +105,7 @@ namespace dbaui
}; };
template< typename T > template< typename T >
inline bool SAL_CALL operator >>= ( const ::com::sun::star::uno::Any & _any, optional< T >& _value ) inline bool SAL_CALL operator >>= ( const css::uno::Any & _any, optional< T >& _value )
{ {
_value.reset(); // de-init the optional value _value.reset(); // de-init the optional value
...@@ -131,7 +131,7 @@ namespace dbaui ...@@ -131,7 +131,7 @@ namespace dbaui
optional< bool > bChecked; optional< bool > bChecked;
optional< bool > bInvisible; optional< bool > bInvisible;
::com::sun::star::uno::Any aValue; css::uno::Any aValue;
optional< OUString > sTitle; optional< OUString > sTitle;
FeatureState() : bEnabled(false) { } FeatureState() : bEnabled(false) { }
...@@ -142,7 +142,7 @@ namespace dbaui ...@@ -142,7 +142,7 @@ namespace dbaui
struct ControllerFeature : public ::com::sun::star::frame::DispatchInformation struct ControllerFeature : public css::frame::DispatchInformation
{ {
sal_uInt16 nFeatureId; sal_uInt16 nFeatureId;
}; };
...@@ -166,7 +166,7 @@ namespace dbaui ...@@ -166,7 +166,7 @@ namespace dbaui
struct FeatureListener struct FeatureListener
{ {
::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > css::uno::Reference< css::frame::XStatusListener >
xListener; xListener;
sal_Int32 nId; sal_Int32 nId;
bool bForceBroadcast; bool bForceBroadcast;
...@@ -176,10 +176,10 @@ namespace dbaui ...@@ -176,10 +176,10 @@ namespace dbaui
typedef ::std::deque< FeatureListener > FeatureListeners; typedef ::std::deque< FeatureListener > FeatureListeners;
struct FindFeatureListener : ::std::binary_function< FeatureListener, ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >, bool > struct FindFeatureListener : ::std::binary_function< FeatureListener, css::uno::Reference< css::frame::XStatusListener >, bool >
{ {
inline bool operator()( const FeatureListener& lhs, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& rhs ) const inline bool operator()( const FeatureListener& lhs, const css::uno::Reference< css::frame::XStatusListener >& rhs ) const
{ {
return !!( lhs.xListener == rhs ); return !!( lhs.xListener == rhs );
} }
...@@ -188,17 +188,17 @@ namespace dbaui ...@@ -188,17 +188,17 @@ namespace dbaui
typedef ::comphelper::SharedMutexBase OGenericUnoController_MBASE; typedef ::comphelper::SharedMutexBase OGenericUnoController_MBASE;
typedef ::cppu::WeakComponentImplHelper< ::com::sun::star::frame::XDispatch typedef ::cppu::WeakComponentImplHelper< css::frame::XDispatch
, ::com::sun::star::frame::XDispatchProviderInterceptor , css::frame::XDispatchProviderInterceptor
, ::com::sun::star::util::XModifyListener , css::util::XModifyListener
, ::com::sun::star::frame::XFrameActionListener , css::frame::XFrameActionListener
, ::com::sun::star::lang::XInitialization , css::lang::XInitialization
, ::com::sun::star::lang::XServiceInfo , css::lang::XServiceInfo
, ::com::sun::star::frame::XDispatchInformationProvider , css::frame::XDispatchInformationProvider
, ::com::sun::star::frame::XController2 , css::frame::XController2
, ::com::sun::star::frame::XTitle , css::frame::XTitle
, ::com::sun::star::frame::XTitleChangeBroadcaster , css::frame::XTitleChangeBroadcaster
, ::com::sun::star::awt::XUserInputInterception , css::awt::XUserInputInterception
> OGenericUnoController_Base; > OGenericUnoController_Base;
struct OGenericUnoController_Data; struct OGenericUnoController_Data;
...@@ -226,11 +226,11 @@ namespace dbaui ...@@ -226,11 +226,11 @@ namespace dbaui
// attributes // attributes
struct DispatchTarget struct DispatchTarget
{ {
::com::sun::star::util::URL aURL; css::util::URL aURL;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > xListener; css::uno::Reference< css::frame::XStatusListener > xListener;
DispatchTarget() { } DispatchTarget() { }
DispatchTarget(const ::com::sun::star::util::URL& rURL, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& rRef) : aURL(rURL), xListener(rRef) { } DispatchTarget(const css::util::URL& rURL, const css::uno::Reference< css::frame::XStatusListener >& rRef) : aURL(rURL), xListener(rRef) { }
}; };
typedef std::map<sal_uInt16, FeatureState> StateCache; typedef std::map<sal_uInt16, FeatureState> StateCache;
...@@ -244,13 +244,13 @@ namespace dbaui ...@@ -244,13 +244,13 @@ namespace dbaui
OAsynchronousLink m_aAsyncInvalidateAll; OAsynchronousLink m_aAsyncInvalidateAll;
OAsynchronousLink m_aAsyncCloseTask; // called when a task should be closed OAsynchronousLink m_aAsyncCloseTask; // called when a task should be closed
::com::sun::star::uno::Reference< ::com::sun::star::util::XURLTransformer > m_xUrlTransformer; // needed sometimes css::uno::Reference< css::util::XURLTransformer > m_xUrlTransformer; // needed sometimes
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext; css::uno::Reference< css::uno::XComponentContext > m_xContext;
ControllerFrame m_aCurrentFrame; ControllerFrame m_aCurrentFrame;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > m_xSlaveDispatcher; // for intercepting dispatches css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatcher; // for intercepting dispatches
::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > m_xMasterDispatcher; // dito css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatcher; // dito
::com::sun::star::uno::Reference< ::com::sun::star::sdb::XDatabaseContext > m_xDatabaseContext; css::uno::Reference< css::sdb::XDatabaseContext > m_xDatabaseContext;
::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitle > m_xTitleHelper; css::uno::Reference< css::frame::XTitle > m_xTitleHelper;
bool m_bPreview; bool m_bPreview;
bool m_bReadOnly; bool m_bReadOnly;
...@@ -267,7 +267,7 @@ namespace dbaui ...@@ -267,7 +267,7 @@ namespace dbaui
// methods // methods
OGenericUnoController( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rM ); OGenericUnoController( const css::uno::Reference< css::uno::XComponentContext >& _rM );
const ::comphelper::NamedValueCollection& const ::comphelper::NamedValueCollection&
getInitParams() const { return m_aInitParameters; } getInitParams() const { return m_aInitParameters; }
...@@ -289,28 +289,28 @@ namespace dbaui ...@@ -289,28 +289,28 @@ namespace dbaui
The URL does not need to be parsed already, it is passed through The URL does not need to be parsed already, it is passed through
XURLTransformer::parseStrict before it is used. XURLTransformer::parseStrict before it is used.
*/ */
void openHelpAgent( const ::com::sun::star::util::URL& _rURL ); void openHelpAgent( const css::util::URL& _rURL );
// closes the task when possible // closes the task when possible
void closeTask(); void closeTask();
// if getMenu returns a non empty string than this will be dispatched at the frame // if getMenu returns a non empty string than this will be dispatched at the frame
virtual void loadMenu(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame); virtual void loadMenu(const css::uno::Reference< css::frame::XFrame >& _xFrame);
/** called when our menu has been loaded into our frame, can be used to load sub toolbars /** called when our menu has been loaded into our frame, can be used to load sub toolbars
@param _xLayoutManager @param _xLayoutManager
The layout manager. The layout manager.
*/ */
virtual void onLoadedMenu(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& _xLayoutManager); virtual void onLoadedMenu(const css::uno::Reference< css::frame::XLayoutManager >& _xLayoutManager);
// all the features which should be handled by this class // all the features which should be handled by this class
virtual void describeSupportedFeatures(); virtual void describeSupportedFeatures();
// state of a feature. 'feature' may be the handle of a ::com::sun::star::util::URL somebody requested a dispatch interface for OR a toolbar slot. // state of a feature. 'feature' may be the handle of a css::util::URL somebody requested a dispatch interface for OR a toolbar slot.
virtual FeatureState GetState(sal_uInt16 nId) const; virtual FeatureState GetState(sal_uInt16 nId) const;
// execute a feature // execute a feature
virtual void Execute(sal_uInt16 nId , const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs); virtual void Execute(sal_uInt16 nId , const css::uno::Sequence< css::beans::PropertyValue>& aArgs);
/** describes a feature supported by the controller /** describes a feature supported by the controller
...@@ -323,12 +323,12 @@ namespace dbaui ...@@ -323,12 +323,12 @@ namespace dbaui
URL URL
@param _nCommandGroup @param _nCommandGroup
the command group of the feature. This is important for configuring the controller UI the command group of the feature. This is important for configuring the controller UI
by the user, see also <type scope="com::sun::star::frame">CommandGroup</type>. by the user, see also <type scope="css::frame">CommandGroup</type>.
*/ */
void implDescribeSupportedFeature( void implDescribeSupportedFeature(
const sal_Char* _pAsciiCommandURL, const sal_Char* _pAsciiCommandURL,
sal_uInt16 _nFeatureId, sal_uInt16 _nFeatureId,
sal_Int16 _nCommandGroup = ::com::sun::star::frame::CommandGroup::INTERNAL sal_Int16 _nCommandGroup = css::frame::CommandGroup::INTERNAL
); );
/** returns <TRUE/> if the feature is supported, otherwise <FALSE/> /** returns <TRUE/> if the feature is supported, otherwise <FALSE/>
...@@ -338,7 +338,7 @@ namespace dbaui ...@@ -338,7 +338,7 @@ namespace dbaui
bool isFeatureSupported( sal_Int32 _nId ); bool isFeatureSupported( sal_Int32 _nId );
// gets the URL which the given id is assigned to // gets the URL which the given id is assigned to
::com::sun::star::util::URL getURLForId(sal_Int32 _nId) const; css::util::URL getURLForId(sal_Int32 _nId) const;
/** determines whether the given feature ID denotes a user-defined feature /** determines whether the given feature ID denotes a user-defined feature
...@@ -353,40 +353,40 @@ namespace dbaui ...@@ -353,40 +353,40 @@ namespace dbaui
bool isUserDefinedFeature( const OUString& _rFeatureURL ) const; bool isUserDefinedFeature( const OUString& _rFeatureURL ) const;
// connect to a datasource // connect to a datasource
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > connect( css::uno::Reference< css::sdbc::XConnection > connect(
const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource>& _xDataSource, const css::uno::Reference< css::sdbc::XDataSource>& _xDataSource,
::dbtools::SQLExceptionInfo* _pErrorInfo ::dbtools::SQLExceptionInfo* _pErrorInfo
); );
// connect to a datasource // connect to a datasource
::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > connect( css::uno::Reference< css::sdbc::XConnection > connect(
const OUString& _rsDataSourceName, const OUString& _rsDataSourceName,
const OUString& _rContextInformation, const OUString& _rContextInformation,
::dbtools::SQLExceptionInfo* _pErrorInfo ::dbtools::SQLExceptionInfo* _pErrorInfo
); );
void startConnectionListening(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection); void startConnectionListening(const css::uno::Reference< css::sdbc::XConnection >& _rxConnection);
void stopConnectionListening(const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection >& _rxConnection); void stopConnectionListening(const css::uno::Reference< css::sdbc::XConnection >& _rxConnection);
/** return the container window of the top most frame /** return the container window of the top most frame
@return @return
The top most container window, nmay be <NULL/>. The top most container window, nmay be <NULL/>.
*/ */
::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow> getTopMostContainerWindow() const; css::uno::Reference< css::awt::XWindow> getTopMostContainerWindow() const;
// XInitialize will be called inside initialize // XInitialize will be called inside initialize
virtual void impl_initialize(); virtual void impl_initialize();
virtual OUString getPrivateTitle() const { return OUString(); } virtual OUString getPrivateTitle() const { return OUString(); }
::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitle > impl_getTitleHelper_throw(); css::uno::Reference< css::frame::XTitle > impl_getTitleHelper_throw();
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > getPrivateModel() const virtual css::uno::Reference< css::frame::XModel > getPrivateModel() const
{ {
return ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >(); return css::uno::Reference< css::frame::XModel >();
} }
virtual void startFrameListening( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame ); virtual void startFrameListening( const css::uno::Reference< css::frame::XFrame >& _rxFrame );
virtual void stopFrameListening( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _rxFrame ); virtual void stopFrameListening( const css::uno::Reference< css::frame::XFrame >& _rxFrame );
void releaseNumberForComponent(); void releaseNumberForComponent();
...@@ -398,28 +398,28 @@ namespace dbaui ...@@ -398,28 +398,28 @@ namespace dbaui
void InvalidateAll_Impl(); void InvalidateAll_Impl();
void InvalidateFeature_Impl(); void InvalidateFeature_Impl();
void ImplInvalidateFeature( sal_Int32 _nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& _xListener, bool _bForceBroadcast ); void ImplInvalidateFeature( sal_Int32 _nId, const css::uno::Reference< css::frame::XStatusListener >& _xListener, bool _bForceBroadcast );
void ImplBroadcastFeatureState(const OUString& _rFeature, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xListener, bool _bIgnoreCache); void ImplBroadcastFeatureState(const OUString& _rFeature, const css::uno::Reference< css::frame::XStatusListener > & xListener, bool _bIgnoreCache);
// link methods // link methods
DECL_LINK_TYPED(OnAsyncInvalidateAll, void*, void); DECL_LINK_TYPED(OnAsyncInvalidateAll, void*, void);
DECL_LINK_TYPED(OnAsyncCloseTask, void*, void); DECL_LINK_TYPED(OnAsyncCloseTask, void*, void);
public: public:
::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > getORB() const { return m_xContext; } css::uno::Reference< css::uno::XComponentContext > getORB() const { return m_xContext; }
ODataView* getView() const { return m_pView; } ODataView* getView() const { return m_pView; }
void setView( const VclPtr<ODataView>& i_rView ); void setView( const VclPtr<ODataView>& i_rView );
void clearView(); void clearView();
// shows a error box if the SQLExceptionInfo is valid // shows a error box if the SQLExceptionInfo is valid
void showError(const ::dbtools::SQLExceptionInfo& _rInfo); void showError(const ::dbtools::SQLExceptionInfo& _rInfo);
// if there is an ::com::sun::star::util::URL translation for the id // if there is an css::util::URL translation for the id
// ('handle') then if if xListener is NULL the change will be forwarded // ('handle') then if if xListener is NULL the change will be forwarded
// to all listeners to the given ::com::sun::star::util::URL // to all listeners to the given css::util::URL
// if there is a toolbar slot with the given id it is updated (the new state is determined via GetState) // if there is a toolbar slot with the given id it is updated (the new state is determined via GetState)
// if _bForceBroadcast is sal_True, the current feature state is broadcasted no matter if it is the same as the cached state // if _bForceBroadcast is sal_True, the current feature state is broadcasted no matter if it is the same as the cached state
void InvalidateFeature(sal_uInt16 nId, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & xListener = NULL, bool _bForceBroadcast = false); void InvalidateFeature(sal_uInt16 nId, const css::uno::Reference< css::frame::XStatusListener > & xListener = NULL, bool _bForceBroadcast = false);
/** InvalidateAll invalidates all features currently known /** InvalidateAll invalidates all features currently known
*/ */
...@@ -433,99 +433,99 @@ namespace dbaui ...@@ -433,99 +433,99 @@ namespace dbaui
@return @return
The layout manager of the frame, can be <NULL/> if the frame isn't initialized. The layout manager of the frame, can be <NULL/> if the frame isn't initialized.
*/ */
static ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager > getLayoutManager(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& _xFrame); static css::uno::Reference< css::frame::XLayoutManager > getLayoutManager(const css::uno::Reference< css::frame::XFrame >& _xFrame);
// IController // IController
virtual void executeUnChecked(const ::com::sun::star::util::URL& _rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) override; virtual void executeUnChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual void executeChecked(const ::com::sun::star::util::URL& _rCommand, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) override; virtual void executeChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual void executeUnChecked(sal_uInt16 _nCommandId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) override; virtual void executeUnChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual void executeChecked(sal_uInt16 _nCommandId, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) override; virtual void executeChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual bool isCommandEnabled(sal_uInt16 _nCommandId) const override; virtual bool isCommandEnabled(sal_uInt16 _nCommandId) const override;
virtual bool isCommandEnabled(const OUString& _rCompleteCommandURL) const override; virtual bool isCommandEnabled(const OUString& _rCompleteCommandURL) const override;
virtual sal_uInt16 registerCommandURL( const OUString& _rCompleteCommandURL ) override; virtual sal_uInt16 registerCommandURL( const OUString& _rCompleteCommandURL ) override;
virtual void notifyHiContrastChanged() override; virtual void notifyHiContrastChanged() override;
virtual bool isDataSourceReadOnly() const override; virtual bool isDataSourceReadOnly() const override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XController > getXController() throw( ::com::sun::star::uno::RuntimeException ) override; virtual css::uno::Reference< css::frame::XController > getXController() throw( css::uno::RuntimeException ) override;
virtual bool interceptUserInput( const NotifyEvent& _rEvent ) override; virtual bool interceptUserInput( const NotifyEvent& _rEvent ) override;
// misc // misc
bool isCommandChecked(sal_uInt16 _nCommandId) const; bool isCommandChecked(sal_uInt16 _nCommandId) const;
// ::com::sun::star::lang::XEventListener // css::lang::XEventListener
virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw( css::uno::RuntimeException, std::exception ) override;
// ::com::sun::star::util::XModifyListener // css::util::XModifyListener
virtual void SAL_CALL modified(const ::com::sun::star::lang::EventObject& aEvent) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL modified(const css::lang::EventObject& aEvent) throw( css::uno::RuntimeException, std::exception ) override;
// XInterface // XInterface
virtual void SAL_CALL acquire( ) throw () override; virtual void SAL_CALL acquire( ) throw () override;
virtual void SAL_CALL release( ) throw () override; virtual void SAL_CALL release( ) throw () override;
// ::com::sun::star::frame::XController2 // css::frame::XController2
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > SAL_CALL getComponentWindow() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::awt::XWindow > SAL_CALL getComponentWindow() throw (css::uno::RuntimeException, std::exception) override;
virtual OUString SAL_CALL getViewControllerName() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual OUString SAL_CALL getViewControllerName() throw (css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getCreationArguments() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getCreationArguments() throw (css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::ui::XSidebarProvider > SAL_CALL getSidebar() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::ui::XSidebarProvider > SAL_CALL getSidebar() throw (css::uno::RuntimeException, std::exception) override;
// ::com::sun::star::frame::XController // css::frame::XController
virtual void SAL_CALL attachFrame(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & xFrame) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL attachFrame(const css::uno::Reference< css::frame::XFrame > & xFrame) throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL attachModel(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > & xModel) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual sal_Bool SAL_CALL attachModel(const css::uno::Reference< css::frame::XModel > & xModel) throw( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override = 0; virtual sal_Bool SAL_CALL suspend(sal_Bool bSuspend) throw( css::uno::RuntimeException, std::exception ) override = 0;
virtual ::com::sun::star::uno::Any SAL_CALL getViewData() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual css::uno::Any SAL_CALL getViewData() throw( css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL restoreViewData(const ::com::sun::star::uno::Any& Data) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL restoreViewData(const css::uno::Any& Data) throw( css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > SAL_CALL getModel() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual css::uno::Reference< css::frame::XModel > SAL_CALL getModel() throw( css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > SAL_CALL getFrame() throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual css::uno::Reference< css::frame::XFrame > SAL_CALL getFrame() throw( css::uno::RuntimeException, std::exception ) override;
// ::com::sun::star::frame::XDispatch // css::frame::XDispatch
virtual void SAL_CALL dispatch(const ::com::sun::star::util::URL& aURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& aArgs) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL dispatch(const css::util::URL& aURL, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL addStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& aURL) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addStatusListener(const css::uno::Reference< css::frame::XStatusListener > & aListener, const css::util::URL& aURL) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeStatusListener(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener > & aListener, const ::com::sun::star::util::URL& aURL) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeStatusListener(const css::uno::Reference< css::frame::XStatusListener > & aListener, const css::util::URL& aURL) throw(css::uno::RuntimeException, std::exception) override;
// ::com::sun::star::frame::XDispatchProviderInterceptor // css::frame::XDispatchProviderInterceptor
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getSlaveDispatchProvider() throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setSlaveDispatchProvider(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & _xNewProvider) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setSlaveDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > & _xNewProvider) throw(css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Reference< css::frame::XDispatchProvider > SAL_CALL getMasterDispatchProvider() throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setMasterDispatchProvider(const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > & _xNewProvider) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setMasterDispatchProvider(const css::uno::Reference< css::frame::XDispatchProvider > & _xNewProvider) throw(css::uno::RuntimeException, std::exception) override;
// ::com::sun::star::frame::XDispatchProvider // css::frame::XDispatchProvider
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > SAL_CALL queryDispatch(const ::com::sun::star::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual css::uno::Reference< css::frame::XDispatch > SAL_CALL queryDispatch(const css::util::URL& aURL, const OUString& aTargetFrameName, sal_Int32 nSearchFlags) throw( css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > SAL_CALL queryDispatches(const ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchDescriptor >& aDescripts) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual css::uno::Sequence< css::uno::Reference< css::frame::XDispatch > > SAL_CALL queryDispatches(const css::uno::Sequence< css::frame::DispatchDescriptor >& aDescripts) throw( css::uno::RuntimeException, std::exception ) override;
// ::com::sun::star::lang::XComponent // css::lang::XComponent
virtual void SAL_CALL dispose() throw(::com::sun::star::uno::RuntimeException, std::exception) override; //LLA: need solar mutex {OGenericUnoController_COMPBASE::dispose(); } virtual void SAL_CALL dispose() throw(css::uno::RuntimeException, std::exception) override; //LLA: need solar mutex {OGenericUnoController_COMPBASE::dispose(); }
virtual void SAL_CALL disposing() override; virtual void SAL_CALL disposing() override;
virtual void SAL_CALL addEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) throw(css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeEventListener(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener > & aListener) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeEventListener(const css::uno::Reference< css::lang::XEventListener > & aListener) throw(css::uno::RuntimeException, std::exception) override;
// ::com::sun::star::frame::XFrameActionListener // css::frame::XFrameActionListener
virtual void SAL_CALL frameAction(const ::com::sun::star::frame::FrameActionEvent& aEvent) throw( ::com::sun::star::uno::RuntimeException, std::exception ) override; virtual void SAL_CALL frameAction(const css::frame::FrameActionEvent& aEvent) throw( css::uno::RuntimeException, std::exception ) override;
// lang::XInitialization // lang::XInitialization
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override;
// XServiceInfo // XServiceInfo
virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) override = 0; virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) override = 0;
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(::com::sun::star::uno::RuntimeException, std::exception) override; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw(css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) override = 0; virtual css::uno::Sequence< OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) override = 0;
// XDispatchInformationProvider // XDispatchInformationProvider
virtual ::com::sun::star::uno::Sequence< ::sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< ::sal_Int16 > SAL_CALL getSupportedCommandGroups() throw (css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( ::sal_Int16 ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual css::uno::Sequence< css::frame::DispatchInformation > SAL_CALL getConfigurableDispatchInformation( ::sal_Int16 ) throw (css::uno::RuntimeException, std::exception) override;
// XTitle // XTitle
virtual OUString SAL_CALL getTitle( ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual OUString SAL_CALL getTitle( ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL setTitle( const OUString& sTitle ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL setTitle( const OUString& sTitle ) throw (css::uno::RuntimeException, std::exception) override;
// XTitleChangeBroadcaster // XTitleChangeBroadcaster
virtual void SAL_CALL addTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeTitleChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XTitleChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeTitleChangeListener( const css::uno::Reference< css::frame::XTitleChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) override;
// XUserInputInterception // XUserInputInterception
virtual void SAL_CALL addKeyHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyHandler >& xHandler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeKeyHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XKeyHandler >& xHandler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeKeyHandler( const css::uno::Reference< css::awt::XKeyHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL addMouseClickHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseClickHandler >& xHandler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL addMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeMouseClickHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XMouseClickHandler >& xHandler ) throw (::com::sun::star::uno::RuntimeException, std::exception) override; virtual void SAL_CALL removeMouseClickHandler( const css::uno::Reference< css::awt::XMouseClickHandler >& xHandler ) throw (css::uno::RuntimeException, std::exception) override;
protected: protected:
#ifdef _MSC_VER #ifdef _MSC_VER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment