LibreOffice Module cui (master) 1
Macros | Functions | Variables
border.cxx File Reference
#include <sal/config.h>
#include <sfx2/objsh.hxx>
#include <svx/strings.hrc>
#include <svx/svxids.hrc>
#include <strings.hrc>
#include <bitmaps.hlst>
#include <editeng/boxitem.hxx>
#include <editeng/lineitem.hxx>
#include <border.hxx>
#include <svx/dlgutil.hxx>
#include <dialmgr.hxx>
#include <sfx2/htmlmode.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <svx/dialmgr.hxx>
#include <svx/flagsdef.hxx>
#include <svl/grabbagitem.hxx>
#include <svl/intitem.hxx>
#include <svl/ilstitem.hxx>
#include <svl/int64item.hxx>
#include <sal/macros.h>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <comphelper/lok.hxx>
#include <svtools/unitconv.hxx>
Include dependency graph for border.cxx:

Go to the source code of this file.

Macros

#define IID_PRE_CELL_NONE   1
 
#define IID_PRE_CELL_ALL   2
 
#define IID_PRE_CELL_LR   3
 
#define IID_PRE_CELL_TB   4
 
#define IID_PRE_CELL_L   5
 
#define IID_PRE_CELL_DIAG   6
 
#define IID_PRE_HOR_NONE   7
 
#define IID_PRE_HOR_OUTER   8
 
#define IID_PRE_HOR_HOR   9
 
#define IID_PRE_HOR_ALL   10
 
#define IID_PRE_HOR_OUTER2   11
 
#define IID_PRE_VER_NONE   12
 
#define IID_PRE_VER_OUTER   13
 
#define IID_PRE_VER_VER   14
 
#define IID_PRE_VER_ALL   15
 
#define IID_PRE_VER_OUTER2   16
 
#define IID_PRE_TABLE_NONE   17
 
#define IID_PRE_TABLE_OUTER   18
 
#define IID_PRE_TABLE_OUTERH   19
 
#define IID_PRE_TABLE_ALL   20
 
#define IID_PRE_TABLE_OUTER2   21
 

Functions

static void lcl_SetDecimalDigitsTo1 (weld::MetricSpinButton &rField)
 
static sal_Int64 lcl_GetMinLineWidth (SvxBorderLineStyle aStyle)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, SelPreHdl_Impl, ValueSet *, void)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, SelSdwHdl_Impl, ValueSet *, void)
 
 IMPL_LINK (SvxBorderTabPage, SelColHdl_Impl, ColorListBox &, rColorBox, void)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, ModifyWidthLBHdl_Impl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, ModifyWidthMFHdl_Impl, weld::MetricSpinButton &, void)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, SelStyleHdl_Impl, SvtLineListBox &, void)
 
