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

#include <new.hxx>

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

Public Member Functions

 SfxNewFileDialog (weld::Window *pParent, SfxNewFileDialogMode nFlags)
 
virtual ~SfxNewFileDialog () override
 
bool IsTemplate () const
 
OUString GetTemplateFileName () const
 
SfxTemplateFlags GetTemplateFlags () const
 
void SetTemplateFlags (SfxTemplateFlags nSet)
 
- 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
 
- 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 (Update, Timer *, void)
 
 DECL_DLLPRIVATE_LINK (RegionSelect, weld::TreeView &, void)
 
 DECL_DLLPRIVATE_LINK (TemplateSelect, weld::TreeView &, void)
 
 DECL_DLLPRIVATE_LINK (DoubleClick, weld::TreeView &, bool)
 
 DECL_DLLPRIVATE_LINK (Expand, weld::Expander &, void)
 
sal_uInt16 GetSelectedTemplatePos () const
 

Private Attributes

Idle m_aPrevIdle
 
SfxNewFileDialogMode m_nFlags
 
SfxDocumentTemplates m_aTemplates
 
SfxObjectShellLock m_xDocShell
 
std::unique_ptr< SfxPreviewWin_Implm_xPreviewController
 
std::unique_ptr< weld::TreeViewm_xRegionLb
 
std::unique_ptr< weld::TreeViewm_xTemplateLb
 
std::unique_ptr< weld::CheckButtonm_xTextStyleCB
 
std::unique_ptr< weld::CheckButtonm_xFrameStyleCB
 
std::unique_ptr< weld::CheckButtonm_xPageStyleCB
 
std::unique_ptr< weld::CheckButtonm_xNumStyleCB
 
std::unique_ptr< weld::CheckButtonm_xMergeStyleCB
 
std::unique_ptr< weld::Buttonm_xLoadFilePB
 
std::unique_ptr< weld::Expanderm_xMoreBt
 
std::unique_ptr< weld::CustomWeldm_xPreviewWin
 
std::unique_ptr< weld::Labelm_xAltTitleFt
 

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 Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 62 of file new.hxx.

Constructor & Destructor Documentation

◆ SfxNewFileDialog()

SfxNewFileDialog::SfxNewFileDialog ( weld::Window pParent,
SfxNewFileDialogMode  nFlags 
)

◆ ~SfxNewFileDialog()

SfxNewFileDialog::~SfxNewFileDialog ( )
overridevirtual

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/5]

SfxNewFileDialog::DECL_DLLPRIVATE_LINK ( DoubleClick  ,
weld::TreeView ,
bool   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/5]

SfxNewFileDialog::DECL_DLLPRIVATE_LINK ( Expand  ,
weld::Expander ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/5]

SfxNewFileDialog::DECL_DLLPRIVATE_LINK ( RegionSelect  ,
weld::TreeView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/5]

SfxNewFileDialog::DECL_DLLPRIVATE_LINK ( TemplateSelect  ,
weld::TreeView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [5/5]

SfxNewFileDialog::DECL_DLLPRIVATE_LINK ( Update  ,
Timer ,
void   
)
private

◆ GetSelectedTemplatePos()

sal_uInt16 SfxNewFileDialog::GetSelectedTemplatePos ( ) const
private

Definition at line 216 of file new.cxx.

References m_xRegionLb, m_xTemplateLb, SfxResId(), and u.

Referenced by GetTemplateFileName(), and IsTemplate().

◆ GetTemplateFileName()

OUString SfxNewFileDialog::GetTemplateFileName ( ) const

◆ GetTemplateFlags()

SfxTemplateFlags SfxNewFileDialog::GetTemplateFlags ( ) const

◆ IsTemplate()

bool SfxNewFileDialog::IsTemplate ( ) const

Definition at line 314 of file new.cxx.

References GetSelectedTemplatePos().

Referenced by GetTemplateFileName().

◆ SetTemplateFlags()

void SfxNewFileDialog::SetTemplateFlags ( SfxTemplateFlags  nSet)

Member Data Documentation

◆ m_aPrevIdle

Idle SfxNewFileDialog::m_aPrevIdle
private

Definition at line 65 of file new.hxx.

Referenced by SfxNewFileDialog().

◆ m_aTemplates

SfxDocumentTemplates SfxNewFileDialog::m_aTemplates
private

Definition at line 67 of file new.hxx.

Referenced by GetTemplateFileName(), and SfxNewFileDialog().

◆ m_nFlags

SfxNewFileDialogMode SfxNewFileDialog::m_nFlags
private

Definition at line 66 of file new.hxx.

◆ m_xAltTitleFt

std::unique_ptr<weld::Label> SfxNewFileDialog::m_xAltTitleFt
private

Definition at line 82 of file new.hxx.

Referenced by SfxNewFileDialog().

◆ m_xDocShell

SfxObjectShellLock SfxNewFileDialog::m_xDocShell
private

Definition at line 68 of file new.hxx.

◆ m_xFrameStyleCB

std::unique_ptr<weld::CheckButton> SfxNewFileDialog::m_xFrameStyleCB
private

Definition at line 75 of file new.hxx.

Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().

◆ m_xLoadFilePB

std::unique_ptr<weld::Button> SfxNewFileDialog::m_xLoadFilePB
private

Definition at line 79 of file new.hxx.

Referenced by SfxNewFileDialog().

◆ m_xMergeStyleCB

std::unique_ptr<weld::CheckButton> SfxNewFileDialog::m_xMergeStyleCB
private

Definition at line 78 of file new.hxx.

Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().

◆ m_xMoreBt

std::unique_ptr<weld::Expander> SfxNewFileDialog::m_xMoreBt
private

Definition at line 80 of file new.hxx.

Referenced by SfxNewFileDialog(), and ~SfxNewFileDialog().

◆ m_xNumStyleCB

std::unique_ptr<weld::CheckButton> SfxNewFileDialog::m_xNumStyleCB
private

Definition at line 77 of file new.hxx.

Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().

◆ m_xPageStyleCB

std::unique_ptr<weld::CheckButton> SfxNewFileDialog::m_xPageStyleCB
private

Definition at line 76 of file new.hxx.

Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().

◆ m_xPreviewController

std::unique_ptr<SfxPreviewWin_Impl> SfxNewFileDialog::m_xPreviewController
private

Definition at line 70 of file new.hxx.

◆ m_xPreviewWin

std::unique_ptr<weld::CustomWeld> SfxNewFileDialog::m_xPreviewWin
private

Definition at line 81 of file new.hxx.

Referenced by SfxNewFileDialog().

◆ m_xRegionLb

std::unique_ptr<weld::TreeView> SfxNewFileDialog::m_xRegionLb
private

Definition at line 72 of file new.hxx.

Referenced by GetSelectedTemplatePos(), GetTemplateFileName(), and SfxNewFileDialog().

◆ m_xTemplateLb

std::unique_ptr<weld::TreeView> SfxNewFileDialog::m_xTemplateLb
private

Definition at line 73 of file new.hxx.

Referenced by GetSelectedTemplatePos(), and SfxNewFileDialog().

◆ m_xTextStyleCB

std::unique_ptr<weld::CheckButton> SfxNewFileDialog::m_xTextStyleCB
private

Definition at line 74 of file new.hxx.

Referenced by GetTemplateFlags(), SetTemplateFlags(), and SfxNewFileDialog().


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