LibreOffice Module sw (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwEnvPrtPage Class Reference

#include <envprt.hxx>

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

Public Member Functions

 SwEnvPrtPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwEnvPrtPage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void FillItem (SwEnvItem &rItem)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetPrt (Printer *pPrinter)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Private Member Functions

 DECL_LINK (LowerHdl, weld::Toggleable &, void)
 
 DECL_LINK (UpperHdl, weld::Toggleable &, void)
 
 DECL_LINK (ClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (ButtonHdl, weld::Button &, void)
 
SwEnvDlgGetParentSwEnvDlg ()
 

Private Attributes

std::unique_ptr< weld::Widgetm_xUpper
 
std::unique_ptr< weld::Widgetm_xLower
 
std::unique_ptr< weld::RadioButtonm_xTopButton
 
std::unique_ptr< weld::RadioButtonm_xBottomButton
 
std::unique_ptr< weld::MetricSpinButtonm_xRightField
 
std::unique_ptr< weld::MetricSpinButtonm_xDownField
 
std::unique_ptr< weld::Labelm_xPrinterInfo
 
std::unique_ptr< weld::Buttonm_xPrtSetup
 
std::unique_ptr< weld::RadioButtonm_aIdsL [ENV_VER_RGHT - ENV_HOR_LEFT+1]
 
std::unique_ptr< weld::RadioButtonm_aIdsU [ENV_VER_RGHT - ENV_HOR_LEFT+1]
 
VclPtr< Printerm_xPrt
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 31 of file envprt.hxx.

Constructor & Destructor Documentation

◆ SwEnvPrtPage()

SwEnvPrtPage::SwEnvPrtPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SwEnvPrtPage()

SwEnvPrtPage::~SwEnvPrtPage ( )
overridevirtual

Definition at line 74 of file envprt.cxx.

References VclPtr< class reference_type >::clear(), and m_xPrt.

Member Function Documentation

◆ ActivatePage()

void SwEnvPrtPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 132 of file envprt.cxx.

References m_xPrinterInfo, and m_xPrt.

Referenced by Reset().

◆ Create()

std::unique_ptr< SfxTabPage > SwEnvPrtPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 127 of file envprt.cxx.

References rSet.

Referenced by SwEnvDlg::SwEnvDlg().

◆ DeactivatePage()

DeactivateRC SwEnvPrtPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 138 of file envprt.cxx.

References FillItemSet().

◆ DECL_LINK() [1/4]

SwEnvPrtPage::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SwEnvPrtPage::DECL_LINK ( ClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/4]

SwEnvPrtPage::DECL_LINK ( LowerHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/4]

SwEnvPrtPage::DECL_LINK ( UpperHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItem()

void SwEnvPrtPage::FillItem ( SwEnvItem rItem)

◆ FillItemSet()

bool SwEnvPrtPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 164 of file envprt.cxx.

References FillItem(), GetParentSwEnvDlg(), SfxItemSet::Put(), and rSet.

Referenced by DeactivatePage().

◆ GetParentSwEnvDlg()

SwEnvDlg * SwEnvPrtPage::GetParentSwEnvDlg ( )
inlineprivate

Definition at line 52 of file envprt.hxx.

References SfxTabPage::GetDialogController().

Referenced by FillItemSet().

◆ Reset()

void SwEnvPrtPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetPrt()

void SwEnvPrtPage::SetPrt ( Printer pPrinter)
inline

Definition at line 68 of file envprt.hxx.

References m_xPrt.

Member Data Documentation

◆ m_aIdsL

std::unique_ptr<weld::RadioButton> SwEnvPrtPage::m_aIdsL[ENV_VER_RGHT - ENV_HOR_LEFT+1]
private

Definition at line 42 of file envprt.hxx.

Referenced by FillItem(), Reset(), and SwEnvPrtPage().

◆ m_aIdsU

std::unique_ptr<weld::RadioButton> SwEnvPrtPage::m_aIdsU[ENV_VER_RGHT - ENV_HOR_LEFT+1]
private

Definition at line 43 of file envprt.hxx.

Referenced by FillItem(), Reset(), and SwEnvPrtPage().

◆ m_xBottomButton

std::unique_ptr<weld::RadioButton> SwEnvPrtPage::m_xBottomButton
private

Definition at line 36 of file envprt.hxx.

Referenced by Reset(), and SwEnvPrtPage().

◆ m_xDownField

std::unique_ptr<weld::MetricSpinButton> SwEnvPrtPage::m_xDownField
private

Definition at line 38 of file envprt.hxx.

Referenced by FillItem(), Reset(), and SwEnvPrtPage().

◆ m_xLower

std::unique_ptr<weld::Widget> SwEnvPrtPage::m_xLower
private

Definition at line 34 of file envprt.hxx.

◆ m_xPrinterInfo

std::unique_ptr<weld::Label> SwEnvPrtPage::m_xPrinterInfo
private

Definition at line 39 of file envprt.hxx.

Referenced by ActivatePage().

◆ m_xPrt

VclPtr<Printer> SwEnvPrtPage::m_xPrt
private

Definition at line 45 of file envprt.hxx.

Referenced by ActivatePage(), SetPrt(), and ~SwEnvPrtPage().

◆ m_xPrtSetup

std::unique_ptr<weld::Button> SwEnvPrtPage::m_xPrtSetup
private

Definition at line 40 of file envprt.hxx.

Referenced by SwEnvPrtPage().

◆ m_xRightField

std::unique_ptr<weld::MetricSpinButton> SwEnvPrtPage::m_xRightField
private

Definition at line 37 of file envprt.hxx.

Referenced by FillItem(), Reset(), and SwEnvPrtPage().

◆ m_xTopButton

std::unique_ptr<weld::RadioButton> SwEnvPrtPage::m_xTopButton
private

Definition at line 35 of file envprt.hxx.

Referenced by FillItem(), Reset(), and SwEnvPrtPage().

◆ m_xUpper

std::unique_ptr<weld::Widget> SwEnvPrtPage::m_xUpper
private

Definition at line 33 of file envprt.hxx.


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