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

#include <templatedlg.hxx>

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

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 DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () 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_fnmaSelTemplates
 
css::uno::Reference< css::frame::XModel > m_xModel
 
css::uno::Reference< css::frame::XDesktop2 > mxDesktop
 
Timer m_aUpdateDataTimer
 
std::unique_ptr< weld::EntrymxSearchFilter
 
std::unique_ptr< weld::ComboBoxmxCBApp
 
std::unique_ptr< weld::ComboBoxmxCBFolder
 
std::unique_ptr< weld::ButtonmxOKButton
 
std::unique_ptr< weld::CheckButtonmxCBXHideDlg
 
std::unique_ptr< weld::MenuButtonmxActionBar
 
std::unique_ptr< TemplateDlgLocalViewmxLocalView
 
std::unique_ptr< weld::CustomWeldmxLocalViewWeld
 
std::unique_ptr< weld::ToggleablemxListViewButton
 
std::unique_ptr< weld::ToggleablemxThumbnailViewButton
 
TemplateViewMode mViewMode
 
bool bMakeSelItemVisible
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 168 of file templatedlg.hxx.

Constructor & Destructor Documentation

◆ SfxTemplateSelectionDlg()

SfxTemplateSelectionDlg::SfxTemplateSelectionDlg ( weld::Window parent)

◆ ~SfxTemplateSelectionDlg()

SfxTemplateSelectionDlg::~SfxTemplateSelectionDlg ( )
overridevirtual

Definition at line 1351 of file templatedlg.cxx.

References maIdle, and Task::Stop().

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/3]

SfxTemplateSelectionDlg::DECL_DLLPRIVATE_LINK ( OkClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/3]

SfxTemplateSelectionDlg::DECL_DLLPRIVATE_LINK ( OpenTemplateHdl  ,
ThumbnailViewItem ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/3]

SfxTemplateSelectionDlg::DECL_DLLPRIVATE_LINK ( TimeOut  ,
Timer ,
void   
)
private

◆ getTemplatePath()

OUString const & SfxTemplateSelectionDlg::getTemplatePath ( ) const
inline

Definition at line 176 of file templatedlg.hxx.

◆ IsStartWithTemplate()

bool SfxTemplateSelectionDlg::IsStartWithTemplate ( ) const
inline

Definition at line 177 of file templatedlg.hxx.

◆ run()

short SfxTemplateSelectionDlg::run ( )
overridevirtual

Member Data Documentation

◆ maIdle

Idle SfxTemplateSelectionDlg::maIdle
private

Definition at line 185 of file templatedlg.hxx.

Referenced by run(), and ~SfxTemplateSelectionDlg().

◆ msTemplatePath

OUString SfxTemplateSelectionDlg::msTemplatePath
private

Definition at line 184 of file templatedlg.hxx.


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