summaryrefslogtreecommitdiff
path: root/include/svtools/valueset.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svtools/valueset.hxx')
-rw-r--r--include/svtools/valueset.hxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index fa4b3994de86..b1d8596eced6 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -495,9 +495,11 @@ public:
virtual void LoseFocus() override;
virtual void Resize() override;
virtual void StyleUpdated() override;
- virtual void Select();
virtual OUString RequestHelp(tools::Rectangle& rHelpRect) override;
+ virtual void Select();
+ virtual void UserDraw( const UserDrawEvent& rUDEvt );
+
OUString const & GetText() const { return maText; }
void SetText(const OUString& rText) { maText = rText; }
void SetStyle(WinBits nStyle);
@@ -513,6 +515,8 @@ public:
const OUString& rStr);
/// Insert an User Drawn item.
void InsertItem(sal_uInt16 nItemId, size_t nPos = VALUESET_APPEND);
+ /// Insert an User Drawn item with @rStr tooltip.
+ void InsertItem(sal_uInt16 nItemId, const OUString& rStr, size_t nPos);
void RemoveItem(sal_uInt16 nItemId);
void Clear();
@@ -560,6 +564,7 @@ public:
void SetExtraSpacing( sal_uInt16 nNewSpacing );
void Format(vcl::RenderContext const & rRenderContext);
+ void SetFormat();
Size CalcWindowSizePixel(const Size& rItemSize,
sal_uInt16 nCalcCols = 0,