LibreOffice Module sc (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScLinkedAreaDlg Class Reference

#include <linkarea.hxx>

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

Public Member Functions

 ScLinkedAreaDlg (weld::Window *pParent)
 
virtual ~ScLinkedAreaDlg () override
 
void InitFromOldLink (const OUString &rFile, const OUString &rFilter, const OUString &rOptions, const OUString &rSource, sal_uLong nRefresh)
 
OUString GetURL () const
 
OUString GetFilter () const
 
OUString GetOptions () const
 
OUString GetSource () const
 
sal_uLong GetRefresh () const
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OString &rHelpId)
 
OString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

 DECL_LINK (FileHdl, weld::ComboBox &, bool)
 
 DECL_LINK (BrowseHdl, weld::Button &, void)
 
 DECL_LINK (RangeHdl, weld::TreeView &, void)
 
 DECL_LINK (ReloadHdl, weld::Button &, void)
 
 DECL_LINK (DialogClosedHdl, sfx2::FileDialogHelper *, void)
 
void UpdateSourceRanges ()
 
void UpdateEnable ()
 
void LoadDocument (const OUString &rFile, const OUString &rFilter, const OUString &rOptions)
 

Private Attributes

ScDocShellm_pSourceShell
 
std::unique_ptr< sfx2::DocumentInserterm_xDocInserter
 
SfxObjectShellRef aSourceRef
 
std::unique_ptr< SvtURLBoxm_xCbUrl
 
std::unique_ptr< weld::Buttonm_xBtnBrowse
 
std::unique_ptr< weld::TreeViewm_xLbRanges
 
std::unique_ptr< weld::CheckButtonm_xBtnReload
 
std::unique_ptr< weld::SpinButtonm_xNfDelay
 
std::unique_ptr< weld::Labelm_xFtSeconds
 
std::unique_ptr< weld::Buttonm_xBtnOk
 

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 33 of file linkarea.hxx.

Constructor & Destructor Documentation

ScLinkedAreaDlg::ScLinkedAreaDlg ( weld::Window pParent)

Definition at line 38 of file linkarea.cxx.

References LINK, m_xBtnBrowse, m_xBtnReload, m_xCbUrl, m_xLbRanges, and UpdateEnable().

ScLinkedAreaDlg::~ScLinkedAreaDlg ( )
overridevirtual

Definition at line 60 of file linkarea.cxx.

Member Function Documentation

ScLinkedAreaDlg::DECL_LINK ( FileHdl  ,
weld::ComboBox ,
bool   
)
private
ScLinkedAreaDlg::DECL_LINK ( BrowseHdl  ,
weld::Button ,
void   
)
private
ScLinkedAreaDlg::DECL_LINK ( RangeHdl  ,
weld::TreeView ,
void   
)
private
ScLinkedAreaDlg::DECL_LINK ( ReloadHdl  ,
weld::Button ,
void   
)
private
ScLinkedAreaDlg::DECL_LINK ( DialogClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
private
OUString ScLinkedAreaDlg::GetFilter ( ) const

Definition at line 291 of file linkarea.cxx.

References SfxMedium::GetFilter(), SfxObjectShell::GetMedium(), and m_pSourceShell.

OUString ScLinkedAreaDlg::GetOptions ( ) const
sal_uLong ScLinkedAreaDlg::GetRefresh ( ) const

Definition at line 324 of file linkarea.cxx.

References m_xBtnReload, and m_xNfDelay.

OUString ScLinkedAreaDlg::GetSource ( ) const

Definition at line 311 of file linkarea.cxx.

References aBuf, i, and m_xLbRanges.

OUString ScLinkedAreaDlg::GetURL ( ) const
void ScLinkedAreaDlg::InitFromOldLink ( const OUString &  rFile,
const OUString &  rFilter,
const OUString &  rOptions,
const OUString &  rSource,
sal_uLong  nRefresh 
)
void ScLinkedAreaDlg::LoadDocument ( const OUString &  rFile,
const OUString &  rFilter,
const OUString &  rOptions 
)
private
void ScLinkedAreaDlg::UpdateEnable ( )
private

Definition at line 271 of file linkarea.cxx.

References m_pSourceShell, m_xBtnOk, m_xBtnReload, m_xFtSeconds, m_xLbRanges, and m_xNfDelay.

Referenced by InitFromOldLink(), and ScLinkedAreaDlg().

void ScLinkedAreaDlg::UpdateSourceRanges ( )
private

Member Data Documentation

SfxObjectShellRef ScLinkedAreaDlg::aSourceRef
private

Definition at line 38 of file linkarea.hxx.

Referenced by LoadDocument().

ScDocShell* ScLinkedAreaDlg::m_pSourceShell
private
std::unique_ptr<weld::Button> ScLinkedAreaDlg::m_xBtnBrowse
private

Definition at line 41 of file linkarea.hxx.

Referenced by ScLinkedAreaDlg().

std::unique_ptr<weld::Button> ScLinkedAreaDlg::m_xBtnOk
private

Definition at line 46 of file linkarea.hxx.

Referenced by UpdateEnable().

std::unique_ptr<weld::CheckButton> ScLinkedAreaDlg::m_xBtnReload
private

Definition at line 43 of file linkarea.hxx.

Referenced by GetRefresh(), InitFromOldLink(), ScLinkedAreaDlg(), and UpdateEnable().

std::unique_ptr<SvtURLBox> ScLinkedAreaDlg::m_xCbUrl
private

Definition at line 40 of file linkarea.hxx.

Referenced by InitFromOldLink(), and ScLinkedAreaDlg().

std::unique_ptr<sfx2::DocumentInserter> ScLinkedAreaDlg::m_xDocInserter
private

Definition at line 37 of file linkarea.hxx.

std::unique_ptr<weld::Label> ScLinkedAreaDlg::m_xFtSeconds
private

Definition at line 45 of file linkarea.hxx.

Referenced by UpdateEnable().

std::unique_ptr<weld::TreeView> ScLinkedAreaDlg::m_xLbRanges
private
std::unique_ptr<weld::SpinButton> ScLinkedAreaDlg::m_xNfDelay
private

Definition at line 44 of file linkarea.hxx.

Referenced by GetRefresh(), InitFromOldLink(), and UpdateEnable().


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