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

#include <envlop.hxx>

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

Public Member Functions

 SwEnvPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
void Init (SwEnvDlg *pDialog)
 
virtual ~SwEnvPage () 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
 
- 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 (DatabaseHdl, weld::ComboBox &, void)
 
 DECL_LINK (FieldHdl, weld::Button &, void)
 
 DECL_LINK (SenderHdl, weld::Toggleable &, void)
 
void InitDatabaseBox ()
 
SwEnvDlgGetParentSwEnvDlg ()
 

Private Attributes

SwEnvDlgm_pDialog
 
SwWrtShellm_pSh
 
OUString m_sActDBName
 
SwEnvPreview m_aPreview
 
std::unique_ptr< weld::TextViewm_xAddrEdit
 
std::unique_ptr< weld::ComboBoxm_xDatabaseLB
 
std::unique_ptr< weld::ComboBoxm_xTableLB
 
std::unique_ptr< weld::ComboBoxm_xDBFieldLB
 
std::unique_ptr< weld::Buttonm_xInsertBT
 
std::unique_ptr< weld::CheckButtonm_xSenderBox
 
std::unique_ptr< weld::TextViewm_xSenderEdit
 
std::unique_ptr< weld::CustomWeldm_xPreview
 

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 83 of file envlop.hxx.

Constructor & Destructor Documentation

◆ SwEnvPage()

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

◆ ~SwEnvPage()

SwEnvPage::~SwEnvPage ( )
overridevirtual

Definition at line 224 of file envlop1.cxx.

Member Function Documentation

◆ ActivatePage()

void SwEnvPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 302 of file envlop1.cxx.

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

◆ Create()

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

Definition at line 297 of file envlop1.cxx.

References rSet.

Referenced by SwEnvDlg::SwEnvDlg().

◆ DeactivatePage()

DeactivateRC SwEnvPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 309 of file envlop1.cxx.

References FillItem(), FillItemSet(), and GetParentSwEnvDlg().

◆ DECL_LINK() [1/3]

SwEnvPage::DECL_LINK ( DatabaseHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [2/3]

SwEnvPage::DECL_LINK ( FieldHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

SwEnvPage::DECL_LINK ( SenderHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItem()

void SwEnvPage::FillItem ( SwEnvItem rItem)

◆ FillItemSet()

bool SwEnvPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 324 of file envlop1.cxx.

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

Referenced by DeactivatePage().

◆ GetParentSwEnvDlg()

SwEnvDlg * SwEnvPage::GetParentSwEnvDlg ( )
inlineprivate

Definition at line 105 of file envlop.hxx.

References m_pDialog.

Referenced by ActivatePage(), DeactivatePage(), and FillItemSet().

◆ Init()

void SwEnvPage::Init ( SwEnvDlg pDialog)

◆ InitDatabaseBox()

void SwEnvPage::InitDatabaseBox ( )
private

◆ Reset()

void SwEnvPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_aPreview

SwEnvPreview SwEnvPage::m_aPreview
private

Definition at line 89 of file envlop.hxx.

Referenced by Init().

◆ m_pDialog

SwEnvDlg* SwEnvPage::m_pDialog
private

Definition at line 85 of file envlop.hxx.

Referenced by GetParentSwEnvDlg(), and Init().

◆ m_pSh

SwWrtShell* SwEnvPage::m_pSh
private

Definition at line 86 of file envlop.hxx.

Referenced by Init(), and InitDatabaseBox().

◆ m_sActDBName

OUString SwEnvPage::m_sActDBName
private

Definition at line 87 of file envlop.hxx.

Referenced by Init(), and InitDatabaseBox().

◆ m_xAddrEdit

std::unique_ptr<weld::TextView> SwEnvPage::m_xAddrEdit
private

Definition at line 90 of file envlop.hxx.

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

◆ m_xDatabaseLB

std::unique_ptr<weld::ComboBox> SwEnvPage::m_xDatabaseLB
private

Definition at line 91 of file envlop.hxx.

Referenced by Init(), InitDatabaseBox(), and SwEnvPage().

◆ m_xDBFieldLB

std::unique_ptr<weld::ComboBox> SwEnvPage::m_xDBFieldLB
private

Definition at line 93 of file envlop.hxx.

Referenced by InitDatabaseBox(), and SwEnvPage().

◆ m_xInsertBT

std::unique_ptr<weld::Button> SwEnvPage::m_xInsertBT
private

Definition at line 94 of file envlop.hxx.

Referenced by Init().

◆ m_xPreview

std::unique_ptr<weld::CustomWeld> SwEnvPage::m_xPreview
private

Definition at line 97 of file envlop.hxx.

◆ m_xSenderBox

std::unique_ptr<weld::CheckButton> SwEnvPage::m_xSenderBox
private

Definition at line 95 of file envlop.hxx.

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

◆ m_xSenderEdit

std::unique_ptr<weld::TextView> SwEnvPage::m_xSenderEdit
private

Definition at line 96 of file envlop.hxx.

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

◆ m_xTableLB

std::unique_ptr<weld::ComboBox> SwEnvPage::m_xTableLB
private

Definition at line 92 of file envlop.hxx.

Referenced by Init(), InitDatabaseBox(), and SwEnvPage().


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