LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Attributes | List of all members
SfxPrintOptionsDialog Class Referencefinal

#include <prnmon.hxx>

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

Public Member Functions

 SfxPrintOptionsDialog (weld::Window *pParent, SfxViewShell *pViewShell, const SfxItemSet *rOptions)
 
virtual ~SfxPrintOptionsDialog () override
 
virtual short run () override
 
const SfxItemSetGetOptions () const
 
void DisableHelp ()
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

std::unique_ptr< SfxItemSetpOptions
 
std::unique_ptr< weld::Widgetm_xHelpBtn
 
std::unique_ptr< weld::Containerm_xContainer
 
std::unique_ptr< SfxTabPagem_xPage
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 32 of file prnmon.hxx.

Constructor & Destructor Documentation

◆ SfxPrintOptionsDialog()

SfxPrintOptionsDialog::SfxPrintOptionsDialog ( weld::Window pParent,
SfxViewShell pViewShell,
const SfxItemSet rOptions 
)

◆ ~SfxPrintOptionsDialog()

SfxPrintOptionsDialog::~SfxPrintOptionsDialog ( )
overridevirtual

Definition at line 166 of file printer.cxx.

Member Function Documentation

◆ DisableHelp()

void SfxPrintOptionsDialog::DisableHelp ( )

Definition at line 184 of file printer.cxx.

References m_xHelpBtn.

Referenced by IMPL_LINK_NOARG().

◆ GetOptions()

const SfxItemSet & SfxPrintOptionsDialog::GetOptions ( ) const
inline

Definition at line 48 of file prnmon.hxx.

References pOptions.

Referenced by IMPL_LINK_NOARG().

◆ run()

short SfxPrintOptionsDialog::run ( )
overridevirtual

Reimplemented from weld::DialogController.

Definition at line 170 of file printer.cxx.

References m_xPage, pOptions, RET_CANCEL, and RET_OK.

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ m_xContainer

std::unique_ptr<weld::Container> SfxPrintOptionsDialog::m_xContainer
private

Definition at line 37 of file prnmon.hxx.

◆ m_xHelpBtn

std::unique_ptr<weld::Widget> SfxPrintOptionsDialog::m_xHelpBtn
private

Definition at line 36 of file prnmon.hxx.

Referenced by DisableHelp().

◆ m_xPage

std::unique_ptr<SfxTabPage> SfxPrintOptionsDialog::m_xPage
private

Definition at line 38 of file prnmon.hxx.

Referenced by run(), and SfxPrintOptionsDialog().

◆ pOptions

std::unique_ptr<SfxItemSet> SfxPrintOptionsDialog::pOptions
private

Definition at line 35 of file prnmon.hxx.

Referenced by GetOptions(), run(), and SfxPrintOptionsDialog().


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