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

#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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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
 

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::Button &, 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 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)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 82 of file envlop.hxx.

Constructor & Destructor Documentation

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

Definition at line 227 of file envlop1.cxx.

Member Function Documentation

void SwEnvPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 305 of file envlop1.cxx.

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

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

Definition at line 300 of file envlop1.cxx.

Referenced by SwEnvDlg::SwEnvDlg().

DeactivateRC SwEnvPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 312 of file envlop1.cxx.

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

SwEnvPage::DECL_LINK ( DatabaseHdl  ,
weld::ComboBox ,
void   
)
private
SwEnvPage::DECL_LINK ( FieldHdl  ,
weld::Button ,
void   
)
private
SwEnvPage::DECL_LINK ( SenderHdl  ,
weld::Button ,
void   
)
private
void SwEnvPage::FillItem ( SwEnvItem rItem)
bool SwEnvPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 327 of file envlop1.cxx.

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

Referenced by DeactivatePage().

SwEnvDlg* SwEnvPage::GetParentSwEnvDlg ( )
inlineprivate

Definition at line 104 of file envlop.hxx.

References m_pDialog.

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

void SwEnvPage::Init ( SwEnvDlg pDialog)
void SwEnvPage::InitDatabaseBox ( )
private
void SwEnvPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

SwEnvPreview SwEnvPage::m_aPreview
private

Definition at line 88 of file envlop.hxx.

Referenced by Init().

SwEnvDlg* SwEnvPage::m_pDialog
private

Definition at line 84 of file envlop.hxx.

Referenced by GetParentSwEnvDlg(), and Init().

SwWrtShell* SwEnvPage::m_pSh
private

Definition at line 85 of file envlop.hxx.

Referenced by Init(), and InitDatabaseBox().

OUString SwEnvPage::m_sActDBName
private

Definition at line 86 of file envlop.hxx.

Referenced by Init(), and InitDatabaseBox().

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

Definition at line 89 of file envlop.hxx.

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

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

Definition at line 90 of file envlop.hxx.

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

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

Definition at line 92 of file envlop.hxx.

Referenced by InitDatabaseBox(), and SwEnvPage().

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

Definition at line 93 of file envlop.hxx.

Referenced by Init().

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

Definition at line 96 of file envlop.hxx.

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

Definition at line 94 of file envlop.hxx.

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

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

Definition at line 95 of file envlop.hxx.

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

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

Definition at line 91 of file envlop.hxx.

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


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