LibreOffice Module cui (master)  1
Macros | Functions | Variables
page.cxx File Reference
#include <memory>
#include <sfx2/objsh.hxx>
#include <sfx2/printer.hxx>
#include <sfx2/viewsh.hxx>
#include <svl/languageoptions.hxx>
#include <svtools/unitconv.hxx>
#include <vcl/svapp.hxx>
#include <vcl/weld.hxx>
#include <sfx2/htmlmode.hxx>
#include <sal/macros.h>
#include <osl/diagnose.h>
#include <svx/strings.hrc>
#include <svx/dialmgr.hxx>
#include <page.hxx>
#include <svx/pageitem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/shaditem.hxx>
#include <editeng/pbinitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/sizeitem.hxx>
#include <editeng/frmdiritem.hxx>
#include <svx/dlgutil.hxx>
#include <editeng/paperinf.hxx>
#include <svl/stritem.hxx>
#include <editeng/eerdll.hxx>
#include <editeng/editrids.hrc>
#include <svx/svxids.hrc>
#include <svtools/optionsdrawinglayer.hxx>
#include <svl/slstitm.hxx>
#include <svx/xdef.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <svx/SvxNumOptionsTabPageHelper.hxx>
Include dependency graph for page.cxx:

Go to the source code of this file.

Macros

#define MARGIN_LEFT   ( MarginPosition(0x0001) )
 
#define MARGIN_RIGHT   ( MarginPosition(0x0002) )
 
#define MARGIN_TOP   ( MarginPosition(0x0004) )
 
#define MARGIN_BOTTOM   ( MarginPosition(0x0008) )
 

Functions

static sal_uInt16 PageUsageToPos_Impl (SvxPageUsage nUsage)
 
static SvxPageUsage PosToPageUsage_Impl (sal_uInt16 nPos)
 
static Size GetMinBorderSpace_Impl (const SvxShadowItem &rShadow, const SvxBoxItem &rBox)
 
static tools::Long ConvertLong_Impl (const tools::Long nIn, MapUnit eUnit)
 
static bool IsEqualSize_Impl (const SvxSizeItem *pSize, const Size &rSize)
 
 IMPL_LINK_NOARG (SvxPageDescPage, LayoutHdl_Impl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, PaperBinHdl_Impl, weld::Widget &, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, PaperSizeSelect_Impl, weld::ComboBox &, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, PaperSizeModify_Impl, weld::MetricSpinButton &, void)
 
 IMPL_LINK (SvxPageDescPage, SwapOrientation_Impl, weld::Button &, rBtn, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, BorderModify_Impl, weld::MetricSpinButton &, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, CenterHdl_Impl, weld::ToggleButton &, void)
 
 IMPL_LINK (SvxPageDescPage, RegisterModify, weld::ToggleButton &, rBox, void)
 
 IMPL_LINK_NOARG (SvxPageDescPage, FrameDirectionModify_Impl, weld::ComboBox &, void)
 

Variables

const tools::Long MINBODY = 56
 
const SvxPageUsage aArr []
 

Macro Definition Documentation

#define MARGIN_BOTTOM   ( MarginPosition(0x0008) )
#define MARGIN_LEFT   ( MarginPosition(0x0001) )
#define MARGIN_RIGHT   ( MarginPosition(0x0002) )
#define MARGIN_TOP   ( MarginPosition(0x0004) )

Function Documentation

static tools::Long ConvertLong_Impl ( const tools::Long  nIn,
MapUnit  eUnit 
)
static

Definition at line 110 of file page.cxx.

References OutputDevice::LogicToLogic().

Referenced by SvxPageDescPage::Reset().

static Size GetMinBorderSpace_Impl ( const SvxShadowItem rShadow,
const SvxBoxItem rBox 
)
static
IMPL_LINK ( SvxPageDescPage  ,
SwapOrientation_Impl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 901 of file page.cxx.

References GetCoreValue(), and SetMetricValue().

IMPL_LINK ( SvxPageDescPage  ,
RegisterModify  ,
weld::ToggleButton ,
rBox  ,
void   
)

Definition at line 1428 of file page.cxx.

IMPL_LINK_NOARG ( SvxPageDescPage  ,
LayoutHdl_Impl  ,
weld::ComboBox ,
void   
)

Definition at line 777 of file page.cxx.

References PosToPageUsage_Impl().

IMPL_LINK_NOARG ( SvxPageDescPage  ,
PaperBinHdl_Impl  ,
weld::Widget ,
void   
)

Definition at line 799 of file page.cxx.

References aName, EditResId(), i, and PAPERBIN_PRINTER_SETTINGS.

IMPL_LINK_NOARG ( SvxPageDescPage  ,
PaperSizeSelect_Impl  ,
weld::ComboBox ,
void   
)
IMPL_LINK_NOARG ( SvxPageDescPage  ,
PaperSizeModify_Impl  ,
weld::MetricSpinButton ,
void   
)
IMPL_LINK_NOARG ( SvxPageDescPage  ,
BorderModify_Impl  ,
weld::MetricSpinButton ,
void   
)

Definition at line 986 of file page.cxx.

IMPL_LINK_NOARG ( SvxPageDescPage  ,
CenterHdl_Impl  ,
weld::ToggleButton ,
void   
)

Definition at line 1405 of file page.cxx.

IMPL_LINK_NOARG ( SvxPageDescPage  ,
FrameDirectionModify_Impl  ,
weld::ComboBox ,
void   
)

Definition at line 1453 of file page.cxx.

static bool IsEqualSize_Impl ( const SvxSizeItem pSize,
const Size rSize 
)
static

Definition at line 115 of file page.cxx.

References SvxSizeItem::GetSize(), Size::Height(), and Size::Width().

Referenced by SvxPageDescPage::DeactivatePage().

static sal_uInt16 PageUsageToPos_Impl ( SvxPageUsage  nUsage)
static

Definition at line 82 of file page.cxx.

References aArr, i, and SAL_N_ELEMENTS.

Referenced by SvxPageDescPage::Reset().

static SvxPageUsage PosToPageUsage_Impl ( sal_uInt16  nPos)
static

Variable Documentation

const SvxPageUsage aArr[]
Initial value:
=
{
SvxPageUsage::All,
SvxPageUsage::Mirror,
SvxPageUsage::Right,
SvxPageUsage::Left
}

Definition at line 73 of file page.cxx.

Referenced by IMPL_LINK(), PageUsageToPos_Impl(), and PosToPageUsage_Impl().

const tools::Long MINBODY = 56

Definition at line 59 of file page.cxx.

Referenced by SvxPageDescPage::CalcMargin_Impl(), and SvxPageDescPage::RangeHdl_Impl().