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

#include <num.hxx>

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

Public Member Functions

 SwNumPositionTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwNumPositionTabPage () 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 SetOutlineTabDialog (SwOutlineTabDialog *pDlg)
 
void SetWrtShell (SwWrtShell *pSh)
 
void SetModified ()
 
- 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 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
 
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, weld::TreeView &, void)
 
 DECL_LINK (EditModifyHdl, weld::ComboBox &, void)
 
 DECL_LINK (DistanceHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (RelativeHdl, weld::ToggleButton &, void)
 
 DECL_LINK (StandardHdl, 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< SwNumRulepActNum
 
SwNumRulepSaveNum
 
SwWrtShellpWrtSh
 
SwOutlineTabDialogpOutlineDlg
 
sal_uInt16 nActNumLvl
 
bool bModified: 1
 
bool bPreset: 1
 
bool bInInintControl: 1
 
bool bLabelAlignmentPosAndSpaceModeActive
 
NumberingPreview m_aPreviewWIN
 
std::unique_ptr< weld::TreeViewm_xLevelLB
 
std::unique_ptr< weld::Widgetm_xPositionFrame
 
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 30 of file num.hxx.

Constructor & Destructor Documentation

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

Definition at line 138 of file num.cxx.

References pActNum, and pOutlineDlg.

Member Function Documentation

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

Definition at line 495 of file num.cxx.

Referenced by SwOutlineTabDialog::SwOutlineTabDialog().

DeactivateRC SwNumPositionTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 381 of file num.cxx.

References FillItemSet(), nActNumLvl, and SwOutlineTabDialog::SetActNumLevel().

SwNumPositionTabPage::DECL_LINK ( LevelHdl  ,
weld::TreeView ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( EditModifyHdl  ,
weld::ComboBox ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( DistanceHdl  ,
weld::MetricSpinButton ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( RelativeHdl  ,
weld::ToggleButton ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( StandardHdl  ,
weld::Button ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( LabelFollowedByHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( ListtabPosHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( AlignAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SwNumPositionTabPage::DECL_LINK ( IndentAtHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
bool SwNumPositionTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 390 of file num.cxx.

References bModified, FN_PARAM_NUM_PRESET, SwOutlineTabDialog::GetNumRule(), pActNum, pOutlineDlg, pSaveNum, and SfxItemSet::Put().

Referenced by DeactivatePage().

void SwNumPositionTabPage::InitControls ( )
private
void SwNumPositionTabPage::InitPosAndSpaceMode ( )
private
void SwNumPositionTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwNumPositionTabPage::SetModified ( )
void SwNumPositionTabPage::SetOutlineTabDialog ( SwOutlineTabDialog pDlg)
inline

Definition at line 106 of file num.hxx.

void SwNumPositionTabPage::SetWrtShell ( SwWrtShell pSh)
void SwNumPositionTabPage::ShowControlsDependingOnPosAndSpaceMode ( )
private

Member Data Documentation

bool SwNumPositionTabPage::bInInintControl
private

Definition at line 41 of file num.hxx.

Referenced by InitControls().

bool SwNumPositionTabPage::bLabelAlignmentPosAndSpaceModeActive
private
bool SwNumPositionTabPage::bModified
private

Definition at line 39 of file num.hxx.

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

bool SwNumPositionTabPage::bPreset
private

Definition at line 40 of file num.hxx.

Referenced by ActivatePage().

NumberingPreview SwNumPositionTabPage::m_aPreviewWIN
private

Definition at line 44 of file num.hxx.

Referenced by ActivatePage(), Reset(), SetModified(), SetWrtShell(), and SwNumPositionTabPage().

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

Definition at line 67 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().

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

Definition at line 69 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 58 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode(), and SwNumPositionTabPage().

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

Definition at line 51 of file num.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 56 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 71 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 54 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 63 of file num.hxx.

Referenced by ShowControlsDependingOnPosAndSpaceMode().

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

Definition at line 46 of file num.hxx.

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

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

Definition at line 65 of file num.hxx.

Referenced by InitControls(), and ShowControlsDependingOnPosAndSpaceMode().

std::unique_ptr<weld::MetricSpinButton> SwNumPositionTabPage::m_xListtabMF
private
std::unique_ptr<weld::Widget> SwNumPositionTabPage::m_xPositionFrame
private

Definition at line 47 of file num.hxx.

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

Definition at line 74 of file num.hxx.

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

Definition at line 73 of file num.hxx.

Referenced by SwNumPositionTabPage().

sal_uInt16 SwNumPositionTabPage::nActNumLvl
private
std::unique_ptr<SwNumRule> SwNumPositionTabPage::pActNum
private
SwOutlineTabDialog* SwNumPositionTabPage::pOutlineDlg
private

Definition at line 36 of file num.hxx.

Referenced by ActivatePage(), FillItemSet(), InitControls(), Reset(), and ~SwNumPositionTabPage().

SwNumRule* SwNumPositionTabPage::pSaveNum
private

Definition at line 33 of file num.hxx.

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

SwWrtShell* SwNumPositionTabPage::pWrtSh
private

Definition at line 34 of file num.hxx.

Referenced by SetWrtShell().


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