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:
[legend]
Collaboration diagram for SwOutlineTabDialog:
[legend]

Public Member Functions

 SwOutlineTabDialog (weld::Window *pParent, const SfxItemSet *pSwItemSet, SwWrtShell &)
 
virtual ~SwOutlineTabDialog () override
 
SwNumRuleGetNumRule ()
 
sal_uInt16 GetLevel (const OUString &rFormatName) const
 
OUString * GetCollNames ()
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false)
 
virtual ~SfxTabDialogController () override
 
void AddTabPage (const OString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc)
 
void AddTabPage (const OString &rName, sal_uInt16 nPageCreateId)
 
void AddTabPage (const OString &rName, const OUString &rLabel, CreateTabPage pCreateFunc)
 
void AddTabPage (const OString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId)
 
void RemoveTabPage (const OString &rName)
 
void SetCurPageId (const OString &rName)
 
void ShowPage (const OString &rName)
 
OString GetCurPageId () const
 
SfxTabPageGetCurTabPage () const
 
const sal_uInt16 * GetInputRanges (const SfxItemPool &)
 
void SetInputSet (const SfxItemSet *pInSet)
 
const SfxItemSetGetOutputItemSet () const
 
virtual weld::ButtonGetOKButton () const override
 
weld::ButtonGetCancelButton () const
 
weld::ButtonGetUserButton () 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< OString > getAllPageUIXMLDescriptions () const
 
bool selectPageByUIXMLDescription (const OString &rUIXMLDescription)
 
BitmapEx createScreenshot () const
 
OString GetScreenshotId () const
 
- Public Member Functions inherited from SfxOkDialogController
 SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OString &rID)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

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::Button &, void)
 
 DECL_LINK (MenuSelectHdl, const OString &, void)
 
virtual void PageCreated (const OString &rPageId, SfxTabPage &rPage) override
 
virtual short Ok () override
 

Private Attributes

OUString aCollNames [MAXLEVEL]
 
SwWrtShellrWrtSh
 
std::unique_ptr< SwNumRulexNumRule
 
SwChapterNumRulespChapterNumRules
 
bool const bModified: 1
 
std::unique_ptr< weld::MenuButtonm_xMenuButton
 

Static Private Attributes

static sal_uInt16 nNumLevel = 1
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabDialogController
 DECL_LINK (OkHdl, weld::Button &, void)
 
 DECL_LINK (ResetHdl, weld::Button &, void)
 
 DECL_LINK (BaseFmtHdl, weld::Button &, void)
 
 DECL_LINK (UserHdl, weld::Button &, void)
 
 DECL_LINK (CancelHdl, weld::Button &, void)
 
virtual void RefreshInputSet ()
 
virtual SfxItemSetCreateInputItemSet (const OString &rName)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (const OString &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 ( weld::Window pParent,
const SfxItemSet pSwItemSet,
SwWrtShell rSh 
)
SwOutlineTabDialog::~SwOutlineTabDialog ( )
overridevirtual

Definition at line 193 of file outline.cxx.

Member Function Documentation

SwOutlineTabDialog::DECL_LINK ( CancelHdl  ,
weld::Button ,
void   
)
private
SwOutlineTabDialog::DECL_LINK ( FormHdl  ,
weld::Button ,
void   
)
private
SwOutlineTabDialog::DECL_LINK ( MenuSelectHdl  ,
const OString &  ,
void   
)
private
static sal_uInt16 SwOutlineTabDialog::GetActNumLevel ( )
inlinestatic
OUString* SwOutlineTabDialog::GetCollNames ( )
inline

Definition at line 60 of file outline.hxx.

References aCollNames.

sal_uInt16 SwOutlineTabDialog::GetLevel ( const OUString &  rFormatName) const

Definition at line 299 of file outline.cxx.

References aCollNames, and MAXLEVEL.

Referenced by Ok().

SwNumRule* SwOutlineTabDialog::GetNumRule ( )
inline

Definition at line 58 of file outline.hxx.

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

short SwOutlineTabDialog::Ok ( )
overrideprivatevirtual
void SwOutlineTabDialog::PageCreated ( const OString &  rPageId,
SfxTabPage rPage 
)
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 197 of file outline.cxx.

References rWrtSh.

static void SwOutlineTabDialog::SetActNumLevel ( sal_uInt16  nSet)
inlinestatic

Member Data Documentation

OUString SwOutlineTabDialog::aCollNames[MAXLEVEL]
private

Definition at line 37 of file outline.hxx.

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

bool const SwOutlineTabDialog::bModified
private

Definition at line 43 of file outline.hxx.

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

Definition at line 45 of file outline.hxx.

Referenced by SwOutlineTabDialog().

sal_uInt16 SwOutlineTabDialog::nNumLevel = 1
staticprivate

Definition at line 35 of file outline.hxx.

Referenced by GetActNumLevel().

SwChapterNumRules* SwOutlineTabDialog::pChapterNumRules
private

Definition at line 41 of file outline.hxx.

SwWrtShell& SwOutlineTabDialog::rWrtSh
private

Definition at line 39 of file outline.hxx.

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

std::unique_ptr<SwNumRule> SwOutlineTabDialog::xNumRule
private

Definition at line 40 of file outline.hxx.

Referenced by Ok(), and SwOutlineTabDialog().


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