LibreOffice Module sw (master) 1
|
#include <envlop.hxx>
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 SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (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 () |
SwEnvDlg * | GetParentSwEnvDlg () |
Private Attributes | |
SwEnvDlg * | m_pDialog |
SwWrtShell * | m_pSh |
OUString | m_sActDBName |
SwEnvPreview | m_aPreview |
std::unique_ptr< weld::TextView > | m_xAddrEdit |
std::unique_ptr< weld::ComboBox > | m_xDatabaseLB |
std::unique_ptr< weld::ComboBox > | m_xTableLB |
std::unique_ptr< weld::ComboBox > | m_xDBFieldLB |
std::unique_ptr< weld::Button > | m_xInsertBT |
std::unique_ptr< weld::CheckButton > | m_xSenderBox |
std::unique_ptr< weld::TextView > | m_xSenderEdit |
std::unique_ptr< weld::CustomWeld > | m_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 SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 83 of file envlop.hxx.
SwEnvPage::SwEnvPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 180 of file envlop1.cxx.
References m_xAddrEdit, m_xDatabaseLB, m_xDBFieldLB, m_xSenderEdit, m_xTableLB, rSet, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 224 of file envlop1.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 302 of file envlop1.cxx.
References GetParentSwEnvDlg(), SfxItemSet::Put(), Reset(), and rSet.
|
static |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 309 of file envlop1.cxx.
References FillItem(), FillItemSet(), and GetParentSwEnvDlg().
|
private |
|
private |
|
private |
void SwEnvPage::FillItem | ( | SwEnvItem & | rItem | ) |
Definition at line 317 of file envlop1.cxx.
References SwEnvItem::m_aAddrText, SwEnvItem::m_aSendText, SwEnvItem::m_bSend, m_xAddrEdit, m_xSenderBox, and m_xSenderEdit.
Referenced by DeactivatePage(), and FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 324 of file envlop1.cxx.
References FillItem(), GetParentSwEnvDlg(), SfxItemSet::Put(), and rSet.
Referenced by DeactivatePage().
|
inlineprivate |
Definition at line 105 of file envlop.hxx.
References m_pDialog.
Referenced by ActivatePage(), DeactivatePage(), and FillItemSet().
void SwEnvPage::Init | ( | SwEnvDlg * | pDialog | ) |
Definition at line 207 of file envlop1.cxx.
References SL::aData, DB_DELIM, SwEditShell::GetDBData(), InitDatabaseBox(), LINK, m_aPreview, m_pDialog, SwEnvDlg::m_pSh, m_pSh, m_sActDBName, m_xDatabaseLB, m_xInsertBT, m_xSenderBox, m_xTableLB, and SwEnvPreview::SetDialog().
|
private |
Definition at line 273 of file envlop1.cxx.
References DB_DELIM, SwDBManager::GetColumnNames(), SwEditShell::GetDBManager(), SwDBManager::GetExistingDatabaseNames(), SwDBManager::GetTableNames(), m_pSh, m_sActDBName, m_xDatabaseLB, m_xDBFieldLB, and m_xTableLB.
Referenced by Init().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 331 of file envlop1.cxx.
References convertLineEnd(), FN_ENVELOP, SfxItemSet::Get(), GetSystemLineEnd(), SwEnvItem::m_aAddrText, SwEnvItem::m_aSendText, SwEnvItem::m_bSend, m_xAddrEdit, m_xSenderBox, m_xSenderEdit, and rSet.
Referenced by ActivatePage().
|
private |
Definition at line 89 of file envlop.hxx.
Referenced by Init().
|
private |
Definition at line 85 of file envlop.hxx.
Referenced by GetParentSwEnvDlg(), and Init().
|
private |
Definition at line 86 of file envlop.hxx.
Referenced by Init(), and InitDatabaseBox().
|
private |
Definition at line 87 of file envlop.hxx.
Referenced by Init(), and InitDatabaseBox().
|
private |
Definition at line 90 of file envlop.hxx.
Referenced by FillItem(), Reset(), and SwEnvPage().
|
private |
Definition at line 91 of file envlop.hxx.
Referenced by Init(), InitDatabaseBox(), and SwEnvPage().
|
private |
Definition at line 93 of file envlop.hxx.
Referenced by InitDatabaseBox(), and SwEnvPage().
|
private |
Definition at line 94 of file envlop.hxx.
Referenced by Init().
|
private |
Definition at line 97 of file envlop.hxx.
|
private |
Definition at line 95 of file envlop.hxx.
Referenced by FillItem(), Init(), and Reset().
|
private |
Definition at line 96 of file envlop.hxx.
Referenced by FillItem(), Reset(), and SwEnvPage().
|
private |
Definition at line 92 of file envlop.hxx.
Referenced by Init(), InitDatabaseBox(), and SwEnvPage().