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

#include <envfmt.hxx>

Inheritance diagram for SwEnvFormatPage:
[legend]
Collaboration diagram for SwEnvFormatPage:
[legend]

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
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

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 (ModifyHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (AddrEditHdl, const OUString &, void)
 
 DECL_LINK (SendEditHdl, const OUString &, void)
 
 DECL_LINK (FormatHdl, weld::ComboBox &, void)
 
void SetMinMax ()
 
SfxItemSetGetCollItemSet (SwTextFormatColl const *pColl, bool bSender)
 
void Edit (std::u16string_view rIdent, bool bSender)
 
SwEnvDlgGetParentSwEnvDlg ()
 

Private Attributes

SwEnvDlgm_pDialog
 
std::vector< sal_uInt16 > m_aIDs
 
SwEnvPreview m_aPreview
 
std::unique_ptr< weld::MetricSpinButtonm_xAddrLeftField
 
std::unique_ptr< weld::MetricSpinButtonm_xAddrTopField
 
std::unique_ptr< weld::MenuButtonm_xAddrEditButton
 
std::unique_ptr< weld::MetricSpinButtonm_xSendLeftField
 
std::unique_ptr< weld::MetricSpinButtonm_xSendTopField
 
std::unique_ptr< weld::MenuButtonm_xSendEditButton
 
std::unique_ptr< weld::ComboBoxm_xSizeFormatBox
 
std::unique_ptr< weld::MetricSpinButtonm_xSizeWidthField
 
std::unique_ptr< weld::MetricSpinButtonm_xSizeHeightField
 
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 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 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 30 of file envfmt.hxx.

Constructor & Destructor Documentation

◆ SwEnvFormatPage()

SwEnvFormatPage::SwEnvFormatPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)

◆ ~SwEnvFormatPage()

SwEnvFormatPage::~SwEnvFormatPage ( )
overridevirtual

Definition at line 123 of file envfmt.cxx.

Member Function Documentation

◆ ActivatePage()

void SwEnvFormatPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 356 of file envfmt.cxx.

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

◆ Create()

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

Definition at line 351 of file envfmt.cxx.

References rSet.

Referenced by SwEnvDlg::SwEnvDlg().

◆ DeactivatePage()

DeactivateRC SwEnvFormatPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 363 of file envfmt.cxx.

References FillItemSet().

◆ DECL_LINK() [1/4]

SwEnvFormatPage::DECL_LINK ( AddrEditHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/4]

SwEnvFormatPage::DECL_LINK ( FormatHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/4]

SwEnvFormatPage::DECL_LINK ( ModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [4/4]

SwEnvFormatPage::DECL_LINK ( SendEditHdl  ,
const OUString &  ,
void   
)
private

◆ Edit()

void SwEnvFormatPage::Edit ( std::u16string_view  rIdent,
bool  bSender 
)
private

◆ FillItem()

void SwEnvFormatPage::FillItem ( SwEnvItem rItem)

◆ FillItemSet()

bool SwEnvFormatPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 394 of file envfmt.cxx.

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

Referenced by DeactivatePage().

◆ GetCollItemSet()

SfxItemSet * SwEnvFormatPage::GetCollItemSet ( SwTextFormatColl const *  pColl,
bool  bSender 
)
private

◆ GetParentSwEnvDlg()

SwEnvDlg * SwEnvFormatPage::GetParentSwEnvDlg ( )
inlineprivate

Definition at line 58 of file envfmt.hxx.

References m_pDialog.

Referenced by ActivatePage(), Edit(), FillItemSet(), GetCollItemSet(), and Reset().

◆ Init()

void SwEnvFormatPage::Init ( SwEnvDlg pDialog)

Definition at line 117 of file envfmt.cxx.

References m_aPreview, m_pDialog, and SwEnvPreview::SetDialog().

◆ Reset()

void SwEnvFormatPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetMinMax()

void SwEnvFormatPage::SetMinMax ( )
private

Member Data Documentation

◆ m_aIDs

std::vector<sal_uInt16> SwEnvFormatPage::m_aIDs
private

Definition at line 33 of file envfmt.hxx.

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

◆ m_aPreview

SwEnvPreview SwEnvFormatPage::m_aPreview
private

Definition at line 35 of file envfmt.hxx.

Referenced by Init().

◆ m_pDialog

SwEnvDlg* SwEnvFormatPage::m_pDialog
private

Definition at line 32 of file envfmt.hxx.

Referenced by GetParentSwEnvDlg(), and Init().

◆ m_xAddrEditButton

std::unique_ptr<weld::MenuButton> SwEnvFormatPage::m_xAddrEditButton
private

Definition at line 38 of file envfmt.hxx.

Referenced by SwEnvFormatPage().

◆ m_xAddrLeftField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xAddrLeftField
private

Definition at line 36 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().

◆ m_xAddrTopField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xAddrTopField
private

Definition at line 37 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().

◆ m_xPreview

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

Definition at line 45 of file envfmt.hxx.

◆ m_xSendEditButton

std::unique_ptr<weld::MenuButton> SwEnvFormatPage::m_xSendEditButton
private

Definition at line 41 of file envfmt.hxx.

Referenced by SwEnvFormatPage().

◆ m_xSendLeftField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xSendLeftField
private

Definition at line 39 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().

◆ m_xSendTopField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xSendTopField
private

Definition at line 40 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().

◆ m_xSizeFormatBox

std::unique_ptr<weld::ComboBox> SwEnvFormatPage::m_xSizeFormatBox
private

Definition at line 42 of file envfmt.hxx.

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

◆ m_xSizeHeightField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xSizeHeightField
private

Definition at line 44 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().

◆ m_xSizeWidthField

std::unique_ptr<weld::MetricSpinButton> SwEnvFormatPage::m_xSizeWidthField
private

Definition at line 43 of file envfmt.hxx.

Referenced by FillItem(), Reset(), SetMinMax(), and SwEnvFormatPage().


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