LibreOffice Module sw (master) 1
|
#include <PageSizeControl.hxx>
Public Member Functions | |
PageSizeControl (PageSizePopup *pControl, weld::Widget *pParent) | |
virtual void | GrabFocus () override |
virtual | ~PageSizeControl () override |
Public Member Functions inherited from WeldToolbarPopup | |
WeldToolbarPopup (css::uno::Reference< css::frame::XFrame > xFrame, weld::Widget *pParent, const OUString &rUIFile, const OUString &rId) | |
virtual | ~WeldToolbarPopup () |
weld::Container * | getTopLevel () |
weld::Container * | getContainer () |
void | AddStatusListener (const OUString &rCommandURL) |
virtual void | statusChanged (const css::frame::FeatureStateEvent &Event) |
virtual void | GrabFocus ()=0 |
Private Member Functions | |
DECL_LINK (ImplSizeHdl, ValueSet *, void) | |
DECL_LINK (MoreButtonClickHdl_Impl, weld::Button &, void) | |
Static Private Member Functions | |
static void | ExecuteSizeChange (const Paper ePaper) |
Private Attributes | |
std::unique_ptr< weld::Button > | mxMoreButton |
std::unique_ptr< weld::MetricSpinButton > | mxWidthHeightField |
std::unique_ptr< svx::sidebar::ValueSetWithTextControl > | mxSizeValueSet |
std::unique_ptr< weld::CustomWeld > | mxSizeValueSetWin |
rtl::Reference< PageSizePopup > | mxControl |
std::vector< Paper > | maPaperList |
Additional Inherited Members | |
Protected Attributes inherited from WeldToolbarPopup | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xTopLevel |
std::unique_ptr< weld::Container > | m_xContainer |
css::uno::Reference< css::frame::XFrame > | m_xFrame |
rtl::Reference< svt::FrameStatusListener > | m_xStatusListener |
Definition at line 38 of file PageSizeControl.hxx.
|
explicit |
Definition at line 68 of file PageSizeControl.cxx.
References CM, SfxViewFrame::Current(), AllSettings::GetLocaleDataWrapper(), SvxPaperInfo::GetName(), LocaleDataWrapper::getNum(), SvxPaperInfo::GetPaperSize(), Application::GetSettings(), SvxSizeItem::GetSize(), Size::Height(), i, SvxPageItem::IsLandscape(), LINK, maPaperList, mxMoreButton, mxSizeValueSet, mxWidthHeightField, PAPER_A3, PAPER_A4, PAPER_A5, PAPER_B4_ISO, PAPER_B5_ISO, PAPER_ENV_C5, PAPER_LEGAL, PAPER_LETTER, SetFieldUnit(), Swap(), WB_3DLOOK, WB_NO_DIRECTSELECT, and Size::Width().
|
overridevirtual |
Definition at line 185 of file PageSizeControl.cxx.
|
private |
|
private |
|
staticprivate |
Definition at line 189 of file PageSizeControl.cxx.
References SfxViewFrame::Current(), SfxDispatcher::ExecuteList(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), SfxBindings::GetDispatcher(), SvxPaperInfo::GetPaperSize(), SvxPageItem::IsLandscape(), SfxDispatcher::QueryState(), SvxSizeItem::SetSize(), and Swap().
|
overridevirtual |
Implements WeldToolbarPopup.
Definition at line 180 of file PageSizeControl.cxx.
References mxSizeValueSet.
|
private |
Definition at line 53 of file PageSizeControl.hxx.
Referenced by PageSizeControl().
|
private |
Definition at line 51 of file PageSizeControl.hxx.
|
private |
Definition at line 46 of file PageSizeControl.hxx.
Referenced by PageSizeControl().
|
private |
Definition at line 49 of file PageSizeControl.hxx.
Referenced by GrabFocus(), and PageSizeControl().
|
private |
Definition at line 50 of file PageSizeControl.hxx.
|
private |
Definition at line 48 of file PageSizeControl.hxx.
Referenced by PageSizeControl().