35#define GETITEM( itemset, itemtype, which ) \
36 static_cast< const itemtype & >( (itemset).Get( which ) )
39#define GETITEMBOOL( itemset, which ) \
40 (static_cast<const SfxBoolItem &>( (itemset).Get( which )).GetValue() )
47template<
typename ReturnType,
typename Type >
49{
return static_cast< ReturnType
>( ::std::max< Type >(
nValue, nMin ) ); }
52template<
typename ReturnType,
typename Type >
54{
return static_cast< ReturnType
>( ::std::min< Type >(
nValue, nMax ) ); }
57template<
typename ReturnType,
typename Type >
62template<
typename ReturnType,
typename Type >
64{
return static_cast< ReturnType
>( ::std::clamp< Type >(
nValue, nMin, nMax ) ); }
67template<
typename ReturnType,
typename Type >
69{
return limit_cast(
nValue, ::std::numeric_limits< ReturnType >::min(), ::std::numeric_limits< ReturnType >::max() ); }
74template<
typename Type >
76{
return (nBitField & nMask) != 0; }
79template<
typename ReturnType,
typename Type >
87template<
typename ReturnType,
typename Type >
89{
return static_cast< ReturnType
>( ((1UL <<
nBitCount) - 1) & (nBitField >> nStartBit) ); }
94template<
typename Type >
96{
if( bSet ) rnBitField |= nMask;
else rnBitField &= ~nMask; }
101template<
typename Type,
typename InsertType >
104 unsigned int nMask = (1U <<
nBitCount) - 1;
106 rnBitField = (rnBitField & ~(nMask << nStartBit)) | (nNewValue << nStartBit);
135 static OUString
GetHexStr( sal_uInt16 nValue );
183 sal_uInt16 nWhichId,
bool bSkipPoolDef );
201 const OUString& rStyleName,
bool bForceName );
208 const OUString& rStyleName,
bool bForceName );
274 const rtl_TextEncoding eSrc )
override;
277 double nOutputFactor,
bool bCalcWidthHeight,
278 SvNumberFormatter* pFormatter,
bool bConvertDate,
bool bConvertScientific )
override;
289 const OUString& rStreamPath, OUString& rNonConvertibleChars,
const OUString& rFilterOptions )
override;
Collection of orcus filter wrappers.