LibreOffice Module cui (master) 1
|
#include <cuitabline.hxx>
Public Member Functions | |
SvxLineTabDialog (weld::Window *pParent, const SfxItemSet *pAttr, SdrModel *pModel, const SdrObject *pObj, bool bHasObj) | |
void | SetNewDashList (XDashListRef const &pInLst) |
const XDashListRef & | GetNewDashList () const |
void | SetNewLineEndList (XLineEndListRef const &pInLst) |
const XLineEndListRef & | GetNewLineEndList () const |
void | SetNewColorList (XColorListRef const &pColTab) |
const XColorListRef & | GetNewColorList () 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 |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () 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::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () 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 | |
SdrModel * | pDrawModel |
const SdrObject * | pObj |
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 SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
Protected Attributes inherited from SfxTabDialogController | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Definition at line 36 of file cuitabline.hxx.
SvxLineTabDialog::SvxLineTabDialog | ( | weld::Window * | pParent, |
const SfxItemSet * | pAttr, | ||
SdrModel * | pModel, | ||
const SdrObject * | pObj, | ||
bool | bHasObj | ||
) |
Definition at line 29 of file tabline.cxx.
References SfxTabDialogController::AddTabPage(), Area, weld::Button::connect_clicked(), SvxShadowTabPage::Create(), SvxLineTabPage::Create(), SvxLineDefTabPage::Create(), SvxLineEndDefTabPage::Create(), SfxTabDialogController::GetCancelButton(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), LINK, NONE, pObj, and SfxTabDialogController::RemoveTabPage().
|
private |
|
inline |
Definition at line 77 of file cuitabline.hxx.
References mpNewColorList.
Referenced by SvxShadowTabPage::ActivatePage().
|
inline |
Definition at line 70 of file cuitabline.hxx.
References pNewDashList.
|
inline |
Definition at line 74 of file cuitabline.hxx.
References pNewLineEndList.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 147 of file tabline.cxx.
References SfxTabDialogController::Ok(), and SavePalettes().
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 163 of file tabline.cxx.
References bObjSelected, mnColorListState, nDashListState, nLineEndListState, nPageType, nPosDashLb, nPosLineEndLb, pColorList, pDashList, pLineEndList, and pObj.
|
private |
Definition at line 81 of file tabline.cxx.
References SfxObjectShell::Current(), SdrModel::GetColorList(), SdrModel::GetDashList(), SdrModel::GetLineEndList(), mnColorListState, mpNewColorList, nDashListState, nIndex, nLineEndListState, pColorList, pDashList, pDrawModel, pLineEndList, pNewDashList, pNewLineEndList, SfxShell::PutItem(), and SdrModel::SetPropertyList().
Referenced by Ok().
|
inline |
Definition at line 76 of file cuitabline.hxx.
References mpNewColorList.
Referenced by IMPL_LINK_NOARG().
|
inline |
Definition at line 68 of file cuitabline.hxx.
References pNewDashList.
|
inline |
Definition at line 72 of file cuitabline.hxx.
References pNewLineEndList.
|
private |
Definition at line 47 of file cuitabline.hxx.
Referenced by PageCreated().
|
private |
Definition at line 51 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 42 of file cuitabline.hxx.
Referenced by GetNewColorList(), SavePalettes(), and SetNewColorList().
|
private |
Definition at line 50 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 49 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 53 of file cuitabline.hxx.
Referenced by PageCreated().
|
private |
Definition at line 54 of file cuitabline.hxx.
Referenced by PageCreated().
|
private |
Definition at line 55 of file cuitabline.hxx.
Referenced by PageCreated().
|
private |
Definition at line 41 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 43 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 38 of file cuitabline.hxx.
Referenced by SavePalettes().
|
private |
Definition at line 45 of file cuitabline.hxx.
Referenced by PageCreated(), and SavePalettes().
|
private |
Definition at line 44 of file cuitabline.hxx.
Referenced by GetNewDashList(), SavePalettes(), and SetNewDashList().
|
private |
Definition at line 46 of file cuitabline.hxx.
Referenced by GetNewLineEndList(), SavePalettes(), and SetNewLineEndList().
|
private |
Definition at line 39 of file cuitabline.hxx.
Referenced by PageCreated(), and SvxLineTabDialog().