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 GET_BOOL(sid, set)    static_cast<const SfxBoolItem&>((set).Get(GetWhich((sid)))).GetValue()
 
#define GET_USHORT(sid, set)   static_cast<const SfxUInt16Item&>((set).Get(GetWhich((sid)))).GetValue()
 
#define GET_SHOW(sid, set)
 
#define SC_TPTABLE_SCALE_PERCENT   0
 
#define SC_TPTABLE_SCALE_TO   1
 
#define SC_TPTABLE_SCALE_TO_PAGES   2
 

Functions

static bool lcl_PutVObjModeItem (sal_uInt16 nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ToggleButton &rBtn)
 
static bool lcl_PutScaleItem (sal_uInt16 nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ComboBox &rListBox, sal_uInt16 nLBEntry, const weld::MetricSpinButton &rEd, sal_uInt16 nValue)
 
static bool lcl_PutScaleItem2 (sal_uInt16 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 (sal_uInt16 nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, const weld::ComboBox &rListBox, sal_uInt16 nLBEntry, const weld::SpinButton &rEd, sal_uInt16 nValue)
 
static bool lcl_PutBoolItem (sal_uInt16 nWhich, SfxItemSet &rCoreSet, const SfxItemSet &rOldSet, bool bIsChecked, bool bSavedValue)
 
 IMPL_LINK_NOARG (ScTablePage, PageDirHdl, weld::ToggleButton &, void)
 
 IMPL_LINK (ScTablePage, PageNoHdl, weld::ToggleButton &, rBtn, void)
 
 IMPL_LINK_NOARG (ScTablePage, ScaleHdl, weld::ComboBox &, void)
 
 IMPL_LINK (ScTablePage, ToggleHdl, weld::ToggleButton &, rBox, void)
 

Macro Definition Documentation

#define GET_BOOL (   sid,
  set 
)    static_cast<const SfxBoolItem&>((set).Get(GetWhich((sid)))).GetValue()

Definition at line 83 of file tptable.cxx.

Referenced by ScTablePage::Reset().

#define GET_SHOW (   sid,
  set 
)
Value:
( static_cast<const ScViewObjectModeItem&>((set).Get(GetWhich((sid)))).GetValue() \
#define GetWhich(nSlot)
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
void set(css::uno::UnoInterfaceReference const &value)
EnumT GetValue() const

Definition at line 85 of file tptable.cxx.

Referenced by ScTablePage::Reset().

#define GET_USHORT (   sid,
  set 
)    static_cast<const SfxUInt16Item&>((set).Get(GetWhich((sid)))).GetValue()

Definition at line 84 of file tptable.cxx.

Referenced by ScTablePage::Reset().

#define SC_TPTABLE_SCALE_PERCENT   0

Definition at line 88 of file tptable.cxx.

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

#define SC_TPTABLE_SCALE_TO   1

Definition at line 89 of file tptable.cxx.

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

#define SC_TPTABLE_SCALE_TO_PAGES   2

Definition at line 90 of file tptable.cxx.

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

Function Documentation

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

Definition at line 359 of file tptable.cxx.

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

Definition at line 388 of file tptable.cxx.

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

Definition at line 354 of file tptable.cxx.

IMPL_LINK_NOARG ( ScTablePage  ,
ScaleHdl  ,
weld::ComboBox ,
void   
)
static bool lcl_PutBoolItem ( sal_uInt16  nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
bool  bIsChecked,
bool  bSavedValue 
)
static

Definition at line 420 of file tptable.cxx.

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

Referenced by ScTablePage::FillItemSet().

static bool lcl_PutScaleItem ( sal_uInt16  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 ( sal_uInt16  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 ( sal_uInt16  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 ( sal_uInt16  nWhich,
SfxItemSet rCoreSet,
const SfxItemSet rOldSet,
const weld::ToggleButton rBtn 
)
static