23#include <com/sun/star/uno/Reference.hxx>
28namespace chart {
class ChartModel; }
41class LegendEntryProvider;
47 const css::uno::Reference< css::uno::XComponentContext > & xContext,
48 std::vector< LegendEntryProvider* >&& rLegendEntryProviderList,
54 void createShapes(
const css::awt::Size & rAvailableSpace,
55 const css::awt::Size & rPageSize,
56 css::awt::Size & rDefaultLegendSize );
68 css::awt::Rectangle & rOutAvailableSpace,
69 const css::awt::Size & rReferenceSize,
70 const css::awt::Size & rDefaultLegendSize );
82 css::uno::Reference< css::uno::XComponentContext >
m_xContext;
void setDefaultWritingMode(sal_Int16 nDefaultWritingMode)
css::uno::Reference< css::uno::XComponentContext > m_xContext
rtl::Reference<::chart::Legend > m_xLegend
void createShapes(const css::awt::Size &rAvailableSpace, const css::awt::Size &rPageSize, css::awt::Size &rDefaultLegendSize)
std::vector< LegendEntryProvider * > m_aLegendEntryProviderList
VLegend(rtl::Reference< ::chart::Legend > xLegend, const css::uno::Reference< css::uno::XComponentContext > &xContext, std::vector< LegendEntryProvider * > &&rLegendEntryProviderList, rtl::Reference< SvxShapeGroupAnyD > xTargetPage, ChartModel &rModel)
sal_Int16 m_nDefaultWritingMode
rtl::Reference< SvxShapeGroup > m_xShape
static bool isVisible(const rtl::Reference< ::chart::Legend > &xLegend)
rtl::Reference< SvxShapeGroupAnyD > m_xTarget
void changePosition(css::awt::Rectangle &rOutAvailableSpace, const css::awt::Size &rReferenceSize, const css::awt::Size &rDefaultLegendSize)
Sets the position according to its internal anchor.