LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwAccessibleHyperlink Class Reference

#include <acchyperlink.hxx>

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

Public Member Functions

virtual sal_Int32 SAL_CALL getAccessibleActionCount () override
 
virtual sal_Bool SAL_CALL doAccessibleAction (sal_Int32 nIndex) override
 
virtual OUString SAL_CALL getAccessibleActionDescription (sal_Int32 nIndex) override
 
virtual css::uno::Reference< css::accessibility::XAccessibleKeyBinding > SAL_CALL getAccessibleActionKeyBinding (sal_Int32 nIndex) override
 
virtual css::uno::Any SAL_CALL getAccessibleActionAnchor (sal_Int32 nIndex) override
 
virtual css::uno::Any SAL_CALL getAccessibleActionObject (sal_Int32 nIndex) override
 
virtual sal_Int32 SAL_CALL getStartIndex () override
 
virtual sal_Int32 SAL_CALL getEndIndex () override
 
virtual sal_Bool SAL_CALL isValid () override
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Private Member Functions

 SwAccessibleHyperlink (const SwTextAttr &, SwAccessibleParagraph &, sal_Int32 nStt, sal_Int32 nEnd)
 
virtual ~SwAccessibleHyperlink () override
 
const SwFormatINetFormatGetTextAttr () const
 
void Invalidate ()
 
virtual void Notify (SfxHint const &rHint) override
 

Private Attributes

SwFormatINetFormatm_pHyperlink
 
::rtl::Reference< SwAccessibleParagraphm_xParagraph
 
sal_Int32 m_nStartIndex
 
sal_Int32 m_nEndIndex
 

Friends

class SwAccessibleParagraph
 
class SwAccessibleHyperTextData
 

Detailed Description

Definition at line 32 of file acchyperlink.hxx.

Constructor & Destructor Documentation

◆ SwAccessibleHyperlink()

SwAccessibleHyperlink::SwAccessibleHyperlink ( const SwTextAttr rTextAttr,
SwAccessibleParagraph rAccPara,
sal_Int32  nStt,
sal_Int32  nEnd 
)
private

◆ ~SwAccessibleHyperlink()

SwAccessibleHyperlink::~SwAccessibleHyperlink ( )
overrideprivatevirtual

Definition at line 48 of file acchyperlink.cxx.

References Invalidate().

Member Function Documentation

◆ doAccessibleAction()

sal_Bool SAL_CALL SwAccessibleHyperlink::doAccessibleAction ( sal_Int32  nIndex)
overridevirtual

◆ getAccessibleActionAnchor()

uno::Any SAL_CALL SwAccessibleHyperlink::getAccessibleActionAnchor ( sal_Int32  nIndex)
overridevirtual

Definition at line 143 of file acchyperlink.cxx.

References m_nEndIndex, m_nStartIndex, m_xParagraph, nIndex, and text().

◆ getAccessibleActionCount()

sal_Int32 SAL_CALL SwAccessibleHyperlink::getAccessibleActionCount ( )
overridevirtual

Definition at line 71 of file acchyperlink.cxx.

References isValid().

◆ getAccessibleActionDescription()

OUString SAL_CALL SwAccessibleHyperlink::getAccessibleActionDescription ( sal_Int32  nIndex)
overridevirtual

Definition at line 105 of file acchyperlink.cxx.

References GetTextAttr(), and nIndex.

◆ getAccessibleActionKeyBinding()

uno::Reference< XAccessibleKeyBinding > SAL_CALL SwAccessibleHyperlink::getAccessibleActionKeyBinding ( sal_Int32  nIndex)
overridevirtual

Definition at line 121 of file acchyperlink.cxx.

References isValid(), and KEY_RETURN.

◆ getAccessibleActionObject()

uno::Any SAL_CALL SwAccessibleHyperlink::getAccessibleActionObject ( sal_Int32  nIndex)
overridevirtual

Definition at line 157 of file acchyperlink.cxx.

References GetTextAttr(), and nIndex.

◆ getEndIndex()

sal_Int32 SAL_CALL SwAccessibleHyperlink::getEndIndex ( )
overridevirtual

Definition at line 179 of file acchyperlink.cxx.

References m_nEndIndex.

◆ getStartIndex()

sal_Int32 SAL_CALL SwAccessibleHyperlink::getStartIndex ( )
overridevirtual

Definition at line 174 of file acchyperlink.cxx.

References m_nStartIndex.

◆ GetTextAttr()

const SwFormatINetFormat * SwAccessibleHyperlink::GetTextAttr ( ) const
private

◆ Invalidate()

void SwAccessibleHyperlink::Invalidate ( )
private

◆ isValid()

sal_Bool SAL_CALL SwAccessibleHyperlink::isValid ( )
overridevirtual

Definition at line 184 of file acchyperlink.cxx.

References GetTextAttr(), m_xParagraph, nPos, and xFactory.

Referenced by getAccessibleActionCount(), and getAccessibleActionKeyBinding().

◆ Notify()

void SwAccessibleHyperlink::Notify ( SfxHint const &  rHint)
overrideprivatevirtual

Reimplemented from SvtListener.

Definition at line 54 of file acchyperlink.cxx.

References SfxHint::GetId(), and Invalidate().

Friends And Related Function Documentation

◆ SwAccessibleHyperTextData

friend class SwAccessibleHyperTextData
friend

Definition at line 37 of file acchyperlink.hxx.

◆ SwAccessibleParagraph

friend class SwAccessibleParagraph
friend

Definition at line 36 of file acchyperlink.hxx.

Member Data Documentation

◆ m_nEndIndex

sal_Int32 SwAccessibleHyperlink::m_nEndIndex
private

Definition at line 41 of file acchyperlink.hxx.

Referenced by getAccessibleActionAnchor(), and getEndIndex().

◆ m_nStartIndex

sal_Int32 SwAccessibleHyperlink::m_nStartIndex
private

Definition at line 40 of file acchyperlink.hxx.

Referenced by getAccessibleActionAnchor(), and getStartIndex().

◆ m_pHyperlink

SwFormatINetFormat* SwAccessibleHyperlink::m_pHyperlink
private

Definition at line 38 of file acchyperlink.hxx.

Referenced by GetTextAttr(), Invalidate(), and SwAccessibleHyperlink().

◆ m_xParagraph

::rtl::Reference< SwAccessibleParagraph > SwAccessibleHyperlink::m_xParagraph
private

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