LibreOffice Module cui (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxZoomDialog Class Reference

#include <zoom.hxx>

Inheritance diagram for SvxZoomDialog:
[legend]
Collaboration diagram for SvxZoomDialog:
[legend]

Public Member Functions

 SvxZoomDialog (weld::Window *pParent, const SfxItemSet &rCoreSet)
 
const SfxItemSetGetOutputItemSet () 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 OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

 DECL_LINK (UserHdl, weld::ToggleButton &, void)
 
 DECL_LINK (SpinHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ViewLayoutUserHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ViewLayoutSpinHdl, weld::SpinButton &, void)
 
 DECL_LINK (ViewLayoutCheckHdl, weld::ToggleButton &, void)
 
 DECL_LINK (OKHdl, weld::Button &, void)
 

Private Attributes

const SfxItemSetm_rSet
 
std::unique_ptr< SfxItemSetm_pOutSet
 
bool m_bModified
 
std::unique_ptr< weld::RadioButtonm_xOptimalBtn
 
std::unique_ptr< weld::RadioButtonm_xWholePageBtn
 
std::unique_ptr< weld::RadioButtonm_xPageWidthBtn
 
std::unique_ptr< weld::RadioButtonm_x100Btn
 
std::unique_ptr< weld::RadioButtonm_xUserBtn
 
std::unique_ptr< weld::MetricSpinButtonm_xUserEdit
 
std::unique_ptr< weld::Widgetm_xViewFrame
 
std::unique_ptr< weld::RadioButtonm_xAutomaticBtn
 
std::unique_ptr< weld::RadioButtonm_xSingleBtn
 
std::unique_ptr< weld::RadioButtonm_xColumnsBtn
 
std::unique_ptr< weld::SpinButtonm_xColumnsEdit
 
std::unique_ptr< weld::CheckButtonm_xBookModeChk
 
std::unique_ptr< weld::Buttonm_xOKBtn
 

Detailed Description

Definition at line 28 of file zoom.hxx.

Constructor & Destructor Documentation

SvxZoomDialog::SvxZoomDialog ( weld::Window pParent,
const SfxItemSet rCoreSet 
)

Member Function Documentation

SvxZoomDialog::DECL_LINK ( UserHdl  ,
weld::ToggleButton ,
void   
)
private
SvxZoomDialog::DECL_LINK ( SpinHdl  ,
weld::MetricSpinButton ,
void   
)
private
SvxZoomDialog::DECL_LINK ( ViewLayoutUserHdl  ,
weld::ToggleButton ,
void   
)
private
SvxZoomDialog::DECL_LINK ( ViewLayoutSpinHdl  ,
weld::SpinButton ,
void   
)
private
SvxZoomDialog::DECL_LINK ( ViewLayoutCheckHdl  ,
weld::ToggleButton ,
void   
)
private
SvxZoomDialog::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private
sal_uInt16 SvxZoomDialog::GetFactor ( ) const

Definition at line 36 of file zoom.cxx.

References m_x100Btn, m_xUserBtn, and m_xUserEdit.

const SfxItemSet * SvxZoomDialog::GetOutputItemSet ( ) const

Definition at line 121 of file zoom.cxx.

References m_pOutSet.

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 47 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().

Member Data Documentation

bool SvxZoomDialog::m_bModified
private

Definition at line 33 of file zoom.hxx.

std::unique_ptr<SfxItemSet> SvxZoomDialog::m_pOutSet
private

Definition at line 32 of file zoom.hxx.

Referenced by GetOutputItemSet().

const SfxItemSet& SvxZoomDialog::m_rSet
private

Definition at line 31 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_x100Btn
private

Definition at line 38 of file zoom.hxx.

Referenced by GetFactor(), SetFactor(), and SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xAutomaticBtn
private

Definition at line 42 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::CheckButton> SvxZoomDialog::m_xBookModeChk
private

Definition at line 46 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xColumnsBtn
private

Definition at line 44 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::SpinButton> SvxZoomDialog::m_xColumnsEdit
private

Definition at line 45 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::Button> SvxZoomDialog::m_xOKBtn
private

Definition at line 47 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xOptimalBtn
private

Definition at line 35 of file zoom.hxx.

Referenced by HideButton(), SetFactor(), and SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xPageWidthBtn
private

Definition at line 37 of file zoom.hxx.

Referenced by HideButton(), SetFactor(), and SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xSingleBtn
private

Definition at line 43 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xUserBtn
private

Definition at line 39 of file zoom.hxx.

Referenced by GetFactor(), SetFactor(), and SvxZoomDialog().

std::unique_ptr<weld::MetricSpinButton> SvxZoomDialog::m_xUserEdit
private

Definition at line 40 of file zoom.hxx.

Referenced by GetFactor(), SetFactor(), SetLimits(), and SvxZoomDialog().

std::unique_ptr<weld::Widget> SvxZoomDialog::m_xViewFrame
private

Definition at line 41 of file zoom.hxx.

Referenced by SvxZoomDialog().

std::unique_ptr<weld::RadioButton> SvxZoomDialog::m_xWholePageBtn
private

Definition at line 36 of file zoom.hxx.

Referenced by HideButton(), SetFactor(), and SvxZoomDialog().


The documentation for this class was generated from the following files: