LibreOffice Module sfx2 (master) 1
|
#include <templatedlg.hxx>
Public Member Functions | |
SfxTemplateSelectionDlg (weld::Window *parent) | |
virtual | ~SfxTemplateSelectionDlg () override |
virtual short | run () override |
OUString const & | getTemplatePath () const |
bool | IsStartWithTemplate () const |
Public Member Functions inherited from SfxTemplateManagerDlg | |
SfxTemplateManagerDlg (weld::Window *parent) | |
virtual | ~SfxTemplateManagerDlg () override |
virtual short | run () override |
void | setDocumentModel (const css::uno::Reference< css::frame::XModel > &rModel) |
void | setTemplateViewMode (TemplateViewMode eViewMode) |
TemplateViewMode | getTemplateViewMode () const |
Public Member Functions inherited from weld::GenericDialogController | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OUString &rHelpId) |
OUString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
DECL_DLLPRIVATE_LINK (OpenTemplateHdl, ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (OkClickHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (TimeOut, Timer *, void) | |
Private Attributes | |
OUString | msTemplatePath |
Idle | maIdle |
Additional Inherited Members | |
Static Public Member Functions inherited from weld::DialogController | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
Protected Member Functions inherited from SfxTemplateManagerDlg | |
void | getApplicationSpecificSettings () |
void | readSettings () |
void | writeSettings () |
void | fillFolderComboBox () |
DECL_DLLPRIVATE_LINK (SelectApplicationHdl, weld::ComboBox &, void) | |
DECL_DLLPRIVATE_LINK (SelectRegionHdl, weld::ComboBox &, void) | |
DECL_DLLPRIVATE_LINK (OkClickHdl, weld::Button &, void) | |
void | ImportActionHdl () |
DECL_DLLPRIVATE_LINK (TVItemStateHdl, const ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (MenuSelectHdl, const OUString &, void) | |
void | DefaultTemplateMenuSelectHdl (std::u16string_view rIdent) |
DECL_DLLPRIVATE_LINK (OpenRegionHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (CreateContextMenuHdl, ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (OpenTemplateHdl, ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (EditTemplateHdl, ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (DeleteTemplateHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (DefaultTemplateHdl, ThumbnailViewItem *, void) | |
DECL_DLLPRIVATE_LINK (MoveTemplateHdl, void *, void) | |
DECL_DLLPRIVATE_LINK (ExportTemplateHdl, void *, void) | |
void | SearchUpdate () |
DECL_DLLPRIVATE_LINK (SearchUpdateHdl, weld::Entry &, void) | |
DECL_DLLPRIVATE_LINK (GetFocusHdl, weld::Widget &, void) | |
DECL_DLLPRIVATE_LINK (LoseFocusHdl, weld::Widget &, void) | |
DECL_DLLPRIVATE_LINK (ImplUpdateDataHdl, Timer *, void) | |
DECL_DLLPRIVATE_LINK (KeyInputHdl, const KeyEvent &, bool) | |
DECL_DLLPRIVATE_LINK (ListViewHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (ThumbnailViewHdl, weld::Toggleable &, void) | |
DECL_DLLPRIVATE_LINK (FocusRectLocalHdl, weld::Widget &, tools::Rectangle) | |
void | OnTemplateImportCategory (std::u16string_view sCategory) |
void | OnTemplateOpen () |
void | OnTemplateExport () |
void | OnTemplateState (const ThumbnailViewItem *pItem) |
void | OnCategoryNew () |
void | OnCategoryRename () |
void | OnCategoryDelete () |
void | updateMenuItems () |
void | localMoveTo (sal_uInt16 nMenuId) |
Move templates stored in the filesystem to another folder. More... | |
FILTER_APPLICATION | getCurrentApplicationFilter () const |
Return filter according to the currently selected application filter. More... | |
Static Protected Member Functions inherited from SfxTemplateManagerDlg | |
static void | ExtensionsActionHdl () |
Protected Attributes inherited from SfxTemplateManagerDlg | |
std::set< const ThumbnailViewItem *, selection_cmp_fn > | maSelTemplates |
css::uno::Reference< css::frame::XModel > | m_xModel |
css::uno::Reference< css::frame::XDesktop2 > | mxDesktop |
Timer | m_aUpdateDataTimer |
std::unique_ptr< weld::Entry > | mxSearchFilter |
std::unique_ptr< weld::ComboBox > | mxCBApp |
std::unique_ptr< weld::ComboBox > | mxCBFolder |
std::unique_ptr< weld::Button > | mxOKButton |
std::unique_ptr< weld::CheckButton > | mxCBXHideDlg |
std::unique_ptr< weld::MenuButton > | mxActionBar |
std::unique_ptr< TemplateDlgLocalView > | mxLocalView |
std::unique_ptr< weld::CustomWeld > | mxLocalViewWeld |
std::unique_ptr< weld::Toggleable > | mxListViewButton |
std::unique_ptr< weld::Toggleable > | mxThumbnailViewButton |
TemplateViewMode | mViewMode |
bool | bMakeSelItemVisible |
Protected Attributes inherited from weld::GenericDialogController | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 168 of file templatedlg.hxx.
SfxTemplateSelectionDlg::SfxTemplateSelectionDlg | ( | weld::Window * | parent | ) |
Definition at line 1327 of file templatedlg.cxx.
References SfxTemplateManagerDlg::getCurrentApplicationFilter(), LINK, weld::GenericDialogController::m_xDialog, MNI_IMPRESS, SfxTemplateManagerDlg::mxActionBar, SfxTemplateManagerDlg::mxCBApp, SfxTemplateManagerDlg::mxCBFolder, SfxTemplateManagerDlg::mxCBXHideDlg, SfxTemplateManagerDlg::mxLocalView, SfxTemplateManagerDlg::mxOKButton, SfxResId(), and SfxTemplateManagerDlg::updateMenuItems().
|
overridevirtual |
Definition at line 1351 of file templatedlg.cxx.
References maIdle, and Task::Stop().
|
private |
|
private |
|
private |
|
inline |
Definition at line 176 of file templatedlg.hxx.
|
inline |
Definition at line 177 of file templatedlg.hxx.
|
overridevirtual |
Reimplemented from SfxTemplateManagerDlg.
Definition at line 1356 of file templatedlg.cxx.
References eThumbnailView, LINK, weld::GenericDialogController::m_xDialog, maIdle, weld::DialogController::run(), Timer::SetInvokeHandler(), Task::SetPriority(), SfxTemplateManagerDlg::setTemplateViewMode(), and Idle::Start().
|
private |
Definition at line 185 of file templatedlg.hxx.
Referenced by run(), and ~SfxTemplateSelectionDlg().
|
private |
Definition at line 184 of file templatedlg.hxx.