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

#include <vbahyperlink.hxx>

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

Public Member Functions

 ScVbaHyperlink (const css::uno::Sequence< css::uno::Any > &rArgs, const css::uno::Reference< css::uno::XComponentContext > &rxContext)
 
 ScVbaHyperlink (const css::uno::Reference< ov::XHelperInterface > &rxAnchor, const css::uno::Reference< css::uno::XComponentContext > &rxContext, const css::uno::Any &rAddress, const css::uno::Any &rSubAddress, const css::uno::Any &rScreenTip, const css::uno::Any &rTextToDisplay)
 
virtual ~ScVbaHyperlink () override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &rName) override
 
virtual OUString SAL_CALL getAddress () override
 
virtual void SAL_CALL setAddress (const OUString &rAddress) override
 
virtual OUString SAL_CALL getSubAddress () override
 
virtual void SAL_CALL setSubAddress (const OUString &rSubAddress) override
 
virtual OUString SAL_CALL getScreenTip () override
 
virtual void SAL_CALL setScreenTip (const OUString &rScreenTip) override
 
virtual OUString SAL_CALL getTextToDisplay () override
 
virtual void SAL_CALL setTextToDisplay (const OUString &rTextToDisplay) override
 
virtual sal_Int32 SAL_CALL getType () override
 
virtual css::uno::Reference< ov::excel::XRange > SAL_CALL getRange () override
 
virtual css::uno::Reference< ov::msforms::XShape > SAL_CALL getShape () override
 
- Public Member Functions inherited from InheritedHelperInterfaceWeakImpl< Ifc >
 InheritedHelperInterfaceWeakImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
- Public Member Functions inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
 InheritedHelperInterfaceImpl (const css::uno::Reference< ov::XHelperInterface > &xParent, const css::uno::Reference< css::uno::XComponentContext > &xContext)
 
virtual OUString getServiceImplName ()=0
 
virtual css::uno::Sequence< OUString > getServiceNames ()=0
 
virtual ::sal_Int32 SAL_CALL getCreator () override
 
virtual css::uno::Reference< ov::XHelperInterface > SAL_CALL getParent () override
 
virtual css::uno::Any SAL_CALL Application () override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 

Private Types

typedef ::std::pair< OUString, OUString > UrlComponents
 

Private Member Functions

void ensureTextField ()
 
UrlComponents getUrlComponents ()
 
void setUrlComponents (const UrlComponents &rUrlComp)
 

Private Attributes

css::uno::Reference< css::table::XCell > mxCell
 
css::uno::Reference< css::beans::XPropertySetmxTextField
 
OUString maScreenTip
 
long mnType
 

Additional Inherited Members

- Protected Attributes inherited from InheritedHelperInterfaceImpl< ::cppu::WeakImplHelper< Ifc... > >
css::uno::WeakReference< ov::XHelperInterface > mxParent
 
css::uno::Reference< css::uno::XComponentContext > mxContext
 

Detailed Description

Definition at line 33 of file vbahyperlink.hxx.

Member Typedef Documentation

typedef ::std::pair< OUString, OUString > ScVbaHyperlink::UrlComponents
private

Definition at line 70 of file vbahyperlink.hxx.

Constructor & Destructor Documentation

ScVbaHyperlink::ScVbaHyperlink ( const css::uno::Sequence< css::uno::Any > &  rArgs,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext 
)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException
ScVbaHyperlink::ScVbaHyperlink ( const css::uno::Reference< ov::XHelperInterface > &  rxAnchor,
const css::uno::Reference< css::uno::XComponentContext > &  rxContext,
const css::uno::Any &  rAddress,
const css::uno::Any &  rSubAddress,
const css::uno::Any &  rScreenTip,
const css::uno::Any &  rTextToDisplay 
)
Exceptions
css::uno::RuntimeException
ScVbaHyperlink::~ScVbaHyperlink ( )
overridevirtual

Definition at line 105 of file vbahyperlink.cxx.

Member Function Documentation

void ScVbaHyperlink::ensureTextField ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 202 of file vbahyperlink.cxx.

Referenced by getTextToDisplay(), getUrlComponents(), setTextToDisplay(), and setUrlComponents().

OUString ScVbaHyperlink::getAddress ( )
overridevirtual

Definition at line 120 of file vbahyperlink.cxx.

References getUrlComponents().

OUString ScVbaHyperlink::getName ( )
overridevirtual

Definition at line 109 of file vbahyperlink.cxx.

References getTextToDisplay().

uno::Reference< excel::XRange > SAL_CALL ScVbaHyperlink::getRange ( )
overridevirtual
OUString SAL_CALL ScVbaHyperlink::getScreenTip ( )
overridevirtual

Definition at line 144 of file vbahyperlink.cxx.

References maScreenTip.

uno::Reference< msforms::XShape > SAL_CALL ScVbaHyperlink::getShape ( )
overridevirtual
OUString ScVbaHyperlink::getSubAddress ( )
overridevirtual

Definition at line 132 of file vbahyperlink.cxx.

References getUrlComponents().

OUString ScVbaHyperlink::getTextToDisplay ( )
overridevirtual

Definition at line 154 of file vbahyperlink.cxx.

References ensureTextField(), and mxTextField.

Referenced by getName().

sal_Int32 SAL_CALL ScVbaHyperlink::getType ( )
overridevirtual

Definition at line 168 of file vbahyperlink.cxx.

References mnType.

ScVbaHyperlink::UrlComponents ScVbaHyperlink::getUrlComponents ( )
private
Exceptions
css::uno::RuntimeException

Definition at line 208 of file vbahyperlink.cxx.

References ensureTextField(), and mxTextField.

Referenced by getAddress(), getSubAddress(), setAddress(), and setSubAddress().

void ScVbaHyperlink::setAddress ( const OUString &  rAddress)
overridevirtual

Definition at line 125 of file vbahyperlink.cxx.

References getUrlComponents(), and setUrlComponents().

void ScVbaHyperlink::setName ( const OUString &  rName)
overridevirtual

Definition at line 115 of file vbahyperlink.cxx.

References setTextToDisplay().

void SAL_CALL ScVbaHyperlink::setScreenTip ( const OUString &  rScreenTip)
overridevirtual

Definition at line 149 of file vbahyperlink.cxx.

References maScreenTip.

void ScVbaHyperlink::setSubAddress ( const OUString &  rSubAddress)
overridevirtual

Definition at line 137 of file vbahyperlink.cxx.

References getUrlComponents(), and setUrlComponents().

void ScVbaHyperlink::setTextToDisplay ( const OUString &  rTextToDisplay)
overridevirtual

Definition at line 162 of file vbahyperlink.cxx.

References ensureTextField(), and mxTextField.

Referenced by setName().

void ScVbaHyperlink::setUrlComponents ( const UrlComponents rUrlComp)
private
Exceptions
css::uno::RuntimeException

Definition at line 219 of file vbahyperlink.cxx.

References ensureTextField(), and mxTextField.

Referenced by setAddress(), and setSubAddress().

Member Data Documentation

OUString ScVbaHyperlink::maScreenTip
private

Definition at line 82 of file vbahyperlink.hxx.

Referenced by getScreenTip(), and setScreenTip().

long ScVbaHyperlink::mnType
private

Definition at line 83 of file vbahyperlink.hxx.

Referenced by getRange(), and getType().

css::uno::Reference< css::table::XCell > ScVbaHyperlink::mxCell
private

Definition at line 80 of file vbahyperlink.hxx.

Referenced by getRange().

css::uno::Reference< css::beans::XPropertySet > ScVbaHyperlink::mxTextField
private

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