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

#include <labprt.hxx>

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

Public Member Functions

 SwLabPrtPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwLabPrtPage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void FillItem (SwLabItem &rItem)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
PrinterGetPrt ()
 
- 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
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OString, 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 (CountHdl, weld::Toggleable &, void)
 
 DECL_LINK (PrtSetupHdl, weld::Button &, void)
 
SwLabDlgGetParentSwLabDlg ()
 

Private Attributes

VclPtr< Printerm_pPrinter
 
std::unique_ptr< weld::RadioButtonm_xPageButton
 
std::unique_ptr< weld::RadioButtonm_xSingleButton
 
std::unique_ptr< weld::Widgetm_xSingleGrid
 
std::unique_ptr< weld::Widgetm_xPrinterFrame
 
std::unique_ptr< weld::SpinButtonm_xColField
 
std::unique_ptr< weld::SpinButtonm_xRowField
 
std::unique_ptr< weld::CheckButtonm_xSynchronCB
 
std::unique_ptr< weld::Labelm_xPrinterInfo
 
std::unique_ptr< weld::Buttonm_xPrtSetup
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &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 29 of file labprt.hxx.

Constructor & Destructor Documentation

◆ SwLabPrtPage()

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

◆ ~SwLabPrtPage()

SwLabPrtPage::~SwLabPrtPage ( )
overridevirtual

Definition at line 55 of file labprt.cxx.

References VclPtr< class reference_type >::disposeAndClear(), and m_pPrinter.

Member Function Documentation

◆ ActivatePage()

void SwLabPrtPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 91 of file labprt.cxx.

References Reset(), and rSet.

◆ Create()

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

Definition at line 86 of file labprt.cxx.

References rSet.

Referenced by SwLabDlg::SwLabDlg().

◆ DeactivatePage()

DeactivateRC SwLabPrtPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 96 of file labprt.cxx.

References FillItemSet().

◆ DECL_LINK() [1/2]

SwLabPrtPage::DECL_LINK ( CountHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/2]

SwLabPrtPage::DECL_LINK ( PrtSetupHdl  ,
weld::Button ,
void   
)
private

◆ FillItem()

void SwLabPrtPage::FillItem ( SwLabItem rItem)

◆ FillItemSet()

bool SwLabPrtPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 112 of file labprt.cxx.

References FillItem(), SwLabDlg::GetLabItem(), GetParentSwLabDlg(), SfxItemSet::Put(), and rSet.

Referenced by DeactivatePage().

◆ GetParentSwLabDlg()

SwLabDlg * SwLabPrtPage::GetParentSwLabDlg ( )
inlineprivate

Definition at line 46 of file labprt.hxx.

References SfxTabPage::GetDialogController().

Referenced by FillItemSet(), and Reset().

◆ GetPrt()

Printer * SwLabPrtPage::GetPrt ( )
inline

Definition at line 61 of file labprt.hxx.

References m_pPrinter.

Referenced by SwLabDlg::GetPrt().

◆ Reset()

void SwLabPrtPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_pPrinter

VclPtr<Printer> SwLabPrtPage::m_pPrinter
private

Definition at line 31 of file labprt.hxx.

Referenced by GetPrt(), Reset(), and ~SwLabPrtPage().

◆ m_xColField

std::unique_ptr<weld::SpinButton> SwLabPrtPage::m_xColField
private

Definition at line 37 of file labprt.hxx.

Referenced by FillItem(), and Reset().

◆ m_xPageButton

std::unique_ptr<weld::RadioButton> SwLabPrtPage::m_xPageButton
private

Definition at line 33 of file labprt.hxx.

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

◆ m_xPrinterFrame

std::unique_ptr<weld::Widget> SwLabPrtPage::m_xPrinterFrame
private

Definition at line 36 of file labprt.hxx.

Referenced by SwLabPrtPage().

◆ m_xPrinterInfo

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

Definition at line 40 of file labprt.hxx.

Referenced by Reset().

◆ m_xPrtSetup

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

Definition at line 41 of file labprt.hxx.

Referenced by SwLabPrtPage().

◆ m_xRowField

std::unique_ptr<weld::SpinButton> SwLabPrtPage::m_xRowField
private

Definition at line 38 of file labprt.hxx.

Referenced by FillItem(), and Reset().

◆ m_xSingleButton

std::unique_ptr<weld::RadioButton> SwLabPrtPage::m_xSingleButton
private

Definition at line 34 of file labprt.hxx.

Referenced by Reset(), and SwLabPrtPage().

◆ m_xSingleGrid

std::unique_ptr<weld::Widget> SwLabPrtPage::m_xSingleGrid
private

Definition at line 35 of file labprt.hxx.

◆ m_xSynchronCB

std::unique_ptr<weld::CheckButton> SwLabPrtPage::m_xSynchronCB
private

Definition at line 39 of file labprt.hxx.

Referenced by FillItem(), and Reset().


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