LibreOffice Module sd (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SdPresLayoutTemplateDlg Class Referencefinal

Template-Tab-Dialog. More...

#include <prltempl.hxx>

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

Public Member Functions

 SdPresLayoutTemplateDlg (SfxObjectShell const *pDocSh, weld::Window *pParent, bool bBackground, SfxStyleSheetBase &rStyleBase, PresentationObjects ePO, SfxStyleSheetBasePool *pSSPool)
 Constructor of Tab dialog: appends pages to the dialog. More...
 
virtual ~SdPresLayoutTemplateDlg () override
 
const SfxItemSetGetOutputItemSet () const
 
- 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
 

Private Member Functions

virtual void PageCreated (const OUString &rId, SfxTabPage &rPage) override
 
sal_uInt16 GetOutlineLevel () const
 

Private Attributes

const SfxObjectShellmpDocShell
 
XColorListRef pColorTab
 
XGradientListRef pGradientList
 
XHatchListRef pHatchingList
 
XBitmapListRef pBitmapList
 
XPatternListRef pPatternList
 
XDashListRef pDashList
 
XLineEndListRef pLineEndList
 
PresentationObjects ePO
 
SfxItemSet aInputSet
 
std::unique_ptr< SfxItemSetpOutSet
 

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_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

Template-Tab-Dialog.

Definition at line 34 of file prltempl.hxx.

Constructor & Destructor Documentation

◆ SdPresLayoutTemplateDlg()

SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg ( SfxObjectShell const *  pDocSh,
weld::Window pParent,
bool  bBackground,
SfxStyleSheetBase rStyleBase,
PresentationObjects  ePO,
SfxStyleSheetBasePool pSSPool 
)

◆ ~SdPresLayoutTemplateDlg()

SdPresLayoutTemplateDlg::~SdPresLayoutTemplateDlg ( )
overridevirtual

Definition at line 208 of file prltempl.cxx.

Member Function Documentation

◆ GetOutlineLevel()

sal_uInt16 SdPresLayoutTemplateDlg::GetOutlineLevel ( ) const
private

◆ GetOutputItemSet()

const SfxItemSet * SdPresLayoutTemplateDlg::GetOutputItemSet ( ) const

◆ PageCreated()

void SdPresLayoutTemplateDlg::PageCreated ( const OUString &  rId,
SfxTabPage rPage 
)
overrideprivatevirtual

Member Data Documentation

◆ aInputSet

SfxItemSet SdPresLayoutTemplateDlg::aInputSet
private

Definition at line 52 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ ePO

PresentationObjects SdPresLayoutTemplateDlg::ePO
private

Definition at line 47 of file prltempl.hxx.

Referenced by GetOutlineLevel(), and SdPresLayoutTemplateDlg().

◆ mpDocShell

const SfxObjectShell* SdPresLayoutTemplateDlg::mpDocShell
private

Definition at line 37 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pBitmapList

XBitmapListRef SdPresLayoutTemplateDlg::pBitmapList
private

Definition at line 42 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pColorTab

XColorListRef SdPresLayoutTemplateDlg::pColorTab
private

Definition at line 39 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pDashList

XDashListRef SdPresLayoutTemplateDlg::pDashList
private

Definition at line 44 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pGradientList

XGradientListRef SdPresLayoutTemplateDlg::pGradientList
private

Definition at line 40 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pHatchingList

XHatchListRef SdPresLayoutTemplateDlg::pHatchingList
private

Definition at line 41 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pLineEndList

XLineEndListRef SdPresLayoutTemplateDlg::pLineEndList
private

Definition at line 45 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().

◆ pOutSet

std::unique_ptr<SfxItemSet> SdPresLayoutTemplateDlg::pOutSet
private

Definition at line 53 of file prltempl.hxx.

Referenced by GetOutputItemSet(), and SdPresLayoutTemplateDlg().

◆ pPatternList

XPatternListRef SdPresLayoutTemplateDlg::pPatternList
private

Definition at line 43 of file prltempl.hxx.

Referenced by PageCreated(), and SdPresLayoutTemplateDlg().


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