LibreOffice Module vcl (master) 1
Classes | Namespaces | Macros | Functions
tabctrl.cxx File Reference
#include <sal/config.h>
#include <sal/log.hxx>
#include <vcl/notebookbar/notebookbar.hxx>
#include <vcl/svapp.hxx>
#include <vcl/help.hxx>
#include <vcl/event.hxx>
#include <vcl/menu.hxx>
#include <vcl/toolkit/button.hxx>
#include <vcl/tabpage.hxx>
#include <vcl/tabctrl.hxx>
#include <vcl/toolbox.hxx>
#include <vcl/layout.hxx>
#include <vcl/mnemonic.hxx>
#include <vcl/toolkit/lstbox.hxx>
#include <vcl/settings.hxx>
#include <vcl/uitest/uiobject.hxx>
#include <bitmaps.hlst>
#include <tools/json_writer.hxx>
#include <svdata.hxx>
#include <window.h>
#include <deque>
#include <unordered_map>
#include <vector>
Include dependency graph for tabctrl.cxx:

Go to the source code of this file.

Classes

class  ImplTabItem
 
struct  ImplTabCtrlData
 

Namespaces

namespace  MinimumRaggednessWrap
 

Macros

#define TAB_PAGERECT   0xFFFF
 

Functions

static std::deque< size_t > MinimumRaggednessWrap::GetEndOfLineIndexes (const std::vector< sal_Int32 > &rWidthsOf, sal_Int32 nLineWidth)
 
static void lcl_AdjustSingleLineTabs (tools::Long nMaxWidth, ImplTabCtrlData *pTabCtrlData)
 
 IMPL_LINK_NOARG (TabControl, ImplListBoxSelectHdl, ListBox &, void)
 
 IMPL_LINK (TabControl, ImplWindowEventListener, VclWindowEvent &, rEvent, void)
 
static bool lcl_canPaint (const vcl::RenderContext &rRenderContext, const tools::Rectangle &rDrawRect, const tools::Rectangle &rItemRect)
 
 IMPL_LINK_NOARG (NotebookbarTabControlBase, OpenMenu, Button *, void)
 
static bool lcl_isValidPage (const ImplTabItem &rItem, bool &bFound)
 

Macro Definition Documentation

◆ TAB_PAGERECT

#define TAB_PAGERECT   0xFFFF

Definition at line 89 of file tabctrl.cxx.

Function Documentation

◆ IMPL_LINK()

IMPL_LINK ( TabControl  ,
ImplWindowEventListener  ,
VclWindowEvent ,
rEvent  ,
void   
)

Definition at line 1034 of file tabctrl.cxx.

References WindowKeyInput.

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( NotebookbarTabControlBase  ,
OpenMenu  ,
Button ,
void   
)

Definition at line 2259 of file tabctrl.cxx.

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( TabControl  ,
ImplListBoxSelectHdl  ,
ListBox ,
void   
)

Definition at line 1029 of file tabctrl.cxx.

◆ lcl_AdjustSingleLineTabs()

static void lcl_AdjustSingleLineTabs ( tools::Long  nMaxWidth,
ImplTabCtrlData pTabCtrlData 
)
static

Definition at line 371 of file tabctrl.cxx.

References ImplGetSVData(), and ImplTabCtrlData::maItemList.

Referenced by TabControl::ImplPlaceTabs().

◆ lcl_canPaint()

static bool lcl_canPaint ( const vcl::RenderContext rRenderContext,
const tools::Rectangle rDrawRect,
const tools::Rectangle rItemRect 
)
static

◆ lcl_isValidPage()

static bool lcl_isValidPage ( const ImplTabItem rItem,
bool &  bFound 
)
static

Definition at line 2339 of file tabctrl.cxx.

References ImplTabItem::m_bEnabled, and ImplTabItem::m_bVisible.