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

#include <cuitabarea.hxx>

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

Public Member Functions

 SvxAreaTabDialog (weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, bool bShadow, bool bSlideBackground)
 
void SetNewColorList (XColorListRef const &pColorList)
 
const XColorListRefGetNewColorList () const
 
- Public Member Functions inherited from SfxTabDialogController
 SfxTabDialogController (weld::Widget *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 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< 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)
 
virtual weld::ButtonGetOKButton () const=0
 
virtual const SfxItemSetGetExampleSet () const=0
 
- 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 (int nResponse)
 

Private Member Functions

virtual void PageCreated (const OString &rId, SfxTabPage &rPage) override
 
virtual short Ok () override
 
 DECL_LINK (CancelHdlImpl, weld::Button &, void)
 
void SavePalettes ()
 

Private Attributes

SdrModelmpDrawModel
 
XColorListRef mpColorList
 
XColorListRef mpNewColorList
 
XGradientListRef mpGradientList
 
XGradientListRef mpNewGradientList
 
XHatchListRef mpHatchingList
 
XHatchListRef mpNewHatchingList
 
XBitmapListRef mpBitmapList
 
XBitmapListRef mpNewBitmapList
 
XPatternListRef mpPatternList
 
XPatternListRef mpNewPatternList
 
ChangeType mnColorListState
 
ChangeType mnBitmapListState
 
ChangeType mnPatternListState
 
ChangeType mnGradientListState
 
ChangeType mnHatchingListState
 

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 OString &rName)
 
virtual void PageCreated (const OString &rName, SfxTabPage &rPage)
 
SfxItemSetGetInputSetImpl ()
 
SfxTabPageGetTabPage (std::string_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 90 of file cuitabarea.hxx.

Constructor & Destructor Documentation

◆ SvxAreaTabDialog()

SvxAreaTabDialog::SvxAreaTabDialog ( weld::Window pParent,
const SfxItemSet pAttr,
SdrModel pModel,
bool  bShadow,
bool  bSlideBackground 
)

Member Function Documentation

◆ DECL_LINK()

SvxAreaTabDialog::DECL_LINK ( CancelHdlImpl  ,
weld::Button ,
void   
)
private

◆ GetNewColorList()

const XColorListRef & SvxAreaTabDialog::GetNewColorList ( ) const
inline

◆ Ok()

short SvxAreaTabDialog::Ok ( )
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 210 of file tabarea.cxx.

References SfxTabDialogController::Ok(), and SavePalettes().

◆ PageCreated()

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

◆ SavePalettes()

void SvxAreaTabDialog::SavePalettes ( )
private

◆ SetNewColorList()

void SvxAreaTabDialog::SetNewColorList ( XColorListRef const &  pColorList)
inline

Definition at line 121 of file cuitabarea.hxx.

References mpNewColorList.

Referenced by IMPL_LINK_NOARG().

Member Data Documentation

◆ mnBitmapListState

ChangeType SvxAreaTabDialog::mnBitmapListState
private

Definition at line 106 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mnColorListState

ChangeType SvxAreaTabDialog::mnColorListState
private

Definition at line 105 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mnGradientListState

ChangeType SvxAreaTabDialog::mnGradientListState
private

Definition at line 108 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mnHatchingListState

ChangeType SvxAreaTabDialog::mnHatchingListState
private

Definition at line 109 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mnPatternListState

ChangeType SvxAreaTabDialog::mnPatternListState
private

Definition at line 107 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpBitmapList

XBitmapListRef SvxAreaTabDialog::mpBitmapList
private

Definition at line 100 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpColorList

XColorListRef SvxAreaTabDialog::mpColorList
private

Definition at line 94 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpDrawModel

SdrModel* SvxAreaTabDialog::mpDrawModel
private

Definition at line 92 of file cuitabarea.hxx.

Referenced by SavePalettes().

◆ mpGradientList

XGradientListRef SvxAreaTabDialog::mpGradientList
private

Definition at line 96 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpHatchingList

XHatchListRef SvxAreaTabDialog::mpHatchingList
private

Definition at line 98 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpNewBitmapList

XBitmapListRef SvxAreaTabDialog::mpNewBitmapList
private

Definition at line 101 of file cuitabarea.hxx.

Referenced by SavePalettes().

◆ mpNewColorList

XColorListRef SvxAreaTabDialog::mpNewColorList
private

Definition at line 95 of file cuitabarea.hxx.

Referenced by GetNewColorList(), SavePalettes(), and SetNewColorList().

◆ mpNewGradientList

XGradientListRef SvxAreaTabDialog::mpNewGradientList
private

Definition at line 97 of file cuitabarea.hxx.

Referenced by SavePalettes().

◆ mpNewHatchingList

XHatchListRef SvxAreaTabDialog::mpNewHatchingList
private

Definition at line 99 of file cuitabarea.hxx.

Referenced by SavePalettes().

◆ mpNewPatternList

XPatternListRef SvxAreaTabDialog::mpNewPatternList
private

Definition at line 103 of file cuitabarea.hxx.

Referenced by SavePalettes().

◆ mpPatternList

XPatternListRef SvxAreaTabDialog::mpPatternList
private

Definition at line 102 of file cuitabarea.hxx.

Referenced by PageCreated(), and SavePalettes().


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