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

#include <frmdlg.hxx>

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

Public Member Functions

 SwFrameDlg (SfxViewFrame const *pFrame, weld::Window *pParent, const SfxItemSet &rCoreSet, bool bNewFrame, const OUString &sResType, bool bFormat, const OString &sDefPage=OString(), const OUString *pFormatStr=nullptr)
 
virtual ~SwFrameDlg () override
 
SwWrtShellGetWrtShell ()
 
- 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 ()
 

Private Member Functions

virtual void PageCreated (const OString &rId, SfxTabPage &rPage) override
 

Private Attributes

bool const m_bFormat
 
bool const m_bNew
 
const SfxItemSetm_rSet
 
OUString const m_sDlgType
 
SwWrtShellm_pWrtShell
 

Additional Inherited Members

- Static Public Member Functions inherited from SfxTabDialogController
static bool runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &)
 
- 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 short Ok ()
 
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 29 of file frmdlg.hxx.

Constructor & Destructor Documentation

SwFrameDlg::SwFrameDlg ( SfxViewFrame const *  pFrame,
weld::Window pParent,
const SfxItemSet rCoreSet,
bool  bNewFrame,
const OUString &  sResType,
bool  bFormat,
const OString &  sDefPage = OString(),
const OUString *  pFormatStr = nullptr 
)
SwFrameDlg::~SwFrameDlg ( )
overridevirtual

Definition at line 122 of file frmdlg.cxx.

Member Function Documentation

SwWrtShell* SwFrameDlg::GetWrtShell ( )
inline

Definition at line 50 of file frmdlg.hxx.

References m_pWrtShell.

void SwFrameDlg::PageCreated ( const OString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

Member Data Documentation

bool const SwFrameDlg::m_bFormat
private

Definition at line 31 of file frmdlg.hxx.

Referenced by PageCreated().

bool const SwFrameDlg::m_bNew
private

Definition at line 32 of file frmdlg.hxx.

Referenced by PageCreated(), and SwFrameDlg().

SwWrtShell* SwFrameDlg::m_pWrtShell
private

Definition at line 35 of file frmdlg.hxx.

Referenced by GetWrtShell(), PageCreated(), and SwFrameDlg().

const SfxItemSet& SwFrameDlg::m_rSet
private

Definition at line 33 of file frmdlg.hxx.

Referenced by PageCreated().

OUString const SwFrameDlg::m_sDlgType
private

Definition at line 34 of file frmdlg.hxx.

Referenced by PageCreated(), and SwFrameDlg().


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