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 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 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 27 of file zoom.hxx.

Constructor & Destructor Documentation

◆ SvxZoomDialog()

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

Member Function Documentation

◆ DECL_LINK() [1/6]

SvxZoomDialog::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxZoomDialog::DECL_LINK ( SpinHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/6]

SvxZoomDialog::DECL_LINK ( UserHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxZoomDialog::DECL_LINK ( ViewLayoutCheckHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxZoomDialog::DECL_LINK ( ViewLayoutSpinHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxZoomDialog::DECL_LINK ( ViewLayoutUserHdl  ,
weld::Toggleable ,
void   
)
private

◆ GetFactor()

sal_uInt16 SvxZoomDialog::GetFactor ( ) const

Definition at line 35 of file zoom.cxx.

References m_x100Btn, m_xUserBtn, and m_xUserEdit.

◆ GetOutputItemSet()

const SfxItemSet * SvxZoomDialog::GetOutputItemSet ( ) const

Definition at line 121 of file zoom.cxx.

References m_pOutSet.

◆ HideButton()

void SvxZoomDialog::HideButton ( ZoomButtonId  nButtonId)

Definition at line 94 of file zoom.cxx.

References m_xOptimalBtn, m_xPageWidthBtn, and m_xWholePageBtn.

◆ SetFactor()

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

◆ SetLimits()

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

◆ m_bModified

bool SvxZoomDialog::m_bModified
private

Definition at line 32 of file zoom.hxx.

◆ m_pOutSet

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

Definition at line 31 of file zoom.hxx.

Referenced by GetOutputItemSet().

◆ m_rSet

const SfxItemSet& SvxZoomDialog::m_rSet
private

Definition at line 30 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_x100Btn

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

Definition at line 37 of file zoom.hxx.

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

◆ m_xAutomaticBtn

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

Definition at line 41 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xBookModeChk

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

Definition at line 45 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xColumnsBtn

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

Definition at line 43 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xColumnsEdit

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

Definition at line 44 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xOKBtn

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

Definition at line 46 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xOptimalBtn

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

Definition at line 34 of file zoom.hxx.

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

◆ m_xPageWidthBtn

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

Definition at line 36 of file zoom.hxx.

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

◆ m_xSingleBtn

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

Definition at line 42 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xUserBtn

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

Definition at line 38 of file zoom.hxx.

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

◆ m_xUserEdit

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

Definition at line 39 of file zoom.hxx.

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

◆ m_xViewFrame

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

Definition at line 40 of file zoom.hxx.

Referenced by SvxZoomDialog().

◆ m_xWholePageBtn

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

Definition at line 35 of file zoom.hxx.

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


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