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>
virtual DeactivateRC DeactivatePage(SfxItemSet *pSet) override
virtual void ActivatePage(const SfxItemSet &rSet) override
virtual bool FillItemSet(SfxItemSet *rSet) override
std::unique_ptr< weld::TextView > m_xSenderEdit
std::unique_ptr< weld::ComboBox > m_xTableLB
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
std::unique_ptr< weld::ComboBox > m_xDatabaseLB
virtual short Ok() override
static std::unique_ptr< SfxTabPage > Create(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
std::unique_ptr< weld::Button > m_xModify
SwEnvDlg(weld::Window *pParent, const SfxItemSet &rSet, SwWrtShell *pWrtSh, Printer *pPrt, bool bInsert)
virtual ~SwEnvPage() override
Used by the UI to modify the document model.
virtual void SetDrawingArea(weld::DrawingArea *pDrawingArea) override
std::unique_ptr< SfxItemSet > pAddresseeSet
VclPtr< Printer > pPrinter
std::unique_ptr< weld::CheckButton > m_xSenderBox
SwEnvPage(weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
DECL_LINK(DatabaseHdl, weld::ComboBox &, void)
std::unique_ptr< SfxItemSet > pSenderSet
void SetDialog(SwEnvDlg *pDialog)
SwEnvDlg * GetParentSwEnvDlg()
void FillItem(SwEnvItem &rItem)
std::unique_ptr< weld::ComboBox > m_xDBFieldLB
std::unique_ptr< weld::Button > m_xInsertBT
std::unique_ptr< weld::CustomWeld > m_xPreview
virtual ~SwEnvDlg() override
int getfieldval(const weld::MetricSpinButton &rField)
virtual void Reset(const SfxItemSet *rSet) override
void Init(SwEnvDlg *pDialog)
virtual void PageCreated(const OString &rId, SfxTabPage &rPage) override
void setfieldval(weld::MetricSpinButton &rField, int lValue)
std::unique_ptr< weld::TextView > m_xAddrEdit