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

#include <labfmt.hxx>

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

Public Member Functions

 SwLabFormatPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwLabFormatPage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void FillItem (SwLabItem &rItem)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
SwLabDlgGetParentSwLabDlg ()
 
- 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::SpinButton &, void)
 
 DECL_LINK (MetricModifyHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (PreviewHdl, Timer *, void)
 
 DECL_LINK (SaveHdl, weld::Button &, void)
 
void ChangeMinMax ()
 

Private Attributes

Idle m_aPreviewIdle
 
SwLabItem m_aItem
 
bool m_bModified
 
SwLabPreview m_aPreview
 
std::unique_ptr< weld::Labelm_xMakeFI
 
std::unique_ptr< weld::Labelm_xTypeFI
 
std::unique_ptr< weld::CustomWeldm_xPreview
 
std::unique_ptr< weld::MetricSpinButtonm_xHDistField
 
std::unique_ptr< weld::MetricSpinButtonm_xVDistField
 
std::unique_ptr< weld::MetricSpinButtonm_xWidthField
 
std::unique_ptr< weld::MetricSpinButtonm_xHeightField
 
std::unique_ptr< weld::MetricSpinButtonm_xLeftField
 
std::unique_ptr< weld::MetricSpinButtonm_xUpperField
 
std::unique_ptr< weld::SpinButtonm_xColsField
 
std::unique_ptr< weld::SpinButtonm_xRowsField
 
std::unique_ptr< weld::MetricSpinButtonm_xPWidthField
 
std::unique_ptr< weld::MetricSpinButtonm_xPHeightField
 
std::unique_ptr< weld::Buttonm_xSavePB
 

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 65 of file labfmt.hxx.

Constructor & Destructor Documentation

◆ SwLabFormatPage()

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

◆ ~SwLabFormatPage()

SwLabFormatPage::~SwLabFormatPage ( )
overridevirtual

Definition at line 339 of file labfmt.cxx.

Member Function Documentation

◆ ActivatePage()

void SwLabFormatPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 410 of file labfmt.cxx.

References Reset(), and rSet.

◆ ChangeMinMax()

void SwLabFormatPage::ChangeMinMax ( )
private

◆ Create()

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

Definition at line 405 of file labfmt.cxx.

References rSet.

Referenced by SwLabDlg::SwLabDlg().

◆ DeactivatePage()

DeactivateRC SwLabFormatPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 416 of file labfmt.cxx.

References FillItemSet().

◆ DECL_LINK() [1/4]

SwLabFormatPage::DECL_LINK ( MetricModifyHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/4]

SwLabFormatPage::DECL_LINK ( ModifyHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [3/4]

SwLabFormatPage::DECL_LINK ( PreviewHdl  ,
Timer ,
void   
)
private

◆ DECL_LINK() [4/4]

SwLabFormatPage::DECL_LINK ( SaveHdl  ,
weld::Button ,
void   
)
private

◆ FillItem()

void SwLabFormatPage::FillItem ( SwLabItem rItem)

◆ FillItemSet()

bool SwLabFormatPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 445 of file labfmt.cxx.

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

Referenced by DeactivatePage().

◆ GetParentSwLabDlg()

SwLabDlg * SwLabFormatPage::GetParentSwLabDlg ( )
inline

Definition at line 109 of file labfmt.hxx.

References SfxTabPage::GetDialogController().

Referenced by FillItem(), and Reset().

◆ Reset()

void SwLabFormatPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_aItem

SwLabItem SwLabFormatPage::m_aItem
private

Definition at line 68 of file labfmt.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_aPreview

SwLabPreview SwLabFormatPage::m_aPreview
private

Definition at line 71 of file labfmt.hxx.

◆ m_aPreviewIdle

Idle SwLabFormatPage::m_aPreviewIdle
private

Definition at line 67 of file labfmt.hxx.

Referenced by SwLabFormatPage().

◆ m_bModified

bool SwLabFormatPage::m_bModified
private

Definition at line 69 of file labfmt.hxx.

Referenced by FillItem().

◆ m_xColsField

std::unique_ptr<weld::SpinButton> SwLabFormatPage::m_xColsField
private

Definition at line 82 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xHDistField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xHDistField
private

Definition at line 76 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xHeightField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xHeightField
private

Definition at line 79 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xLeftField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xLeftField
private

Definition at line 80 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xMakeFI

std::unique_ptr<weld::Label> SwLabFormatPage::m_xMakeFI
private

Definition at line 73 of file labfmt.hxx.

Referenced by Reset().

◆ m_xPHeightField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xPHeightField
private

Definition at line 85 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xPreview

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

Definition at line 75 of file labfmt.hxx.

◆ m_xPWidthField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xPWidthField
private

Definition at line 84 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xRowsField

std::unique_ptr<weld::SpinButton> SwLabFormatPage::m_xRowsField
private

Definition at line 83 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xSavePB

std::unique_ptr<weld::Button> SwLabFormatPage::m_xSavePB
private

Definition at line 86 of file labfmt.hxx.

Referenced by SwLabFormatPage().

◆ m_xTypeFI

std::unique_ptr<weld::Label> SwLabFormatPage::m_xTypeFI
private

Definition at line 74 of file labfmt.hxx.

Referenced by Reset().

◆ m_xUpperField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xUpperField
private

Definition at line 81 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xVDistField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xVDistField
private

Definition at line 77 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().

◆ m_xWidthField

std::unique_ptr<weld::MetricSpinButton> SwLabFormatPage::m_xWidthField
private

Definition at line 78 of file labfmt.hxx.

Referenced by ChangeMinMax(), FillItem(), Reset(), and SwLabFormatPage().


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