LibreOffice Module sd (master) 1
|
Template-Tab-Dialog. More...
#include <prltempl.hxx>
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 SfxItemSet * | GetOutputItemSet () const |
![]() | |
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 |
![]() | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
![]() | |
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 SfxObjectShell * | mpDocShell |
XColorListRef | pColorTab |
XGradientListRef | pGradientList |
XHatchListRef | pHatchingList |
XBitmapListRef | pBitmapList |
XPatternListRef | pPatternList |
XDashListRef | pDashList |
XLineEndListRef | pLineEndList |
PresentationObjects | ePO |
SfxItemSet | aInputSet |
std::unique_ptr< SfxItemSet > | pOutSet |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
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 () |
![]() | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Template-Tab-Dialog.
Definition at line 34 of file prltempl.hxx.
SdPresLayoutTemplateDlg::SdPresLayoutTemplateDlg | ( | SfxObjectShell const * | pDocSh, |
weld::Window * | pParent, | ||
bool | bBackground, | ||
SfxStyleSheetBase & | rStyleBase, | ||
PresentationObjects | ePO, | ||
SfxStyleSheetBasePool * | pSSPool | ||
) |
Constructor of Tab dialog: appends pages to the dialog.
Definition at line 45 of file prltempl.cxx.
References SfxTabDialogController::AddTabPage(), aInputSet, Background, BackgroundObjects, SfxAbstractDialogFactory::Create(), EE_PARA_NUMBULLET(), ePO, SfxStyleSheetBasePool::Find(), SvxBitmapListItem::GetBitmapList(), SvxColorListItem::GetColorList(), SvxDashListItem::GetDashList(), SvxGradientListItem::GetGradientList(), SvxHatchListItem::GetHatchList(), SfxShell::GetItem(), SfxStyleSheetBase::GetItemSet(), GetItemSet(), SfxItemSet::GetItemState(), SvxLineEndListItem::GetLineEndList(), GetOutlineLevel(), SfxItemSet::GetParent(), SvxPatternListItem::GetPatternList(), SfxItemSet::GetRanges(), SfxAbstractDialogFactory::GetTabPageCreatorFunc(), i, IS_OUTLINE, SvtCJKOptions::IsAsianTypographyEnabled(), m_xDialog, SfxItemSet::MergeRange(), mpDocShell, Notes, Outline_1, Outline_2, Outline_3, Outline_4, Outline_5, Outline_6, Outline_7, Outline_8, Outline_9, pBitmapList, pColorTab, pDashList, pGradientList, pHatchingList, pLineEndList, pOutSet, pPatternList, SfxItemSet::Put(), SfxTabDialogController::RemoveTabPage(), SdResId(), SfxTabDialogController::SetInputSet(), SfxItemSet::SetParent(), WhichRangesContainer::size(), Subtitle, and Title.
|
overridevirtual |
Definition at line 208 of file prltempl.cxx.
|
private |
const SfxItemSet * SdPresLayoutTemplateDlg::GetOutputItemSet | ( | ) | const |
Definition at line 271 of file prltempl.cxx.
References EE_PARA_NUMBULLET(), SvxNumBulletItem::GetNumRule(), SfxTabDialogController::GetOutputItemSet(), SdBulletMapper::MapFontsInNumRule(), and pOutSet.
|
overrideprivatevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 212 of file prltempl.cxx.
References aInputSet, SvxFontListItem::GetFontList(), SfxShell::GetItem(), SfxItemSet::GetPool(), mpDocShell, SfxTabPage::PageCreated(), pBitmapList, pColorTab, pDashList, pGradientList, pHatchingList, pLineEndList, pPatternList, and SfxItemSet::Put().
|
private |
Definition at line 52 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 47 of file prltempl.hxx.
Referenced by GetOutlineLevel(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 37 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 42 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 39 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 44 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 40 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 41 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 45 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 53 of file prltempl.hxx.
Referenced by GetOutputItemSet(), and SdPresLayoutTemplateDlg().
|
private |
Definition at line 43 of file prltempl.hxx.
Referenced by PageCreated(), and SdPresLayoutTemplateDlg().