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 (TabPageParent pParent, 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
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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 OString &, void)
 
 DECL_LINK (SendEditHdl, const OString &, void)
 
 DECL_LINK (FormatHdl, weld::ComboBox &, void)
 
void SetMinMax ()
 
SfxItemSetGetCollItemSet (SwTextFormatColl const *pColl, bool bSender)
 
void Edit (const OString &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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 27 of file envfmt.hxx.

Constructor & Destructor Documentation

SwEnvFormatPage::SwEnvFormatPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
SwEnvFormatPage::~SwEnvFormatPage ( )
overridevirtual

Definition at line 187 of file envfmt.cxx.

Member Function Documentation

void SwEnvFormatPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 420 of file envfmt.cxx.

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

VclPtr< SfxTabPage > SwEnvFormatPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static

Definition at line 415 of file envfmt.cxx.

References VclPtr< reference_type >::Create().

Referenced by SwEnvDlg::SwEnvDlg().

DeactivateRC SwEnvFormatPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 427 of file envfmt.cxx.

References FillItemSet().

SwEnvFormatPage::DECL_LINK ( ModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private
SwEnvFormatPage::DECL_LINK ( AddrEditHdl  ,
const OString &  ,
void   
)
private
SwEnvFormatPage::DECL_LINK ( SendEditHdl  ,
const OString &  ,
void   
)
private
SwEnvFormatPage::DECL_LINK ( FormatHdl  ,
weld::ComboBox ,
void   
)
private
void SwEnvFormatPage::Edit ( const OString &  rIdent,
bool  bSender 
)
private
void SwEnvFormatPage::FillItem ( SwEnvItem rItem)
bool SwEnvFormatPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 458 of file envfmt.cxx.

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

Referenced by DeactivatePage().

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

Definition at line 55 of file envfmt.hxx.

References m_pDialog.

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

void SwEnvFormatPage::Init ( SwEnvDlg pDialog)

Definition at line 181 of file envfmt.cxx.

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

void SwEnvFormatPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwEnvFormatPage::SetMinMax ( )
private

Member Data Documentation

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

Definition at line 30 of file envfmt.hxx.

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

SwEnvPreview SwEnvFormatPage::m_aPreview
private

Definition at line 32 of file envfmt.hxx.

Referenced by Init().

SwEnvDlg* SwEnvFormatPage::m_pDialog
private

Definition at line 29 of file envfmt.hxx.

Referenced by GetParentSwEnvDlg(), and Init().

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

Definition at line 35 of file envfmt.hxx.

Referenced by SwEnvFormatPage().

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

Definition at line 33 of file envfmt.hxx.

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

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

Definition at line 34 of file envfmt.hxx.

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

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

Definition at line 42 of file envfmt.hxx.

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

Definition at line 38 of file envfmt.hxx.

Referenced by SwEnvFormatPage().

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

Definition at line 36 of file envfmt.hxx.

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

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

Definition at line 37 of file envfmt.hxx.

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

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

Definition at line 39 of file envfmt.hxx.

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

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

Definition at line 41 of file envfmt.hxx.

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

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

Definition at line 40 of file envfmt.hxx.

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


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