LibreOffice Module svx (master)  1
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
SvxHFPage Class Reference

#include <hdft.hxx>

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

Public Member Functions

virtual bool FillItemSet (SfxItemSet *rOutSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual ~SvxHFPage () override
 
void DisableDeleteQueryBox ()
 
virtual void PageCreated (const SfxAllItemSet &) override
 
void EnableDynamicSpacing ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Protected Member Functions

virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
 SvxHFPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet, sal_uInt16 nSetId)
 
void InitHandler ()
 
void TurnOn (const weld::ToggleButton *pButton)
 
 DECL_LINK (TurnOnHdl, weld::ToggleButton &, void)
 
 DECL_LINK (BackgroundHdl, weld::Button &, void)
 
 DECL_LINK (ValueChangeHdl, weld::MetricSpinButton &, void)
 
void RangeHdl ()
 
void UpdateExample ()
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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

sal_uInt16 const nId
 
std::unique_ptr< SfxItemSetpBBSet
 
bool mbDisableQueryBox: 1
 
bool mbEnableDrawingLayerFillStyles: 1
 
SvxPageWindow m_aBspWin
 
std::unique_ptr< weld::Labelm_xPageLbl
 
std::unique_ptr< weld::CheckButtonm_xTurnOnBox
 
std::unique_ptr< weld::CheckButtonm_xCntSharedBox
 
std::unique_ptr< weld::CheckButtonm_xCntSharedFirstBox
 
std::unique_ptr< weld::Labelm_xLMLbl
 
std::unique_ptr< weld::MetricSpinButtonm_xLMEdit
 
std::unique_ptr< weld::Labelm_xRMLbl
 
std::unique_ptr< weld::MetricSpinButtonm_xRMEdit
 
std::unique_ptr< weld::Labelm_xDistFT
 
std::unique_ptr< weld::MetricSpinButtonm_xDistEdit
 
std::unique_ptr< weld::CheckButtonm_xDynSpacingCB
 
std::unique_ptr< weld::Labelm_xHeightFT
 
std::unique_ptr< weld::MetricSpinButtonm_xHeightEdit
 
std::unique_ptr< weld::CheckButtonm_xHeightDynBtn
 
std::unique_ptr< weld::Buttonm_xBackgroundBtn
 
std::unique_ptr< weld::CustomWeldm_xBspWin
 

Static Protected Attributes

static const sal_uInt16 pRanges []
 

Private Member Functions

SVX_DLLPRIVATE void ResetBackground_Impl (const SfxItemSet &rSet)
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 37 of file hdft.hxx.

Constructor & Destructor Documentation

SvxHFPage::~SvxHFPage ( )
overridevirtual

Definition at line 190 of file hdft.cxx.

SvxHFPage::SvxHFPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet,
sal_uInt16  nSetId 
)
protected

Member Function Documentation

void SvxHFPage::ActivatePage ( const SfxItemSet rSet)
overrideprotectedvirtual
DeactivateRC SvxHFPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 957 of file hdft.cxx.

References FillItemSet().

SvxHFPage::DECL_LINK ( TurnOnHdl  ,
weld::ToggleButton ,
void   
)
protected
SvxHFPage::DECL_LINK ( BackgroundHdl  ,
weld::Button ,
void   
)
protected
SvxHFPage::DECL_LINK ( ValueChangeHdl  ,
weld::MetricSpinButton ,
void   
)
protected
void SvxHFPage::DisableDeleteQueryBox ( )
inline

Definition at line 46 of file hdft.hxx.

void SvxHFPage::EnableDynamicSpacing ( )

Definition at line 1042 of file hdft.cxx.

References m_xDynSpacingCB.

bool SvxHFPage::FillItemSet ( SfxItemSet rOutSet)
overridevirtual
void SvxHFPage::InitHandler ( )
protected

Definition at line 448 of file hdft.cxx.

References LINK, m_xBackgroundBtn, m_xDistEdit, m_xHeightEdit, m_xLMEdit, m_xRMEdit, and m_xTurnOnBox.

Referenced by SvxHFPage().

