LibreOffice Module sc (master)  1
Classes | Macros
miscuno.hxx File Reference
#include <vector>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <com/sun/star/container/XEnumeration.hpp>
#include <com/sun/star/container/XIndexAccess.hpp>
#include <cppuhelper/implbase.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <osl/diagnose.h>
#include "scdllapi.h"
Include dependency graph for miscuno.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ScIndexEnumeration
 
class  ScNameToIndexAccess
 
class  ScUnoHelpFunctions
 

Macros

#define SC_SIMPLE_SERVICE_INFO_IMPL(ClassName, ClassNameAscii)
 
#define SC_SIMPLE_SERVICE_INFO_NAME(ClassName, ServiceAscii)
 
#define SC_SIMPLE_SERVICE_INFO_TYPO(ClassName, ServiceAscii, ServiceAsciiMistyped)
 
#define SC_SIMPLE_SERVICE_INFO(ClassName, ClassNameAscii, ServiceAscii)
 
#define SC_SIMPLE_SERVICE_INFO_COMPAT(ClassName, ClassNameAscii, ServiceAscii, ServiceAsciiMistyped)
 
#define SC_IMPL_DUMMY_PROPERTY_LISTENER(ClassName)
 
#define SC_QUERYINTERFACE(x)
 
#define SC_QUERY_MULTIPLE(x, y)
 

Macro Definition Documentation

#define SC_IMPL_DUMMY_PROPERTY_LISTENER (   ClassName)
Value:
void SAL_CALL ClassName::addPropertyChangeListener( const OUString&, \
const uno::Reference<beans::XPropertyChangeListener>&) \
{ OSL_FAIL("not implemented"); } \
void SAL_CALL ClassName::removePropertyChangeListener( const OUString&, \
const uno::Reference<beans::XPropertyChangeListener>&) \
{ OSL_FAIL("not implemented"); } \
void SAL_CALL ClassName::addVetoableChangeListener( const OUString&, \
const uno::Reference<beans::XVetoableChangeListener>&) \
{ OSL_FAIL("not implemented"); } \
void SAL_CALL ClassName::removeVetoableChangeListener( const OUString&, \
const uno::Reference<beans::XVetoableChangeListener>&) \
{ OSL_FAIL("not implemented"); }

Definition at line 72 of file miscuno.hxx.

#define SC_QUERY_MULTIPLE (   x,
  y 
)
Value:
if (rType == cppu::UnoType<x>::get()) \
{ uno::Any aR; aR <<= uno::Reference<x>(static_cast<y*>(this)); return aR; }
float y

Definition at line 93 of file miscuno.hxx.

Referenced by ScTabViewObj::queryInterface(), and ScCellRangesObj::queryInterface().

#define SC_QUERYINTERFACE (   x)
#define SC_SIMPLE_SERVICE_INFO (   ClassName,
  ClassNameAscii,
  ServiceAscii 
)
Value:
SC_SIMPLE_SERVICE_INFO_IMPL( ClassName, ClassNameAscii ) \
SC_SIMPLE_SERVICE_INFO_NAME( ClassName, ServiceAscii )
#define SC_SIMPLE_SERVICE_INFO_IMPL(ClassName, ClassNameAscii)
Definition: miscuno.hxx:34

Definition at line 63 of file miscuno.hxx.

#define SC_SIMPLE_SERVICE_INFO_COMPAT (   ClassName,
  ClassNameAscii,
  ServiceAscii,
  ServiceAsciiMistyped 
)
Value:
SC_SIMPLE_SERVICE_INFO_IMPL( ClassName, ClassNameAscii ) \
SC_SIMPLE_SERVICE_INFO_TYPO( ClassName, ServiceAscii, ServiceAsciiMistyped )
#define SC_SIMPLE_SERVICE_INFO_IMPL(ClassName, ClassNameAscii)
Definition: miscuno.hxx:34

Definition at line 67 of file miscuno.hxx.

#define SC_SIMPLE_SERVICE_INFO_IMPL (   ClassName,
  ClassNameAscii 
)
Value:
OUString SAL_CALL ClassName::getImplementationName() \
{ \
return ClassNameAscii; \
} \
sal_Bool SAL_CALL ClassName::supportsService( const OUString& ServiceName ) \
{ \
return cppu::supportsService(this, ServiceName); \
}
bool CPPUHELPER_DLLPUBLIC supportsService(css::lang::XServiceInfo *implementation, rtl::OUString const &name)

Definition at line 34 of file miscuno.hxx.

#define SC_SIMPLE_SERVICE_INFO_NAME (   ClassName,
  ServiceAscii 
)
Value:
css::uno::Sequence< OUString > \
SAL_CALL ClassName::getSupportedServiceNames() \
{ \
css::uno::Sequence< OUString > aRet { ServiceAscii }; \
return aRet; \
}

Definition at line 44 of file miscuno.hxx.

#define SC_SIMPLE_SERVICE_INFO_TYPO (   ClassName,
  ServiceAscii,
  ServiceAsciiMistyped 
)
Value:
css::uno::Sequence< OUString > \
SAL_CALL ClassName::getSupportedServiceNames() \
{ \
css::uno::Sequence< OUString > aRet { ServiceAsciiMistyped, ServiceAscii }; \
return aRet; \
}

Definition at line 55 of file miscuno.hxx.