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

#include <numpages.hxx>

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

Public Member Functions

 SvxNumPositionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxNumPositionTabPage () override
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetMetric (FieldUnit eSet)
 
void SetModified ()
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- 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
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
 
- 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

void InitControls ()
 
 DECL_LINK (LevelHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (LevelHdl, void *, void)
 
 DECL_LINK (EditModifyHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (DistanceHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (DistanceFocusHdl_Impl, Control &, void)
 
 DECL_LINK (RelativeHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (StandardHdl_Impl, weld::Button &, void)
 
void InitPosAndSpaceMode ()
 
void ShowControlsDependingOnPosAndSpaceMode ()
 
 DECL_LINK (LabelFollowedByHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ListtabPosHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (AlignAtHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (IndentAtHdl_Impl, weld::MetricSpinButton &, void)
 

Private Attributes

std::unique_ptr< SvxNumRulepActNum
 
std::unique_ptr< SvxNumRulepSaveNum
 
ImplSVEventm_pLevelHdlEvent
 
sal_uInt16 nActNumLvl
 
sal_uInt16 nNumItemId
 
MapUnit eCoreUnit
 
bool bModified: 1
 
bool bPreset: 1
 
bool bInInintControl: 1
 
bool bLabelAlignmentPosAndSpaceModeActive
 
SvxNumberingPreview m_aPreviewWIN
 
std::unique_ptr< weld::TreeViewm_xLevelLB
 
std::unique_ptr< weld::Labelm_xDistBorderFT
 
std::unique_ptr< weld::MetricSpinButtonm_xDistBorderMF
 
std::unique_ptr< weld::CheckButtonm_xRelativeCB
 
std::unique_ptr< weld::Labelm_xIndentFT
 
std::unique_ptr< weld::MetricSpinButtonm_xIndentMF
 
std::unique_ptr< weld::Labelm_xDistNumFT
 
std::unique_ptr< weld::MetricSpinButtonm_xDistNumMF
 
std::unique_ptr< weld::Labelm_xAlignFT
 
std::unique_ptr< weld::ComboBoxm_xAlignLB
 
std::unique_ptr< weld::Labelm_xLabelFollowedByFT
 
std::unique_ptr< weld::ComboBoxm_xLabelFollowedByLB
 
std::unique_ptr< weld::Labelm_xListtabFT
 
std::unique_ptr< weld::MetricSpinButtonm_xListtabMF
 
std::unique_ptr< weld::Labelm_xAlign2FT
 
std::unique_ptr< weld::ComboBoxm_xAlign2LB
 
std::unique_ptr< weld::Labelm_xAlignedAtFT
 
std::unique_ptr< weld::MetricSpinButtonm_xAlignedAtMF
 
std::unique_ptr< weld::Labelm_xIndentAtFT
 
std::unique_ptr< weld::MetricSpinButtonm_xIndentAtMF
 
std::unique_ptr< weld::Buttonm_xStandardPB
 
std::unique_ptr< weld::CustomWeldm_xPreviewWIN
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 305 of file numpages.hxx.

Constructor & Destructor Documentation

SvxNumPositionTabPage::SvxNumPositionTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
SvxNumPositionTabPage::~SvxNumPositionTabPage ( )
overridevirtual

Definition at line 2523 of file numpages.cxx.

References m_pLevelHdlEvent, m_xPreviewWIN, and Application::RemoveUserEvent().

Member Function Documentation

void SvxNumPositionTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
std::unique_ptr< SfxTabPage > SvxNumPositionTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 2919 of file numpages.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

DeactivateRC SvxNumPositionTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2773 of file numpages.cxx.

References FillItemSet(), m_xDistBorderMF, and m_xIndentMF.

SvxNumPositionTabPage::DECL_LINK ( LevelHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( LevelHdl  ,
void ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( EditModifyHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( DistanceHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( DistanceFocusHdl_Impl  ,
Control ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( RelativeHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( StandardHdl_Impl  ,
weld::Button ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( LabelFollowedByHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( ListtabPosHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( AlignAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxNumPositionTabPage::DECL_LINK ( IndentAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
bool SvxNumPositionTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2785 of file numpages.cxx.

References bModified, nActNumLvl, nNumItemId, pActNum, pSaveNum, and SfxItemSet::Put().

Referenced by DeactivatePage().

void SvxNumPositionTabPage::InitControls ( )
private
void SvxNumPositionTabPage::InitPosAndSpaceMode ( )
private
void SvxNumPositionTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 3332 of file numpages.cxx.

References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), and SetMetric().

void SvxNumPositionTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxNumPositionTabPage::SetMetric ( FieldUnit  eSet)

Definition at line 2925 of file numpages.cxx.

References m_xAlignedAtMF, m_xDistBorderMF, m_xDistNumMF, m_xIndentAtMF, m_xIndentMF, and m_xListtabMF.

Referenced by PageCreated().

void SvxNumPositionTabPage::SetModified ( )
void SvxNumPositionTabPage::ShowControlsDependingOnPosAndSpaceMode ( )
private

Member Data Documentation

bool SvxNumPositionTabPage::bInInintControl
private

Definition at line 317 of file numpages.hxx.

Referenced by InitControls().

bool SvxNumPositionTabPage::bLabelAlignmentPosAndSpaceModeActive
private
bool SvxNumPositionTabPage::bModified
private

Definition at line 315 of file numpages.hxx.

Referenced by ActivatePage(), FillItemSet(), Reset(), and SetModified().

bool SvxNumPositionTabPage::bPreset
private

Definition at line 316 of file numpages.hxx.

Referenced by ActivatePage().

MapUnit SvxNumPositionTabPage::eCoreUnit
private

Definition at line 313 of file numpages.hxx.

Referenced by InitControls(), and SvxNumPositionTabPage().

SvxNumberingPreview SvxNumPositionTabPage::m_aPreviewWIN
private

Definition at line 320 of file numpages.hxx.

Referenced by ActivatePage(), Reset(), SetModified(), and SvxNumPositionTabPage().

ImplSVEvent* SvxNumPositionTabPage::m_pLevelHdlEvent
private

Definition at line 310 of file numpages.hxx.

Referenced by ~SvxNumPositionTabPage().

std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xAlign2FT
private

Definition at line 339 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::ComboBox> SvxNumPositionTabPage::m_xAlign2LB
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xAlignedAtFT
private

Definition at line 341 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xAlignedAtMF
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xAlignFT
private

Definition at line 331 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::ComboBox> SvxNumPositionTabPage::m_xAlignLB
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xDistBorderFT
private

Definition at line 324 of file numpages.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xDistBorderMF
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xDistNumFT
private

Definition at line 329 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xDistNumMF
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xIndentAtFT
private

Definition at line 343 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xIndentAtMF
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xIndentFT
private

Definition at line 327 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xIndentMF
private
std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xLabelFollowedByFT
private

Definition at line 335 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::ComboBox> SvxNumPositionTabPage::m_xLabelFollowedByLB
private
std::unique_ptr<weld::TreeView> SvxNumPositionTabPage::m_xLevelLB
private

Definition at line 321 of file numpages.hxx.

Referenced by ActivatePage(), InitControls(), Reset(), and SvxNumPositionTabPage().

std::unique_ptr<weld::Label> SvxNumPositionTabPage::m_xListtabFT
private

Definition at line 337 of file numpages.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SvxNumPositionTabPage::m_xListtabMF
private
std::unique_ptr<weld::CustomWeld> SvxNumPositionTabPage::m_xPreviewWIN
private

Definition at line 346 of file numpages.hxx.

Referenced by ~SvxNumPositionTabPage().

std::unique_ptr<weld::CheckButton> SvxNumPositionTabPage::m_xRelativeCB
private
std::unique_ptr<weld::Button> SvxNumPositionTabPage::m_xStandardPB
private

Definition at line 345 of file numpages.hxx.

Referenced by SvxNumPositionTabPage().

sal_uInt16 SvxNumPositionTabPage::nActNumLvl
private
sal_uInt16 SvxNumPositionTabPage::nNumItemId
private

Definition at line 312 of file numpages.hxx.

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

std::unique_ptr<SvxNumRule> SvxNumPositionTabPage::pActNum
private
std::unique_ptr<SvxNumRule> SvxNumPositionTabPage::pSaveNum
private

Definition at line 308 of file numpages.hxx.

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


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