void SvxHFPage::PageCreated ( const SfxAllItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1047 of file hdft.cxx.

References SfxItemSet::GetItem(), SfxBoolItem::GetValue(), and mbEnableDrawingLayerFillStyles.

void SvxHFPage::RangeHdl ( )
protected
void SvxHFPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxHFPage::ResetBackground_Impl ( const SfxItemSet rSet)
private
void SvxHFPage::TurnOn ( const weld::ToggleButton pButton)
protected
void SvxHFPage::UpdateExample ( )
protected

Member Data Documentation

SvxPageWindow SvxHFPage::m_aBspWin
protected

Definition at line 65 of file hdft.hxx.

Referenced by ActivatePage(), RangeHdl(), ResetBackground_Impl(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<weld::Button> SvxHFPage::m_xBackgroundBtn
protected

Definition at line 80 of file hdft.hxx.

Referenced by InitHandler(), Reset(), SvxHFPage(), and TurnOn().

std::unique_ptr<weld::CustomWeld> SvxHFPage::m_xBspWin
protected

Definition at line 81 of file hdft.hxx.

std::unique_ptr<weld::CheckButton> SvxHFPage::m_xCntSharedBox
protected

Definition at line 68 of file hdft.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().

std::unique_ptr<weld::CheckButton> SvxHFPage::m_xCntSharedFirstBox
protected

Definition at line 69 of file hdft.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().

std::unique_ptr<weld::MetricSpinButton> SvxHFPage::m_xDistEdit
protected

Definition at line 75 of file hdft.hxx.

Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<weld::Label> SvxHFPage::m_xDistFT
protected

Definition at line 74 of file hdft.hxx.

Referenced by TurnOn().

std::unique_ptr<weld::CheckButton> SvxHFPage::m_xDynSpacingCB
protected

Definition at line 76 of file hdft.hxx.

Referenced by EnableDynamicSpacing(), FillItemSet(), Reset(), SvxHFPage(), and TurnOn().

std::unique_ptr<weld::CheckButton> SvxHFPage::m_xHeightDynBtn
protected

Definition at line 79 of file hdft.hxx.

Referenced by FillItemSet(), Reset(), SvxHFPage(), and TurnOn().

std::unique_ptr<weld::MetricSpinButton> SvxHFPage::m_xHeightEdit
protected

Definition at line 78 of file hdft.hxx.

Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<weld::Label> SvxHFPage::m_xHeightFT
protected

Definition at line 77 of file hdft.hxx.

Referenced by TurnOn().

std::unique_ptr<weld::MetricSpinButton> SvxHFPage::m_xLMEdit
protected

Definition at line 71 of file hdft.hxx.

Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<weld::Label> SvxHFPage::m_xLMLbl
protected

Definition at line 70 of file hdft.hxx.

Referenced by TurnOn().

std::unique_ptr<weld::Label> SvxHFPage::m_xPageLbl
protected

Definition at line 66 of file hdft.hxx.

Referenced by SvxHFPage().

std::unique_ptr<weld::MetricSpinButton> SvxHFPage::m_xRMEdit
protected

Definition at line 73 of file hdft.hxx.

Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<weld::Label> SvxHFPage::m_xRMLbl
protected

Definition at line 72 of file hdft.hxx.

Referenced by TurnOn().

std::unique_ptr<weld::CheckButton> SvxHFPage::m_xTurnOnBox
protected

Definition at line 67 of file hdft.hxx.

Referenced by FillItemSet(), InitHandler(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

bool SvxHFPage::mbDisableQueryBox
protected

Definition at line 62 of file hdft.hxx.

Referenced by TurnOn().

bool SvxHFPage::mbEnableDrawingLayerFillStyles
protected

Definition at line 63 of file hdft.hxx.

Referenced by FillItemSet(), PageCreated(), and ResetBackground_Impl().

sal_uInt16 const SvxHFPage::nId
protected

Definition at line 60 of file hdft.hxx.

Referenced by ActivatePage(), FillItemSet(), RangeHdl(), Reset(), SvxHFPage(), TurnOn(), and UpdateExample().

std::unique_ptr<SfxItemSet> SvxHFPage::pBBSet
protected

Definition at line 61 of file hdft.hxx.

Referenced by FillItemSet().

const sal_uInt16 SvxHFPage::pRanges
staticprotected
Initial value:
=
{
SID_ATTR_BRUSH, SID_ATTR_BRUSH,
SID_ATTR_BORDER_OUTER, SID_ATTR_BORDER_OUTER,
SID_ATTR_BORDER_INNER, SID_ATTR_BORDER_INNER,
SID_ATTR_BORDER_SHADOW, SID_ATTR_BORDER_SHADOW,
SID_ATTR_LRSPACE, SID_ATTR_LRSPACE,
SID_ATTR_ULSPACE, SID_ATTR_ULSPACE,
SID_ATTR_PAGE_SIZE, SID_ATTR_PAGE_SIZE,
SID_ATTR_PAGE_HEADERSET, SID_ATTR_PAGE_HEADERSET,
SID_ATTR_PAGE_FOOTERSET, SID_ATTR_PAGE_FOOTERSET,
SID_ATTR_PAGE_ON, SID_ATTR_PAGE_ON,
SID_ATTR_PAGE_DYNAMIC, SID_ATTR_PAGE_DYNAMIC,
SID_ATTR_PAGE_SHARED, SID_ATTR_PAGE_SHARED,
SID_ATTR_PAGE_SHARED_FIRST, SID_ATTR_PAGE_SHARED_FIRST,
SID_ATTR_HDFT_DYNAMIC_SPACING, SID_ATTR_HDFT_DYNAMIC_SPACING,
0
}

Definition at line 53 of file hdft.hxx.

Referenced by SvxHeaderPage::GetRanges(), and SvxFooterPage::GetRanges().


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