LibreOffice Module svx (master) 1
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
accessibility::AccessibleTextHelper_Impl Class Reference
Inheritance diagram for accessibility::AccessibleTextHelper_Impl:
[legend]
Collaboration diagram for accessibility::AccessibleTextHelper_Impl:
[legend]

Public Types

typedef ::std::vector< sal_Int16 > VectorOfStates
 

Public Member Functions

 AccessibleTextHelper_Impl ()
 
virtual ~AccessibleTextHelper_Impl () override
 
sal_Int32 getAccessibleChildCount () const
 
uno::Reference< XAccessible > getAccessibleChild (sal_Int32 i)
 
void addAccessibleEventListener (const uno::Reference< XAccessibleEventListener > &xListener)
 
void removeAccessibleEventListener (const uno::Reference< XAccessibleEventListener > &xListener)
 
uno::Reference< XAccessible > getAccessibleAtPoint (const awt::Point &aPoint)
 
SvxEditSourceAdapter & GetEditSource () const
 
void SetEditSource (::std::unique_ptr< SvxEditSource > &&pEditSource)
 
void SetEventSource (const uno::Reference< XAccessible > &rInterface)
 
void SetOffset (const Point &)
 
Point GetOffset () const
 
void SetStartIndex (sal_Int32 nOffset)
 
sal_Int32 GetStartIndex () const
 
void SetAdditionalChildStates (sal_Int64 nChildStates)
 
void Dispose ()
 
void FireEvent (const sal_Int16 nEventId, const uno::Any &rNewValue=uno::Any(), const uno::Any &rOldValue=uno::Any()) const
 
void FireEvent (const AccessibleEventObject &rEvent) const
 
void SetFocus (bool bHaveFocus)
 
bool HaveFocus () const
 
void SetChildFocus (sal_Int32 nChild, bool bHaveFocus)
 
void SetShapeFocus (bool bHaveFocus)
 
void ChangeChildFocus (sal_Int32 nNewChild)
 
void CheckInvariants () const
 
void UpdateVisibleChildren (bool bBroadcastEvents=true)
 
void UpdateBoundRect ()
 
void UpdateSelection ()
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

void ProcessQueue ()
 
void GotPropertyEvent (const uno::Any &rNewValue, const sal_Int16 nEventId) const
 
void ShutdownEditSource ()
 
void ParagraphsMoved (sal_Int32 nFirst, sal_Int32 nMiddle, sal_Int32 nLast)
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override
 
comphelper::AccessibleEventNotifier::TClientId getNotifierClientId () const
 
SvxTextForwarderGetTextForwarder () const
 
SvxViewForwarderGetViewForwarder () const
 
SvxEditViewForwarderGetEditViewForwarder () const
 
bool IsActive () const
 

Private Attributes

uno::Reference< XAccessible > mxFrontEnd
 
SvxEditSourceAdapter maEditSource
 
ESelection maLastSelection
 
sal_Int32 mnFirstVisibleChild
 
sal_Int32 mnLastVisibleChild
 
sal_Int32 mnStartIndex
 
::accessibility::AccessibleParaManager maParaManager
 
AccessibleTextEventQueue maEventQueue
 
bool mbInNotify
 
bool mbGroupHasFocus
 
bool mbThisHasFocus
 
std::mutex maMutex
 
Point maOffset
 our current offset to the containing shape/cell (guarded by maMutex) More...
 
comphelper::AccessibleEventNotifier::TClientId mnNotifierClientId
 client Id from AccessibleEventNotifier More...
 

Static Private Attributes

static constexpr comphelper::AccessibleEventNotifier::TClientId snNotifierClientRevoked = std::numeric_limits<comphelper::AccessibleEventNotifier::TClientId>::max()
 

Detailed Description

Definition at line 80 of file AccessibleTextHelper.cxx.

Member Typedef Documentation

◆ VectorOfStates

Definition at line 83 of file AccessibleTextHelper.cxx.

Constructor & Destructor Documentation

◆ AccessibleTextHelper_Impl()

accessibility::AccessibleTextHelper_Impl::AccessibleTextHelper_Impl ( )

◆ ~AccessibleTextHelper_Impl()

accessibility::AccessibleTextHelper_Impl::~AccessibleTextHelper_Impl ( )
overridevirtual

Definition at line 249 of file AccessibleTextHelper.cxx.

References Dispose().

Member Function Documentation

◆ addAccessibleEventListener()

void accessibility::AccessibleTextHelper_Impl::addAccessibleEventListener ( const uno::Reference< XAccessibleEventListener > &  xListener)

◆ ChangeChildFocus()

void accessibility::AccessibleTextHelper_Impl::ChangeChildFocus ( sal_Int32  nNewChild)

◆ CheckInvariants()

void accessibility::AccessibleTextHelper_Impl::CheckInvariants ( ) const

