LibreOffice Module sc (master) 1
Macros | Functions | Variables
tabview.cxx File Reference
#include <scitems.hxx>
#include <sfx2/viewfrm.hxx>
#include <sfx2/bindings.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/help.hxx>
#include <vcl/settings.hxx>
#include <sal/log.hxx>
#include <tools/svborder.hxx>
#include <tools/json_writer.hxx>
#include <o3tl/unit_conversion.hxx>
#include <pagedata.hxx>
#include <tabview.hxx>
#include <tabvwsh.hxx>
#include <document.hxx>
#include <gridwin.hxx>
#include <olinewin.hxx>
#include <olinetab.hxx>
#include <tabsplit.hxx>
#include <colrowba.hxx>
#include <tabcont.hxx>
#include <scmod.hxx>
#include <sc.hrc>
#include <globstr.hrc>
#include <scresid.hxx>
#include <drawview.hxx>
#include <docsh.hxx>
#include <viewuno.hxx>
#include <appoptio.hxx>
#include <attrib.hxx>
#include <spellcheckcontext.hxx>
#include <comphelper/lok.hxx>
#include <sfx2/lokhelper.hxx>
#include <osl/diagnose.h>
#include <boost/property_tree/ptree.hpp>
#include <boost/property_tree/json_parser.hpp>
#include <com/sun/star/sheet/DataPilotFieldOrientation.hpp>
#include <algorithm>
#include <basegfx/utils/zoomtools.hxx>
Include dependency graph for tabview.cxx:

Go to the source code of this file.

Macros

#define SPLIT_MARGIN   30
 
#define SPLIT_HANDLE_SIZE   5
 
#define SC_ICONSIZE   36
 
#define SC_SCROLLBAR_MIN   30
 
#define SC_TABBAR_MIN   6
 

Functions

 IMPL_LINK_NOARG (ScTabView, TimerHdl, Timer *, void)
 
static void lcl_SetPosSize (vcl::Window &rWindow, const Point &rPos, const Size &rSize, tools::Long nTotalWidth, bool bLayoutRTL)
 
 IMPL_LINK_NOARG (ScTabView, TabBarResize, TabBar *, void)
 
 IMPL_LINK_NOARG (ScTabView, HScrollLeftHdl, weld::Scrollbar &, void)
 
 IMPL_LINK_NOARG (ScTabView, HScrollRightHdl, weld::Scrollbar &, void)
 
 IMPL_LINK_NOARG (ScTabView, VScrollTopHdl, weld::Scrollbar &, void)
 
 IMPL_LINK_NOARG (ScTabView, VScrollBottomHdl, weld::Scrollbar &, void)
 
 IMPL_LINK_NOARG (ScTabView, EndScrollHdl, const MouseEvent &, bool)
 
static void ShowHide (vcl::Window *pWin, bool bShow)
 
 IMPL_LINK (ScTabView, SplitHdl, Splitter *, pSplitter, void)
 

Variables

constexpr sal_Int32 TAB_HEIGHT_MARGIN = 10
 

Macro Definition Documentation

◆ SC_ICONSIZE

#define SC_ICONSIZE   36

Definition at line 68 of file tabview.cxx.

◆ SC_SCROLLBAR_MIN

#define SC_SCROLLBAR_MIN   30

Definition at line 70 of file tabview.cxx.

◆ SC_TABBAR_MIN

#define SC_TABBAR_MIN   6

Definition at line 71 of file tabview.cxx.

◆ SPLIT_HANDLE_SIZE

#define SPLIT_HANDLE_SIZE   5

Definition at line 65 of file tabview.cxx.

◆ SPLIT_MARGIN

#define SPLIT_MARGIN   30

Definition at line 64 of file tabview.cxx.

Function Documentation

◆ IMPL_LINK()

IMPL_LINK ( ScTabView  ,
SplitHdl  ,
Splitter ,
pSplitter  ,
void   
)

Definition at line 1582 of file tabview.cxx.

References SC_SPLIT_FIX.

◆ IMPL_LINK_NOARG() [1/7]

IMPL_LINK_NOARG ( ScTabView  ,
EndScrollHdl  ,
const MouseEvent ,
bool   
)

Definition at line 1058 of file tabview.cxx.

◆ IMPL_LINK_NOARG() [2/7]

IMPL_LINK_NOARG ( ScTabView  ,
HScrollLeftHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 1038 of file tabview.cxx.

◆ IMPL_LINK_NOARG() [3/7]

IMPL_LINK_NOARG ( ScTabView  ,
HScrollRightHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 1043 of file tabview.cxx.

◆ IMPL_LINK_NOARG() [4/7]

IMPL_LINK_NOARG ( ScTabView  ,
TabBarResize  ,
TabBar ,
void   
)

Definition at line 820 of file tabview.cxx.

References SC_SPLIT_FIX.

◆ IMPL_LINK_NOARG() [5/7]

IMPL_LINK_NOARG ( ScTabView  ,
TimerHdl  ,
Timer ,
void   
)

Definition at line 250 of file tabview.cxx.

◆ IMPL_LINK_NOARG() [6/7]

IMPL_LINK_NOARG ( ScTabView  ,
VScrollBottomHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 1053 of file tabview.cxx.

◆ IMPL_LINK_NOARG() [7/7]

IMPL_LINK_NOARG ( ScTabView  ,
VScrollTopHdl  ,
weld::Scrollbar ,
void   
)

Definition at line 1048 of file tabview.cxx.

◆ lcl_SetPosSize()

static void lcl_SetPosSize ( vcl::Window rWindow,
const Point rPos,
const Size rSize,
tools::Long  nTotalWidth,
bool  bLayoutRTL 
)
static

◆ ShowHide()

static void ShowHide ( vcl::Window pWin,
bool  bShow 
)
static

Definition at line 1478 of file tabview.cxx.

References vcl::Window::Show().

Referenced by ScTabView::UpdateShow().

Variable Documentation

◆ TAB_HEIGHT_MARGIN

constexpr sal_Int32 TAB_HEIGHT_MARGIN = 10
constexpr

Definition at line 66 of file tabview.cxx.

Referenced by ScTabView::DoResize().