LibreOffice Module svx (master)  1
Public Types | Public Member Functions | Private Member Functions | 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)
 
SvxEditSourceAdapterGetEditSource () 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 (const VectorOfStates &rChildStates)
 
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 ()
 
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
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 

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
 
int 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
 
mutable::osl::Mutex maMutex
 
Point maOffset
 our current offset to the containing shape/cell (guarded by maMutex) More...
 
int mnNotifierClientId
 client Id from AccessibleEventNotifier More...
 

Detailed Description

Definition at line 93 of file AccessibleTextHelper.cxx.

Member Typedef Documentation

Definition at line 96 of file AccessibleTextHelper.cxx.

Constructor & Destructor Documentation

accessibility::AccessibleTextHelper_Impl::AccessibleTextHelper_Impl ( )
accessibility::AccessibleTextHelper_Impl::~AccessibleTextHelper_Impl ( )
overridevirtual

Definition at line 260 of file AccessibleTextHelper.cxx.

References Dispose().

Member Function Documentation

void accessibility::AccessibleTextHelper_Impl::addAccessibleEventListener ( const uno::Reference< XAccessibleEventListener > &  xListener)
void accessibility::AccessibleTextHelper_Impl::ChangeChildFocus ( sal_Int32  nNewChild)
void accessibility::AccessibleTextHelper_Impl::CheckInvariants ( ) const

Definition at line 840 of file AccessibleTextHelper.cxx.

References mnFirstVisibleChild, and mnLastVisibleChild.

void accessibility::AccessibleTextHelper_Impl::Dispose ( )
void accessibility::AccessibleTextHelper_Impl::FireEvent ( const sal_Int16  nEventId,
const uno::Any rNewValue = uno::Any(),
const uno::Any rOldValue = uno::Any() 
) const
void accessibility::AccessibleTextHelper_Impl::FireEvent ( const AccessibleEventObject &  rEvent) const
uno::Reference< XAccessible > accessibility::AccessibleTextHelper_Impl::getAccessibleAtPoint ( const awt::Point &  aPoint)
uno::Reference< XAccessible > accessibility::AccessibleTextHelper_Impl::getAccessibleChild ( sal_Int32  i)
sal_Int32 accessibility::AccessibleTextHelper_Impl::getAccessibleChildCount ( ) const

Definition at line 1434 of file AccessibleTextHelper.cxx.

References mnFirstVisibleChild, and mnLastVisibleChild.

Referenced by getAccessibleChild().

SvxEditSourceAdapter & accessibility::AccessibleTextHelper_Impl::GetEditSource ( ) const
SvxEditViewForwarder & accessibility::AccessibleTextHelper_Impl::GetEditViewForwarder ( ) const
private
int accessibility::AccessibleTextHelper_Impl::getNotifierClientId ( ) const
inlineprivate
Point accessibility::AccessibleTextHelper_Impl::GetOffset ( ) const
inline

Definition at line 123 of file AccessibleTextHelper.cxx.

References maMutex, and maOffset.

Referenced by getAccessibleAtPoint().

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

Definition at line 130 of file AccessibleTextHelper.cxx.

References mnStartIndex.

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

SvxTextForwarder & accessibility::AccessibleTextHelper_Impl::GetTextForwarder ( ) const
private
SvxViewForwarder & accessibility::AccessibleTextHelper_Impl::GetViewForwarder ( ) const
private
void accessibility::AccessibleTextHelper_Impl::GotPropertyEvent ( const uno::Any rNewValue,
const sal_Int16  nEventId 
) const
inlineprivate

Definition at line 177 of file AccessibleTextHelper.cxx.

References FireEvent().

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

bool accessibility::AccessibleTextHelper_Impl::HaveFocus ( )
inline

Definition at line 147 of file AccessibleTextHelper.cxx.

References mbThisHasFocus.

