LibreOffice Module cui (master)  1
Macros | Functions | Variables
border.cxx File Reference
#include <sal/config.h>
#include <string_view>
#include <sfx2/objsh.hxx>
#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/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, ModifyWidthHdl_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::ToggleButton &, rBox, void)
 
 IMPL_LINK (SvxBorderTabPage, RemoveAdjacentCellBorderHdl_Impl, weld::ToggleButton &, rBox, void)
 

Variables

const sal_uInt16 SVX_BORDER_PRESET_COUNT = 5
 
const sal_uInt16 SVX_BORDER_SHADOW_COUNT = 5
 

Macro Definition Documentation

#define IID_PRE_CELL_ALL   2

Definition at line 1113 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_CELL_DIAG   6

Definition at line 1117 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_CELL_L   5

Definition at line 1116 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_CELL_LR   3

Definition at line 1114 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_CELL_NONE   1
#define IID_PRE_CELL_TB   4

Definition at line 1115 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_HOR_ALL   10

Definition at line 1121 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_HOR_HOR   9

Definition at line 1120 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_HOR_NONE   7

Definition at line 1118 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_HOR_OUTER   8

Definition at line 1119 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_HOR_OUTER2   11

Definition at line 1122 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_TABLE_ALL   20

Definition at line 1131 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_TABLE_NONE   17
#define IID_PRE_TABLE_OUTER   18

Definition at line 1129 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_TABLE_OUTER2   21

Definition at line 1132 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_TABLE_OUTERH   19

Definition at line 1130 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_VER_ALL   15

Definition at line 1126 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_VER_NONE   12

Definition at line 1123 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_VER_OUTER   13

Definition at line 1124 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_VER_OUTER2   16

Definition at line 1127 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

#define IID_PRE_VER_VER   14

Definition at line 1125 of file border.cxx.

Referenced by SvxBorderTabPage::GetPresetImageId().

Function Documentation

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

Definition at line 1213 of file border.cxx.

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

Definition at line 1492 of file border.cxx.

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

Definition at line 1517 of file border.cxx.

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

Definition at line 1522 of file border.cxx.

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelPreHdl_Impl  ,
ValueSet ,
void   
)
IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelSdwHdl_Impl  ,
ValueSet ,
void   
)

Definition at line 1204 of file border.cxx.

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

Definition at line 1219 of file border.cxx.

References vcl::ConvertDoubleValue().

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
SelStyleHdl_Impl  ,
SvtLineListBox ,
void   
)

Definition at line 1232 of file border.cxx.

References vcl::ConvertDoubleValue(), and lcl_GetMinLineWidth().

IMPL_LINK_NOARG ( SvxBorderTabPage  ,
LinesChanged_Impl  ,
LinkParamNone ,
void   
)

Definition at line 1447 of file border.cxx.

References SAL_MAX_UINT16.

static sal_Int64 lcl_GetMinLineWidth ( SvxBorderLineStyle  aStyle)
static

Definition at line 89 of file border.cxx.

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

static Color lcl_mediumColor ( Color  aMain,
Color   
)
static

Definition at line 1384 of file border.cxx.

Referenced by SvxBorderTabPage::FillLineListBox_Impl().

static void lcl_SetDecimalDigitsTo1 ( weld::MetricSpinButton rField)
static

Variable Documentation

const sal_uInt16 SVX_BORDER_PRESET_COUNT = 5
const sal_uInt16 SVX_BORDER_SHADOW_COUNT = 5