LibreOffice Module sc (master)  1
Functions | Variables
olinewin.cxx File Reference
#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 long SC_OL_BITMAPSIZE = 12
 
const 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 OUStringLiteral 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 724 of file olinewin.cxx.

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

Variable Documentation

const OUStringLiteral aLevelBmps[]
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 600 of file olinewin.cxx.

Referenced by ScOutlineWindow::Paint().

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

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

const long SC_OL_POSOFFSET = 2