LibreOffice Module sc (master)  1
Functions | Variables
olinewin.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <vcl/taskpanelist.hxx>
#include <vcl/settings.hxx>
#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 )
 
const std::u16string_view aLevelBmps []
 

Function Documentation

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 728 of file olinewin.cxx.

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

Variable Documentation

const std::u16string_view aLevelBmps[]
Initial value:
=
{
u"" RID_BMP_LEVEL1,
u"" RID_BMP_LEVEL2,
u"" RID_BMP_LEVEL3,
u"" RID_BMP_LEVEL4,
u"" RID_BMP_LEVEL5,
u"" RID_BMP_LEVEL6,
u"" RID_BMP_LEVEL7,
u"" RID_BMP_LEVEL8
}
float u

Definition at line 604 of file olinewin.cxx.

Referenced by ScOutlineWindow::Paint().

const tools::Long SC_OL_BITMAPSIZE = 12
const size_t SC_OL_HEADERENTRY = static_cast< size_t >( -1 )
const size_t SC_OL_NOLEVEL = static_cast< size_t >( -1 )

Definition at line 36 of file olinewin.cxx.

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

const tools::Long SC_OL_POSOFFSET = 2