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

#define SC_TPTABLE_SCALE_PERCENT   0

Definition at line 81 of file tptable.cxx.

Referenced by ScTablePage::FillItemSet(), IMPL_LINK_NOARG(), and ScTablePage::Reset().

#define SC_TPTABLE_SCALE_TO   1

Definition at line 82 of file tptable.cxx.

Referenced by ScTablePage::FillItemSet(), IMPL_LINK_NOARG(), and ScTablePage::Reset().

#define SC_TPTABLE_SCALE_TO_PAGES   2

Definition at line 83 of file tptable.cxx.

Referenced by ScTablePage::FillItemSet(), IMPL_LINK_NOARG(), and ScTablePage::Reset().

Function Documentation

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

Definition at line 351 of file tptable.cxx.

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

Definition at line 380 of file tptable.cxx.

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

Definition at line 346 of file tptable.cxx.

IMPL_LINK_NOARG ( ScTablePage  ,
ScaleHdl  ,
weld::ComboBox ,
void   
)
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().

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
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
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
static bool lcl_PutVObjModeItem ( TypedWhichId< ScViewObjectModeItem nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::Toggleable rBtn 
)
static