LibreOffice Module reportdesign (master)  1
Macros
ReportHelperImpl.hxx File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define REPORTCOMPONENT_IMPL3(clazz, arg)
 
#define REPORTCOMPONENT_IMPL(clazz, arg)
 
#define REPORTCOMPONENT_IMPL2(clazz, arg)
 
#define REPORTCOMPONENT_MASTERDETAIL(clazz, arg)
 
#define REPORTCOMPONENT_NOMASTERDETAIL(clazz)
 
#define REPORTCONTROLFORMAT_IMPL1(clazz, varName)
 
#define REPORTCONTROLFORMAT_IMPL2(clazz, varName)
 
#define NO_REPORTCONTROLFORMAT_IMPL(clazz)
 
#define REPORTCONTROLFORMAT_IMPL(clazz, varName)
 

Macro Definition Documentation

#define NO_REPORTCONTROLFORMAT_IMPL (   clazz)

Definition at line 799 of file ReportHelperImpl.hxx.

#define REPORTCOMPONENT_IMPL (   clazz,
  arg 
)
Value:
sal_Bool SAL_CALL clazz::getPrintRepeatedValues() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return (arg).m_bPrintRepeatedValues; \
} \
void SAL_CALL clazz::setPrintRepeatedValues( sal_Bool _printrepeatedvalues ) \
{ \
set(PROPERTY_PRINTREPEATEDVALUES,_printrepeatedvalues,(arg).m_bPrintRepeatedValues); \
}
#define PROPERTY_PRINTREPEATEDVALUES
Definition: strings.hxx:109
#define REPORTCOMPONENT_IMPL3(clazz, arg)
unsigned char sal_Bool

Definition at line 88 of file ReportHelperImpl.hxx.

#define REPORTCOMPONENT_IMPL2 (   clazz,
  arg 
)
Value:
::sal_Int16 SAL_CALL clazz::getControlBorder() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return (arg).m_nBorder; \
} \
void SAL_CALL clazz::setControlBorder( ::sal_Int16 _border )\
{ \
set(PROPERTY_CONTROLBORDER,_border,(arg).m_nBorder); \
} \
::sal_Int32 SAL_CALL clazz::getControlBorderColor() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return (arg).m_nBorderColor; \
} \
void SAL_CALL clazz::setControlBorderColor( ::sal_Int32 _bordercolor ) \
{ \
set(PROPERTY_CONTROLBORDERCOLOR,_bordercolor,(arg).m_nBorderColor); \
}
#define PROPERTY_CONTROLBORDERCOLOR
Definition: strings.hxx:99
#define PROPERTY_CONTROLBORDER
Definition: strings.hxx:98

Definition at line 100 of file ReportHelperImpl.hxx.

#define REPORTCOMPONENT_IMPL3 (   clazz,
  arg 
)

Definition at line 22 of file ReportHelperImpl.hxx.

#define REPORTCOMPONENT_MASTERDETAIL (   clazz,
  arg 
)
Value:
css::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return (arg).m_aMasterFields; \
} \
void SAL_CALL clazz::setMasterFields( const css::uno::Sequence< OUString >& _masterfields )\
{ \
::osl::MutexGuard aGuard(m_aMutex); \
set(PROPERTY_MASTERFIELDS,_masterfields,(arg).m_aMasterFields); \
} \
css::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields()\
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return (arg).m_aDetailFields; \
} \
void SAL_CALL clazz::setDetailFields( const css::uno::Sequence< OUString >& _detailfields )\
{ \
::osl::MutexGuard aGuard(m_aMutex); \
set(PROPERTY_DETAILFIELDS,_detailfields,(arg).m_aDetailFields); \
}
#define PROPERTY_MASTERFIELDS
Definition: strings.hxx:56
#define PROPERTY_DETAILFIELDS
Definition: strings.hxx:57

Definition at line 120 of file ReportHelperImpl.hxx.

#define REPORTCOMPONENT_NOMASTERDETAIL (   clazz)
Value:
css::uno::Sequence< OUString > SAL_CALL clazz::getMasterFields() \
{ \
throw css::beans::UnknownPropertyException();\
} \
void SAL_CALL clazz::setMasterFields( const css::uno::Sequence< OUString >& )\
{ \
throw css::beans::UnknownPropertyException();\
} \
css::uno::Sequence< OUString > SAL_CALL clazz::getDetailFields()\
{ \
throw css::beans::UnknownPropertyException();\
} \
void SAL_CALL clazz::setDetailFields( const css::uno::Sequence< OUString >& )\
{ \
throw css::beans::UnknownPropertyException();\
}

Definition at line 142 of file ReportHelperImpl.hxx.

#define REPORTCONTROLFORMAT_IMPL (   clazz,
  varName 
)
Value:
REPORTCONTROLFORMAT_IMPL1(clazz,varName) \
REPORTCONTROLFORMAT_IMPL2(clazz,varName)
#define REPORTCONTROLFORMAT_IMPL1(clazz, varName)

Definition at line 1286 of file ReportHelperImpl.hxx.

#define REPORTCONTROLFORMAT_IMPL1 (   clazz,
  varName 
)
Value:
::sal_Int32 SAL_CALL clazz::getControlBackground() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return varName.m_bBackgroundTransparent ? sal_Int32(COL_TRANSPARENT) : varName.nBackgroundColor; \
} \
\
void SAL_CALL clazz::setControlBackground( ::sal_Int32 _backgroundcolor )\
{ \
bool bTransparent = _backgroundcolor == static_cast<sal_Int32>(COL_TRANSPARENT);\
setControlBackgroundTransparent(bTransparent);\
if ( !bTransparent )\
set(PROPERTY_CONTROLBACKGROUND,_backgroundcolor,varName.nBackgroundColor);\
} \
\
sal_Bool SAL_CALL clazz::getControlBackgroundTransparent() \
{ \
::osl::MutexGuard aGuard(m_aMutex); \
return varName.m_bBackgroundTransparent; \
} \
\
void SAL_CALL clazz::setControlBackgroundTransparent( sal_Bool _controlbackgroundtransparent ) \
{ \
set(PROPERTY_CONTROLBACKGROUNDTRANSPARENT,_controlbackgroundtransparent,varName.m_bBackgroundTransparent);\
if ( _controlbackgroundtransparent )\
set(PROPERTY_CONTROLBACKGROUND,static_cast<sal_Int32>(COL_TRANSPARENT),varName.nBackgroundColor);\
}
constexpr::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
#define PROPERTY_CONTROLBACKGROUNDTRANSPARENT
Definition: strings.hxx:41
#define PROPERTY_CONTROLBACKGROUND
Definition: strings.hxx:40
unsigned char sal_Bool

Definition at line 161 of file ReportHelperImpl.hxx.

#define REPORTCONTROLFORMAT_IMPL2 (   clazz,
  varName 
)

Definition at line 189 of file ReportHelperImpl.hxx.