#include <PageFormatPanel.hxx>
Definition at line 36 of file PageFormatPanel.hxx.
◆ PageFormatPanel()
◆ ~PageFormatPanel()
sw::sidebar::PageFormatPanel::~PageFormatPanel |
( |
| ) |
|
|
overridevirtual |
Definition at line 106 of file PageFormatPanel.cxx.
References SfxControllerItem::dispose(), maMetricController, maPaperOrientationController, maPaperSizeController, maSwPageLRControl, maSwPageULControl, mpPageItem, mpPageLRMarginItem, mpPageULMarginItem, mxCustomEntry, mxMarginSelectBox, mxPaperHeight, mxPaperOrientation, mxPaperSizeBox, and mxPaperWidth.
◆ Create()
◆ DECL_LINK() [1/3]
sw::sidebar::PageFormatPanel::DECL_LINK |
( |
PaperFormatModifyHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [2/3]
sw::sidebar::PageFormatPanel::DECL_LINK |
( |
PaperModifyMarginHdl |
, |
|
|
weld::ComboBox & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_LINK() [3/3]
◆ ExecuteMarginLRChange()
void sw::sidebar::PageFormatPanel::ExecuteMarginLRChange |
( |
const tools::Long |
nPageLeftMargin, |
|
|
const tools::Long |
nPageRightMargin |
|
) |
| |
|
private |
◆ ExecuteMarginULChange()
void sw::sidebar::PageFormatPanel::ExecuteMarginULChange |
( |
const tools::Long |
nPageTopMargin, |
|
|
const tools::Long |
nPageBottomMargin |
|
) |
| |
|
private |
◆ GetControlState()
virtual void sw::sidebar::PageFormatPanel::GetControlState |
( |
const |
sal_uInt16, |
|
|
boost::property_tree::ptree & |
|
|
) |
| |
|
inlineoverridevirtual |
◆ GetCurrentUnit()
◆ Initialize()
void sw::sidebar::PageFormatPanel::Initialize |
( |
| ) |
|
|
private |
Definition at line 125 of file PageFormatPanel.cxx.
References SfxControllerItem::GetCoreMetric(), SvtOptionsDrawinglayer::GetMaximumPaperHeight(), SvtOptionsDrawinglayer::GetMaximumPaperWidth(), LINK, m_aCustomEntry, maPaperSizeController, meFUnit, meUnit, mpBindings, mxCustomEntry, mxMarginSelectBox, mxPaperHeight, mxPaperOrientation, mxPaperSizeBox, mxPaperWidth, SfxControllerItem::SetFallbackCoreMetric(), SetMarginFieldUnit(), SfxBindings::Update(), and UpdateMarginBox().
Referenced by PageFormatPanel().
◆ NotifyItemUpdate()
void sw::sidebar::PageFormatPanel::NotifyItemUpdate |
( |
const sal_uInt16 |
nSId, |
|
|
const SfxItemState |
eState, |
|
|
const SfxPoolItem * |
pState |
|
) |
| |
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 153 of file PageFormatPanel.cxx.
References SfxPoolItem::Clone(), SfxControllerItem::GetCoreMetric(), GetCurrentUnit(), SvxSizeItem::GetSize(), SvxPaperInfo::GetSvxPaper(), Size::Height(), maPaperSizeController, meFUnit, meUnit, mpPageItem, mpPageLRMarginItem, mpPageULMarginItem, mxPaperHeight, mxPaperOrientation, mxPaperSizeBox, mxPaperWidth, SetMarginFieldUnit(), Swap(), UpdateMarginBox(), and Size::Width().
◆ SetMarginFieldUnit()
void sw::sidebar::PageFormatPanel::SetMarginFieldUnit |
( |
| ) |
|
|
private |
Definition at line 56 of file PageFormatPanel.cxx.
References aName, AllSettings::GetLocaleDataWrapper(), LocaleDataWrapper::getNum(), Application::GetSettings(), IsInch(), meFUnit, weld::MetricSpinButton::MetricToString(), mxMarginSelectBox, sSuffix, and SwResId().
Referenced by Initialize(), and NotifyItemUpdate().
◆ UpdateMarginBox()
void sw::sidebar::PageFormatPanel::UpdateMarginBox |
( |
| ) |
|
|
private |
Definition at line 350 of file PageFormatPanel.cxx.
References sw::sidebar::IsMirrored(), sw::sidebar::IsModerate(), sw::sidebar::IsNarrow(), sw::sidebar::IsNone(), sw::sidebar::IsNormal075(), sw::sidebar::IsNormal100(), sw::sidebar::IsNormal125(), sw::sidebar::IsWide(), m_aCustomEntry, mnPageBottomMargin, mnPageLeftMargin, mnPageRightMargin, mnPageTopMargin, mpPageItem, mpPageLRMarginItem, mpPageULMarginItem, and mxMarginSelectBox.
Referenced by Initialize(), and NotifyItemUpdate().
◆ m_aCustomEntry
OUString sw::sidebar::PageFormatPanel::m_aCustomEntry |
|
private |
◆ maMetricController
◆ maPaperOrientationController
◆ maPaperSizeController
◆ maSwPageLRControl
◆ maSwPageULControl
◆ meFUnit
FieldUnit sw::sidebar::PageFormatPanel::meFUnit |
|
private |
◆ meUnit
MapUnit sw::sidebar::PageFormatPanel::meUnit |
|
private |
◆ mnPageBottomMargin
tools::Long sw::sidebar::PageFormatPanel::mnPageBottomMargin |
|
private |
◆ mnPageLeftMargin
tools::Long sw::sidebar::PageFormatPanel::mnPageLeftMargin |
|
private |
◆ mnPageRightMargin
tools::Long sw::sidebar::PageFormatPanel::mnPageRightMargin |
|
private |
◆ mnPageTopMargin
tools::Long sw::sidebar::PageFormatPanel::mnPageTopMargin |
|
private |
◆ mpBindings
◆ mpPageItem
std::unique_ptr<SvxPageItem> sw::sidebar::PageFormatPanel::mpPageItem |
|
private |
◆ mpPageLRMarginItem
◆ mpPageULMarginItem
◆ mxCustomEntry
std::unique_ptr<weld::Label> sw::sidebar::PageFormatPanel::mxCustomEntry |
|
private |
◆ mxMarginSelectBox
std::unique_ptr<weld::ComboBox> sw::sidebar::PageFormatPanel::mxMarginSelectBox |
|
private |
◆ mxPaperHeight
◆ mxPaperOrientation
std::unique_ptr<weld::ComboBox> sw::sidebar::PageFormatPanel::mxPaperOrientation |
|
private |
◆ mxPaperSizeBox
◆ mxPaperWidth
The documentation for this class was generated from the following files: