28#include <com/sun/star/beans/XPropertySet.hpp>
29#include <com/sun/star/style/XStyle.hpp>
35 class XReportComponent;
36 class XReportDefinition;
67 virtual css::uno::Any
operator() (
const OUString& ,
const css::uno::Any& lhs)
const
80template <
typename T> T
getStyleProperty(
const css::uno::Reference< css::report::XReportDefinition>& _xReport,
const OUString& _sPropertyName)
83 css::uno::Reference<css::beans::XPropertySet> xProp(
getUsedStyle(_xReport),css::uno::UNO_QUERY_THROW);
84 xProp->getPropertyValue(_sPropertyName) >>= nReturn;
virtual css::uno::Any operator()(const OUString &, const css::uno::Any &lhs) const
#define REPORTDESIGN_DLLPUBLIC
uno::Reference< style::XStyle > getUsedStyle(const uno::Reference< report::XReportDefinition > &_xReport)
std::map< OUString, TPropertyConverter > TPropertyNamePair
constexpr SdrLayerID RPT_LAYER_HIDDEN(2)
constexpr SdrLayerID RPT_LAYER_FRONT(0)
const TPropertyNamePair & getPropertyNameMap(SdrObjKind _nObjectId)
returns the property name map for the given property id
T getStyleProperty(const css::uno::Reference< css::report::XReportDefinition > &_xReport, const OUString &_sPropertyName)
constexpr SdrLayerID RPT_LAYER_BACK(1)
::std::pair< OUString, std::shared_ptr< AnyConverter > > TPropertyConverter