diff options
author | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-02-07 00:10:55 +0100 |
---|---|---|
committer | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-02-07 00:10:55 +0100 |
commit | 34da9193218bfbbb036ffcc3fc3b26f2251403fb (patch) | |
tree | e00d3e1faa891aa383b5b23c3dc750ebd0a2807a /chart2/source/view/inc/LegendEntryProvider.hxx | |
parent | chart52: cleanup unused legend entry stuff in preparation of issue #i82802# (diff) | |
download | core-34da9193218bfbbb036ffcc3fc3b26f2251403fb.tar.gz core-34da9193218bfbbb036ffcc3fc3b26f2251403fb.zip |
chart52: #i82802# bigger legend keys for lines and dashes
Diffstat (limited to 'chart2/source/view/inc/LegendEntryProvider.hxx')
-rw-r--r-- | chart2/source/view/inc/LegendEntryProvider.hxx | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/chart2/source/view/inc/LegendEntryProvider.hxx b/chart2/source/view/inc/LegendEntryProvider.hxx index 74b731cd9e55..1ecc78107d2b 100644 --- a/chart2/source/view/inc/LegendEntryProvider.hxx +++ b/chart2/source/view/inc/LegendEntryProvider.hxx @@ -46,18 +46,9 @@ enum LegendSymbolStyle */ LegendSymbolStyle_BOX, - /** A line extending from the top edge to the bottom edge - */ - LegendSymbolStyle_VERTICAL_LINE, - - /** A line spanning the diagonal of the box you would get with - <member>BOX</member>. - */ - LegendSymbolStyle_DIAGONAL_LINE, - /** A line like with a symbol. */ - LegendSymbolStyle_LINE_WITH_SYMBOL, + LegendSymbolStyle_LINE, /** A bordered circle which has the same bounding-box as the <member>BOX</member>. @@ -83,7 +74,10 @@ struct ViewLegendEntry class LegendEntryProvider { public: + virtual ::com::sun::star::awt::Size getPreferredLegendKeyAspectRatio()=0; + virtual std::vector< ViewLegendEntry > createLegendEntries( + const ::com::sun::star::awt::Size& rEntryKeyAspectRatio, ::com::sun::star::chart::ChartLegendExpansion eLegendExpansion, const ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet >& xTextProperties, |