bool accessibility::AccessibleTextHelper_Impl::IsActive ( ) const
private
void accessibility::AccessibleTextHelper_Impl::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
overrideprivatevirtual
void accessibility::AccessibleTextHelper_Impl::ParagraphsMoved ( sal_Int32  nFirst,
sal_Int32  nMiddle,
sal_Int32  nLast 
)
private
void accessibility::AccessibleTextHelper_Impl::ProcessQueue ( )
private
void accessibility::AccessibleTextHelper_Impl::removeAccessibleEventListener ( const uno::Reference< XAccessibleEventListener > &  xListener)
void accessibility::AccessibleTextHelper_Impl::SetAdditionalChildStates ( const VectorOfStates rChildStates)
void accessibility::AccessibleTextHelper_Impl::SetChildFocus ( sal_Int32  nChild,
bool  bHaveFocus 
)
void accessibility::AccessibleTextHelper_Impl::SetEditSource ( ::std::unique_ptr< SvxEditSource > &&  pEditSource)
void accessibility::AccessibleTextHelper_Impl::SetEventSource ( const uno::Reference< XAccessible > &  rInterface)
inline

Definition at line 117 of file AccessibleTextHelper.cxx.

References mxFrontEnd.

void accessibility::AccessibleTextHelper_Impl::SetFocus ( bool  bHaveFocus)
void accessibility::AccessibleTextHelper_Impl::SetOffset ( const Point rPoint)
void accessibility::AccessibleTextHelper_Impl::SetShapeFocus ( bool  bHaveFocus)
void accessibility::AccessibleTextHelper_Impl::SetStartIndex ( sal_Int32  nOffset)
void accessibility::AccessibleTextHelper_Impl::ShutdownEditSource ( )
private
void accessibility::AccessibleTextHelper_Impl::UpdateBoundRect ( )
void accessibility::AccessibleTextHelper_Impl::UpdateSelection ( )
void accessibility::AccessibleTextHelper_Impl::UpdateVisibleChildren ( bool  bBroadcastEvents = true)

Member Data Documentation

SvxEditSourceAdapter accessibility::AccessibleTextHelper_Impl::maEditSource
mutableprivate
AccessibleTextEventQueue accessibility::AccessibleTextHelper_Impl::maEventQueue
private

Definition at line 221 of file AccessibleTextHelper.cxx.

Referenced by Notify(), and ProcessQueue().

ESelection accessibility::AccessibleTextHelper_Impl::maLastSelection
private

Definition at line 207 of file AccessibleTextHelper.cxx.

Referenced by ProcessQueue(), and UpdateSelection().

mutable ::osl::Mutex accessibility::AccessibleTextHelper_Impl::maMutex
private

Definition at line 232 of file AccessibleTextHelper.cxx.

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

Point accessibility::AccessibleTextHelper_Impl::maOffset
private

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

Definition at line 235 of file AccessibleTextHelper.cxx.

Referenced by GetOffset(), and SetOffset().

::accessibility::AccessibleParaManager accessibility::AccessibleTextHelper_Impl::maParaManager
private
bool accessibility::AccessibleTextHelper_Impl::mbGroupHasFocus
private
bool accessibility::AccessibleTextHelper_Impl::mbInNotify
private

Definition at line 224 of file AccessibleTextHelper.cxx.

Referenced by Notify().

bool accessibility::AccessibleTextHelper_Impl::mbThisHasFocus
private
sal_Int32 accessibility::AccessibleTextHelper_Impl::mnFirstVisibleChild
private
sal_Int32 accessibility::AccessibleTextHelper_Impl::mnLastVisibleChild
private
int accessibility::AccessibleTextHelper_Impl::mnNotifierClientId
private

client Id from AccessibleEventNotifier

Definition at line 238 of file AccessibleTextHelper.cxx.

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

sal_Int32 accessibility::AccessibleTextHelper_Impl::mnStartIndex
private

Definition at line 215 of file AccessibleTextHelper.cxx.

Referenced by GetStartIndex(), and SetStartIndex().

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

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