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 (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual void dispose () override
 
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 SetTabDialog (SfxTabDialog *pDialog)
 
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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::ToggleButton &, void)
 
 DECL_LINK (UpperHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (AlignHdl, weld::ToggleButton &, 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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)
 
SfxTabDialogGetTabDialog () const
 
SfxOkDialogControllerGetDialogController () const
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 31 of file envprt.hxx.

Constructor & Destructor Documentation

SwEnvPrtPage::SwEnvPrtPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)

Definition at line 32 of file envprt.cxx.

References CM, and SfxTabPage::m_xBuilder.

SwEnvPrtPage::~SwEnvPrtPage ( )
overridevirtual

Definition at line 77 of file envprt.cxx.

Member Function Documentation

void SwEnvPrtPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 135 of file envprt.cxx.

References Printer::GetName(), m_xPrinterInfo, and m_xPrt.

Referenced by Reset().

VclPtr< SfxTabPage > SwEnvPrtPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static

Definition at line 130 of file envprt.cxx.

References VclPtr< reference_type >::Create().

Referenced by SwEnvDlg::SwEnvDlg().

DeactivateRC SwEnvPrtPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 141 of file envprt.cxx.

References FillItemSet().

SwEnvPrtPage::DECL_LINK ( LowerHdl  ,
weld::ToggleButton ,
void   
)
private
SwEnvPrtPage::DECL_LINK ( UpperHdl  ,
weld::ToggleButton ,
void   
)
private
SwEnvPrtPage::DECL_LINK ( ClickHdl  ,
weld::ToggleButton ,
void   
)
private
SwEnvPrtPage::DECL_LINK ( AlignHdl  ,
weld::ToggleButton ,
void   
)
private
SwEnvPrtPage::DECL_LINK ( ButtonHdl  ,
weld::Button ,
void   
)
private
virtual void SwEnvPrtPage::dispose ( void  )
inlineoverridevirtual

Reimplemented from SfxTabPage.

Definition at line 60 of file envprt.hxx.

References VclPtr< Printer >::clear(), and SfxTabPage::dispose().

void SwEnvPrtPage::FillItem ( SwEnvItem rItem)
bool SwEnvPrtPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 167 of file envprt.cxx.

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

Referenced by DeactivatePage().

SwEnvDlg* SwEnvPrtPage::GetParentSwEnvDlg ( )
inlineprivate

Definition at line 53 of file envprt.hxx.

References SfxTabPage::GetDialogController().

Referenced by FillItemSet().

void SwEnvPrtPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwEnvPrtPage::SetPrt ( Printer pPrinter)
inline

Definition at line 75 of file envprt.hxx.

Member Data Documentation

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

Definition at line 42 of file envprt.hxx.

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

Definition at line 43 of file envprt.hxx.

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

Definition at line 36 of file envprt.hxx.

Referenced by Reset().

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

Definition at line 38 of file envprt.hxx.

Referenced by FillItem(), and Reset().

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

Definition at line 34 of file envprt.hxx.

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

Definition at line 39 of file envprt.hxx.

Referenced by ActivatePage().

VclPtr<Printer> SwEnvPrtPage::m_xPrt
private

Definition at line 45 of file envprt.hxx.

Referenced by ActivatePage().

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

Definition at line 40 of file envprt.hxx.

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

Definition at line 37 of file envprt.hxx.

Referenced by FillItem(), and Reset().

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

Definition at line 35 of file envprt.hxx.

Referenced by FillItem(), and Reset().

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: