LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwEnvDlg Class Referencefinal

#include <envlop.hxx>

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

Public Member Functions

 SwEnvDlg (weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert)
 
virtual ~SwEnvDlg () override
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OString &rName)
 
void SetCurPageId (const OString &rName)
 
void ShowPage (const OString &rName)
 
OString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const WhichRangesContainerGetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () const
 
weld::ButtonGetStandardButton () const
 
weld::ButtonGetApplyButton () const
 
weld::ButtonGetResetButton () const
 
void RemoveResetButton ()
 
void RemoveStandardButton ()
 
virtual short run () override
 
virtual const SfxItemSetGetExampleSet () const override
 
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
 
bool Apply ()
 
void Applied ()
 
std::vector< OString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog (int nResponse)
 

Private Member Functions

virtual void PageCreated (const OString &rId, SfxTabPage &rPage) override
 
virtual short Ok () override
 

Private Attributes

SwEnvItem m_aEnvItem
 
SwWrtShellm_pSh
 
VclPtr< Printerm_pPrinter
 
std::unique_ptr< SfxItemSetm_pAddresseeSet
 
std::unique_ptr< SfxItemSetm_pSenderSet
 
std::unique_ptr< weld::Buttonm_xModify
 

Friends

class SwEnvPage
 
class SwEnvFormatPage
 
class SwEnvPrtPage
 
class SwEnvPreview
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
 
virtual short Ok ()
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OString &rName)
 
virtual void PageCreated (const OString &rName, SfxTabPage &rPage)
 
virtual void ActivatePage (const OString &rPage)
 
bool DeactivatePage (std::string_view aPage)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (std::string_view rPageId) const
 
bool PrepareLeaveCurrentPage ()
 
void SavePosAndId ()
 
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
 
std::unique_ptr< SfxItemSetm_xExampleSet
 

Detailed Description

Definition at line 59 of file envlop.hxx.

Constructor & Destructor Documentation

◆ SwEnvDlg()

SwEnvDlg::SwEnvDlg ( weld::Window pParent,
const SfxItemSet rSet,
SwWrtShell pWrtSh,
Printer pPrt,
bool  bInsert 
)

◆ ~SwEnvDlg()

SwEnvDlg::~SwEnvDlg ( )
overridevirtual

Definition at line 137 of file envlop1.cxx.

References m_pAddresseeSet, and m_pSenderSet.

Member Function Documentation

◆ Ok()

short SwEnvDlg::Ok ( )
overrideprivatevirtual

◆ PageCreated()

void SwEnvDlg::PageCreated ( const OString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 143 of file envlop1.cxx.

References Init(), and m_pPrinter.

Friends And Related Function Documentation

◆ SwEnvFormatPage

friend class SwEnvFormatPage
friend

Definition at line 62 of file envlop.hxx.

◆ SwEnvPage

friend class SwEnvPage
friend

Definition at line 61 of file envlop.hxx.

◆ SwEnvPreview

friend class SwEnvPreview
friend

Definition at line 64 of file envlop.hxx.

◆ SwEnvPrtPage

friend class SwEnvPrtPage
friend

Definition at line 63 of file envlop.hxx.

Member Data Documentation

◆ m_aEnvItem

SwEnvItem SwEnvDlg::m_aEnvItem
private

Definition at line 66 of file envlop.hxx.

Referenced by SwEnvPreview::Paint().

◆ m_pAddresseeSet

std::unique_ptr<SfxItemSet> SwEnvDlg::m_pAddresseeSet
private

Definition at line 69 of file envlop.hxx.

Referenced by SwEnvFormatPage::GetCollItemSet(), Ok(), SwEnvFormatPage::Reset(), and ~SwEnvDlg().

◆ m_pPrinter

VclPtr<Printer> SwEnvDlg::m_pPrinter
private

Definition at line 68 of file envlop.hxx.

Referenced by PageCreated().

◆ m_pSenderSet

std::unique_ptr<SfxItemSet> SwEnvDlg::m_pSenderSet
private

Definition at line 70 of file envlop.hxx.

Referenced by SwEnvFormatPage::GetCollItemSet(), Ok(), SwEnvFormatPage::Reset(), and ~SwEnvDlg().

◆ m_pSh

SwWrtShell* SwEnvDlg::m_pSh
private

Definition at line 67 of file envlop.hxx.

Referenced by SwEnvFormatPage::Edit(), SwEnvPage::Init(), and Ok().

◆ m_xModify

std::unique_ptr<weld::Button> SwEnvDlg::m_xModify
private

Definition at line 72 of file envlop.hxx.

Referenced by SwEnvDlg().


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