LibreOffice Module sw (master)  1
Macros | Functions | Variables
column.cxx File Reference
#include <cstdint>
#include <column.hxx>
#include <hintids.hxx>
#include <svx/dialogs.hrc>
#include <svx/dialmgr.hxx>
#include <svx/strings.hrc>
#include <sfx2/htmlmode.hxx>
#include <svx/colorbox.hxx>
#include <svx/xtable.hxx>
#include <svx/drawitem.hxx>
#include <svx/svxids.hrc>
#include <editeng/borderline.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/sizeitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <svl/ctloptions.hxx>
#include <sfx2/dispatch.hxx>
#include <sfx2/viewfrm.hxx>
#include <vcl/event.hxx>
#include <vcl/settings.hxx>
#include <swmodule.hxx>
#include <sal/macros.h>
#include <globals.hrc>
#include <swtypes.hxx>
#include <wrtsh.hxx>
#include <view.hxx>
#include <docsh.hxx>
#include <uitool.hxx>
#include <cmdid.h>
#include <viewopt.hxx>
#include <format.hxx>
#include <frmmgr.hxx>
#include <frmdlg.hxx>
#include <colmgr.hxx>
#include <prcntfld.hxx>
#include <paratr.hxx>
#include <strings.hrc>
#include <section.hxx>
#include <docary.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 (SwColumnPage, ColModify, weld::SpinButton &, rEdit, void)
 
 IMPL_LINK (SwColumnPage, GapModify, weld::MetricSpinButton &, rMetricField, void)
 
 IMPL_LINK (SwColumnPage, EdModify, weld::MetricSpinButton &, rEdit, void)
 
 IMPL_LINK (SwColumnPage, AutoWidthHdl, weld::ToggleButton &, rBox, void)
 
 IMPL_LINK_NOARG (SwColumnPage, Up, weld::Button &, void)
 
 IMPL_LINK_NOARG (SwColumnPage, Down, weld::Button &, void)
 
 IMPL_LINK (SwColumnPage, SetDefaultsHdl, SvtValueSet *, pVS, void)
 

Variables

static const sal_uInt16 nVisCols = 3
 

Macro Definition Documentation

#define FRAME_FORMAT_WIDTH   1000

Definition at line 75 of file column.cxx.

Referenced by SwColumnPage::ActivatePage(), and SwColumnPage::Reset().

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

Function Documentation

constexpr sal_uInt16 g_nMinWidth ( MINLAY  )
static sal_uInt16 GetMaxWidth ( SwColMgr const *  pColMgr,
sal_uInt16  nCols 
)
static

Definition at line 354 of file column.cxx.

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

Referenced by SwColumnPage::ResetColWidth().

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

Definition at line 218 of file column.cxx.

IMPL_LINK ( SwColumnPage  ,
ColModify  ,
weld::SpinButton ,
rEdit  ,
void   
)

Definition at line 919 of file column.cxx.

References rEdit.

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

Definition at line 1020 of file column.cxx.

References rEdit.

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

Definition at line 1030 of file column.cxx.

References i, and Update.

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

Definition at line 1278 of file column.cxx.

IMPL_LINK_NOARG ( SwColumnDlg  ,
OkHdl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrListBox  ,
weld::ComboBox ,
void   
)

Definition at line 636 of file column.cxx.

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrLineBox  ,
SvtLineListBox ,
void   
)

Definition at line 641 of file column.cxx.

IMPL_LINK_NOARG ( SwColumnPage  ,
UpdateColMgrColorBox  ,
ColorListBox ,
void   
)

Definition at line 646 of file column.cxx.

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

Definition at line 651 of file column.cxx.

References MetricField::ConvertDoubleValue(), i, MINLAY, and nMaxCols.

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

Definition at line 1047 of file column.cxx.

References Update.

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

Definition at line 1058 of file column.cxx.

References nVisCols, and Update.

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

Definition at line 80 of file column.cxx.

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

Referenced by SwColumnDlg::SwColumnDlg().

Variable Documentation

const sal_uInt16 nVisCols = 3
static

Definition at line 78 of file column.cxx.

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