Definition at line 824 of file AccessibleTextHelper.cxx.

References mnFirstVisibleChild, and mnLastVisibleChild.

◆ Dispose()

void accessibility::AccessibleTextHelper_Impl::Dispose ( )

◆ FireEvent() [1/2]

void accessibility::AccessibleTextHelper_Impl::FireEvent ( const AccessibleEventObject &  rEvent) const

◆ FireEvent() [2/2]

void accessibility::AccessibleTextHelper_Impl::FireEvent ( const sal_Int16  nEventId,
const uno::Any rNewValue = uno::Any(),
const uno::Any rOldValue = uno::Any() 
) const

◆ getAccessibleAtPoint()

uno::Reference< XAccessible > accessibility::AccessibleTextHelper_Impl::getAccessibleAtPoint ( const awt::Point &  aPoint)

◆ getAccessibleChild()

uno::Reference< XAccessible > accessibility::AccessibleTextHelper_Impl::getAccessibleChild ( sal_Int32  i)

◆ getAccessibleChildCount()

sal_Int32 accessibility::AccessibleTextHelper_Impl::getAccessibleChildCount ( ) const

Definition at line 1432 of file AccessibleTextHelper.cxx.

References mnFirstVisibleChild, and mnLastVisibleChild.

Referenced by getAccessibleChild().

◆ GetEditSource()

SvxEditSourceAdapter & accessibility::AccessibleTextHelper_Impl::GetEditSource ( ) const

Definition at line 314 of file AccessibleTextHelper.cxx.

References maEditSource, and mxFrontEnd.

Referenced by getAccessibleChild(), IsActive(), and UpdateVisibleChildren().

◆ GetEditViewForwarder()

SvxEditViewForwarder & accessibility::AccessibleTextHelper_Impl::GetEditViewForwarder ( ) const
private

◆ getNotifierClientId()

comphelper::AccessibleEventNotifier::TClientId accessibility::AccessibleTextHelper_Impl::getNotifierClientId ( ) const
inlineprivate

◆ GetOffset()

Point accessibility::AccessibleTextHelper_Impl::GetOffset ( ) const
inline

Definition at line 110 of file AccessibleTextHelper.cxx.

References maMutex, maOffset, and Point.

Referenced by getAccessibleAtPoint().

◆ GetStartIndex()

sal_Int32 accessibility::AccessibleTextHelper_Impl::GetStartIndex ( ) const
inline

Definition at line 117 of file AccessibleTextHelper.cxx.

References mnStartIndex.

Referenced by getAccessibleAtPoint(), getAccessibleChild(), and ProcessQueue().

◆ GetTextForwarder()

SvxTextForwarder & accessibility::AccessibleTextHelper_Impl::GetTextForwarder ( ) const
private

◆ GetViewForwarder()

SvxViewForwarder & accessibility::AccessibleTextHelper_Impl::GetViewForwarder ( ) const
private

Definition at line 278 of file AccessibleTextHelper.cxx.

References SvxViewForwarder::IsValid(), maEditSource, and mxFrontEnd.

Referenced by getAccessibleAtPoint().

◆ GotPropertyEvent()

void accessibility::AccessibleTextHelper_Impl::GotPropertyEvent ( const uno::Any rNewValue,
const sal_Int16  nEventId 
) const
inlineprivate

Definition at line 164 of file AccessibleTextHelper.cxx.

References FireEvent().

Referenced by ProcessQueue(), SetShapeFocus(), and UpdateVisibleChildren().

◆ HaveFocus()

bool accessibility::AccessibleTextHelper_Impl::HaveFocus ( ) const
inline

Definition at line 134 of file AccessibleTextHelper.cxx.

References mbThisHasFocus.

◆ IsActive()

bool accessibility::AccessibleTextHelper_Impl::IsActive ( ) const
private

◆ Notify()

void accessibility::AccessibleTextHelper_Impl::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual

◆ ParagraphsMoved()

void accessibility::AccessibleTextHelper_Impl::ParagraphsMoved ( sal_Int32  nFirst,
sal_Int32  nMiddle,
sal_Int32  nLast 
)
private

◆ ProcessQueue()

void accessibility::AccessibleTextHelper_Impl::ProcessQueue ( )
private

◆ removeAccessibleEventListener()

void accessibility::AccessibleTextHelper_Impl::removeAccessibleEventListener ( const uno::Reference< XAccessibleEventListener > &  xListener)

◆ SetAdditionalChildStates()

void accessibility::AccessibleTextHelper_Impl::SetAdditionalChildStates ( sal_Int64  nChildStates)

Definition at line 355 of file AccessibleTextHelper.cxx.

References maParaManager.

◆ SetChildFocus()

void accessibility::AccessibleTextHelper_Impl::SetChildFocus ( sal_Int32  nChild,
bool  bHaveFocus 
)

