LibreOffice Module sw (master)
1
|
#include <PageOrientationControl.hxx>
Public Member Functions | |
PageOrientationControl (PageOrientationPopup *pControl, weld::Widget *pParent) | |
virtual void | GrabFocus () override |
virtual | ~PageOrientationControl () override |
![]() | |
WeldToolbarPopup (const css::uno::Reference< css::frame::XFrame > &rFrame, weld::Widget *pParent, const OUString &rUIFile, const OString &rId) | |
virtual | ~WeldToolbarPopup () |
weld::Container * | getTopLevel () |
weld::Container * | getContainer () |
void | AddStatusListener (const OUString &rCommandURL) |
virtual void | statusChanged (const css::frame::FeatureStateEvent &Event) |
Private Member Functions | |
void | ExecuteMarginULChange (const tools::Long nPageTopMargin, const tools::Long nPageBottomMargin) |
void | ExecuteMarginLRChange (const tools::Long nPageLeftMargin, const tools::Long nPageRightMargin) |
void | ExecuteOrientationChange (const bool bLandscape) |
DECL_LINK (ImplOrientationHdl, weld::Button &, void) | |
Private Attributes | |
std::unique_ptr< weld::Button > | m_xPortrait |
std::unique_ptr< weld::Button > | m_xLandscape |
rtl::Reference< PageOrientationPopup > | m_xControl |
std::unique_ptr< SvxPageItem > | mpPageItem |
std::unique_ptr< SvxSizeItem > | mpPageSizeItem |
std::unique_ptr< SvxLongLRSpaceItem > | mpPageLRMarginItem |
std::unique_ptr< SvxLongULSpaceItem > | mpPageULMarginItem |
Additional Inherited Members | |
![]() | |
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 31 of file PageOrientationControl.hxx.
|
explicit |
Definition at line 52 of file PageOrientationControl.cxx.
References LINK, m_xControl, m_xLandscape, and m_xPortrait.
|
overridevirtual |
Definition at line 71 of file PageOrientationControl.cxx.
|
private |
|
private |
Definition at line 75 of file PageOrientationControl.cxx.
References SfxViewShell::Current(), SfxDispatcher::ExecuteList(), SfxShell::GetDispatcher(), and mpPageLRMarginItem.
Referenced by ExecuteOrientationChange().
|
private |
Definition at line 85 of file PageOrientationControl.cxx.
References SfxViewShell::Current(), SfxDispatcher::ExecuteList(), SfxShell::GetDispatcher(), and mpPageULMarginItem.
Referenced by ExecuteOrientationChange().
|
private |
Definition at line 95 of file PageOrientationControl.cxx.
References SvxSizeItem::Clone(), SvxLongLRSpaceItem::Clone(), SvxLongULSpaceItem::Clone(), SfxViewFrame::Current(), SfxViewShell::Current(), SfxDispatcher::ExecuteList(), ExecuteMarginLRChange(), ExecuteMarginULChange(), SfxViewFrame::GetBindings(), SfxShell::GetDispatcher(), SfxBindings::GetDispatcher(), MINBODY, mpPageItem, mpPageLRMarginItem, mpPageSizeItem, mpPageULMarginItem, and SfxDispatcher::QueryState().
|
overridevirtual |
Implements WeldToolbarPopup.
Definition at line 66 of file PageOrientationControl.cxx.
References m_xPortrait.
|
private |
Definition at line 41 of file PageOrientationControl.hxx.
|
private |
Definition at line 40 of file PageOrientationControl.hxx.
Referenced by PageOrientationControl().
|
private |
Definition at line 39 of file PageOrientationControl.hxx.
Referenced by GrabFocus(), and PageOrientationControl().
|
private |
Definition at line 43 of file PageOrientationControl.hxx.
Referenced by ExecuteOrientationChange().
|
private |
Definition at line 45 of file PageOrientationControl.hxx.
Referenced by ExecuteMarginLRChange(), and ExecuteOrientationChange().
|
private |
Definition at line 44 of file PageOrientationControl.hxx.
Referenced by ExecuteOrientationChange().
|
private |
Definition at line 46 of file PageOrientationControl.hxx.
Referenced by ExecuteMarginULChange(), and ExecuteOrientationChange().