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

#include <ServerDetailsControls.hxx>

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

Public Member Functions

 CmisDetailsContainer (PlaceEditDialog *pDialog, OUString sBinding)
 
virtual void set_visible (bool bShow) override
 
virtual INetURLObject getUrl () override
 
virtual bool setUrl (const INetURLObject &rUrl) override
 Try to split the URL in the controls of that container. More...
 
virtual void setUsername (const OUString &rUsername) override
 
virtual void setPassword (const OUString &rPass) override
 
- Public Member Functions inherited from DetailsContainer
 DetailsContainer (PlaceEditDialog *pDialog)
 
virtual ~DetailsContainer ()
 
void setChangeHdl (const Link< DetailsContainer *, void > &rLink)
 
virtual void set_visible (bool bShow)
 
virtual INetURLObject getUrl ()
 
virtual bool setUrl (const INetURLObject &rUrl)
 Try to split the URL in the controls of that container. More...
 
virtual void setUsername (const OUString &)
 
virtual void setPassword (const OUString &)
 
virtual bool enableUserCredentials ()
 

Private Member Functions

void selectRepository ()
 
 DECL_LINK (RefreshReposHdl, weld::Button &, void)
 
 DECL_LINK (SelectRepoHdl, weld::ComboBox &, void)
 

Private Attributes

OUString m_sUsername
 
OUString m_sPassword
 
css::uno::Reference< css::ucb::XCommandEnvironment > m_xCmdEnv
 
std::vector< OUString > m_aRepoIds
 
OUString m_sRepoId
 
OUString m_sBinding
 
css::uno::Reference< css::awt::XWindow > m_xParentDialog
 

Additional Inherited Members

- Protected Member Functions inherited from DetailsContainer
void notifyChange ()
 
 DECL_LINK (ValueChangeHdl, weld::Entry &, void)
 
 DECL_STATIC_LINK (DetailsContainer, FormatPortHdl, weld::SpinButton &, void)
 
- Protected Attributes inherited from DetailsContainer
PlaceEditDialog * m_pDialog
 
Link< DetailsContainer *, void > m_aChangeHdl
 

Detailed Description

Definition at line 116 of file ServerDetailsControls.hxx.

Constructor & Destructor Documentation

◆ CmisDetailsContainer()

CmisDetailsContainer::CmisDetailsContainer ( PlaceEditDialog *  pDialog,
OUString  sBinding 
)

Definition at line 275 of file ServerDetailsControls.cxx.

References m_xCmdEnv, m_xParentDialog, and set_visible().

Member Function Documentation

◆ DECL_LINK() [1/2]

CmisDetailsContainer::DECL_LINK ( RefreshReposHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/2]

CmisDetailsContainer::DECL_LINK ( SelectRepoHdl  ,
weld::ComboBox ,
void   
)
private

◆ getUrl()

INetURLObject CmisDetailsContainer::getUrl ( )
overridevirtual

Reimplemented from DetailsContainer.

Definition at line 325 of file ServerDetailsControls.cxx.

References DetailsContainer::m_pDialog, m_sBinding, m_sRepoId, and m_sUsername.

◆ selectRepository()

void CmisDetailsContainer::selectRepository ( )
private

◆ set_visible()

void CmisDetailsContainer::set_visible ( bool  bShow)
overridevirtual

◆ setPassword()

void CmisDetailsContainer::setPassword ( const OUString &  rPass)
overridevirtual

Reimplemented from DetailsContainer.

Definition at line 379 of file ServerDetailsControls.cxx.

References m_sPassword.

◆ setUrl()

bool CmisDetailsContainer::setUrl ( const INetURLObject rUrl)
overridevirtual

Try to split the URL in the controls of that container.

Parameters
sUrlthe URL to split
Returns
true if the split worked, false otherwise.

Reimplemented from DetailsContainer.

Definition at line 357 of file ServerDetailsControls.cxx.

References INetURLObject::GetHost(), INetURLObject::GetMark(), INetURLObject::GetProtocol(), INetURLObject::GetURLNoMark(), INetURLObject::GetURLPath(), DetailsContainer::m_pDialog, m_sBinding, m_sRepoId, and INetURLObject::WithCharset.

◆ setUsername()

void CmisDetailsContainer::setUsername ( const OUString &  rUsername)
overridevirtual

Reimplemented from DetailsContainer.

Definition at line 374 of file ServerDetailsControls.cxx.

References m_sUsername.

Member Data Documentation

◆ m_aRepoIds

std::vector< OUString > CmisDetailsContainer::m_aRepoIds
private

Definition at line 122 of file ServerDetailsControls.hxx.

Referenced by selectRepository().

◆ m_sBinding

OUString CmisDetailsContainer::m_sBinding
private

Definition at line 124 of file ServerDetailsControls.hxx.

Referenced by getUrl(), set_visible(), and setUrl().

◆ m_sPassword

OUString CmisDetailsContainer::m_sPassword
private

Definition at line 120 of file ServerDetailsControls.hxx.

Referenced by setPassword().

◆ m_sRepoId

OUString CmisDetailsContainer::m_sRepoId
private

Definition at line 123 of file ServerDetailsControls.hxx.

Referenced by getUrl(), selectRepository(), and setUrl().

◆ m_sUsername

OUString CmisDetailsContainer::m_sUsername
private

Definition at line 119 of file ServerDetailsControls.hxx.

Referenced by getUrl(), and setUsername().

◆ m_xCmdEnv

css::uno::Reference< css::ucb::XCommandEnvironment > CmisDetailsContainer::m_xCmdEnv
private

Definition at line 121 of file ServerDetailsControls.hxx.

Referenced by CmisDetailsContainer().

◆ m_xParentDialog

css::uno::Reference< css::awt::XWindow > CmisDetailsContainer::m_xParentDialog
private

Definition at line 125 of file ServerDetailsControls.hxx.

Referenced by CmisDetailsContainer().


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