LibreOffice Module sw (master) 1
Macros | Functions | Variables
column.cxx File Reference
#include <column.hxx>
#include <hintids.hxx>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <sfx2/htmlmode.hxx>
#include <svx/colorbox.hxx>
#include <editeng/borderline.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/sizeitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <editeng/ulspitem.hxx>
#include <svl/ctloptions.hxx>
#include <svl/itemset.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/event.hxx>
#include <vcl/fieldvalues.hxx>
#include <vcl/settings.hxx>
#include <vcl/svapp.hxx>
#include <swmodule.hxx>
#include <swtypes.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <uitool.hxx>
#include <cmdid.h>
#include <viewopt.hxx>
#include <fmtclbl.hxx>
#include <fmtfsize.hxx>
#include <frmatr.hxx>
#include <colmgr.hxx>
#include <prcntfld.hxx>
#include <strings.hrc>
#include <section.hxx>
#include <pagedesc.hxx>
Include dependency graph for column.cxx:

Go to the source code of this file.

Macros

#define LISTBOX_SELECTION   0
 
#define LISTBOX_SECTION   1
 
#define LISTBOX_SECTIONS   2
 
#define LISTBOX_PAGE   3
 
#define LISTBOX_FRAME   4
 
#define FRAME_FORMAT_WIDTH   1000
 

Functions

static bool IsMarkInSameSection (SwWrtShell &rWrtSh, const SwSection *pSect)
 
 IMPL_LINK (SwColumnDlg, ObjectListBoxHdl, weld::ComboBox &, rBox, void)
 
 IMPL_LINK_NOARG (SwColumnDlg, OkHdl, weld::Button &, void)
 
static sal_uInt16 GetMaxWidth (SwColMgr const *pColMgr, sal_uInt16 nCols)
 
constexpr sal_uInt16 g_nMinWidth (MINLAY)
 
 IMPL_LINK_NOARG (SwColumnPage, UpdateColMgrListBox, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, UpdateColMgrLineBox, SvtLineListBox &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, UpdateColMgrColorBox, ColorListBox &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, UpdateColMgr, weld::MetricSpinButton &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, ColModify, weld::SpinButton &, void)
 
 IMPL_LINK (SwColumnPage, GapModify, weld::MetricSpinButton &, rMetricField, void)
 
 IMPL_LINK (SwColumnPage, EdModify, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK (SwColumnPage, AutoWidthHdl, weld::Toggleable &, rBox, void)
 
 IMPL_LINK_NOARG (SwColumnPage, Up, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, Down, weld::Button &, void)
 
 IMPL_LINK (SwColumnPage, SetDefaultsHdl, ValueSet *, pVS, void)
 

Variables

const sal_uInt16 nVisCols = 3
 

Macro Definition Documentation

◆ FRAME_FORMAT_WIDTH

#define FRAME_FORMAT_WIDTH   1000

Definition at line 69 of file column.cxx.

◆ LISTBOX_FRAME

#define LISTBOX_FRAME   4

Definition at line 65 of file column.cxx.

◆ LISTBOX_PAGE

#define LISTBOX_PAGE   3

Definition at line 64 of file column.cxx.

◆ LISTBOX_SECTION

#define LISTBOX_SECTION   1

Definition at line 62 of file column.cxx.

◆ LISTBOX_SECTIONS

#define LISTBOX_SECTIONS   2

Definition at line 63 of file column.cxx.

◆ LISTBOX_SELECTION

#define LISTBOX_SELECTION   0

Definition at line 61 of file column.cxx.

Function Documentation

◆ g_nMinWidth()

constexpr sal_uInt16 g_nMinWidth ( MINLAY  )
constexpr

◆ GetMaxWidth()

static sal_uInt16 GetMaxWidth ( SwColMgr const *  pColMgr,
sal_uInt16  nCols 
)
static

Definition at line 344 of file column.cxx.

References SwColMgr::GetActualSize(), and SwColMgr::GetGutterWidth().

Referenced by SwColumnPage::ResetColWidth().

◆ IMPL_LINK() [1/5]

IMPL_LINK ( SwColumnDlg  ,
ObjectListBoxHdl  ,
weld::ComboBox ,
rBox  ,
void   
)

Definition at line 208 of file column.cxx.

◆ IMPL_LINK() [2/5]

IMPL_LINK ( SwColumnPage  ,
AutoWidthHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 1011 of file column.cxx.

References i, and Update.

◆ IMPL_LINK() [3/5]

IMPL_LINK ( SwColumnPage  ,
EdModify  ,
weld::MetricSpinButton ,
rEdit  ,
void   
)

Definition at line 1001 of file column.cxx.

◆ IMPL_LINK() [4/5]

IMPL_LINK ( SwColumnPage  ,
GapModify  ,
weld::MetricSpinButton ,
rMetricField  ,
void   
)

◆ IMPL_LINK() [5/5]

IMPL_LINK ( SwColumnPage  ,
SetDefaultsHdl  ,
ValueSet ,
pVS  ,
void   
)

Definition at line 1259 of file column.cxx.

◆ IMPL_LINK_NOARG() [1/8]

IMPL_LINK_NOARG ( SwColumnDlg  ,
OkHdl  ,
weld::Button ,
void   
)

◆ IMPL_LINK_NOARG() [2/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
ColModify  ,
weld::SpinButton ,
void   
)

Definition at line 900 of file column.cxx.

◆ IMPL_LINK_NOARG() [3/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
Down  ,
weld::Button ,
void   
)

Definition at line 1039 of file column.cxx.

References nVisCols, and Update.

◆ IMPL_LINK_NOARG() [4/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
Up  ,
weld::Button ,
void   
)

Definition at line 1028 of file column.cxx.

References Update.

◆ IMPL_LINK_NOARG() [5/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgr  ,
weld::MetricSpinButton ,
void   
)

Definition at line 632 of file column.cxx.

References vcl::ConvertDoubleValue(), i, min(), MINLAY, nLineWidth, and nMaxCols.

◆ IMPL_LINK_NOARG() [6/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrColorBox  ,
ColorListBox ,
void   
)

Definition at line 627 of file column.cxx.

◆ IMPL_LINK_NOARG() [7/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrLineBox  ,
SvtLineListBox ,
void   
)

Definition at line 622 of file column.cxx.

◆ IMPL_LINK_NOARG() [8/8]

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrListBox  ,
weld::ComboBox ,
void   
)

Definition at line 617 of file column.cxx.

◆ IsMarkInSameSection()

static bool IsMarkInSameSection ( SwWrtShell rWrtSh,
const SwSection pSect 
)
static

Definition at line 74 of file column.cxx.

References SwEditShell::GetCurrSection(), and SwCursorShell::SwapPam().

Referenced by SwColumnDlg::SwColumnDlg().

Variable Documentation

◆ nVisCols

const sal_uInt16 nVisCols = 3

Definition at line 72 of file column.cxx.

Referenced by IMPL_LINK_NOARG(), and SwColumnPage::UpdateCols().