LibreOffice Module cui (master) 1
|
#include <zoom.hxx>
Public Member Functions | |
SvxZoomDialog (weld::Window *pParent, const SfxItemSet &rCoreSet) | |
const SfxItemSet * | GetOutputItemSet () const |
sal_uInt16 | GetFactor () const |
void | SetFactor (sal_uInt16 nNewFactor, ZoomButtonId nButtonId=ZoomButtonId::NONE) |
void | HideButton (ZoomButtonId nButtonId) |
void | SetLimits (sal_uInt16 nMin, sal_uInt16 nMax) |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (UserHdl, weld::Toggleable &, void) | |
DECL_LINK (SpinHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (ViewLayoutUserHdl, weld::Toggleable &, void) | |
DECL_LINK (ViewLayoutSpinHdl, weld::SpinButton &, void) | |
DECL_LINK (ViewLayoutCheckHdl, weld::Toggleable &, void) | |
DECL_LINK (OKHdl, weld::Button &, void) | |
Private Attributes | |
const SfxItemSet & | m_rSet |
std::unique_ptr< SfxItemSet > | m_pOutSet |
bool | m_bModified |
std::unique_ptr< weld::RadioButton > | m_xOptimalBtn |
std::unique_ptr< weld::RadioButton > | m_xWholePageBtn |
std::unique_ptr< weld::RadioButton > | m_xPageWidthBtn |
std::unique_ptr< weld::RadioButton > | m_x100Btn |
std::unique_ptr< weld::RadioButton > | m_xUserBtn |
std::unique_ptr< weld::MetricSpinButton > | m_xUserEdit |
std::unique_ptr< weld::Widget > | m_xViewFrame |
std::unique_ptr< weld::RadioButton > | m_xAutomaticBtn |
std::unique_ptr< weld::RadioButton > | m_xSingleBtn |
std::unique_ptr< weld::RadioButton > | m_xColumnsBtn |
std::unique_ptr< weld::SpinButton > | m_xColumnsEdit |
std::unique_ptr< weld::CheckButton > | m_xBookModeChk |
std::unique_ptr< weld::Button > | m_xOKBtn |
SvxZoomDialog::SvxZoomDialog | ( | weld::Window * | pParent, |
const SfxItemSet & | rCoreSet | ||
) |
Definition at line 123 of file zoom.cxx.
References SfxObjectShell::Current(), eType, SfxItemSet::Get(), SfxItemSet::GetItemIfSet(), CntUInt16Item::GetValue(), GetValue(), LINK, m_rSet, m_x100Btn, m_xAutomaticBtn, m_xBookModeChk, m_xColumnsBtn, m_xColumnsEdit, m_xOKBtn, m_xOptimalBtn, m_xPageWidthBtn, m_xSingleBtn, m_xUserBtn, m_xUserEdit, m_xViewFrame, m_xWholePageBtn, nValue, PERCENT(), SetFactor(), and SetLimits().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
sal_uInt16 SvxZoomDialog::GetFactor | ( | ) | const |
Definition at line 35 of file zoom.cxx.
References m_x100Btn, m_xUserBtn, and m_xUserEdit.
const SfxItemSet * SvxZoomDialog::GetOutputItemSet | ( | ) | const |
void SvxZoomDialog::HideButton | ( | ZoomButtonId | nButtonId | ) |
Definition at line 94 of file zoom.cxx.
References m_xOptimalBtn, m_xPageWidthBtn, and m_xWholePageBtn.
void SvxZoomDialog::SetFactor | ( | sal_uInt16 | nNewFactor, |
ZoomButtonId | nButtonId = ZoomButtonId::NONE |
||
) |
Definition at line 46 of file zoom.cxx.
References m_x100Btn, m_xOptimalBtn, m_xPageWidthBtn, m_xUserBtn, m_xUserEdit, and m_xWholePageBtn.
Referenced by SvxZoomDialog().
void SvxZoomDialog::SetLimits | ( | sal_uInt16 | nMin, |
sal_uInt16 | nMax | ||
) |
Definition at line 115 of file zoom.cxx.
References DBG_ASSERT, and m_xUserEdit.
Referenced by SvxZoomDialog().
|
private |
Definition at line 31 of file zoom.hxx.
Referenced by GetOutputItemSet().
|
private |
Definition at line 30 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 37 of file zoom.hxx.
Referenced by GetFactor(), SetFactor(), and SvxZoomDialog().
|
private |
Definition at line 41 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 45 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 43 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 44 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 46 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 34 of file zoom.hxx.
Referenced by HideButton(), SetFactor(), and SvxZoomDialog().
|
private |
Definition at line 36 of file zoom.hxx.
Referenced by HideButton(), SetFactor(), and SvxZoomDialog().
|
private |
Definition at line 42 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 38 of file zoom.hxx.
Referenced by GetFactor(), SetFactor(), and SvxZoomDialog().
|
private |
Definition at line 39 of file zoom.hxx.
Referenced by GetFactor(), SetFactor(), SetLimits(), and SvxZoomDialog().
|
private |
Definition at line 40 of file zoom.hxx.
Referenced by SvxZoomDialog().
|
private |
Definition at line 35 of file zoom.hxx.
Referenced by HideButton(), SetFactor(), and SvxZoomDialog().