19#ifndef INCLUDED_SW_SOURCE_UIBASE_INC_ENVLOP_HXX
20#define INCLUDED_SW_SOURCE_UIBASE_INC_ENVLOP_HXX
27#define GetFieldVal(rField) (rField).Denormalize((rField).GetValue(FieldUnit::TWIP))
28#define SetFieldVal(rField, lValue) (rField).SetValue((rField).Normalize(lValue), FieldUnit::TWIP)
75 virtual short Ok()
override;
112 static std::unique_ptr<SfxTabPage>
std::unique_ptr< SfxItemSet > m_pSenderSet
virtual void PageCreated(const OUString &rId, SfxTabPage &rPage) override
virtual ~SwEnvDlg() override
std::unique_ptr< weld::Button > m_xModify
VclPtr< Printer > m_pPrinter
virtual short Ok() override
SwEnvDlg(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert)
std::unique_ptr< SfxItemSet > m_pAddresseeSet
DECL_LINK(FieldHdl, weld::Button &, void)
std::unique_ptr< weld::ComboBox > m_xDBFieldLB
virtual void ActivatePage(const SfxItemSet &rSet) override
SwEnvDlg * GetParentSwEnvDlg()
virtual bool FillItemSet(SfxItemSet *rSet) override
SwEnvPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
std::unique_ptr< weld::CheckButton > m_xSenderBox
std::unique_ptr< weld::ComboBox > m_xTableLB
std::unique_ptr< weld::TextView > m_xAddrEdit
DECL_LINK(DatabaseHdl, weld::ComboBox &, void)
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
std::unique_ptr< weld::TextView > m_xSenderEdit
std::unique_ptr< weld::ComboBox > m_xDatabaseLB
std::unique_ptr< weld::Button > m_xInsertBT
virtual ~SwEnvPage() override
std::unique_ptr< weld::CustomWeld > m_xPreview
void FillItem(SwEnvItem &rItem)
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
void Init(SwEnvDlg *pDialog)
DECL_LINK(SenderHdl, weld::Toggleable &, void)
virtual void Reset(const SfxItemSet *rSet) override
void SetDialog(SwEnvDlg *pDialog)
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
Used by the UI to modify the document model.
int getfieldval(const weld::MetricSpinButton &rField)
void setfieldval(weld::MetricSpinButton &rField, int lValue)