#include <PageMarginControl.hxx>
Definition at line 40 of file PageMarginControl.hxx.
◆ PageMarginControl()
Definition at line 92 of file PageMarginControl.cxx.
References CM, SfxViewFrame::Current(), FillHelpText(), SvxLongLRSpaceItem::GetLeft(), SvxLongULSpaceItem::GetLower(), SvxPageItem::GetPageUsage(), SvxLongLRSpaceItem::GetRight(), SvxSizeItem::GetSize(), SvxLongULSpaceItem::GetUpper(), GetUserCustomValues(), SvxPageItem::IsLandscape(), LINK, m_aPageSize, m_bMirrored, m_bUserCustomValuesAvailable, m_eUnit, m_nPageBottomMargin, m_nPageLeftMargin, m_nPageRightMargin, m_nPageTopMargin, m_xBottomMarginEdit, WeldToolbarPopup::m_xBuilder, m_xControl, m_xInner, m_xLast, m_xLeft, m_xLeftMarginEdit, m_xMirrored, m_xMoreButton, m_xNarrow, m_xNormal, m_xOuter, m_xRight, m_xRightMarginEdit, m_xTopMarginEdit, m_xWide, m_xWidthHeightField, SetFieldUnit(), SetMetricFieldMaxValues(), and SetMetricValue().
◆ ~PageMarginControl()
sw::sidebar::PageMarginControl::~PageMarginControl |
( |
| ) |
|
|
overridevirtual |
◆ DECL_LINK() [1/4]
◆ DECL_LINK() [2/4]
◆ DECL_LINK() [3/4]
sw::sidebar::PageMarginControl::DECL_LINK |
( |
MoreButtonClickHdl_Impl |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [4/4]
sw::sidebar::PageMarginControl::DECL_LINK |
( |
SelectMarginHdl |
, |
|
|
weld::Button & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ ExecuteMarginLRChange()
void sw::sidebar::PageMarginControl::ExecuteMarginLRChange |
( |
const tools::Long |
nPageLeftMargin, |
|
|
const tools::Long |
nPageRightMargin |
|
) |
| |
|
staticprivate |
◆ ExecuteMarginULChange()
void sw::sidebar::PageMarginControl::ExecuteMarginULChange |
( |
const tools::Long |
nPageTopMargin, |
|
|
const tools::Long |
nPageBottomMargin |
|
) |
| |
|
staticprivate |
◆ ExecutePageLayoutChange()
void sw::sidebar::PageMarginControl::ExecutePageLayoutChange |
( |
const bool |
bMirrored | ) |
|
|
staticprivate |
◆ FillHelpText()
void sw::sidebar::PageMarginControl::FillHelpText |
( |
const bool |
bUserCustomValuesAvailable | ) |
|
|
private |
Definition at line 264 of file PageMarginControl.cxx.
References m_bUserCustomMirrored, m_eUnit, m_nUserCustomPageBottomMargin, m_nUserCustomPageLeftMargin, m_nUserCustomPageRightMargin, m_nUserCustomPageTopMargin, m_xLast, m_xMirrored, m_xNarrow, m_xNormal, m_xWide, m_xWidthHeightField, SetMetricValue(), SWPAGE_NARROW_VALUE, SWPAGE_NORMAL_VALUE, SWPAGE_WIDE_VALUE1, SWPAGE_WIDE_VALUE2, SWPAGE_WIDE_VALUE3, and SwResId().
Referenced by PageMarginControl().
◆ GetUserCustomValues()
bool sw::sidebar::PageMarginControl::GetUserCustomValues |
( |
| ) |
|
|
private |
Definition at line 484 of file PageMarginControl.cxx.
References aSeq, SvtViewOptions::Exists(), SvtViewOptions::GetUserData(), m_bUserCustomMirrored, m_nUserCustomPageBottomMargin, m_nUserCustomPageLeftMargin, m_nUserCustomPageRightMargin, m_nUserCustomPageTopMargin, SWPAGE_DOWN_GVALUE, SWPAGE_LEFT_GVALUE, SWPAGE_MIRROR_GVALUE, SWPAGE_RIGHT_GVALUE, and SWPAGE_TOP_GVALUE.
Referenced by PageMarginControl().
◆ GrabFocus()
void sw::sidebar::PageMarginControl::GrabFocus |
( |
| ) |
|
|
overridevirtual |
◆ SetMetricFieldMaxValues()
void sw::sidebar::PageMarginControl::SetMetricFieldMaxValues |
( |
const Size & |
rPageSize | ) |
|
|
private |
◆ StoreUserCustomValues()
void sw::sidebar::PageMarginControl::StoreUserCustomValues |
( |
| ) |
|
|
private |
Definition at line 551 of file PageMarginControl.cxx.
References aSeq, m_bCustomValuesUsed, m_bMirrored, m_nPageBottomMargin, m_nPageLeftMargin, m_nPageRightMargin, m_nPageTopMargin, SvtViewOptions::SetUserData(), SWPAGE_DOWN_GVALUE, SWPAGE_LEFT_GVALUE, SWPAGE_MIRROR_GVALUE, SWPAGE_RIGHT_GVALUE, and SWPAGE_TOP_GVALUE.
Referenced by ~PageMarginControl().
◆ m_aPageSize
Size sw::sidebar::PageMarginControl::m_aPageSize |
|
private |
◆ m_bCustomValuesUsed
bool sw::sidebar::PageMarginControl::m_bCustomValuesUsed |
|
private |
◆ m_bMirrored
bool sw::sidebar::PageMarginControl::m_bMirrored |
|
private |
◆ m_bUserCustomMirrored
bool sw::sidebar::PageMarginControl::m_bUserCustomMirrored |
|
private |
◆ m_bUserCustomValuesAvailable
bool sw::sidebar::PageMarginControl::m_bUserCustomValuesAvailable |
|
private |
◆ m_eUnit
const MapUnit sw::sidebar::PageMarginControl::m_eUnit |
|
private |
◆ m_nPageBottomMargin
tools::Long sw::sidebar::PageMarginControl::m_nPageBottomMargin |
|
private |
◆ m_nPageLeftMargin
tools::Long sw::sidebar::PageMarginControl::m_nPageLeftMargin |
|
private |
◆ m_nPageRightMargin
tools::Long sw::sidebar::PageMarginControl::m_nPageRightMargin |
|
private |
◆ m_nPageTopMargin
tools::Long sw::sidebar::PageMarginControl::m_nPageTopMargin |
|
private |
◆ m_nUserCustomPageBottomMargin
tools::Long sw::sidebar::PageMarginControl::m_nUserCustomPageBottomMargin |
|
private |
◆ m_nUserCustomPageLeftMargin
tools::Long sw::sidebar::PageMarginControl::m_nUserCustomPageLeftMargin |
|
private |
◆ m_nUserCustomPageRightMargin
tools::Long sw::sidebar::PageMarginControl::m_nUserCustomPageRightMargin |
|
private |
◆ m_nUserCustomPageTopMargin
tools::Long sw::sidebar::PageMarginControl::m_nUserCustomPageTopMargin |
|
private |
◆ m_xBottomMarginEdit
◆ m_xControl
◆ m_xInner
std::unique_ptr<weld::Label> sw::sidebar::PageMarginControl::m_xInner |
|
private |
◆ m_xLast
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xLast |
|
private |
◆ m_xLeft
std::unique_ptr<weld::Label> sw::sidebar::PageMarginControl::m_xLeft |
|
private |
◆ m_xLeftMarginEdit
◆ m_xMirrored
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xMirrored |
|
private |
◆ m_xMoreButton
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xMoreButton |
|
private |
◆ m_xNarrow
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xNarrow |
|
private |
◆ m_xNormal
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xNormal |
|
private |
◆ m_xOuter
std::unique_ptr<weld::Label> sw::sidebar::PageMarginControl::m_xOuter |
|
private |
◆ m_xRight
std::unique_ptr<weld::Label> sw::sidebar::PageMarginControl::m_xRight |
|
private |
◆ m_xRightMarginEdit
◆ m_xTopMarginEdit
◆ m_xWide
std::unique_ptr<weld::Button> sw::sidebar::PageMarginControl::m_xWide |
|
private |
◆ m_xWidthHeightField
The documentation for this class was generated from the following files: