diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-09-13 20:13:25 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-09-13 20:14:24 +0100 |
commit | f4bfce94abc10fbd2d8b37113e27b36c1e79fc61 (patch) | |
tree | 87f31b265a76abed74c917a9c8cf9cf324c9205c /include/svtools | |
parent | d90fa3890d18ca554ec48cb78fcc7bf410dabb85 (diff) |
select sheet menu as a right-click popup to the prev/next sheet dingus
Change-Id: Ifc9baeabedeab526d040220e9e45f171b5353bcf
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/tabbar.hxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/svtools/tabbar.hxx b/include/svtools/tabbar.hxx index 0bf3be6b217c..44bcc488e39c 100644 --- a/include/svtools/tabbar.hxx +++ b/include/svtools/tabbar.hxx @@ -369,6 +369,7 @@ private: sal_Bool mbSelTextColor; bool mbMirrored; bool mbHasInsertTab; // if true, the tab bar has an extra tab at the end. + bool mbScrollAlwaysEnabled; Link maSelectHdl; Link maDoubleClickHdl; Link maSplitHdl; @@ -377,6 +378,7 @@ private: Link maStartRenamingHdl; Link maAllowRenamingHdl; Link maEndRenamingHdl; + Link maScrollAreaContextHdl; size_t maCurrentItemList; using Window::ImplInit; @@ -529,6 +531,8 @@ public: void SetStyle( WinBits nStyle ); WinBits GetStyle() const { return mnWinStyle; } + void SetScrollAlwaysEnabled(bool bScrollAlwaysEnabled); + Size CalcWindowSizePixel() const; void SetSelectHdl( const Link& rLink ) { maSelectHdl = rLink; } @@ -547,6 +551,8 @@ public: const Link& GetAllowRenamingHdl() const { return maAllowRenamingHdl; } void SetEndRenamingHdl( const Link& rLink ) { maEndRenamingHdl = rLink; } const Link& GetEndRenamingHdl() const { return maEndRenamingHdl; } + void SetScrollAreaContextHdl( const Link& rLink ) { maScrollAreaContextHdl = rLink; } + const Link& GetScrollAreaContextHdl() const { return maScrollAreaContextHdl; } // accessibility virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > CreateAccessible(); |