LibreOffice Module sw (master)
1
|
#include <envfmt.hxx>
Public Member Functions | |
SwEnvFormatPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
void | Init (SwEnvDlg *pDialog) |
virtual | ~SwEnvFormatPage () 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 |
![]() | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () 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 SfxItemSet * | GetDialogExampleSet () const |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
![]() | |
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 (ModifyHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (AddrEditHdl, const OString &, void) | |
DECL_LINK (SendEditHdl, const OString &, void) | |
DECL_LINK (FormatHdl, weld::ComboBox &, void) | |
void | SetMinMax () |
SfxItemSet * | GetCollItemSet (SwTextFormatColl const *pColl, bool bSender) |
void | Edit (const OString &rIdent, bool bSender) |
SwEnvDlg * | GetParentSwEnvDlg () |
Private Attributes | |
SwEnvDlg * | m_pDialog |
std::vector< sal_uInt16 > | m_aIDs |
SwEnvPreview | m_aPreview |
std::unique_ptr< weld::MetricSpinButton > | m_xAddrLeftField |
std::unique_ptr< weld::MetricSpinButton > | m_xAddrTopField |
std::unique_ptr< weld::MenuButton > | m_xAddrEditButton |
std::unique_ptr< weld::MetricSpinButton > | m_xSendLeftField |
std::unique_ptr< weld::MetricSpinButton > | m_xSendTopField |
std::unique_ptr< weld::MenuButton > | m_xSendEditButton |
std::unique_ptr< weld::ComboBox > | m_xSizeFormatBox |
std::unique_ptr< weld::MetricSpinButton > | m_xSizeWidthField |
std::unique_ptr< weld::MetricSpinButton > | m_xSizeHeightField |
std::unique_ptr< weld::CustomWeld > | m_xPreview |
Additional Inherited Members | |
![]() | |
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 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 27 of file envfmt.hxx.
SwEnvFormatPage::SwEnvFormatPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 111 of file envfmt.cxx.
References CM, GetDfltMetric(), SvxPaperInfo::GetName(), LINK, m_aIDs, m_xAddrEditButton, m_xAddrLeftField, m_xAddrTopField, m_xSendEditButton, m_xSendLeftField, m_xSendTopField, m_xSizeFormatBox, m_xSizeHeightField, m_xSizeWidthField, nPos, PAPER_A3, PAPER_KAI32BIG, PAPER_USER, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 180 of file envfmt.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 412 of file envfmt.cxx.
References GetParentSwEnvDlg(), SfxItemSet::Put(), and Reset().
|
static |
Definition at line 407 of file envfmt.cxx.
Referenced by SwEnvDlg::SwEnvDlg().
|
overridevirtual |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 229 of file envfmt.cxx.
References SfxItemSet::ClearItem(), ConvertAttrCharToGen(), ConvertAttrGenToChar(), SfxItemSet::Count(), SwAbstractDialogFactory::CreateSwCharDlg(), DLG_ENVELOP, Env, SfxItemSet::Get(), GetCollItemSet(), SwView::GetCurShell(), SfxItemPool::GetDefaultItem(), swui::GetFactory(), SfxTabPage::GetFrameWeld(), SfxItemSet::GetItemState(), SwFormat::GetName(), SfxAbstractDialog::GetOutputItemSet(), GetParentSwEnvDlg(), SfxShell::GetPool(), GetTabDist(), SwEditShell::GetTextCollFromPool(), GetValue, SwWrtShell::GetView(), MakeDefTabs(), PrepareBoxInfo(), SwEnvDlg::pSh, SfxItemSet::Put(), RES_LR_SPACE(), RES_PARATR_TABSTOP(), RES_POOLCOLL_ENVELOPE_ADDRESS, RES_POOLCOLL_SEND_ADDRESS, RET_OK, and SwEditShell::SetDefault().
Definition at line 426 of file envfmt.cxx.
References getfieldval(), SvxPaperInfo::GetPaperSize(), Size::Height(), m_aIDs, SwEnvItem::m_nAddrFromLeft, SwEnvItem::m_nAddrFromTop, SwEnvItem::m_nHeight, SwEnvItem::m_nSendFromLeft, SwEnvItem::m_nSendFromTop, SwEnvItem::m_nWidth, m_xAddrLeftField, m_xAddrTopField, m_xSendLeftField, m_xSendTopField, m_xSizeFormatBox, m_xSizeHeightField, m_xSizeWidthField, PAPER_USER, and Size::Width().
Referenced by FillItemSet().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 450 of file envfmt.cxx.
References FillItem(), GetParentSwEnvDlg(), and SfxItemSet::Put().
Referenced by DeactivatePage().
|
private |
Definition at line 312 of file envfmt.cxx.
References SwFormat::GetAttrSet(), GetParentSwEnvDlg(), SfxItemSet::GetRanges(), SwEnvDlg::pAddresseeSet, SwEnvDlg::pSenderSet, RES_BACKGROUND(), RES_LR_SPACE(), RES_PARATR_ADJUST(), RES_PARATR_BEGIN(), RES_PARATR_END(), RES_PARATR_TABSTOP(), RES_SHADOW(), and RES_UL_SPACE().
Referenced by Edit().
|
inlineprivate |
Definition at line 55 of file envfmt.hxx.
References m_pDialog.
Referenced by ActivatePage(), Edit(), FillItemSet(), GetCollItemSet(), and Reset().
Definition at line 174 of file envfmt.cxx.
References m_aPreview, m_pDialog, and SwEnvPreview::SetDialog().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 457 of file envfmt.cxx.
References FN_ENVELOP, SfxItemSet::Get(), GetParentSwEnvDlg(), SvxPaperInfo::GetSvxPaper(), m_aIDs, SwEnvItem::m_nAddrFromLeft, SwEnvItem::m_nAddrFromTop, SwEnvItem::m_nHeight, SwEnvItem::m_nSendFromLeft, SwEnvItem::m_nSendFromTop, SwEnvItem::m_nWidth, m_xAddrLeftField, m_xAddrTopField, m_xSendLeftField, m_xSendTopField, m_xSizeFormatBox, m_xSizeHeightField, m_xSizeWidthField, SwEnvDlg::pAddresseeSet, SwEnvDlg::pSenderSet, setfieldval(), and SetMinMax().
Referenced by ActivatePage().
|
private |
Definition at line 388 of file envfmt.cxx.
References getfieldval(), m_xAddrLeftField, m_xAddrTopField, m_xSendLeftField, m_xSendTopField, m_xSizeHeightField, and m_xSizeWidthField.
Referenced by Reset().
|
private |
Definition at line 30 of file envfmt.hxx.
Referenced by FillItem(), Reset(), and SwEnvFormatPage().
|
private |
Definition at line 32 of file envfmt.hxx.
Referenced by Init().
|
private |
Definition at line 29 of file envfmt.hxx.
Referenced by GetParentSwEnvDlg(), and Init().
|
private |
Definition at line 35 of file envfmt.hxx.
Referenced by SwEnvFormatPage().
|
private |
Definition at line 33 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().
|
private |
Definition at line 34 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().
|
private |
Definition at line 42 of file envfmt.hxx.
|
private |
Definition at line 38 of file envfmt.hxx.
Referenced by SwEnvFormatPage().
|
private |
Definition at line 36 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().
|
private |
Definition at line 37 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().
|
private |
Definition at line 39 of file envfmt.hxx.
Referenced by FillItem(), Reset(), and SwEnvFormatPage().
|
private |
Definition at line 41 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().
|
private |
Definition at line 40 of file envfmt.hxx.
Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().