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

#include <outline.hxx>

Inheritance diagram for SwOutlineTabDialog:
Collaboration diagram for SwOutlineTabDialog:

Public Member Functions

 SwOutlineTabDialog (weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &)
virtual ~SwOutlineTabDialog () override
SwNumRuleGetNumRule ()
sal_uInt16 GetLevel (std::u16string_view rFormatName) const
OUString * GetCollNames ()
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
virtual ~SfxTabDialogController () override
void AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
void AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId)
void AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
void AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
void RemoveTabPage (const OUString &rName)
void SetCurPageId (const OUString &rName)
void ShowPage (const OUString &rName)
OUString GetCurPageId () const
SfxTabPageGetCurTabPage () const
const WhichRangesContainerGetInputRanges (const SfxItemPool &)
void SetInputSet (const SfxItemSet *pInSet)
const SfxItemSetGetOutputItemSet () const
virtual weld::ButtonGetOKButton () const override
weld::ButtonGetCancelButton () const
weld::ButtonGetUserButton () const
weld::ButtonGetStandardButton () const
weld::ButtonGetApplyButton () const
weld::ButtonGetResetButton () const
void RemoveResetButton ()
void RemoveStandardButton ()
virtual short run () override
virtual const SfxItemSetGetExampleSet () const override
void SetApplyHandler (const Link< weld::Button &, void > &_rHdl)
bool Apply ()
void Applied ()
std::vector< OUString > getAllPageUIXMLDescriptions () const
bool selectPageByUIXMLDescription (const OUString &rUIXMLDescription)
BitmapEx createScreenshot () const
OUString GetScreenshotId () const
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID)
virtual weld::ButtonGetOKButton () const=0
virtual const SfxItemSetGetExampleSet () const=0
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId)
virtual void Activate ()
virtual void Deactivate ()
virtual void ChildWinDispose ()
virtual void Close ()
virtual void EndDialog (int nResponse)
virtual bool CloseOnHide () const

Static Public Member Functions

static sal_uInt16 GetActNumLevel ()
static void SetActNumLevel (sal_uInt16 nSet)
- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)

Private Member Functions

 DECL_LINK (CancelHdl, weld::Button &, void)
 DECL_LINK (FormHdl, weld::Toggleable &, void)
 DECL_LINK (MenuSelectHdl, const OUString &, void)
virtual void PageCreated (const OUString &rPageId, SfxTabPage &rPage) override
virtual short Ok () override

Private Attributes

OUString m_aCollNames [MAXLEVEL]
std::unique_ptr< SwNumRulem_xNumRule
bool m_bModified: 1
std::unique_ptr< weld::MenuButtonm_xMenuButton

Static Private Attributes

static sal_uInt16 s_nNumLevel = 1

Additional Inherited Members

- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void)
 DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void)
 DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void)
 DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void)
virtual short Ok ()
virtual void RefreshInputSet ()
virtual SfxItemSetCreateInputItemSet (const OUString &rName)
virtual void PageCreated (const OUString &rName, SfxTabPage &rPage)
virtual void ActivatePage (const OUString &rPage)
bool DeactivatePage (std::u16string_view aPage)
SfxItemSetGetInputSetImpl ()
SfxTabPageGetTabPage (std::u16string_view rPageId) const
bool PrepareLeaveCurrentPage ()
void SavePosAndId ()
- Protected Attributes inherited from SfxTabDialogController
std::unique_ptr< weld::Notebookm_xTabCtrl
std::unique_ptr< SfxItemSetm_xExampleSet

Detailed Description

Definition at line 33 of file outline.hxx.

Constructor & Destructor Documentation

◆ SwOutlineTabDialog()

SwOutlineTabDialog::SwOutlineTabDialog ( weld::Window pParent,
const SfxItemSet pSwItemSet,
SwWrtShell rSh 

◆ ~SwOutlineTabDialog()

SwOutlineTabDialog::~SwOutlineTabDialog ( )

Definition at line 195 of file outline.cxx.

Member Function Documentation

◆ DECL_LINK() [1/3]

SwOutlineTabDialog::DECL_LINK ( CancelHdl  ,
weld::Button ,

◆ DECL_LINK() [2/3]

SwOutlineTabDialog::DECL_LINK ( FormHdl  ,
weld::Toggleable ,

◆ DECL_LINK() [3/3]

SwOutlineTabDialog::DECL_LINK ( MenuSelectHdl  ,
const OUString &  ,

◆ GetActNumLevel()

static sal_uInt16 SwOutlineTabDialog::GetActNumLevel ( )

◆ GetCollNames()

OUString * SwOutlineTabDialog::GetCollNames ( )

Definition at line 61 of file outline.hxx.

References m_aCollNames.

◆ GetLevel()

sal_uInt16 SwOutlineTabDialog::GetLevel ( std::u16string_view  rFormatName) const

Definition at line 298 of file outline.cxx.

References i, m_aCollNames, and MAXLEVEL.

Referenced by Ok().

◆ GetNumRule()

SwNumRule * SwOutlineTabDialog::GetNumRule ( )

Definition at line 59 of file outline.hxx.

References m_xNumRule.

Referenced by SwNumPositionTabPage::FillItemSet(), and SwNumPositionTabPage::Reset().

◆ Ok()

short SwOutlineTabDialog::Ok ( )

◆ PageCreated()

void SwOutlineTabDialog::PageCreated ( const OUString &  rPageId,
SfxTabPage rPage 

Reimplemented from SfxTabDialogController.

Definition at line 199 of file outline.cxx.

References m_rWrtSh.

◆ SetActNumLevel()

static void SwOutlineTabDialog::SetActNumLevel ( sal_uInt16  nSet)

Member Data Documentation

◆ m_aCollNames

OUString SwOutlineTabDialog::m_aCollNames[MAXLEVEL]

Definition at line 38 of file outline.hxx.

Referenced by GetCollNames(), GetLevel(), Ok(), and SwOutlineTabDialog().

◆ m_bModified

bool SwOutlineTabDialog::m_bModified

Definition at line 44 of file outline.hxx.

◆ m_pChapterNumRules

SwChapterNumRules* SwOutlineTabDialog::m_pChapterNumRules

Definition at line 42 of file outline.hxx.

◆ m_rWrtSh

SwWrtShell& SwOutlineTabDialog::m_rWrtSh

Definition at line 40 of file outline.hxx.

Referenced by Ok(), PageCreated(), and SwOutlineTabDialog().

◆ m_xMenuButton

std::unique_ptr<weld::MenuButton> SwOutlineTabDialog::m_xMenuButton

Definition at line 46 of file outline.hxx.

Referenced by SwOutlineTabDialog().

◆ m_xNumRule

std::unique_ptr<SwNumRule> SwOutlineTabDialog::m_xNumRule

Definition at line 41 of file outline.hxx.

Referenced by GetNumRule(), Ok(), and SwOutlineTabDialog().

◆ s_nNumLevel

sal_uInt16 SwOutlineTabDialog::s_nNumLevel = 1

Definition at line 35 of file outline.hxx.

Referenced by GetActNumLevel(), and SetActNumLevel().

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