LibreOffice Module sc (master) 1
Macros | Functions
tptable.cxx File Reference
#include <scitems.hxx>
#include <osl/diagnose.h>
#include <tptable.hxx>
#include <global.hxx>
#include <attrib.hxx>
#include <bitmaps.hlst>
Include dependency graph for tptable.cxx:

Go to the source code of this file.

Macros

#define SC_TPTABLE_SCALE_PERCENT   0
 
#define SC_TPTABLE_SCALE_TO   1
 
#define SC_TPTABLE_SCALE_TO_PAGES   2
 

Functions

static bool lcl_PutVObjModeItem (TypedWhichId< ScViewObjectModeItem > nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::Toggleable &rBtn)
 
static bool lcl_PutScaleItem (TypedWhichId< SfxUInt16Item > nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ComboBox &rListBox, sal_uInt16 nLBEntry, const weld::MetricSpinButton &rEd, sal_uInt16 nValue)
 
static bool lcl_PutScaleItem2 (TypedWhichId< ScPageScaleToItem > nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ComboBox &rListBox, sal_uInt16 nLBEntry, const weld::SpinButton &rEd1, sal_uInt16 nOrigScalePageWidth, const weld::SpinButton &rEd2, sal_uInt16 nOrigScalePageHeight)
 
static bool lcl_PutScaleItem3 (TypedWhichId< SfxUInt16Item > nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ComboBox &rListBox, sal_uInt16 nLBEntry, const weld::SpinButton &rEd, sal_uInt16 nValue)
 
static bool lcl_PutBoolItem (TypedWhichId< SfxBoolItem > nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, bool bIsChecked, bool bSavedValue)
 
 IMPL_LINK_NOARG (ScTablePage, PageDirHdl, weld::Toggleable &, void)
 
 IMPL_LINK (ScTablePage, PageNoHdl, weld::Toggleable &, rBtn, void)
 
 IMPL_LINK_NOARG (ScTablePage, ScaleHdl, weld::ComboBox &, void)
 
 IMPL_LINK (ScTablePage, ToggleHdl, weld::Toggleable &, rBox, void)
 

Macro Definition Documentation

◆ SC_TPTABLE_SCALE_PERCENT

#define SC_TPTABLE_SCALE_PERCENT   0

Definition at line 81 of file tptable.cxx.

◆ SC_TPTABLE_SCALE_TO

#define SC_TPTABLE_SCALE_TO   1

Definition at line 82 of file tptable.cxx.

◆ SC_TPTABLE_SCALE_TO_PAGES

#define SC_TPTABLE_SCALE_TO_PAGES   2

Definition at line 83 of file tptable.cxx.

Function Documentation

◆ IMPL_LINK() [1/2]

IMPL_LINK ( ScTablePage  ,
PageNoHdl  ,
weld::Toggleable ,
rBtn  ,
void   
)

Definition at line 351 of file tptable.cxx.

◆ IMPL_LINK() [2/2]

IMPL_LINK ( ScTablePage  ,
ToggleHdl  ,
weld::Toggleable ,
rBox  ,
void   
)

Definition at line 380 of file tptable.cxx.

◆ IMPL_LINK_NOARG() [1/2]

IMPL_LINK_NOARG ( ScTablePage  ,
PageDirHdl  ,
weld::Toggleable ,
void   
)

Definition at line 346 of file tptable.cxx.

◆ IMPL_LINK_NOARG() [2/2]

IMPL_LINK_NOARG ( ScTablePage  ,
ScaleHdl  ,
weld::ComboBox ,
void   
)

◆ lcl_PutBoolItem()

static bool lcl_PutBoolItem ( TypedWhichId< SfxBoolItem nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
bool  bIsChecked,
bool  bSavedValue 
)
static

Definition at line 412 of file tptable.cxx.

References SfxItemSet::ClearItem(), and SfxItemSet::Put().

Referenced by ScTablePage::FillItemSet().

◆ lcl_PutScaleItem()

static bool lcl_PutScaleItem ( TypedWhichId< SfxUInt16Item nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::ComboBox rListBox,
sal_uInt16  nLBEntry,
const weld::MetricSpinButton rEd,
sal_uInt16  nValue 
)
static

◆ lcl_PutScaleItem2()

static bool lcl_PutScaleItem2 ( TypedWhichId< ScPageScaleToItem nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::ComboBox rListBox,
sal_uInt16  nLBEntry,
const weld::SpinButton rEd1,
sal_uInt16  nOrigScalePageWidth,
const weld::SpinButton rEd2,
sal_uInt16  nOrigScalePageHeight 
)
static

◆ lcl_PutScaleItem3()

static bool lcl_PutScaleItem3 ( TypedWhichId< SfxUInt16Item nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::ComboBox rListBox,
sal_uInt16  nLBEntry,
const weld::SpinButton rEd,
sal_uInt16  nValue 
)
static

◆ lcl_PutVObjModeItem()

static bool lcl_PutVObjModeItem ( TypedWhichId< ScViewObjectModeItem nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::Toggleable rBtn 
)
static