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
 
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 *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 (RelativeHdl_Impl, weld::Toggleable &, 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
 
TypedWhichId< SvxNumBulletItemnNumItemId
 
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 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 309 of file numpages.hxx.

Constructor & Destructor Documentation

◆ SvxNumPositionTabPage()

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

◆ ~SvxNumPositionTabPage()

SvxNumPositionTabPage::~SvxNumPositionTabPage ( )
overridevirtual

Definition at line 2582 of file numpages.cxx.

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

Member Function Documentation

◆ ActivatePage()

void SvxNumPositionTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ Create()

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

Definition at line 2975 of file numpages.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DeactivatePage()

DeactivateRC SvxNumPositionTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2831 of file numpages.cxx.

References FillItemSet(), m_xDistBorderMF, and m_xIndentMF.

◆ DECL_LINK() [1/10]

SvxNumPositionTabPage::DECL_LINK ( AlignAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [2/10]

SvxNumPositionTabPage::DECL_LINK ( DistanceHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/10]

SvxNumPositionTabPage::DECL_LINK ( EditModifyHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/10]

SvxNumPositionTabPage::DECL_LINK ( IndentAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/10]

SvxNumPositionTabPage::DECL_LINK ( LabelFollowedByHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/10]

SvxNumPositionTabPage::DECL_LINK ( LevelHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [7/10]

SvxNumPositionTabPage::DECL_LINK ( LevelHdl_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [8/10]

SvxNumPositionTabPage::DECL_LINK ( ListtabPosHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [9/10]

SvxNumPositionTabPage::DECL_LINK ( RelativeHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [10/10]

SvxNumPositionTabPage::DECL_LINK ( StandardHdl_Impl  ,
weld::Button ,
void   
)
private

◆ FillItemSet()

bool SvxNumPositionTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 2843 of file numpages.cxx.

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

Referenced by DeactivatePage().

◆ InitControls()

void SvxNumPositionTabPage::InitControls ( )
private

◆ InitPosAndSpaceMode()

void SvxNumPositionTabPage::InitPosAndSpaceMode ( )
private

◆ PageCreated()

void SvxNumPositionTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 3388 of file numpages.cxx.

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

◆ Reset()

void SvxNumPositionTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetMetric()

void SvxNumPositionTabPage::SetMetric ( FieldUnit  eSet)

Definition at line 2981 of file numpages.cxx.

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

Referenced by PageCreated().

◆ SetModified()

void SvxNumPositionTabPage::SetModified ( )

◆ ShowControlsDependingOnPosAndSpaceMode()

void SvxNumPositionTabPage::ShowControlsDependingOnPosAndSpaceMode ( )
private

Member Data Documentation

◆ bInInintControl

bool SvxNumPositionTabPage::bInInintControl
private

Definition at line 321 of file numpages.hxx.

Referenced by InitControls().

◆ bLabelAlignmentPosAndSpaceModeActive

bool SvxNumPositionTabPage::bLabelAlignmentPosAndSpaceModeActive
private

◆ bModified

bool SvxNumPositionTabPage::bModified
private

Definition at line 319 of file numpages.hxx.

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

◆ bPreset

bool SvxNumPositionTabPage::bPreset
private

Definition at line 320 of file numpages.hxx.

Referenced by ActivatePage().

◆ eCoreUnit

MapUnit SvxNumPositionTabPage::eCoreUnit
private

Definition at line 317 of file numpages.hxx.

Referenced by InitControls(), and SvxNumPositionTabPage().

◆ m_aPreviewWIN

SvxNumberingPreview SvxNumPositionTabPage::m_aPreviewWIN
private

Definition at line 324 of file numpages.hxx.

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

◆ m_pLevelHdlEvent

ImplSVEvent* SvxNumPositionTabPage::m_pLevelHdlEvent
private

Definition at line 314 of file numpages.hxx.

Referenced by ~SvxNumPositionTabPage().

◆ m_xAlign2FT

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

Definition at line 343 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xAlign2LB

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

◆ m_xAlignedAtFT

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

Definition at line 345 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xAlignedAtMF

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

◆ m_xAlignFT

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

Definition at line 335 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xAlignLB

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

◆ m_xDistBorderFT

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

Definition at line 328 of file numpages.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

◆ m_xDistBorderMF

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

◆ m_xDistNumFT

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

Definition at line 333 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xDistNumMF

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

◆ m_xIndentAtFT

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

Definition at line 347 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xIndentAtMF

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

◆ m_xIndentFT

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

Definition at line 331 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xIndentMF

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

◆ m_xLabelFollowedByFT

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

Definition at line 339 of file numpages.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

◆ m_xLabelFollowedByLB

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

◆ m_xLevelLB

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

Definition at line 325 of file numpages.hxx.

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

◆ m_xListtabFT

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

Definition at line 341 of file numpages.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

◆ m_xListtabMF

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

◆ m_xPreviewWIN

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

Definition at line 350 of file numpages.hxx.

Referenced by ~SvxNumPositionTabPage().

◆ m_xRelativeCB

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

◆ m_xStandardPB

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

Definition at line 349 of file numpages.hxx.

Referenced by SvxNumPositionTabPage().

◆ nActNumLvl

sal_uInt16 SvxNumPositionTabPage::nActNumLvl
private

◆ nNumItemId

TypedWhichId<SvxNumBulletItem> SvxNumPositionTabPage::nNumItemId
private

Definition at line 316 of file numpages.hxx.

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

◆ pActNum

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

◆ pSaveNum

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

Definition at line 312 of file numpages.hxx.

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


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