LibreOffice Module sc (master) 1
Functions | Variables
olinewin.cxx File Reference
#include <sal/config.h>
#include <vcl/image.hxx>
#include <vcl/taskpanelist.hxx>
#include <vcl/settings.hxx>
#include <vcl/syswin.hxx>
#include <osl/diagnose.h>
#include <olinewin.hxx>
#include <olinetab.hxx>
#include <document.hxx>
#include <dbfunc.hxx>
#include <bitmaps.hlst>
Include dependency graph for olinewin.cxx:

Go to the source code of this file.

Functions

static bool lcl_RotateValue (size_t &rnValue, size_t nMin, size_t nMax, bool bForward)
 Increments or decrements a value and wraps at the specified limits. More...
 

Variables

const tools::Long SC_OL_BITMAPSIZE = 12
 
const tools::Long SC_OL_POSOFFSET = 2
 
const size_t SC_OL_NOLEVEL = static_cast< size_t >( -1 )
 
const size_t SC_OL_HEADERENTRY = static_cast< size_t >( -1 )
 
constexpr rtl::OUStringConstExpr aLevelBmps []
 

Function Documentation

◆ lcl_RotateValue()

static bool lcl_RotateValue ( size_t &  rnValue,
size_t  nMin,
size_t  nMax,
bool  bForward 
)
static

Increments or decrements a value and wraps at the specified limits.

Returns
true = value wrapped.

Definition at line 729 of file olinewin.cxx.

Referenced by ScOutlineWindow::ImplMoveFocusByEntry(), and ScOutlineWindow::ImplMoveFocusByLevel().

Variable Documentation

◆ aLevelBmps

constexpr rtl::OUStringConstExpr aLevelBmps[]
constexpr
Initial value:
=
{
RID_BMP_LEVEL1,
RID_BMP_LEVEL2,
RID_BMP_LEVEL3,
RID_BMP_LEVEL4,
RID_BMP_LEVEL5,
RID_BMP_LEVEL6,
RID_BMP_LEVEL7,
RID_BMP_LEVEL8
}

Definition at line 605 of file olinewin.cxx.

Referenced by ScOutlineWindow::Paint().

◆ SC_OL_BITMAPSIZE

const tools::Long SC_OL_BITMAPSIZE = 12

◆ SC_OL_HEADERENTRY

const size_t SC_OL_HEADERENTRY = static_cast< size_t >( -1 )

◆ SC_OL_NOLEVEL

const size_t SC_OL_NOLEVEL = static_cast< size_t >( -1 )

Definition at line 37 of file olinewin.cxx.

Referenced by ScOutlineWindow::GetLevelFromPos(), and ScOutlineWindow::ItemHit().

◆ SC_OL_POSOFFSET

const tools::Long SC_OL_POSOFFSET = 2