static Color lcl_mediumColor (Color aMain, Color)
 
 IMPL_LINK_NOARG (SvxBorderTabPage, LinesChanged_Impl, LinkParamNone *, void)
 
 IMPL_LINK (SvxBorderTabPage, ModifyDistanceHdl_Impl, weld::MetricSpinButton &, rField, void)
 
 IMPL_LINK (SvxBorderTabPage, SyncHdl_Impl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK (SvxBorderTabPage, RemoveAdjacentCellBorderHdl_Impl, weld::Toggleable &, rBox, void)
 

Variables

const sal_uInt16 BORDER_PRESET_COUNT = 5
 
const sal_uInt16 BORDER_SHADOW_COUNT = 5
 

Macro Definition Documentation

◆ IID_PRE_CELL_ALL

#define IID_PRE_CELL_ALL   2

Definition at line 1135 of file border.cxx.

◆ IID_PRE_CELL_DIAG

#define IID_PRE_CELL_DIAG   6

Definition at line 1139 of file border.cxx.

◆ IID_PRE_CELL_L

#define IID_PRE_CELL_L   5

Definition at line 1138 of file border.cxx.

◆ IID_PRE_CELL_LR

#define IID_PRE_CELL_LR   3

Definition at line 1136 of file border.cxx.

◆ IID_PRE_CELL_NONE

#define IID_PRE_CELL_NONE   1

Definition at line 1134 of file border.cxx.

◆ IID_PRE_CELL_TB

#define IID_PRE_CELL_TB   4

Definition at line 1137 of file border.cxx.

◆ IID_PRE_HOR_ALL

#define IID_PRE_HOR_ALL   10

Definition at line 1143 of file border.cxx.

◆ IID_PRE_HOR_HOR

#define IID_PRE_HOR_HOR   9

Definition at line 1142 of file border.cxx.

◆ IID_PRE_HOR_NONE

#define IID_PRE_HOR_NONE   7

Definition at line 1140 of file border.cxx.

◆ IID_PRE_HOR_OUTER

#define IID_PRE_HOR_OUTER   8

Definition at line 1141 of file border.cxx.

◆ IID_PRE_HOR_OUTER2

#define IID_PRE_HOR_OUTER2   11

Definition at line 1144 of file border.cxx.

◆ IID_PRE_TABLE_ALL

#define IID_PRE_TABLE_ALL   20

Definition at line 1153 of file border.cxx.

◆ IID_PRE_TABLE_NONE

#define IID_PRE_TABLE_NONE   17

Definition at line 1150 of file border.cxx.

◆ IID_PRE_TABLE_OUTER

#define IID_PRE_TABLE_OUTER   18

Definition at line 1151 of file border.cxx.

◆ IID_PRE_TABLE_OUTER2

#define IID_PRE_TABLE_OUTER2   21

Definition at line 1154 of file border.cxx.

◆ IID_PRE_TABLE_OUTERH

#define IID_PRE_TABLE_OUTERH   19

Definition at line 1152 of file border.cxx.

◆ IID_PRE_VER_ALL

#define IID_PRE_VER_ALL   15

Definition at line 1148 of file border.cxx.

◆ IID_PRE_VER_NONE

#define IID_PRE_VER_NONE   12

Definition at line 1145 of file border.cxx.

◆ IID_PRE_VER_OUTER

#define IID_PRE_VER_OUTER   13

Definition at line 1146 of file border.cxx.

◆ IID_PRE_VER_OUTER2

#define IID_PRE_VER_OUTER2   16

Definition at line 1149 of file border.cxx.

◆ IID_PRE_VER_VER

#define IID_PRE_VER_VER   14

Definition at line 1147 of file border.cxx.

Function Documentation

◆ IMPL_LINK() [1/4]

IMPL_LINK ( SvxBorderTabPage  ,
ModifyDistanceHdl_Impl  ,
weld::MetricSpinButton ,
rField  ,
void   
)

Definition at line 1590 of file border.cxx.

◆ IMPL_LINK() [2/4]

IMPL_LINK ( SvxBorderTabPage  ,
RemoveAdjacentCellBorderHdl_Impl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 1620 of file border.cxx.

◆ IMPL_LINK() [3/4]

IMPL_LINK ( SvxBorderTabPage  ,
SelColHdl_Impl  ,
ColorListBox ,
rColorBox  ,
void   
)

Definition at line 1235 of file border.cxx.

References NamedColor::getComplexColor(), and NamedColor::m_aColor.

◆ IMPL_LINK() [4/4]

IMPL_LINK ( SvxBorderTabPage  ,
SyncHdl_Impl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 1615 of file border.cxx.

◆ IMPL_LINK_NOARG() [1/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
LinesChanged_Impl  ,
LinkParamNone ,
void   
)

Definition at line 1545 of file border.cxx.

References SAL_MAX_UINT16.

◆ IMPL_LINK_NOARG() [2/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
ModifyWidthLBHdl_Impl  ,
weld::ComboBox ,
void   
)

Definition at line 1241 of file border.cxx.

References nPos.

◆ IMPL_LINK_NOARG() [3/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
ModifyWidthMFHdl_Impl  ,
weld::MetricSpinButton ,
void   
)

Definition at line 1255 of file border.cxx.

References vcl::ConvertDoubleValue().

◆ IMPL_LINK_NOARG() [4/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelPreHdl_Impl  ,
ValueSet ,
void   
)

◆ IMPL_LINK_NOARG() [5/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelSdwHdl_Impl  ,
ValueSet ,
void   
)

Definition at line 1226 of file border.cxx.

◆ IMPL_LINK_NOARG() [6/6]

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelStyleHdl_Impl  ,
SvtLineListBox ,
void   
)

◆ lcl_GetMinLineWidth()

static sal_Int64 lcl_GetMinLineWidth ( SvxBorderLineStyle  aStyle)
static

Definition at line 105 of file border.cxx.

Referenced by SvxBorderTabPage::FillLineListBox_Impl(), and IMPL_LINK_NOARG().

◆ lcl_mediumColor()

static Color lcl_mediumColor ( Color  aMain,
Color   
)
static

Definition at line 1482 of file border.cxx.

Referenced by SvxBorderTabPage::FillLineListBox_Impl().

◆ lcl_SetDecimalDigitsTo1()

static void lcl_SetDecimalDigitsTo1 ( weld::MetricSpinButton rField)
static

Variable Documentation

◆ BORDER_PRESET_COUNT

const sal_uInt16 BORDER_PRESET_COUNT = 5

◆ BORDER_SHADOW_COUNT

const sal_uInt16 BORDER_SHADOW_COUNT = 5

Definition at line 145 of file border.cxx.

Referenced by SvxBorderTabPage::FillShadowVS().