summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-13 10:21:36 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-13 22:07:48 +0100
commit99aaa4b0b88100c8db03b32e072cff0193ad0953 (patch)
tree7b090b06efbdbffd67ac253c4a4869e85d95210e /include
parent5504dcc6987ffb41e9077d468df42c6af94c38ea (diff)
weld insert table dialog
Change-Id: I17bdbba38a74ea05b0d6869ee04f01f870a3b17b Reviewed-on: https://gerrit.libreoffice.org/51219 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/viewsh.hxx2
-rw-r--r--include/vcl/weld.hxx12
2 files changed, 14 insertions, 0 deletions
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index e7a0f6d7fec1..416b177a662b 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -49,6 +49,7 @@ class SfxBaseController;
class Size;
class Fraction;
namespace vcl { class Window; }
+namespace weld { class Window; }
class KeyEvent;
class WorkWindow;
class SvBorder;
@@ -232,6 +233,7 @@ public:
// Viewing Interface
vcl::Window* GetWindow() const { return pWindow; }
+ weld::Window* GetFrameWeld() const;
void SetWindow( vcl::Window *pViewPort );
virtual void AdjustPosSizePixel( const Point &rOfs, const Size &rSize );
const SvBorder& GetBorderPixel() const;
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 86a61b75f194..6ef22f521a43 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -344,6 +344,18 @@ public:
virtual int get_value() const = 0;
virtual void set_range(int min, int max) = 0;
virtual void get_range(int& min, int& max) const = 0;
+ void set_min(int min)
+ {
+ int dummy, max;
+ get_range(dummy, max);
+ set_range(min, max);
+ }
+ void set_max(int max)
+ {
+ int min, dummy;
+ get_range(min, dummy);
+ set_range(min, max);
+ }
virtual void set_increments(int step, int page) = 0;
virtual void get_increments(int& step, int& page) const = 0;
virtual void set_digits(unsigned int digits) = 0;