diff options
Diffstat (limited to 'sc/source/ui/sidebar/CellLineStyleValueSet.hxx')
-rw-r--r-- | sc/source/ui/sidebar/CellLineStyleValueSet.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx index b730c687e98e..5ab78f0137ff 100644 --- a/sc/source/ui/sidebar/CellLineStyleValueSet.hxx +++ b/sc/source/ui/sidebar/CellLineStyleValueSet.hxx @@ -19,14 +19,16 @@ #pragma once #include <svtools/valueset.hxx> +#include <tools/long.hxx> -#define CELL_LINE_STYLE_ENTRIES 9 +#define CELL_LINE_STYLE_ENTRIES 11 namespace sc::sidebar { class CellLineStyleValueSet : public ValueSet { private: + tools::Long mnMaxTextWidth; sal_uInt16 nSelItem; OUString maStrUnit[CELL_LINE_STYLE_ENTRIES]; @@ -36,6 +38,7 @@ public: void SetUnit(const OUString* str); void SetSelItem(sal_uInt16 nSel); + tools::Long GetMaxTextWidth(vcl::RenderContext* pDev); virtual void SetDrawingArea(weld::DrawingArea* pDrawingArea) override; virtual void UserDraw(const UserDrawEvent& rUDEvt) override; }; |