#include <svx/drawitem.hxx>
#include <svx/xtable.hxx>
#include <utility>
Go to the source code of this file.
◆ QUERY_PUT_IMPL
#define QUERY_PUT_IMPL |
( |
|
svtype, |
|
|
|
xtype |
|
) |
| |
Value:bool svtype::QueryValue( css::uno::Any& rVal,
sal_uInt8 )
const \
{ \
rVal <<= uno::Reference< uno::XWeak >( p##xtype ); \
return true; \
} \
\
bool svtype::PutValue(
const css::uno::Any& rVal,
sal_uInt8 ) \
{ \
uno::Reference< uno::XWeak > xRef; \
if( rVal >>= xRef ) { \
p##xtype =
X##xtype##
Ref(
dynamic_cast<X##xtype *
>(xRef.get())); \
return true; \
} \
return false; \
}
Definition at line 77 of file drawitem.cxx.