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

#include <numpara.hxx>

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

Public Member Functions

 SwParagraphNumTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwParagraphNumTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ChangesApplied () override
 
void EnableNewStart ()
 
void DisableOutline ()
 
void DisableNumbering ()
 
weld::ComboBoxGetStyleBox ()
 
- 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 WhichRangesContainer GetRanges ()
 
- 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 (NewStartHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (StyleHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (LineCountHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (EditNumStyleHdl_Impl, weld::Button &, void)
 
 DECL_LINK (EditNumStyleSelectHdl_Impl, weld::ComboBox &, void)
 
void ExecuteEditNumStyle_Impl (sal_uInt16 nId, const OUString &rStr, SfxStyleFamily nFamily)
 

Private Attributes

const OUString msOutlineNumbering
 
bool m_bModified: 1
 
bool m_bCurNumrule: 1
 
std::unique_ptr< weld::Widgetm_xOutlineStartBX
 
std::unique_ptr< weld::ComboBoxm_xOutlineLvLB
 
std::unique_ptr< weld::Widgetm_xNumberStyleBX
 
std::unique_ptr< weld::ComboBoxm_xNumberStyleLB
 
std::unique_ptr< weld::Buttonm_xEditNumStyleBtn
 
std::unique_ptr< weld::Widgetm_xListLvBX
 
std::unique_ptr< weld::ComboBoxm_xListLvLB
 
std::unique_ptr< weld::CheckButtonm_xNewStartCB
 
std::unique_ptr< weld::Widgetm_xNewStartBX
 
std::unique_ptr< weld::CheckButtonm_xNewStartNumberCB
 
std::unique_ptr< weld::SpinButtonm_xNewStartNF
 
std::unique_ptr< weld::Widgetm_xCountParaFram
 
std::unique_ptr< weld::CheckButtonm_xCountParaCB
 
std::unique_ptr< weld::CheckButtonm_xRestartParaCountCB
 
std::unique_ptr< weld::Widgetm_xRestartBX
 
std::unique_ptr< weld::SpinButtonm_xRestartNF
 

Static Private Attributes

static const WhichRangesContainer s_aPageRg
 

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 27 of file numpara.hxx.

Constructor & Destructor Documentation

◆ SwParagraphNumTabPage()

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

◆ ~SwParagraphNumTabPage()

SwParagraphNumTabPage::~SwParagraphNumTabPage ( )
overridevirtual

Definition at line 95 of file numpara.cxx.

Member Function Documentation

◆ ChangesApplied()

void SwParagraphNumTabPage::ChangesApplied ( )
overridevirtual

◆ Create()

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

Definition at line 99 of file numpara.cxx.

References rSet.

Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().

◆ DECL_LINK() [1/5]

SwParagraphNumTabPage::DECL_LINK ( EditNumStyleHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/5]

SwParagraphNumTabPage::DECL_LINK ( EditNumStyleSelectHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [3/5]

SwParagraphNumTabPage::DECL_LINK ( LineCountHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/5]

SwParagraphNumTabPage::DECL_LINK ( NewStartHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/5]

SwParagraphNumTabPage::DECL_LINK ( StyleHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DisableNumbering()

void SwParagraphNumTabPage::DisableNumbering ( )

Definition at line 323 of file numpara.cxx.

References m_xListLvBX, m_xNumberStyleBX, and SwResId().

◆ DisableOutline()

void SwParagraphNumTabPage::DisableOutline ( )

Definition at line 317 of file numpara.cxx.

References m_xOutlineStartBX, and SwResId().

◆ EnableNewStart()

void SwParagraphNumTabPage::EnableNewStart ( )

Definition at line 330 of file numpara.cxx.

References m_xNewStartBX, and m_xNewStartCB.

◆ ExecuteEditNumStyle_Impl()

void SwParagraphNumTabPage::ExecuteEditNumStyle_Impl ( sal_uInt16  nId,
const OUString &  rStr,
SfxStyleFamily  nFamily 
)
private

◆ FillItemSet()

bool SwParagraphNumTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetRanges()

static WhichRangesContainer SwParagraphNumTabPage::GetRanges ( )
inlinestatic

Definition at line 73 of file numpara.hxx.

References s_aPageRg.

Referenced by SwParaDlg::SwParaDlg(), and SwTemplateDlgController::SwTemplateDlgController().

◆ GetStyleBox()

weld::ComboBox & SwParagraphNumTabPage::GetStyleBox ( )
inline

Definition at line 83 of file numpara.hxx.

References m_xNumberStyleLB.

◆ Reset()

void SwParagraphNumTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Member Data Documentation

◆ m_bCurNumrule

bool SwParagraphNumTabPage::m_bCurNumrule
private

Definition at line 33 of file numpara.hxx.

Referenced by Reset().

◆ m_bModified

bool SwParagraphNumTabPage::m_bModified
private

Definition at line 32 of file numpara.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xCountParaCB

std::unique_ptr<weld::CheckButton> SwParagraphNumTabPage::m_xCountParaCB
private

Definition at line 50 of file numpara.hxx.

Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().

◆ m_xCountParaFram

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xCountParaFram
private

Definition at line 49 of file numpara.hxx.

Referenced by SwParagraphNumTabPage().

◆ m_xEditNumStyleBtn

std::unique_ptr<weld::Button> SwParagraphNumTabPage::m_xEditNumStyleBtn
private

Definition at line 39 of file numpara.hxx.

Referenced by SwParagraphNumTabPage().

◆ m_xListLvBX

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xListLvBX
private

Definition at line 41 of file numpara.hxx.

Referenced by DisableNumbering(), FillItemSet(), Reset(), and SwParagraphNumTabPage().

◆ m_xListLvLB

std::unique_ptr<weld::ComboBox> SwParagraphNumTabPage::m_xListLvLB
private

Definition at line 42 of file numpara.hxx.

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

◆ m_xNewStartBX

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xNewStartBX
private

Definition at line 45 of file numpara.hxx.

Referenced by EnableNewStart().

◆ m_xNewStartCB

std::unique_ptr<weld::CheckButton> SwParagraphNumTabPage::m_xNewStartCB
private

Definition at line 44 of file numpara.hxx.

Referenced by ChangesApplied(), EnableNewStart(), FillItemSet(), Reset(), and SwParagraphNumTabPage().

◆ m_xNewStartNF

std::unique_ptr<weld::SpinButton> SwParagraphNumTabPage::m_xNewStartNF
private

Definition at line 47 of file numpara.hxx.

Referenced by FillItemSet(), and Reset().

◆ m_xNewStartNumberCB

std::unique_ptr<weld::CheckButton> SwParagraphNumTabPage::m_xNewStartNumberCB
private

Definition at line 46 of file numpara.hxx.

Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().

◆ m_xNumberStyleBX

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xNumberStyleBX
private

Definition at line 37 of file numpara.hxx.

Referenced by DisableNumbering(), and Reset().

◆ m_xNumberStyleLB

std::unique_ptr<weld::ComboBox> SwParagraphNumTabPage::m_xNumberStyleLB
private

Definition at line 38 of file numpara.hxx.

Referenced by ChangesApplied(), FillItemSet(), GetStyleBox(), Reset(), and SwParagraphNumTabPage().

◆ m_xOutlineLvLB

std::unique_ptr<weld::ComboBox> SwParagraphNumTabPage::m_xOutlineLvLB
private

Definition at line 36 of file numpara.hxx.

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

◆ m_xOutlineStartBX

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xOutlineStartBX
private

Definition at line 35 of file numpara.hxx.

Referenced by DisableOutline().

◆ m_xRestartBX

std::unique_ptr<weld::Widget> SwParagraphNumTabPage::m_xRestartBX
private

Definition at line 53 of file numpara.hxx.

◆ m_xRestartNF

std::unique_ptr<weld::SpinButton> SwParagraphNumTabPage::m_xRestartNF
private

Definition at line 54 of file numpara.hxx.

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

◆ m_xRestartParaCountCB

std::unique_ptr<weld::CheckButton> SwParagraphNumTabPage::m_xRestartParaCountCB
private

Definition at line 51 of file numpara.hxx.

Referenced by ChangesApplied(), FillItemSet(), Reset(), and SwParagraphNumTabPage().

◆ msOutlineNumbering

const OUString SwParagraphNumTabPage::msOutlineNumbering
private

Definition at line 30 of file numpara.hxx.

Referenced by Reset().

◆ s_aPageRg

const WhichRangesContainer SwParagraphNumTabPage::s_aPageRg
staticprivate

Definition at line 62 of file numpara.hxx.

Referenced by GetRanges().


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