LibreOffice Module sw (master) 1
|
#include <tmpdlg.hxx>
Public Member Functions | |
SwTemplateDlgController (weld::Window *pParent, SfxStyleSheetBase &rBase, SfxStyleFamily nRegion, const OUString &sPage, SwWrtShell *pActShell, bool bNew) | |
virtual void | RefreshInputSet () override |
virtual void | PageCreated (const OUString &rId, SfxTabPage &rPage) override |
virtual short | Ok () override |
Public Member Functions inherited from SfxStyleDialogController | |
SfxStyleDialogController (weld::Window *pParent, const OUString &rUIXMLDescription, const OUString &rID, SfxStyleSheetBase &) | |
virtual | ~SfxStyleDialogController () override |
SfxStyleSheetBase & | GetStyleSheet () |
const SfxStyleSheetBase & | GetStyleSheet () const |
virtual short | Ok () override |
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 Attributes | |
SfxStyleFamily | m_nType |
sal_uInt16 | m_nHtmlMode |
SwWrtShell * | m_pWrtShell |
bool | m_bNewStyle |
Additional Inherited Members | |
Static Public Member Functions inherited from SfxStyleDialogController | |
static OUString | GenerateUnusedName (SfxStyleSheetBasePool &rPool, SfxStyleFamily eFam) |
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 29 of file tmpdlg.hxx.
SwTemplateDlgController::SwTemplateDlgController | ( | weld::Window * | pParent, |
SfxStyleSheetBase & | rBase, | ||
SfxStyleFamily | nRegion, | ||
const OUString & | sPage, | ||
SwWrtShell * | pActShell, | ||
bool | bNew | ||
) |
sPage | Identifies name of page to open at by default |
Definition at line 63 of file tmpdlg.cxx.
References SfxTabDialogController::AddTabPage(), SfxAbstractDialogFactory::Create(), SvxFooterPage::Create(), SvxHeaderPage::Create(), SwColumnPage::Create(), SwDropCapsPage::Create(), SwFramePage::Create(), SwFrameAddPage::Create(), SwParagraphNumTabPage::Create(), SwFootNotePage::Create(), SwTextGridPage::Create(), SwCondCollPage::Create(), SwWrapTabPage::Create(), SfxTabDialogController::GetApplyButton(), SwView::GetDocShell(), GetHtmlMode(), SvxFooterPage::GetRanges(), SvxHeaderPage::GetRanges(), SwColumnPage::GetRanges(), SwDropCapsPage::GetRanges(), SwFramePage::GetRanges(), SwFrameAddPage::GetRanges(), SwParagraphNumTabPage::GetRanges(), SwFootNotePage::GetRanges(), SwTextGridPage::GetRanges(), SwCondCollPage::GetRanges(), SwWrapTabPage::GetRanges(), SfxTabDialogController::GetResetButton(), SfxTabDialogController::GetStandardButton(), SfxAbstractDialogFactory::GetTabPageCreatorFunc(), SfxAbstractDialogFactory::GetTabPageRangesFunc(), SwWrtShell::GetView(), HTMLMODE_FULL_STYLES, HTMLMODE_ON, SvtCJKOptions::IsAsianTypographyEnabled(), SvtCJKOptions::IsDoubleLinesEnabled(), SvxHtmlOptions::IsPrintLayoutExtension(), m_bNewStyle, m_nHtmlMode, m_pWrtShell, SfxTabDialogController::RemoveTabPage(), RES_CONDTXTFMTCOLL(), weld::Widget::set_accessible_description(), weld::Button::set_label(), weld::Widget::set_tooltip_text(), SfxTabDialogController::SetCurPageId(), and SwResId().
|
overridevirtual |
Reimplemented from SfxStyleDialogController.
Definition at line 235 of file tmpdlg.cxx.
References SfxTabDialogController::GetOutputItemSet(), SfxTabDialogController::m_xExampleSet, SfxTabDialogController::Ok(), Put, RET_CANCEL, and RET_OK.
|
overridevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 270 of file tmpdlg.cxx.
References SwMacroAssignDlg::AddEvents(), weld::ComboBox::append_text(), Application::CreateBuilder(), FillCharStyleListBox(), SwStyleNameMapper::FillUIName(), SwEditShell::FindTextFormatCollByName(), SfxStyleSheetBasePool::First(), GetActiveView(), GetActiveWrtShell(), GetDfltMetric(), SwView::GetDocShell(), SvxFontListItem::GetFontList(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), SfxTabDialogController::GetInputSetImpl(), CharFormat::GetItem(), SfxStyleSheetBase::GetItemSet(), SfxTabPage::GetItemSet(), SfxStyleSheetBase::GetName(), SfxItemSet::GetParent(), SfxItemSet::GetPool(), SwViewShell::GetShellRes(), SfxStyleDialogController::GetStyleSheet(), SwDocShell::GetStyleSheetPool(), SwDocShell::GetView(), SwWrtShell::GetView(), SfxViewShell::GetViewFrame(), HTMLMODE_ON, SwTextFormatColl::IsAssignedToListLevelOfOutlineStyle(), m_nHtmlMode, m_nType, m_pWrtShell, MACASSGN_ALLFRM, o3tl::mm10, SfxStyleSheetBasePool::Next(), SfxTabPage::PageCreated(), SfxItemSet::Put(), RES_POOLCHR_BULLET_LEVEL, RES_POOLCHR_NUM_LEVEL, RES_POOLCOLL_TEXT, SfxTabPage::SetFrame(), SVX_ENABLE_CHAR_TRANSPARENCY, SVX_PREVIEW_CHARACTER, SVX_RELATIVE_MODE, SwResId(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxTabDialogController.
Definition at line 263 of file tmpdlg.cxx.
References SfxItemSet::ClearItem(), SfxTabDialogController::GetInputSetImpl(), CharFormat::GetItemSet(), SfxStyleDialogController::GetStyleSheet(), and SfxItemSet::SetParent().
|
private |
Definition at line 35 of file tmpdlg.hxx.
Referenced by SwTemplateDlgController().
|
private |
Definition at line 33 of file tmpdlg.hxx.
Referenced by PageCreated(), and SwTemplateDlgController().
|
private |
Definition at line 32 of file tmpdlg.hxx.
Referenced by PageCreated().
|
private |
Definition at line 34 of file tmpdlg.hxx.
Referenced by PageCreated(), and SwTemplateDlgController().