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

#include <cuitabline.hxx>

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

Public Member Functions

 SvxLineTabDialog (weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, const SdrObject *pObj, bool bHasObj)
 
void SetNewDashList (XDashListRef const &pInLst)
 
const XDashListRefGetNewDashList () const
 
void SetNewLineEndList (XLineEndListRef const &pInLst)
 
const XLineEndListRefGetNewLineEndList () const
 
void SetNewColorList (XColorListRef const &pColTab)
 
const XColorListRefGetNewColorList () 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
 
virtual short Ok () override
 
 DECL_LINK (CancelHdlImpl, weld::Button &, void)
 
void SavePalettes ()
 

Private Attributes

SdrModelpDrawModel
 
const SdrObjectpObj
 
XColorListRef pColorList
 
XColorListRef mpNewColorList
 
XDashListRef pDashList
 
XDashListRef pNewDashList
 
XLineEndListRef pLineEndList
 
XLineEndListRef pNewLineEndList
 
bool bObjSelected
 
ChangeType nLineEndListState
 
ChangeType nDashListState
 
ChangeType mnColorListState
 
PageType nPageType
 
sal_Int32 nPosDashLb
 
sal_Int32 nPosLineEndLb
 

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

Definition at line 36 of file cuitabline.hxx.

Constructor & Destructor Documentation

◆ SvxLineTabDialog()

SvxLineTabDialog::SvxLineTabDialog ( weld::Window pParent,
const SfxItemSet pAttr,
SdrModel pModel,
const SdrObject pObj,
bool  bHasObj 
)

Member Function Documentation

◆ DECL_LINK()

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

◆ GetNewColorList()

const XColorListRef & SvxLineTabDialog::GetNewColorList ( ) const
inline

Definition at line 77 of file cuitabline.hxx.

References mpNewColorList.

Referenced by SvxShadowTabPage::ActivatePage().

◆ GetNewDashList()

const XDashListRef & SvxLineTabDialog::GetNewDashList ( ) const
inline

Definition at line 70 of file cuitabline.hxx.

References pNewDashList.

◆ GetNewLineEndList()

const XLineEndListRef & SvxLineTabDialog::GetNewLineEndList ( ) const
inline

Definition at line 74 of file cuitabline.hxx.

References pNewLineEndList.

◆ Ok()

short SvxLineTabDialog::Ok ( )
overrideprivatevirtual

Reimplemented from SfxTabDialogController.

Definition at line 147 of file tabline.cxx.

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

◆ PageCreated()

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

◆ SavePalettes()

void SvxLineTabDialog::SavePalettes ( )
private

◆ SetNewColorList()

void SvxLineTabDialog::SetNewColorList ( XColorListRef const &  pColTab)
inline

Definition at line 76 of file cuitabline.hxx.

References mpNewColorList.

Referenced by IMPL_LINK_NOARG().

◆ SetNewDashList()

void SvxLineTabDialog::SetNewDashList ( XDashListRef const &  pInLst)
inline

Definition at line 68 of file cuitabline.hxx.

References pNewDashList.

◆ SetNewLineEndList()

void SvxLineTabDialog::SetNewLineEndList ( XLineEndListRef const &  pInLst)
inline

Definition at line 72 of file cuitabline.hxx.

References pNewLineEndList.

Member Data Documentation

◆ bObjSelected

bool SvxLineTabDialog::bObjSelected
private

Definition at line 47 of file cuitabline.hxx.

Referenced by PageCreated().

◆ mnColorListState

ChangeType SvxLineTabDialog::mnColorListState
private

Definition at line 51 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ mpNewColorList

XColorListRef SvxLineTabDialog::mpNewColorList
private

Definition at line 42 of file cuitabline.hxx.

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

◆ nDashListState

ChangeType SvxLineTabDialog::nDashListState
private

Definition at line 50 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ nLineEndListState

ChangeType SvxLineTabDialog::nLineEndListState
private

Definition at line 49 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ nPageType

PageType SvxLineTabDialog::nPageType
private

Definition at line 53 of file cuitabline.hxx.

Referenced by PageCreated().

◆ nPosDashLb

sal_Int32 SvxLineTabDialog::nPosDashLb
private

Definition at line 54 of file cuitabline.hxx.

Referenced by PageCreated().

◆ nPosLineEndLb

sal_Int32 SvxLineTabDialog::nPosLineEndLb
private

Definition at line 55 of file cuitabline.hxx.

Referenced by PageCreated().

◆ pColorList

XColorListRef SvxLineTabDialog::pColorList
private

Definition at line 41 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ pDashList

XDashListRef SvxLineTabDialog::pDashList
private

Definition at line 43 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ pDrawModel

SdrModel* SvxLineTabDialog::pDrawModel
private

Definition at line 38 of file cuitabline.hxx.

Referenced by SavePalettes().

◆ pLineEndList

XLineEndListRef SvxLineTabDialog::pLineEndList
private

Definition at line 45 of file cuitabline.hxx.

Referenced by PageCreated(), and SavePalettes().

◆ pNewDashList

XDashListRef SvxLineTabDialog::pNewDashList
private

Definition at line 44 of file cuitabline.hxx.

Referenced by GetNewDashList(), SavePalettes(), and SetNewDashList().

◆ pNewLineEndList

XLineEndListRef SvxLineTabDialog::pNewLineEndList
private

Definition at line 46 of file cuitabline.hxx.

Referenced by GetNewLineEndList(), SavePalettes(), and SetNewLineEndList().

◆ pObj

const SdrObject* SvxLineTabDialog::pObj
private

Definition at line 39 of file cuitabline.hxx.

Referenced by PageCreated(), and SvxLineTabDialog().


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