◆ SetEditSource()

void accessibility::AccessibleTextHelper_Impl::SetEditSource ( ::std::unique_ptr< SvxEditSource > &&  pEditSource)

◆ SetEventSource()

void accessibility::AccessibleTextHelper_Impl::SetEventSource ( const uno::Reference< XAccessible > &  rInterface)
inline

Definition at line 104 of file AccessibleTextHelper.cxx.

References mxFrontEnd.

◆ SetFocus()

void accessibility::AccessibleTextHelper_Impl::SetFocus ( bool  bHaveFocus)

◆ SetOffset()

void accessibility::AccessibleTextHelper_Impl::SetOffset ( const Point &  rPoint)

◆ SetShapeFocus()

void accessibility::AccessibleTextHelper_Impl::SetShapeFocus ( bool  bHaveFocus)

◆ SetStartIndex()

void accessibility::AccessibleTextHelper_Impl::SetStartIndex ( sal_Int32  nOffset)

Definition at line 339 of file AccessibleTextHelper.cxx.

References maParaManager, and mnStartIndex.

◆ ShutdownEditSource()

void accessibility::AccessibleTextHelper_Impl::ShutdownEditSource ( )
private

◆ UpdateBoundRect()

void accessibility::AccessibleTextHelper_Impl::UpdateBoundRect ( )

Definition at line 794 of file AccessibleTextHelper.cxx.

References maParaManager.

Referenced by ProcessQueue(), and SetOffset().

◆ UpdateSelection()

void accessibility::AccessibleTextHelper_Impl::UpdateSelection ( )

◆ UpdateVisibleChildren()

void accessibility::AccessibleTextHelper_Impl::UpdateVisibleChildren ( bool  bBroadcastEvents = true)

Member Data Documentation

◆ maEditSource

SvxEditSourceAdapter accessibility::AccessibleTextHelper_Impl::maEditSource
mutableprivate

◆ maEventQueue

AccessibleTextEventQueue accessibility::AccessibleTextHelper_Impl::maEventQueue
private

Definition at line 208 of file AccessibleTextHelper.cxx.

Referenced by Notify(), and ProcessQueue().

◆ maLastSelection

ESelection accessibility::AccessibleTextHelper_Impl::maLastSelection
private

Definition at line 194 of file AccessibleTextHelper.cxx.

Referenced by ProcessQueue(), and UpdateSelection().

◆ maMutex

std::mutex accessibility::AccessibleTextHelper_Impl::maMutex
mutableprivate

Definition at line 219 of file AccessibleTextHelper.cxx.

Referenced by FireEvent(), GetOffset(), and SetOffset().

◆ maOffset

Point accessibility::AccessibleTextHelper_Impl::maOffset
private

our current offset to the containing shape/cell (guarded by maMutex)

Definition at line 222 of file AccessibleTextHelper.cxx.

Referenced by GetOffset(), and SetOffset().

◆ maParaManager

::accessibility::AccessibleParaManager accessibility::AccessibleTextHelper_Impl::maParaManager
private

◆ mbGroupHasFocus

bool accessibility::AccessibleTextHelper_Impl::mbGroupHasFocus
private

◆ mbInNotify

bool accessibility::AccessibleTextHelper_Impl::mbInNotify
private

Definition at line 211 of file AccessibleTextHelper.cxx.

Referenced by Notify().

◆ mbThisHasFocus

bool accessibility::AccessibleTextHelper_Impl::mbThisHasFocus
private

◆ mnFirstVisibleChild

sal_Int32 accessibility::AccessibleTextHelper_Impl::mnFirstVisibleChild
private

◆ mnLastVisibleChild

sal_Int32 accessibility::AccessibleTextHelper_Impl::mnLastVisibleChild
private

◆ mnNotifierClientId

comphelper::AccessibleEventNotifier::TClientId accessibility::AccessibleTextHelper_Impl::mnNotifierClientId
private

client Id from AccessibleEventNotifier

Definition at line 225 of file AccessibleTextHelper.cxx.

Referenced by AccessibleTextHelper_Impl(), Dispose(), getNotifierClientId(), and removeAccessibleEventListener().

◆ mnStartIndex

sal_Int32 accessibility::AccessibleTextHelper_Impl::mnStartIndex
private

Definition at line 202 of file AccessibleTextHelper.cxx.

Referenced by GetStartIndex(), and SetStartIndex().

◆ mxFrontEnd

uno::Reference< XAccessible > accessibility::AccessibleTextHelper_Impl::mxFrontEnd
private

◆ snNotifierClientRevoked

constexpr comphelper::AccessibleEventNotifier::TClientId accessibility::AccessibleTextHelper_Impl::snNotifierClientRevoked = std::numeric_limits<comphelper::AccessibleEventNotifier::TClientId>::max()
staticconstexprprivate

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