summaryrefslogtreecommitdiff
path: root/forms/source/inc
diff options
context:
space:
mode:
Diffstat (limited to 'forms/source/inc')
-rw-r--r--forms/source/inc/FormComponent.hxx393
-rw-r--r--forms/source/inc/InterfaceContainer.hxx180
-rw-r--r--forms/source/inc/cloneable.hxx4
-rw-r--r--forms/source/inc/commanddescriptionprovider.hxx4
-rw-r--r--forms/source/inc/commandimageprovider.hxx6
-rw-r--r--forms/source/inc/componenttools.hxx14
-rw-r--r--forms/source/inc/controlfeatureinterception.hxx22
-rw-r--r--forms/source/inc/featuredispatcher.hxx2
-rw-r--r--forms/source/inc/formcontrolfont.hxx27
-rw-r--r--forms/source/inc/formnavigation.hxx36
-rw-r--r--forms/source/inc/limitedformats.hxx22
-rw-r--r--forms/source/inc/listenercontainers.hxx14
-rw-r--r--forms/source/inc/property.hrc8
-rw-r--r--forms/source/inc/property.hxx28
-rw-r--r--forms/source/inc/propertybaghelper.hxx28
-rw-r--r--forms/source/inc/resettable.hxx4
-rw-r--r--forms/source/inc/urltransformer.hxx12
-rw-r--r--forms/source/inc/windowstateguard.hxx4
18 files changed, 403 insertions, 405 deletions
diff --git a/forms/source/inc/FormComponent.hxx b/forms/source/inc/FormComponent.hxx
index 041a34535bff..b2420a957253 100644
--- a/forms/source/inc/FormComponent.hxx
+++ b/forms/source/inc/FormComponent.hxx
@@ -82,9 +82,9 @@ namespace frm
// macros for quickly declaring/implementing XServiceInfo
#define DECLARE_XPERSISTOBJECT() \
- virtual OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
- virtual void SAL_CALL write(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
- virtual void SAL_CALL read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
+ virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; \
+ virtual void SAL_CALL read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
class OControlModel;
@@ -124,19 +124,19 @@ namespace frm
*/
void addPropertyNotification(
const sal_Int32 _nHandle,
- const ::com::sun::star::uno::Any& _rOldValue,
- const ::com::sun::star::uno::Any& _rNewValue
+ const css::uno::Any& _rOldValue,
+ const css::uno::Any& _rNewValue
);
private:
void impl_notifyAll_nothrow();
private:
- OControlModel& m_rModel;
- bool m_bLocked;
- ::com::sun::star::uno::Sequence< sal_Int32 > m_aHandles;
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > m_aOldValues;
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > m_aNewValues;
+ OControlModel& m_rModel;
+ bool m_bLocked;
+ css::uno::Sequence< sal_Int32 > m_aHandles;
+ css::uno::Sequence< css::uno::Any > m_aOldValues;
+ css::uno::Sequence< css::uno::Any > m_aNewValues;
private:
ControlModelLock( const ControlModelLock& ) SAL_DELETED_FUNCTION;
@@ -147,9 +147,9 @@ namespace frm
//= OControl
//= base class for form layer controls
-typedef ::cppu::ImplHelper3 < ::com::sun::star::awt::XControl
- , ::com::sun::star::lang::XEventListener
- , ::com::sun::star::lang::XServiceInfo
+typedef ::cppu::ImplHelper3 < css::awt::XControl
+ , css::lang::XEventListener
+ , css::lang::XServiceInfo
> OControl_BASE;
class OControl :public ::cppu::OComponentHelper
@@ -157,12 +157,11 @@ class OControl :public ::cppu::OComponentHelper
{
protected:
::osl::Mutex m_aMutex;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControl >
- m_xControl;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation>
+ css::uno::Reference< css::awt::XControl > m_xControl;
+ css::uno::Reference< css::uno::XAggregation>
m_xAggregate;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
+ css::uno::Reference< css::uno::XComponentContext >
m_xContext;
WindowStateGuard m_aWindowStateGuard;
@@ -180,19 +179,19 @@ public:
This is helpful, if your derived class wants to cache an interface of the aggregate.
In this case, the aggregate needs to be queried for this interface <b>before</b> the
- <member scope="com::sun::star::uno">XAggregation::setDelegator</member> call.
+ <member scope="css::uno">XAggregation::setDelegator</member> call.
In such a case, pass <FALSE/> to this parameter. Then, cache the aggregate's interface(s)
as needed. Afterwards, call <member>doSetDelegator</member>.
In your destructor, you need to call <member>doResetDelegator</member> before
resetting the cached interfaces. This will reset the aggregates delegator to <NULL/>,
- which will ensure that the <member scope="com::sun::star::uno">XInterface::release</member>
+ which will ensure that the <member scope="css::uno">XInterface::release</member>
calls on the cached interfaces are really applied to the aggregate, instead of
the <type>OControl</type> itself.
*/
OControl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rFactory,
+ const css::uno::Reference< css::uno::XComponentContext >& _rFactory,
const OUString& _rAggregateService,
const bool _bSetDelegator = true
);
@@ -211,73 +210,73 @@ protected:
// UNO
DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper)
- virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XTypeProvider
- virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type> SAL_CALL getTypes() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
// XComponent (as base of XControl)
- virtual void SAL_CALL dispose( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL dispose( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ OComponentHelper::dispose(); }
- virtual void SAL_CALL addEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL addEventListener( const css::uno::Reference< css::lang::XEventListener>& _rxListener) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ OComponentHelper::addEventListener(_rxListener); }
- virtual void SAL_CALL removeEventListener( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE
+ virtual void SAL_CALL removeEventListener( const css::uno::Reference< css::lang::XEventListener>& _rxListener) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE
{ OComponentHelper::removeEventListener(_rxListener); }
// XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
// XServiceInfo - static version
- static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException);
+ static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
// XControl
- virtual void SAL_CALL setContext(const css::uno::Reference<css::uno::XInterface>& Context) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getContext() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL createPeer(const ::com::sun::star::uno::Reference<css::awt::XToolkit>& Toolkit, const ::com::sun::star::uno::Reference<css::awt::XWindowPeer>& Parent) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference<css::awt::XWindowPeer> SAL_CALL getPeer() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL setModel(const ::com::sun::star::uno::Reference<css::awt::XControlModel>& Model) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference<css::awt::XControlModel> SAL_CALL getModel() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference<css::awt::XView> SAL_CALL getView() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setDesignMode(sal_Bool bOn) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL isDesignMode() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL isTransparent() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setContext(const css::uno::Reference<css::uno::XInterface>& Context) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getContext() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL createPeer(const css::uno::Reference<css::awt::XToolkit>& Toolkit, const css::uno::Reference<css::awt::XWindowPeer>& Parent) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::awt::XWindowPeer> SAL_CALL getPeer() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL setModel(const css::uno::Reference<css::awt::XControlModel>& Model) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::awt::XControlModel> SAL_CALL getModel() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::awt::XView> SAL_CALL getView() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setDesignMode(sal_Bool bOn) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isDesignMode() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isTransparent() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes();
+ virtual css::uno::Sequence< css::uno::Type> _getTypes();
// overwrite this and call the base class if you have additional types
- ::com::sun::star::uno::Sequence< OUString > getAggregateServiceNames();
+ css::uno::Sequence< OUString > getAggregateServiceNames();
private:
void impl_resetStateGuard_nothrow();
};
// a form control implementing the XBoundControl interface
-typedef ::cppu::ImplHelper1 < ::com::sun::star::form::XBoundControl
+typedef ::cppu::ImplHelper1 < css::form::XBoundControl
> OBoundControl_BASE;
class OBoundControl :public OControl
,public OBoundControl_BASE
{
protected:
- bool m_bLocked : 1;
+ bool m_bLocked : 1;
- OUString m_sOriginalHelpText; // as long as the text/value is invalid, we change the help text of our peer
- ::com::sun::star::awt::FontDescriptor
+ OUString m_sOriginalHelpText; // as long as the text/value is invalid, we change the help text of our peer
+ css::awt::FontDescriptor
m_aOriginalFont; // as long as the text/value is invalid, we also change the font
sal_Int32 m_nOriginalTextLineColor; // (we add red underlining)
public:
OBoundControl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
+ const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
const OUString& _rAggregateService,
const bool _bSetDelegator = true
);
@@ -285,24 +284,24 @@ public:
virtual ~OBoundControl();
DECLARE_UNO3_AGG_DEFAULTS(OBoundControl, OControl)
- virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XBoundControl
- virtual sal_Bool SAL_CALL getLock() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setLock(sal_Bool _bLock) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL getLock() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setLock(sal_Bool _bLock) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// default implementation just disables the controls, overwrite _setLock to change this behaviour
// XControl
- virtual sal_Bool SAL_CALL setModel(const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& Model) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL setModel(const css::uno::Reference< css::awt::XControlModel >& Model) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
protected:
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type> _getTypes() SAL_OVERRIDE;
// implement the lock setting
void _setLock(bool _bLock);
};
@@ -314,13 +313,13 @@ protected:
//added for exporting OCX control
#define INVALID_OBJ_ID_IN_MSO 0xFFFF
-typedef ::cppu::ImplHelper7 < ::com::sun::star::form::XFormComponent
- , ::com::sun::star::io::XPersistObject
- , ::com::sun::star::container::XNamed
- , ::com::sun::star::lang::XServiceInfo
- , ::com::sun::star::util::XCloneable
- , ::com::sun::star::beans::XPropertyContainer
- , ::com::sun::star::beans::XPropertyAccess
+typedef ::cppu::ImplHelper7 < css::form::XFormComponent
+ , css::io::XPersistObject
+ , css::container::XNamed
+ , css::lang::XServiceInfo
+ , css::util::XCloneable
+ , css::beans::XPropertyContainer
+ , css::beans::XPropertyAccess
> OControlModel_BASE;
class OControlModel :public ::cppu::OComponentHelper
@@ -357,14 +356,14 @@ protected:
protected:
OControlModel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rFactory, // factory to create the aggregate with
+ const css::uno::Reference< css::uno::XComponentContext>& _rFactory, // factory to create the aggregate with
const OUString& _rUnoControlModelTypeName, // service name of te model to aggregate
const OUString& rDefault = OUString(), // service name of the default control
const bool _bSetDelegator = true // set to sal_False if you want to call setDelegator later (after returning from this ctor)
);
OControlModel(
const OControlModel* _pOriginal, // the original object to clone
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rFactory, // factory to create the aggregate with
+ const css::uno::Reference< css::uno::XComponentContext>& _rFactory, // factory to create the aggregate with
const bool _bCloneAggregate = true, // should the aggregate of the original be cloned, too?
const bool _bSetDelegator = true // set to sal_False if you want to call setDelegator later (after returning from this ctor)
);
@@ -380,89 +379,89 @@ protected:
using OComponentHelper::rBHelper;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes();
+ virtual css::uno::Sequence< css::uno::Type> _getTypes();
- void readHelpTextCompatibly(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream >& _rxInStream);
- void writeHelpTextCompatibly(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream >& _rxOutStream);
+ void readHelpTextCompatibly(const css::uno::Reference< css::io::XObjectInputStream >& _rxInStream);
+ void writeHelpTextCompatibly(const css::uno::Reference< css::io::XObjectOutputStream >& _rxOutStream);
void doSetDelegator();
void doResetDelegator();
- ::com::sun::star::uno::Sequence< OUString > getAggregateServiceNames();
+ css::uno::Sequence< OUString > getAggregateServiceNames();
public:
DECLARE_UNO3_AGG_DEFAULTS(OControl, OComponentHelper)
- virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XTypeProvider
- virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> SAL_CALL getTypes() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type> SAL_CALL getTypes() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
// XNamed
- virtual OUString SAL_CALL getName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setName(const OUString& aName) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setName(const OUString& aName) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
+ virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
// XSericeInfo - static version(s)
- static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException);
+ static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
// XPersistObject
- virtual OUString SAL_CALL getServiceName() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
+ virtual OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
virtual void SAL_CALL
- write(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
- read(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ read(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XChild (base of XFormComponent)
- virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getParent() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setParent(const css::uno::Reference<css::uno::XInterface>& Parent) throw(::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getParent() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setParent(const css::uno::Reference<css::uno::XInterface>& Parent) throw(css::lang::NoSupportException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XPropertySet
- virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
+ virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
virtual sal_Bool SAL_CALL convertFastPropertyValue(
- ::com::sun::star::uno::Any& _rConvertedValue, ::com::sun::star::uno::Any& _rOldValue, sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue )
- throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE;
- virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue )
- throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
+ css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
+ throw (css::lang::IllegalArgumentException) SAL_OVERRIDE;
+ virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
+ throw (css::uno::Exception, std::exception) SAL_OVERRIDE;
using ::cppu::OPropertySetHelper::getFastPropertyValue;
-// ::com::sun::star::beans::XPropertyState
- virtual ::com::sun::star::beans::PropertyState getPropertyStateByHandle(sal_Int32 nHandle) SAL_OVERRIDE;
+// css::beans::XPropertyState
+ virtual css::beans::PropertyState getPropertyStateByHandle(sal_Int32 nHandle) SAL_OVERRIDE;
virtual void setPropertyToDefaultByHandle(sal_Int32 nHandle) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const SAL_OVERRIDE;
+ virtual css::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const SAL_OVERRIDE;
// XCloneable
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL createClone( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
+ virtual css::uno::Reference< css::util::XCloneable > SAL_CALL createClone( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
// XPropertyContainer
- virtual void SAL_CALL addProperty( const OUString& Name, ::sal_Int16 Attributes, const ::com::sun::star::uno::Any& DefaultValue ) throw (::com::sun::star::beans::PropertyExistException, ::com::sun::star::beans::IllegalTypeException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeProperty( const OUString& Name ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::NotRemoveableException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL addProperty( const OUString& Name, ::sal_Int16 Attributes, const css::uno::Any& DefaultValue ) throw (css::beans::PropertyExistException, css::beans::IllegalTypeException, css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeProperty( const OUString& Name ) throw (css::beans::UnknownPropertyException, css::beans::NotRemoveableException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XPropertyAccess
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setPropertyValues( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aProps ) throw (::com::sun::star::beans::UnknownPropertyException, ::com::sun::star::beans::PropertyVetoException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& aProps ) throw (css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
using OPropertySetAggregationHelper::setPropertyValues;
using OPropertySetAggregationHelper::getPropertyValues;
protected:
- virtual void writeAggregate( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream >& _rxOutStream ) const;
- virtual void readAggregate( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream >& _rxInStream );
+ virtual void writeAggregate( const css::uno::Reference< css::io::XObjectOutputStream >& _rxOutStream ) const;
+ virtual void readAggregate( const css::uno::Reference< css::io::XObjectInputStream >& _rxInStream );
protected:
// XPropertySet
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw( ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw( css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OPropertySetHelper
virtual cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper() SAL_OVERRIDE;
@@ -472,16 +471,16 @@ protected:
Derived classes usually call the base class first, and then append own properties.
*/
virtual void describeFixedProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps
+ css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps
) const;
// IPropertyBagHelperContext
virtual ::osl::Mutex& getMutex() SAL_OVERRIDE;
virtual void describeFixedAndAggregateProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _out_rFixedProperties,
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _out_rAggregateProperties
+ css::uno::Sequence< css::beans::Property >& _out_rFixedProperties,
+ css::uno::Sequence< css::beans::Property >& _out_rAggregateProperties
) const SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XMultiPropertySet >
+ virtual css::uno::Reference< css::beans::XMultiPropertySet >
getPropertiesInterface() SAL_OVERRIDE;
/** describes the properties of our aggregate
@@ -492,7 +491,7 @@ protected:
aggregate properties.
*/
virtual void describeAggregateProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rAggregateProps
+ css::uno::Sequence< css::beans::Property >& /* [out] */ _rAggregateProps
) const;
public:
@@ -502,9 +501,9 @@ public:
oslInterlockedCount unlockInstance( LockAccess );
void firePropertyChanges(
- const ::com::sun::star::uno::Sequence< sal_Int32 >& _rHandles,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& _rOldValues,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& _rNewValues,
+ const css::uno::Sequence< sal_Int32 >& _rHandles,
+ const css::uno::Sequence< css::uno::Any >& _rOldValues,
+ const css::uno::Sequence< css::uno::Any >& _rNewValues,
LockAccess
);
@@ -516,23 +515,23 @@ public:
#define DECLARE_DEFAULT_CLONE_CTOR( classname ) \
classname( \
const classname* _pOriginal, \
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory \
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory \
); \
// all xtors for a leaf class of the object hierarchy
#define DECLARE_DEFAULT_LEAF_XTOR( classname ) \
classname( \
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory \
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory \
); \
classname( \
const classname* _pOriginal, \
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory \
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory \
); \
virtual ~classname() \
#define IMPLEMENT_DEFAULT_CLONING( classname ) \
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloneable > SAL_CALL classname::createClone( ) throw (::com::sun::star::uno::RuntimeException, std::exception) \
+ css::uno::Reference< css::util::XCloneable > SAL_CALL classname::createClone( ) throw (css::uno::RuntimeException, std::exception) \
{ \
classname* pClone = new classname( this, getContext() ); \
pClone->clonedFrom( this ); \
@@ -543,25 +542,25 @@ public:
//= OBoundControlModel
//= model of a form layer control which is bound to a data source field
-typedef ::cppu::ImplHelper4 < ::com::sun::star::form::XLoadListener
- , ::com::sun::star::form::XReset
- , ::com::sun::star::beans::XPropertyChangeListener
- , ::com::sun::star::sdb::XRowSetChangeListener
+typedef ::cppu::ImplHelper4 < css::form::XLoadListener
+ , css::form::XReset
+ , css::beans::XPropertyChangeListener
+ , css::sdb::XRowSetChangeListener
> OBoundControlModel_BASE1;
// separated into an own base class since derivees can disable the support for this
// interface, thus we want to easily exclude it in the queryInterface and getTypes
-typedef ::cppu::ImplHelper1 < ::com::sun::star::form::XBoundComponent
+typedef ::cppu::ImplHelper1 < css::form::XBoundComponent
> OBoundControlModel_COMMITTING;
// dito
-typedef ::cppu::ImplHelper2 < ::com::sun::star::form::binding::XBindableValue
- , ::com::sun::star::util::XModifyListener
+typedef ::cppu::ImplHelper2 < css::form::binding::XBindableValue
+ , css::util::XModifyListener
> OBoundControlModel_BINDING;
// dito
-typedef ::cppu::ImplHelper2 < ::com::sun::star::form::validation::XValidityConstraintListener
- , ::com::sun::star::form::validation::XValidatableFormComponent
+typedef ::cppu::ImplHelper2 < css::form::validation::XValidityConstraintListener
+ , css::form::validation::XValidatableFormComponent
> OBoundControlModel_VALIDATION;
class OBoundControlModel :public OControlModel
@@ -580,33 +579,33 @@ protected:
};
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
+ css::uno::Reference< css::beans::XPropertySet >
m_xField;
// the form which controls supplies the field we bind to.
- ::com::sun::star::uno::Reference< ::com::sun::star::form::XLoadable >
+ css::uno::Reference< css::form::XLoadable >
m_xAmbientForm;
- OUString m_sValuePropertyName;
+ OUString m_sValuePropertyName;
sal_Int32 m_nValuePropertyAggregateHandle;
sal_Int32 m_nFieldType;
- ::com::sun::star::uno::Type m_aValuePropertyType;
+ css::uno::Type m_aValuePropertyType;
bool m_bValuePropertyMayBeVoid;
ResetHelper m_aResetHelper;
::cppu::OInterfaceContainerHelper m_aUpdateListeners;
::cppu::OInterfaceContainerHelper m_aFormComponentListeners;
- ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >
+ css::uno::Reference< css::form::binding::XValueBinding >
m_xExternalBinding;
- ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XValidator >
+ css::uno::Reference< css::form::validation::XValidator >
m_xValidator;
- ::com::sun::star::uno::Type m_aExternalValueType;
+ css::uno::Type m_aExternalValueType;
// <properties>
- OUString m_aControlSource; // Datenquelle, Name des Feldes
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >
+ OUString m_aControlSource; // Datenquelle, Name des Feldes
+ css::uno::Reference< css::beans::XPropertySet >
m_xLabelControl; // reference to a sibling control (model) which is our label
- bool m_bInputRequired;
+ bool m_bInputRequired;
// </properties>
::comphelper::OPropertyChangeMultiplexer*
@@ -634,11 +633,11 @@ protected:
// Any other arguments will throw an IllegalArgumentException.
// The default value is FM_COMPONENT_FIXEDTEXT.
- ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet >
+ css::uno::Reference< css::sdbc::XRowSet >
m_xCursor;
- ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumnUpdate >
+ css::uno::Reference< css::sdb::XColumnUpdate >
m_xColumnUpdate;
- ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >
+ css::uno::Reference< css::sdb::XColumn >
m_xColumn;
protected:
@@ -650,7 +649,7 @@ protected:
protected:
OBoundControlModel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext,
+ const css::uno::Reference< css::uno::XComponentContext>& _rxContext,
// factory to create the aggregate with
const OUString& _rUnoControlModelTypeName, // service name of te model to aggregate
const OUString& _rDefault, // service name of the default control
@@ -660,7 +659,7 @@ protected:
);
OBoundControlModel(
const OBoundControlModel* _pOriginal, // the original object to clone
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxContext
+ const css::uno::Reference< css::uno::XComponentContext>& _rxContext
// factory to create the aggregate with
);
virtual ~OBoundControlModel();
@@ -766,7 +765,7 @@ protected:
@see resetNoBroadcast
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
getDefaultForReset() const;
/** translates a db column value into a control value.
@@ -778,7 +777,7 @@ protected:
@see setControlValue
@pure
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
translateDbColumnToControlValue( ) = 0;
/** returns the data types which the control could use to exchange data with
@@ -793,7 +792,7 @@ protected:
The default implementation returns the type of our value property.
*/
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type >
+ virtual css::uno::Sequence< css::uno::Type >
getSupportedBindingTypes();
/** translates the given value, which was obtained from the current external value binding,
@@ -806,8 +805,8 @@ protected:
@see hasExternalValueBinding
@see getExternalValueType
*/
- virtual ::com::sun::star::uno::Any
- translateExternalValueToControlValue( const ::com::sun::star::uno::Any& _rExternalValue ) const;
+ virtual css::uno::Any
+ translateExternalValueToControlValue( const css::uno::Any& _rExternalValue ) const;
/** commits the current control value to our external value binding
@@ -816,7 +815,7 @@ protected:
@see hasExternalValueBinding
@see initValueProperty
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
translateControlValueToExternalValue( ) const;
/** commits the current control value to the database column we're bound to
@@ -846,7 +845,7 @@ protected:
the instigator of the value change
*/
void setControlValue(
- const ::com::sun::star::uno::Any& _rValue,
+ const css::uno::Any& _rValue,
ValueChangeInstigator _eInstigator
);
/**
@@ -861,7 +860,7 @@ protected:
<member>translateExternalValueToControlValue</member>
*/
virtual void doSetControlValue(
- const ::com::sun::star::uno::Any& _rValue
+ const css::uno::Any& _rValue
);
/** retrieves the current value of the control
@@ -872,12 +871,12 @@ protected:
@precond
Our own mutex is locked.
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
getControlValue( ) const;
/** called whenever a connection to a database column has been established
*/
- virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm );
+ virtual void onConnectedDbColumn( const css::uno::Reference< css::uno::XInterface >& _rxForm );
/** called whenever a connection to a database column has been suspended
*/
virtual void onDisconnectedDbColumn();
@@ -909,7 +908,7 @@ protected:
@precond
Our own mutex is locked.
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
translateControlValueToValidatableValue( ) const;
/** retrieves the current value of the form component
@@ -920,15 +919,15 @@ protected:
@precond
our mutex is locked when this method is called
*/
- virtual ::com::sun::star::uno::Any
+ virtual css::uno::Any
getCurrentFormComponentValue() const;
/** We can't write (new) common properties in this base class, as the file format doesn't allow this
(unfortunately). So derived classes may use the following two methods. They secure the written
data with marks, so any new common properties in newer versions will be skipped by older ones.
*/
- void writeCommonProperties(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream);
- void readCommonProperties(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream);
+ void writeCommonProperties(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream);
+ void readCommonProperties(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream);
// the next method may be used in derived classes's read when an unknown version is encountered
void defaultCommonProperties();
@@ -945,11 +944,11 @@ protected:
*/
virtual void resetNoBroadcast();
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type> _getTypes() SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type> _getTypes() SAL_OVERRIDE;
/// sets m_xField to the given new value, without notifying our listeners
void impl_setField_noNotify(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& _rxField
+ const css::uno::Reference< css::beans::XPropertySet>& _rxField
);
inline bool hasField() const
{
@@ -962,11 +961,11 @@ protected:
// OControlModel's property handling
virtual void describeFixedProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps
+ css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps
) const SAL_OVERRIDE;
public:
- inline const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet>& getField() const
+ inline const css::uno::Reference< css::beans::XPropertySet>& getField() const
{
return m_xField;
}
@@ -974,89 +973,89 @@ public:
public:
// UNO link
DECLARE_UNO3_AGG_DEFAULTS(OBoundControlModel, OControlModel)
- virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation( const ::com::sun::star::uno::Type& _rType ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryAggregation( const css::uno::Type& _rType ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
// XReset
- virtual void SAL_CALL reset( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL addResetListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& aListener ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeResetListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& aListener ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL reset( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL addResetListener( const css::uno::Reference< css::form::XResetListener >& aListener ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeResetListener( const css::uno::Reference< css::form::XResetListener >& aListener ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static version
- static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(::com::sun::star::uno::RuntimeException);
+ static css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames_Static() throw(css::uno::RuntimeException);
// XChild
- 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) SAL_OVERRIDE;
+ virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& Parent ) throw(css::lang::NoSupportException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XPersistObject
- virtual void SAL_CALL write( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream >& OutStream ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL read( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream >& InStream ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL read( const css::uno::Reference< css::io::XObjectInputStream >& InStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XBoundComponent
- virtual sal_Bool SAL_CALL commit() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL commit() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XUpdateBroadcaster (base of XBoundComponent)
- virtual void SAL_CALL addUpdateListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XUpdateListener >& aListener ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeUpdateListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XUpdateListener >& aListener ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL addUpdateListener( const css::uno::Reference< css::form::XUpdateListener >& aListener ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeUpdateListener( const css::uno::Reference< css::form::XUpdateListener >& aListener ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XPropertySet
- virtual void SAL_CALL getFastPropertyValue(::com::sun::star::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
+ virtual void SAL_CALL getFastPropertyValue(css::uno::Any& rValue, sal_Int32 nHandle) const SAL_OVERRIDE;
virtual sal_Bool SAL_CALL convertFastPropertyValue(
- ::com::sun::star::uno::Any& _rConvertedValue, ::com::sun::star::uno::Any& _rOldValue, sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue )
- throw (::com::sun::star::lang::IllegalArgumentException) SAL_OVERRIDE;
- virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue )
- throw (::com::sun::star::uno::Exception, std::exception) SAL_OVERRIDE;
+ css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue )
+ throw (css::lang::IllegalArgumentException) SAL_OVERRIDE;
+ virtual void SAL_CALL setFastPropertyValue_NoBroadcast( sal_Int32 nHandle, const css::uno::Any& rValue )
+ throw (css::uno::Exception, std::exception) SAL_OVERRIDE;
using ::cppu::OPropertySetHelper::getFastPropertyValue;
-// ::com::sun::star::beans::XPropertyState
- virtual ::com::sun::star::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const SAL_OVERRIDE;
+// css::beans::XPropertyState
+ virtual css::uno::Any getPropertyDefaultByHandle( sal_Int32 nHandle ) const SAL_OVERRIDE;
// XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& Source) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing(const css::lang::EventObject& Source) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XPropertyChangeListener
- virtual void SAL_CALL propertyChange( const ::com::sun::star::beans::PropertyChangeEvent& evt ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL propertyChange( const css::beans::PropertyChangeEvent& evt ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XRowSetChangeListener
- virtual void SAL_CALL onRowSetChanged( const ::com::sun::star::lang::EventObject& i_Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL onRowSetChanged( const css::lang::EventObject& i_Event ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XLoadListener
- virtual void SAL_CALL loaded( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL unloading( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL unloaded( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL reloading( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL reloaded( const ::com::sun::star::lang::EventObject& aEvent ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL loaded( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL unloading( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL unloaded( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL reloading( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL reloaded( const css::lang::EventObject& aEvent ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
// XBindableValue
- virtual void SAL_CALL setValueBinding( const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding ) throw (::com::sun::star::form::binding::IncompatibleTypesException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding > SAL_CALL getValueBinding( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setValueBinding( const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding ) throw (css::form::binding::IncompatibleTypesException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::form::binding::XValueBinding > SAL_CALL getValueBinding( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XModifyListener
- virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& _rEvent ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL modified( const css::lang::EventObject& _rEvent ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XValidatable
- virtual void SAL_CALL setValidator( const ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XValidator >& Validator ) throw (::com::sun::star::util::VetoException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XValidator > SAL_CALL getValidator( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setValidator( const css::uno::Reference< css::form::validation::XValidator >& Validator ) throw (css::util::VetoException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::form::validation::XValidator > SAL_CALL getValidator( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XValidityConstraintListener
- virtual void SAL_CALL validityConstraintChanged( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL validityConstraintChanged( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XValidatableFormComponent
- virtual sal_Bool SAL_CALL isValid( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Any SAL_CALL getCurrentValue( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL addFormComponentValidityListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XFormComponentValidityListener >& Listener ) throw (::com::sun::star::lang::NullPointerException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeFormComponentValidityListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XFormComponentValidityListener >& Listener ) throw (::com::sun::star::lang::NullPointerException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL isValid( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL getCurrentValue( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL addFormComponentValidityListener( const css::uno::Reference< css::form::validation::XFormComponentValidityListener >& Listener ) throw (css::lang::NullPointerException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeFormComponentValidityListener( const css::uno::Reference< css::form::validation::XFormComponentValidityListener >& Listener ) throw (css::lang::NullPointerException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
// OPropertyChangeListener
virtual void
- _propertyChanged( const ::com::sun::star::beans::PropertyChangeEvent& _rEvt ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ _propertyChanged( const css::beans::PropertyChangeEvent& _rEvt ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
/// checks whether we currently have an external value binding in place
inline bool hasExternalValueBinding() const { return m_xExternalBinding.is(); }
@@ -1098,7 +1097,7 @@ protected:
@see initValueProperty
*/
- const ::com::sun::star::uno::Type&
+ const css::uno::Type&
getExternalValueType() const { return m_aExternalValueType; }
/** initializes the control from m_xField
@@ -1109,10 +1108,10 @@ protected:
@precond
m_xField is not <NULL/>
*/
- void initFromField( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxForm );
+ void initFromField( const css::uno::Reference< css::sdbc::XRowSet>& _rxForm );
private:
- bool connectToField( const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRowSet>& _rxForm );
+ bool connectToField( const css::uno::Reference< css::sdbc::XRowSet>& _rxForm );
void resetField();
/** does a new validation of the control value
@@ -1187,7 +1186,7 @@ private:
there currently is no external binding in place
*/
void connectExternalValueBinding(
- const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding,
+ const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding,
ControlModelLock& _rInstanceLock
);
@@ -1206,7 +1205,7 @@ private:
our mutex is currently locked exactly once
*/
void connectValidator(
- const ::com::sun::star::uno::Reference< ::com::sun::star::form::validation::XValidator >& _rxValidator
+ const css::uno::Reference< css::form::validation::XValidator >& _rxValidator
);
/** disconnects the component from its current an external validator
@@ -1218,7 +1217,7 @@ private:
*/
void disconnectValidator( );
- /** called from within <member scope="com::sun::star:::form::binding">XBindableValue::setValueBinding</member>
+ /** called from within <member scope="css:::form::binding">XBindableValue::setValueBinding</member>
to approve the new binding
The default implementation approves the binding if and only if it is not <NULL/>, and supports
@@ -1233,7 +1232,7 @@ private:
@seealso getExternalValueType
*/
bool impl_approveValueBinding_nolock(
- const ::com::sun::star::uno::Reference< ::com::sun::star::form::binding::XValueBinding >& _rxBinding
+ const css::uno::Reference< css::form::binding::XValueBinding >& _rxBinding
);
};
diff --git a/forms/source/inc/InterfaceContainer.hxx b/forms/source/inc/InterfaceContainer.hxx
index 56542d201e81..131d0ba9877d 100644
--- a/forms/source/inc/InterfaceContainer.hxx
+++ b/forms/source/inc/InterfaceContainer.hxx
@@ -62,10 +62,10 @@ namespace frm
struct ElementDescription
{
public:
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > xInterface;
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > xPropertySet;
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XChild > xChild;
- ::com::sun::star::uno::Any aElementTypeInterface;
+ css::uno::Reference< css::uno::XInterface > xInterface;
+ css::uno::Reference< css::beans::XPropertySet > xPropertySet;
+ css::uno::Reference< css::container::XChild > xChild;
+ css::uno::Any aElementTypeInterface;
public:
ElementDescription( );
@@ -83,14 +83,14 @@ typedef std::unordered_multimap< OUString, css::uno::Reference<css::uno::XInterf
// OInterfaceContainer
// implements a container for form components
-typedef ::cppu::ImplHelper8 < ::com::sun::star::container::XNameContainer
- , ::com::sun::star::container::XIndexContainer
- , ::com::sun::star::container::XContainer
- , ::com::sun::star::container::XEnumerationAccess
- , ::com::sun::star::script::XEventAttacherManager
- , ::com::sun::star::beans::XPropertyChangeListener
- , ::com::sun::star::io::XPersistObject
- , ::com::sun::star::util::XCloneable
+typedef ::cppu::ImplHelper8 < css::container::XNameContainer
+ , css::container::XIndexContainer
+ , css::container::XContainer
+ , css::container::XEnumerationAccess
+ , css::script::XEventAttacherManager
+ , css::beans::XPropertyChangeListener
+ , css::io::XPersistObject
+ , css::util::XCloneable
> OInterfaceContainer_BASE;
class OInterfaceContainer : public OInterfaceContainer_BASE
@@ -102,19 +102,19 @@ protected:
OInterfaceMap m_aMap;
::cppu::OInterfaceContainerHelper m_aContainerListeners;
- const ::com::sun::star::uno::Type m_aElementType;
+ const css::uno::Type m_aElementType;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext> m_xContext;
+ css::uno::Reference< css::uno::XComponentContext> m_xContext;
// EventManager
- ::com::sun::star::uno::Reference< ::com::sun::star::script::XEventAttacherManager> m_xEventAttacher;
+ css::uno::Reference< css::script::XEventAttacherManager> m_xEventAttacher;
public:
OInterfaceContainer(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory,
+ const css::uno::Reference< css::uno::XComponentContext>& _rxFactory,
::osl::Mutex& _rMutex,
- const ::com::sun::star::uno::Type& _rElementType);
+ const css::uno::Type& _rElementType);
OInterfaceContainer( ::osl::Mutex& _rMutex, const OInterfaceContainer& _cloneSource );
@@ -125,63 +125,63 @@ protected:
virtual ~OInterfaceContainer();
public:
-// ::com::sun::star::io::XPersistObject
- virtual OUString SAL_CALL getServiceName( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
- virtual void SAL_CALL write( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream >& OutStream ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL read( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream >& InStream ) throw(::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::lang::XEventListener
- virtual void SAL_CALL disposing(const ::com::sun::star::lang::EventObject& _rSource) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::beans::XPropertyChangeListener
- virtual void SAL_CALL propertyChange(const ::com::sun::star::beans::PropertyChangeEvent& evt) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XElementAccess
- virtual ::com::sun::star::uno::Type SAL_CALL getElementType() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
- virtual sal_Bool SAL_CALL hasElements() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XEnumerationAccess
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XEnumeration> SAL_CALL createEnumeration() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XNameAccess
- virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual css::uno::Sequence<OUString> SAL_CALL getElementNames( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XNameReplace
- virtual void SAL_CALL replaceByName(const OUString& Name, const ::com::sun::star::uno::Any& _rElement) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XNameContainer
- virtual void SAL_CALL insertByName(const OUString& Name, const ::com::sun::star::uno::Any& _rElement) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::ElementExistException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeByName(const OUString& Name) throw(::com::sun::star::container::NoSuchElementException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XIndexAccess
- virtual sal_Int32 SAL_CALL getCount() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Any SAL_CALL getByIndex(sal_Int32 _nIndex) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XIndexReplace
- virtual void SAL_CALL replaceByIndex(sal_Int32 _nIndex, const ::com::sun::star::uno::Any& _rElement) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XIndexContainer
- virtual void SAL_CALL insertByIndex(sal_Int32 _nIndex, const ::com::sun::star::uno::Any& Element) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeByIndex(sal_Int32 _nIndex) throw(::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::WrappedTargetException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::container::XContainer
- virtual void SAL_CALL addContainerListener(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeContainerListener(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener>& _rxListener) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
-
-// ::com::sun::star::script::XEventAttacherManager
- virtual void SAL_CALL registerScriptEvent( sal_Int32 nIndex, const ::com::sun::star::script::ScriptEventDescriptor& aScriptEvent ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL registerScriptEvents( sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor >& aScriptEvents ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL revokeScriptEvent( sal_Int32 nIndex, const OUString& aListenerType, const OUString& aEventMethod, const OUString& aRemoveListenerParam ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL revokeScriptEvents( sal_Int32 nIndex ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL insertEntry( sal_Int32 nIndex ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeEntry( sal_Int32 nIndex ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::script::ScriptEventDescriptor > SAL_CALL getScriptEvents( sal_Int32 Index ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL attach( sal_Int32 nIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xObject, const ::com::sun::star::uno::Any& aHelper ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::ServiceNotRegisteredException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL detach( sal_Int32 nIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xObject ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL addScriptListener( const ::com::sun::star::uno::Reference< ::com::sun::star::script::XScriptListener >& xListener ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL removeScriptListener( const ::com::sun::star::uno::Reference< ::com::sun::star::script::XScriptListener >& Listener ) throw(::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+// css::io::XPersistObject
+ virtual OUString SAL_CALL getServiceName( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE = 0;
+ virtual void SAL_CALL write( const css::uno::Reference< css::io::XObjectOutputStream >& OutStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL read( const css::uno::Reference< css::io::XObjectInputStream >& InStream ) throw(css::io::IOException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::lang::XEventListener
+ virtual void SAL_CALL disposing(const css::lang::EventObject& _rSource) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::beans::XPropertyChangeListener
+ virtual void SAL_CALL propertyChange(const css::beans::PropertyChangeEvent& evt) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XElementAccess
+ virtual css::uno::Type SAL_CALL getElementType() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE ;
+ virtual sal_Bool SAL_CALL hasElements() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XEnumerationAccess
+ virtual css::uno::Reference< css::container::XEnumeration> SAL_CALL createEnumeration() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XNameAccess
+ virtual css::uno::Any SAL_CALL getByName( const OUString& aName ) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence<OUString> SAL_CALL getElementNames( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XNameReplace
+ virtual void SAL_CALL replaceByName(const OUString& Name, const css::uno::Any& _rElement) throw(css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XNameContainer
+ virtual void SAL_CALL insertByName(const OUString& Name, const css::uno::Any& _rElement) throw(css::lang::IllegalArgumentException, css::container::ElementExistException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeByName(const OUString& Name) throw(css::container::NoSuchElementException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XIndexAccess
+ virtual sal_Int32 SAL_CALL getCount() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL getByIndex(sal_Int32 _nIndex) throw(css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XIndexReplace
+ virtual void SAL_CALL replaceByIndex(sal_Int32 _nIndex, const css::uno::Any& _rElement) throw(css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XIndexContainer
+ virtual void SAL_CALL insertByIndex(sal_Int32 _nIndex, const css::uno::Any& Element) throw(css::lang::IllegalArgumentException, css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeByIndex(sal_Int32 _nIndex) throw(css::lang::IndexOutOfBoundsException, css::lang::WrappedTargetException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::container::XContainer
+ virtual void SAL_CALL addContainerListener(const css::uno::Reference< css::container::XContainerListener>& _rxListener) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeContainerListener(const css::uno::Reference< css::container::XContainerListener>& _rxListener) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+
+// css::script::XEventAttacherManager
+ virtual void SAL_CALL registerScriptEvent( sal_Int32 nIndex, const css::script::ScriptEventDescriptor& aScriptEvent ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL registerScriptEvents( sal_Int32 nIndex, const css::uno::Sequence< css::script::ScriptEventDescriptor >& aScriptEvents ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL revokeScriptEvent( sal_Int32 nIndex, const OUString& aListenerType, const OUString& aEventMethod, const OUString& aRemoveListenerParam ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL revokeScriptEvents( sal_Int32 nIndex ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL insertEntry( sal_Int32 nIndex ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeEntry( sal_Int32 nIndex ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::script::ScriptEventDescriptor > SAL_CALL getScriptEvents( sal_Int32 Index ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL attach( sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface >& xObject, const css::uno::Any& aHelper ) throw(css::lang::IllegalArgumentException, css::lang::ServiceNotRegisteredException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL detach( sal_Int32 nIndex, const css::uno::Reference< css::uno::XInterface >& xObject ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL addScriptListener( const css::uno::Reference< css::script::XScriptListener >& xListener ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL removeScriptListener( const css::uno::Reference< css::script::XScriptListener >& Listener ) throw(css::lang::IllegalArgumentException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
// helper
@@ -194,7 +194,7 @@ protected:
later on to implInserted/implReplaced.</p>
*/
virtual void approveNewElement(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject,
+ const css::uno::Reference< css::beans::XPropertySet >& _rxObject,
ElementDescription* _pElement
);
@@ -214,11 +214,11 @@ protected:
*/
void implInsert(
sal_Int32 _nIndex,
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& _rxObject,
+ const css::uno::Reference< css::beans::XPropertySet >& _rxObject,
bool _bEvents /* = sal_True */,
ElementDescription* _pApprovalResult /* = NULL */ ,
bool _bFire /* = sal_True */
- ) throw(::com::sun::star::lang::IllegalArgumentException);
+ ) throw(css::lang::IllegalArgumentException);
// called after the object is inserted, but before the "real listeners" are notified
virtual void implInserted( const ElementDescription* _pElement );
@@ -229,12 +229,12 @@ protected:
the instance lock.
*/
virtual void impl_replacedElement(
- const ::com::sun::star::container::ContainerEvent& _rEvent,
+ const css::container::ContainerEvent& _rEvent,
::osl::ClearableMutexGuard& _rInstanceLock
);
- void SAL_CALL writeEvents(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectOutputStream>& _rxOutStream);
- void SAL_CALL readEvents(const ::com::sun::star::uno::Reference< ::com::sun::star::io::XObjectInputStream>& _rxInStream);
+ void SAL_CALL writeEvents(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream);
+ void SAL_CALL readEvents(const css::uno::Reference< css::io::XObjectInputStream>& _rxInStream);
/** replace an element, specified by position
@@ -244,7 +244,7 @@ protected:
*/
void implReplaceByIndex(
const sal_Int32 _nIndex,
- const ::com::sun::star::uno::Any& _rNewElement,
+ const css::uno::Any& _rNewElement,
::osl::ClearableMutexGuard& _rClearBeforeNotify
);
@@ -260,7 +260,7 @@ protected:
);
/** validates the given index
- @throws ::com::sun::star::lang::IndexOutOfBoundsException
+ @throws css::lang::IndexOutOfBoundsException
if the given index does not denote a valid position in our children array
*/
void implCheckIndex( const sal_Int32 _nIndex );
@@ -280,7 +280,7 @@ private:
void impl_createEventAttacher_nothrow();
};
-typedef ::cppu::ImplHelper1< ::com::sun::star::form::XFormComponent> OFormComponents_BASE;
+typedef ::cppu::ImplHelper1< css::form::XFormComponent> OFormComponents_BASE;
typedef ::cppu::OComponentHelper FormComponentsBase;
// else MSVC kills itself on some statements
class OFormComponents :public FormComponentsBase
@@ -288,25 +288,25 @@ class OFormComponents :public FormComponentsBase
,public OFormComponents_BASE
{
protected:
- ::osl::Mutex m_aMutex;
+ ::osl::Mutex m_aMutex;
css::uno::Reference<css::uno::XInterface> m_xParent;
public:
- OFormComponents(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext>& _rxFactory);
+ OFormComponents(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory);
OFormComponents( const OFormComponents& _cloneSource );
virtual ~OFormComponents();
DECLARE_UNO3_AGG_DEFAULTS(OFormComponents, FormComponentsBase)
- virtual ::com::sun::star::uno::Any SAL_CALL queryAggregation(const ::com::sun::star::uno::Type& _rType) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Any SAL_CALL queryAggregation(const css::uno::Type& _rType) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// OComponentHelper
virtual void SAL_CALL disposing() SAL_OVERRIDE;
-// ::com::sun::star::form::XFormComponent
- virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getParent() throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL setParent(const css::uno::Reference<css::uno::XInterface>& Parent) throw(::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+// css::form::XFormComponent
+ virtual css::uno::Reference<css::uno::XInterface> SAL_CALL getParent() throw(css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setParent(const css::uno::Reference<css::uno::XInterface>& Parent) throw(css::lang::NoSupportException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
using OInterfaceContainer::disposing;
diff --git a/forms/source/inc/cloneable.hxx b/forms/source/inc/cloneable.hxx
index 50c3dca17daf..e920650a516c 100644
--- a/forms/source/inc/cloneable.hxx
+++ b/forms/source/inc/cloneable.hxx
@@ -29,10 +29,10 @@ namespace frm
class OCloneableAggregation
{
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation> m_xAggregate;
+ css::uno::Reference< css::uno::XAggregation> m_xAggregate;
protected:
- static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XAggregation > createAggregateClone( const OCloneableAggregation* _pOriginal );
+ static css::uno::Reference< css::uno::XAggregation > createAggregateClone( const OCloneableAggregation* _pOriginal );
};
diff --git a/forms/source/inc/commanddescriptionprovider.hxx b/forms/source/inc/commanddescriptionprovider.hxx
index 75a695b8e65b..a43a41f80419 100644
--- a/forms/source/inc/commanddescriptionprovider.hxx
+++ b/forms/source/inc/commanddescriptionprovider.hxx
@@ -48,8 +48,8 @@ namespace frm
PCommandDescriptionProvider
createDocumentCommandDescriptionProvider(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxDocument
+ const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
+ const css::uno::Reference< css::frame::XModel >& _rxDocument
);
diff --git a/forms/source/inc/commandimageprovider.hxx b/forms/source/inc/commandimageprovider.hxx
index 21cc14a5af7e..af0aefcc9f0e 100644
--- a/forms/source/inc/commandimageprovider.hxx
+++ b/forms/source/inc/commandimageprovider.hxx
@@ -36,8 +36,8 @@ namespace frm
//= ICommandImageProvider
typedef OUString CommandURL;
- typedef ::com::sun::star::uno::Sequence< CommandURL > CommandURLs;
- typedef ::std::vector< Image > CommandImages;
+ typedef css::uno::Sequence< CommandURL > CommandURLs;
+ typedef ::std::vector< Image > CommandImages;
class SAL_NO_VTABLE ICommandImageProvider
{
@@ -58,7 +58,7 @@ namespace frm
PCommandImageProvider
createDocumentCommandImageProvider(
const css::uno::Reference<css::uno::XComponentContext>& _rContext,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel >& _rxDocument
+ const css::uno::Reference< css::frame::XModel >& _rxDocument
);
diff --git a/forms/source/inc/componenttools.hxx b/forms/source/inc/componenttools.hxx
index 969a442a3126..4a41e88d9938 100644
--- a/forms/source/inc/componenttools.hxx
+++ b/forms/source/inc/componenttools.hxx
@@ -32,10 +32,10 @@ namespace frm
{
- struct TypeCompareLess : public ::std::binary_function< ::com::sun::star::uno::Type, ::com::sun::star::uno::Type, bool >
+ struct TypeCompareLess : public ::std::binary_function< css::uno::Type, css::uno::Type, bool >
{
private:
- typedef ::com::sun::star::uno::Type Type;
+ typedef css::uno::Type Type;
public:
bool operator()( const Type& _rLHS, const Type& _rRHS ) const
@@ -44,14 +44,14 @@ namespace frm
}
};
- /** a helper class which merges sequences of <type scope="com::sun::star::uno">Type</type>s,
+ /** a helper class which merges sequences of <type scope="css::uno">Type</type>s,
so that the resulting sequence contains every type at most once
*/
class TypeBag
{
public:
- typedef ::com::sun::star::uno::Type Type;
- typedef ::com::sun::star::uno::Sequence< Type > TypeSequence;
+ typedef css::uno::Type Type;
+ typedef css::uno::Sequence< Type > TypeSequence;
typedef ::std::set< Type, TypeCompareLess > TypeSet;
private:
@@ -81,8 +81,8 @@ namespace frm
TypeSequence getTypes() const;
};
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > getXModel(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxComponent );
+ css::uno::Reference< css::frame::XModel > getXModel(
+ const css::uno::Reference< css::uno::XInterface >& _rxComponent );
} // namespace frm
diff --git a/forms/source/inc/controlfeatureinterception.hxx b/forms/source/inc/controlfeatureinterception.hxx
index 54c0a2c46298..0ef9e90fc620 100644
--- a/forms/source/inc/controlfeatureinterception.hxx
+++ b/forms/source/inc/controlfeatureinterception.hxx
@@ -39,7 +39,7 @@ namespace frm
by external instances
For using this class, instantiate it as member, derive yourself from
- <type scope="com::sun::star::frame">XDispatchProviderInterception</type>, and forward all
+ <type scope="css::frame">XDispatchProviderInterception</type>, and forward all
respective methods to this member.
Additionally, don't forget to call <member>dispose</member> when your class is disposed itself.
@@ -47,8 +47,8 @@ namespace frm
class ControlFeatureInterception
{
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >
- m_xFirstDispatchInterceptor;
+ css::uno::Reference< css::frame::XDispatchProviderInterceptor >
+ m_xFirstDispatchInterceptor;
::std::unique_ptr< UrlTransformer > m_pUrlTransformer;
public:
@@ -57,29 +57,29 @@ namespace frm
const UrlTransformer& getTransformer() const { return *m_pUrlTransformer; }
public:
- ControlFeatureInterception( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB );
+ ControlFeatureInterception( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
// XDispatchProviderInterception
- void SAL_CALL registerDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException );
- void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException );
+ void SAL_CALL registerDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException );
+ void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException );
// XComponent
void SAL_CALL dispose();
/** queries the interceptor chain for the given dispatch
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
- queryDispatch( const ::com::sun::star::util::URL& _rURL, const OUString& _rTargetFrameName, ::sal_Int32 _nSearchFlags );
+ css::uno::Reference< css::frame::XDispatch >
+ queryDispatch( const css::util::URL& _rURL, const OUString& _rTargetFrameName, ::sal_Int32 _nSearchFlags );
/** queries the interceptor chain for the given dispatch, with a blank target frame and no frame search flags
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
- queryDispatch( const ::com::sun::star::util::URL& _rURL );
+ css::uno::Reference< css::frame::XDispatch >
+ queryDispatch( const css::util::URL& _rURL );
/** queries the interceptor chain for the URL given as ASCII string,
with a blank target frame and no frame search flags
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
+ css::uno::Reference< css::frame::XDispatch >
queryDispatch( const sal_Char* _pAsciiURL );
};
diff --git a/forms/source/inc/featuredispatcher.hxx b/forms/source/inc/featuredispatcher.hxx
index f24172de6ba6..63e94399e12d 100644
--- a/forms/source/inc/featuredispatcher.hxx
+++ b/forms/source/inc/featuredispatcher.hxx
@@ -50,7 +50,7 @@ namespace frm
virtual void dispatchWithArgument(
sal_Int16 _nFeatureId,
const sal_Char* _pParamName,
- const ::com::sun::star::uno::Any& _rParamValue
+ const css::uno::Any& _rParamValue
) const = 0;
/** checks whether a given feature is enabled
diff --git a/forms/source/inc/formcontrolfont.hxx b/forms/source/inc/formcontrolfont.hxx
index 89a2e886fb75..b0f544ad4a8b 100644
--- a/forms/source/inc/formcontrolfont.hxx
+++ b/forms/source/inc/formcontrolfont.hxx
@@ -37,18 +37,18 @@ namespace frm
{
private:
// <properties>
- ::com::sun::star::awt::FontDescriptor m_aFont;
+ css::awt::FontDescriptor m_aFont;
sal_Int16 m_nFontRelief;
sal_Int16 m_nFontEmphasis;
- ::com::sun::star::uno::Any m_aTextLineColor;
- ::com::sun::star::uno::Any m_aTextColor;
+ css::uno::Any m_aTextLineColor;
+ css::uno::Any m_aTextColor;
// </properties>
bool m_bToolkitCompatibleDefaults;
protected:
- const ::com::sun::star::awt::FontDescriptor& getFont() const { return m_aFont; }
- void setFont( const ::com::sun::star::awt::FontDescriptor& _rFont ) { m_aFont = _rFont; }
+ const css::awt::FontDescriptor& getFont() const { return m_aFont; }
+ void setFont( const css::awt::FontDescriptor& _rFont ) { m_aFont = _rFont; }
void setTextColor( sal_Int32 _nColor ) { m_aTextColor <<= _nColor; }
void clearTextColor( ) { m_aTextColor.clear(); }
@@ -70,17 +70,16 @@ namespace frm
/// appends (!) the description of all font related properties to the given sequence
static void describeFontRelatedProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& /* [out] */ _rProps );
+ css::uno::Sequence< css::beans::Property >& /* [out] */ _rProps );
- void getFastPropertyValue ( ::com::sun::star::uno::Any& _rValue, sal_Int32 _nHandle ) const;
- bool convertFastPropertyValue ( ::com::sun::star::uno::Any& _rConvertedValue, ::com::sun::star::uno::Any& _rOldValue, sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue ) throw( ::com::sun::star::lang::IllegalArgumentException );
+ void getFastPropertyValue ( css::uno::Any& _rValue, sal_Int32 _nHandle ) const;
+ bool convertFastPropertyValue ( css::uno::Any& _rConvertedValue, css::uno::Any& _rOldValue, sal_Int32 _nHandle, const css::uno::Any& _rValue ) throw( css::lang::IllegalArgumentException );
void setFastPropertyValue_NoBroadcast_impl(
- ::cppu::OPropertySetHelper & rBase,
- void (::cppu::OPropertySetHelper::*pSet)(
- sal_Int32, css::uno::Any const&),
- sal_Int32 nHandle, const ::com::sun::star::uno::Any& rValue)
- throw ( ::com::sun::star::uno::Exception );
- ::com::sun::star::uno::Any
+ ::cppu::OPropertySetHelper & rBase,
+ void (::cppu::OPropertySetHelper::*pSet)( sal_Int32, css::uno::Any const&),
+ sal_Int32 nHandle, const css::uno::Any& rValue)
+ throw ( css::uno::Exception );
+ css::uno::Any
getPropertyDefaultByHandle ( sal_Int32 _nHandle ) const;
private:
diff --git a/forms/source/inc/formnavigation.hxx b/forms/source/inc/formnavigation.hxx
index 4a4a59e7ab78..0e6db22e34d3 100644
--- a/forms/source/inc/formnavigation.hxx
+++ b/forms/source/inc/formnavigation.hxx
@@ -43,8 +43,8 @@ namespace frm
//= OFormNavigationHelper
- typedef ::cppu::ImplHelper2 < ::com::sun::star::frame::XDispatchProviderInterception
- , ::com::sun::star::frame::XStatusListener
+ typedef ::cppu::ImplHelper2 < css::frame::XDispatchProviderInterception
+ , css::frame::XStatusListener
> OFormNavigationHelper_Base;
class OFormNavigationHelper
@@ -54,17 +54,17 @@ namespace frm
private:
struct FeatureInfo
{
- ::com::sun::star::util::URL aURL;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > xDispatcher;
- bool bCachedState;
- ::com::sun::star::uno::Any aCachedAdditionalState;
+ css::util::URL aURL;
+ css::uno::Reference< css::frame::XDispatch > xDispatcher;
+ bool bCachedState;
+ css::uno::Any aCachedAdditionalState;
FeatureInfo() : bCachedState( false ) { }
};
typedef ::std::map< sal_Int16, FeatureInfo > FeatureMap;
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
+ css::uno::Reference< css::uno::XComponentContext >
m_xORB;
::std::unique_ptr< ControlFeatureInterception >
m_pFeatureInterception;
@@ -75,25 +75,25 @@ namespace frm
sal_Int32 m_nConnectedFeatures;
protected:
- OFormNavigationHelper( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB );
+ OFormNavigationHelper( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
virtual ~OFormNavigationHelper();
// XComponent
- void SAL_CALL dispose( ) throw( ::com::sun::star::uno::RuntimeException );
+ void SAL_CALL dispose( ) throw( css::uno::RuntimeException );
// XDispatchProviderInterception
- virtual void SAL_CALL registerDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL releaseDispatchProviderInterceptor( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >& Interceptor ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL registerDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL releaseDispatchProviderInterceptor( const css::uno::Reference< css::frame::XDispatchProviderInterceptor >& Interceptor ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XStatusListener
- virtual void SAL_CALL statusChanged( const ::com::sun::star::frame::FeatureStateEvent& State ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& State ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// IFeatureDispatcher
virtual void dispatch( sal_Int16 _nFeatureId ) const SAL_OVERRIDE;
- virtual void dispatchWithArgument( sal_Int16 _nFeatureId, const sal_Char* _pParamName, const ::com::sun::star::uno::Any& _rParamValue ) const SAL_OVERRIDE;
+ virtual void dispatchWithArgument( sal_Int16 _nFeatureId, const sal_Char* _pParamName, const css::uno::Any& _rParamValue ) const SAL_OVERRIDE;
virtual bool isEnabled( sal_Int16 _nFeatureId ) const SAL_OVERRIDE;
virtual bool getBooleanState( sal_Int16 _nFeatureId ) const SAL_OVERRIDE;
virtual OUString getStringState( sal_Int16 _nFeatureId ) const SAL_OVERRIDE;
@@ -152,8 +152,8 @@ namespace frm
/** queries the interceptor chain for a dispatcher for the given URL
*/
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
- queryDispatch( const ::com::sun::star::util::URL& _rURL );
+ css::uno::Reference< css::frame::XDispatch >
+ queryDispatch( const css::util::URL& _rURL );
/** invalidates the set of supported features
@@ -179,7 +179,7 @@ namespace frm
public:
OFormNavigationMapper(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB
+ const css::uno::Reference< css::uno::XComponentContext >& _rxORB
);
~OFormNavigationMapper( );
@@ -197,7 +197,7 @@ namespace frm
<TRUE/> if and only if the given id is a known feature id
(which is a valid usage)
*/
- bool getFeatureURL( sal_Int16 _nFeatureId, ::com::sun::star::util::URL& /* [out] */ _rURL );
+ bool getFeatureURL( sal_Int16 _nFeatureId, css::util::URL& /* [out] */ _rURL );
/** retrieves the feature id belonging to an feature URL
diff --git a/forms/source/inc/limitedformats.hxx b/forms/source/inc/limitedformats.hxx
index 0328e1fa9a4f..1d8cc6ba37ee 100644
--- a/forms/source/inc/limitedformats.hxx
+++ b/forms/source/inc/limitedformats.hxx
@@ -42,13 +42,13 @@ namespace frm
private:
static sal_Int32 s_nInstanceCount;
static ::osl::Mutex s_aMutex;
- static ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >
+ static css::uno::Reference< css::util::XNumberFormatsSupplier >
s_xStandardFormats;
protected:
sal_Int32 m_nFormatEnumPropertyHandle;
const sal_Int16 m_nTableId;
- ::com::sun::star::uno::Reference< ::com::sun::star::beans::XFastPropertySet >
+ css::uno::Reference< css::beans::XFastPropertySet >
m_xAggregate;
protected:
@@ -57,32 +57,32 @@ namespace frm
pass the same value here share one table.</p>
*/
OLimitedFormats(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext,
+ const css::uno::Reference< css::uno::XComponentContext >& _rxContext,
const sal_Int16 _nClassId
);
~OLimitedFormats();
protected:
void setAggregateSet(
- const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XFastPropertySet >& _rxAggregate,
+ const css::uno::Reference< css::beans::XFastPropertySet >& _rxAggregate,
sal_Int32 _nOriginalPropertyHandle
);
protected:
- void getFormatKeyPropertyValue( ::com::sun::star::uno::Any& _rValue ) const;
+ void getFormatKeyPropertyValue( css::uno::Any& _rValue ) const;
bool convertFormatKeyPropertyValue(
- ::com::sun::star::uno::Any& _rConvertedValue,
- ::com::sun::star::uno::Any& _rOldValue,
- const ::com::sun::star::uno::Any& _rNewValue
+ css::uno::Any& _rConvertedValue,
+ css::uno::Any& _rOldValue,
+ const css::uno::Any& _rNewValue
);
- void setFormatKeyPropertyValue( const ::com::sun::star::uno::Any& _rNewValue );
+ void setFormatKeyPropertyValue( const css::uno::Any& _rNewValue );
// setFormatKeyPropertyValue should only be called with a value got from convertFormatKeyPropertyValue!
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XNumberFormatsSupplier >
+ css::uno::Reference< css::util::XNumberFormatsSupplier >
getFormatsSupplier() const { return s_xStandardFormats; }
private:
- void acquireSupplier(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
+ void acquireSupplier(const css::uno::Reference< css::uno::XComponentContext >& _rxContext);
void releaseSupplier();
static void ensureTableInitialized(const sal_Int16 _nTableId);
diff --git a/forms/source/inc/listenercontainers.hxx b/forms/source/inc/listenercontainers.hxx
index 4e19758936fe..386e75937f6d 100644
--- a/forms/source/inc/listenercontainers.hxx
+++ b/forms/source/inc/listenercontainers.hxx
@@ -29,11 +29,11 @@ namespace frm
{
template < class LISTENER >
- class EventListeners : public ::comphelper::OListenerContainerBase< LISTENER, ::com::sun::star::lang::EventObject >
+ class EventListeners : public ::comphelper::OListenerContainerBase< LISTENER, css::lang::EventObject >
{
public:
typedef LISTENER ListenerClass;
- typedef ::com::sun::star::lang::EventObject EventClass;
+ typedef css::lang::EventObject EventClass;
typedef ::comphelper::OListenerContainerBase< ListenerClass, EventClass >
EventListeners_Base;
@@ -50,13 +50,13 @@ namespace frm
public:
inline bool notify()
{
- ::com::sun::star::lang::EventObject aEvent( m_rInstigator );
+ css::lang::EventObject aEvent( m_rInstigator );
return EventListeners_Base::notify( aEvent );
}
inline void disposing()
{
- ::com::sun::star::lang::EventObject aEvent( m_rInstigator );
+ css::lang::EventObject aEvent( m_rInstigator );
EventListeners_Base::disposing( aEvent );
}
protected:
@@ -64,7 +64,7 @@ namespace frm
using EventListeners_Base::disposing;
};
- typedef EventListeners < ::com::sun::star::form::XResetListener
+ typedef EventListeners < css::form::XResetListener
> ResetListeners_Base;
class ResetListeners : public ResetListeners_Base
{
@@ -101,8 +101,8 @@ namespace frm
protected:
virtual bool implTypedNotify(
- const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& _rxListener,
- const ::com::sun::star::lang::EventObject& _rEvent
+ const css::uno::Reference< css::form::XResetListener >& _rxListener,
+ const css::lang::EventObject& _rEvent
) SAL_OVERRIDE;
};
diff --git a/forms/source/inc/property.hrc b/forms/source/inc/property.hrc
index c924aab7102c..2844eb07561c 100644
--- a/forms/source/inc/property.hrc
+++ b/forms/source/inc/property.hrc
@@ -204,10 +204,10 @@ namespace frm
#define PROPERTY_ID_PRIVILEGES (PROPERTY_ID_START +179) // INT32
#define PROPERTY_ID_DETAILFIELDS (PROPERTY_ID_START +180) // Sequence< ::rtl::OUString >
#define PROPERTY_ID_COMMAND (PROPERTY_ID_START +181) // String
-#define PROPERTY_ID_COMMANDTYPE (PROPERTY_ID_START +182) // INT32 (com::sun::star::sdb::CommandType)
-#define PROPERTY_ID_RESULTSET_CONCURRENCY (PROPERTY_ID_START +183)// INT32 (com::sun::star::sdbc::ResultSetConcurrency)
+#define PROPERTY_ID_COMMANDTYPE (PROPERTY_ID_START +182) // INT32 (css::sdb::CommandType)
+#define PROPERTY_ID_RESULTSET_CONCURRENCY (PROPERTY_ID_START +183)// INT32 (css::sdbc::ResultSetConcurrency)
#define PROPERTY_ID_INSERTONLY (PROPERTY_ID_START +184) // BOOL
-#define PROPERTY_ID_RESULTSET_TYPE (PROPERTY_ID_START +185) // INT32 (com::sun::star::sdbc::ResultSetType)
+#define PROPERTY_ID_RESULTSET_TYPE (PROPERTY_ID_START +185) // INT32 (css::sdbc::ResultSetType)
#define PROPERTY_ID_ESCAPE_PROCESSING (PROPERTY_ID_START +186) // BOOL
#define PROPERTY_ID_APPLYFILTER (PROPERTY_ID_START +187) // BOOL
@@ -216,7 +216,7 @@ namespace frm
#define PROPERTY_ID_ISCURRENCY (PROPERTY_ID_START +190) // BOOL
#define PROPERTY_ID_URL (PROPERTY_ID_START +192) // String
#define PROPERTY_ID_TITLE (PROPERTY_ID_START +193) // String
-#define PROPERTY_ID_ACTIVE_CONNECTION (PROPERTY_ID_START +194) // com::sun::star::sdbc::XConnection
+#define PROPERTY_ID_ACTIVE_CONNECTION (PROPERTY_ID_START +194) // css::sdbc::XConnection
#define PROPERTY_ID_SCALE (PROPERTY_ID_START +195) // INT32
#define PROPERTY_ID_SORT (PROPERTY_ID_START +196) // String
diff --git a/forms/source/inc/property.hxx b/forms/source/inc/property.hxx
index bfbc55f6b558..7737652f0d31 100644
--- a/forms/source/inc/property.hxx
+++ b/forms/source/inc/property.hxx
@@ -101,32 +101,32 @@ public:
#define DECL_PROP_IMPL(varname, type) \
- *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<type>::get(),
+ *pProperties++ = css::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<type>::get(),
#define DECL_BOOL_PROP_IMPL(varname) \
- *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<bool>::get(),
+ *pProperties++ = css::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<bool>::get(),
#define DECL_IFACE_PROP_IMPL(varname, type) \
- *pProperties++ = com::sun::star::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<type>::get(),
+ *pProperties++ = css::beans::Property(PROPERTY_##varname, PROPERTY_ID_##varname, cppu::UnoType<type>::get(),
#define BEGIN_DESCRIBE_PROPERTIES( count, baseclass ) \
baseclass::describeFixedProperties( _rProps ); \
sal_Int32 nOldCount = _rProps.getLength(); \
_rProps.realloc( nOldCount + ( count ) ); \
- ::com::sun::star::beans::Property* pProperties = _rProps.getArray() + nOldCount; \
+ css::beans::Property* pProperties = _rProps.getArray() + nOldCount; \
#define BEGIN_DESCRIBE_BASE_PROPERTIES( count ) \
_rProps.realloc( count ); \
- ::com::sun::star::beans::Property* pProperties = _rProps.getArray(); \
+ css::beans::Property* pProperties = _rProps.getArray(); \
#define BEGIN_DESCRIBE_AGGREGATION_PROPERTIES( count, aggregate ) \
_rProps.realloc( count ); \
- ::com::sun::star::beans::Property* pProperties = _rProps.getArray(); \
+ css::beans::Property* pProperties = _rProps.getArray(); \
\
if (aggregate.is()) \
_rAggregateProps = aggregate->getPropertySetInfo()->getProperties(); \
@@ -138,25 +138,25 @@ public:
#define DECL_PROP1(varname, type, attrib1) \
- DECL_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1)
+ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1)
#define DECL_PROP2(varname, type, attrib1, attrib2) \
- DECL_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2)
+ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2)
#define DECL_PROP3(varname, type, attrib1, attrib2, attrib3) \
- DECL_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2 | com::sun::star::beans::PropertyAttribute::attrib3)
+ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::beans::PropertyAttribute::attrib3)
#define DECL_PROP4(varname, type, attrib1, attrib2, attrib3, attrib4) \
- DECL_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2 | com::sun::star::beans::PropertyAttribute::attrib3 | com::sun::star::beans::PropertyAttribute::attrib4)
+ DECL_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::beans::PropertyAttribute::attrib3 | css::beans::PropertyAttribute::attrib4)
// === some property types require special handling
// === such as interfaces
#define DECL_IFACE_PROP2(varname, type, attrib1, attrib2) \
- DECL_IFACE_PROP_IMPL(varname, type) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2)
+ DECL_IFACE_PROP_IMPL(varname, type) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2)
#define DECL_IFACE_PROP3(varname, type, attrib1, attrib2, attrib3) \
@@ -169,15 +169,15 @@ public:
// === or Boolean properties
#define DECL_BOOL_PROP1(varname, attrib1) \
- DECL_BOOL_PROP_IMPL(varname) com::sun::star::beans::PropertyAttribute::attrib1)
+ DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1)
#define DECL_BOOL_PROP2(varname, attrib1, attrib2) \
- DECL_BOOL_PROP_IMPL(varname) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2)
+ DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2)
#define DECL_BOOL_PROP3( varname, attrib1, attrib2, attrib3 ) \
- DECL_BOOL_PROP_IMPL(varname) com::sun::star::beans::PropertyAttribute::attrib1 | com::sun::star::beans::PropertyAttribute::attrib2 | com::sun::star::beans::PropertyAttribute::attrib3 )
+ DECL_BOOL_PROP_IMPL(varname) css::beans::PropertyAttribute::attrib1 | css::beans::PropertyAttribute::attrib2 | css::beans::PropertyAttribute::attrib3 )
diff --git a/forms/source/inc/propertybaghelper.hxx b/forms/source/inc/propertybaghelper.hxx
index be3951dd7494..9fe7c6b4aec4 100644
--- a/forms/source/inc/propertybaghelper.hxx
+++ b/forms/source/inc/propertybaghelper.hxx
@@ -41,11 +41,11 @@ namespace frm
virtual ::osl::Mutex& getMutex() = 0;
virtual void describeFixedAndAggregateProperties(
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _out_rFixedProperties,
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::Property >& _out_rAggregateProperties
+ css::uno::Sequence< css::beans::Property >& _out_rFixedProperties,
+ css::uno::Sequence< css::beans::Property >& _out_rAggregateProperties
) const = 0;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XMultiPropertySet >
+ virtual css::uno::Reference< css::beans::XMultiPropertySet >
getPropertiesInterface() = 0;
protected:
@@ -71,18 +71,18 @@ namespace frm
inline ::comphelper::OPropertyArrayAggregationHelper& getInfoHelper() const;
// XPropertyContainer equivalent
- void addProperty( const OUString& _rName, ::sal_Int16 _nAttributes, const ::com::sun::star::uno::Any& _rInitialValue );
+ void addProperty( const OUString& _rName, ::sal_Int16 _nAttributes, const css::uno::Any& _rInitialValue );
void removeProperty( const OUString& _rName );
// XPropertyAccess equivalent
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL getPropertyValues();
- void setPropertyValues( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& _rProps );
+ css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues();
+ void setPropertyValues( const css::uno::Sequence< css::beans::PropertyValue >& _rProps );
// forwards to m_aDynamicProperties
- inline void getDynamicFastPropertyValue( sal_Int32 _nHandle, ::com::sun::star::uno::Any& _out_rValue ) const;
- inline bool convertDynamicFastPropertyValue( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rNewValue, ::com::sun::star::uno::Any& _out_rConvertedValue, ::com::sun::star::uno::Any& _out_rCurrentValue ) const;
- inline void setDynamicFastPropertyValue( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue );
- inline void getDynamicPropertyDefaultByHandle( sal_Int32 _nHandle, ::com::sun::star::uno::Any& _out_rValue ) const;
+ inline void getDynamicFastPropertyValue( sal_Int32 _nHandle, css::uno::Any& _out_rValue ) const;
+ inline bool convertDynamicFastPropertyValue( sal_Int32 _nHandle, const css::uno::Any& _rNewValue, css::uno::Any& _out_rConvertedValue, css::uno::Any& _out_rCurrentValue ) const;
+ inline void setDynamicFastPropertyValue( sal_Int32 _nHandle, const css::uno::Any& _rValue );
+ inline void getDynamicPropertyDefaultByHandle( sal_Int32 _nHandle, css::uno::Any& _out_rValue ) const;
inline bool hasDynamicPropertyByHandle( sal_Int32 _nHandle ) const;
private:
@@ -112,25 +112,25 @@ namespace frm
}
- inline void PropertyBagHelper::getDynamicFastPropertyValue( sal_Int32 _nHandle, ::com::sun::star::uno::Any& _out_rValue ) const
+ inline void PropertyBagHelper::getDynamicFastPropertyValue( sal_Int32 _nHandle, css::uno::Any& _out_rValue ) const
{
m_aDynamicProperties.getFastPropertyValue( _nHandle, _out_rValue );
}
- inline bool PropertyBagHelper::convertDynamicFastPropertyValue( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rNewValue, ::com::sun::star::uno::Any& _out_rConvertedValue, ::com::sun::star::uno::Any& _out_rCurrentValue ) const
+ inline bool PropertyBagHelper::convertDynamicFastPropertyValue( sal_Int32 _nHandle, const css::uno::Any& _rNewValue, css::uno::Any& _out_rConvertedValue, css::uno::Any& _out_rCurrentValue ) const
{
return m_aDynamicProperties.convertFastPropertyValue( _nHandle, _rNewValue, _out_rConvertedValue, _out_rCurrentValue );
}
- inline void PropertyBagHelper::setDynamicFastPropertyValue( sal_Int32 _nHandle, const ::com::sun::star::uno::Any& _rValue )
+ inline void PropertyBagHelper::setDynamicFastPropertyValue( sal_Int32 _nHandle, const css::uno::Any& _rValue )
{
m_aDynamicProperties.setFastPropertyValue( _nHandle, _rValue );
}
- inline void PropertyBagHelper::getDynamicPropertyDefaultByHandle( sal_Int32 _nHandle, ::com::sun::star::uno::Any& _out_rValue ) const
+ inline void PropertyBagHelper::getDynamicPropertyDefaultByHandle( sal_Int32 _nHandle, css::uno::Any& _out_rValue ) const
{
m_aDynamicProperties.getPropertyDefaultByHandle( _nHandle, _out_rValue );
}
diff --git a/forms/source/inc/resettable.hxx b/forms/source/inc/resettable.hxx
index 4dccf4c662a5..2a5cb308ad1c 100644
--- a/forms/source/inc/resettable.hxx
+++ b/forms/source/inc/resettable.hxx
@@ -43,8 +43,8 @@ namespace frm
}
// XReset equivalents
- void addResetListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& _listener );
- void removeResetListener( const ::com::sun::star::uno::Reference< ::com::sun::star::form::XResetListener >& _listener );
+ void addResetListener( const css::uno::Reference< css::form::XResetListener >& _listener );
+ void removeResetListener( const css::uno::Reference< css::form::XResetListener >& _listener );
// calling listeners
bool approveReset();
diff --git a/forms/source/inc/urltransformer.hxx b/forms/source/inc/urltransformer.hxx
index 527f30b1ce77..3ee248f8e1a1 100644
--- a/forms/source/inc/urltransformer.hxx
+++ b/forms/source/inc/urltransformer.hxx
@@ -32,29 +32,29 @@ namespace frm
class UrlTransformer
{
private:
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >
+ css::uno::Reference< css::uno::XComponentContext >
m_xORB;
- mutable ::com::sun::star::uno::Reference< ::com::sun::star::util::XURLTransformer >
+ mutable css::uno::Reference< css::util::XURLTransformer >
m_xTransformer;
mutable bool m_bTriedToCreateTransformer;
public:
- UrlTransformer( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxORB );
+ UrlTransformer( const css::uno::Reference< css::uno::XComponentContext >& _rxORB );
/** returns an URL object for the given URL string
*/
- ::com::sun::star::util::URL
+ css::util::URL
getStrictURL( const OUString& _rURL ) const;
/** returns an URL object for the given URL ASCII string
*/
- ::com::sun::star::util::URL
+ css::util::URL
getStrictURLFromAscii( const sal_Char* _pAsciiURL ) const;
/** parses a given URL smartly, with a protocol given by ASCII string
*/
void
- parseSmartWithAsciiProtocol( ::com::sun::star::util::URL& _rURL, const sal_Char* _pAsciiURL ) const;
+ parseSmartWithAsciiProtocol( css::util::URL& _rURL, const sal_Char* _pAsciiURL ) const;
private:
/** ensures that we have an URLTransformer instance in <member>m_xTransformer</member>
diff --git a/forms/source/inc/windowstateguard.hxx b/forms/source/inc/windowstateguard.hxx
index 587c2f6265f0..828a5ae6a51f 100644
--- a/forms/source/inc/windowstateguard.hxx
+++ b/forms/source/inc/windowstateguard.hxx
@@ -60,8 +60,8 @@ namespace frm
~WindowStateGuard();
void attach(
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow2 >& _rxWindow,
- const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxModel
+ const css::uno::Reference< css::awt::XWindow2 >& _rxWindow,
+ const css::uno::Reference< css::awt::XControlModel >& _rxModel
);
};