LibreOffice Module svx (master)  1
Public Member Functions | Private Attributes | List of all members
accessibility::AccessibleTextHelper_QueueFunctor Class Reference

functor processing queue events More...

Public Member Functions

 AccessibleTextHelper_QueueFunctor ()
 
void operator() (const SfxHint *pEvent)
 
sal_Int32 GetNumberOfParasChanged () const
 Query number of paragraphs changed during queue processing. More...
 
sal_Int32 GetParaIndex () const
 Query index of last added/removed paragraph. More...
 
SfxHintId GetHintId () const
 Query hint id of last interesting event. More...
 

Private Attributes

sal_Int32 mnParasChanged
 number of paragraphs changed during queue processing. More...
 
sal_Int32 mnParaIndex
 index of paragraph added/removed last More...
 
SfxHintId mnHintId
 TextHint ID (removed/inserted) of last interesting event. More...
 

Detailed Description

functor processing queue events

Reacts on SfxHintId::TextParaInserted/REMOVED events and stores their content

Definition at line 960 of file AccessibleTextHelper.cxx.

Constructor & Destructor Documentation

accessibility::AccessibleTextHelper_QueueFunctor::AccessibleTextHelper_QueueFunctor ( )
inline

Definition at line 963 of file AccessibleTextHelper.cxx.

References NONE.

Member Function Documentation

SfxHintId accessibility::AccessibleTextHelper_QueueFunctor::GetHintId ( ) const
inline

Query hint id of last interesting event.

Returns
hint id of last interesting event (REMOVED/INSERTED).

Definition at line 1011 of file AccessibleTextHelper.cxx.

References mnHintId.

Referenced by accessibility::AccessibleTextHelper_Impl::ProcessQueue().

sal_Int32 accessibility::AccessibleTextHelper_QueueFunctor::GetNumberOfParasChanged ( ) const
inline

Query number of paragraphs changed during queue processing.

Returns
number of changed paragraphs, -1 for "every paragraph changed"

Definition at line 1000 of file AccessibleTextHelper.cxx.

References mnParasChanged.

Referenced by accessibility::AccessibleTextHelper_Impl::ProcessQueue().

sal_Int32 accessibility::AccessibleTextHelper_QueueFunctor::GetParaIndex ( ) const
inline

Query index of last added/removed paragraph.

Returns
index of lastly added paragraphs, -1 for none added so far.

Definition at line 1006 of file AccessibleTextHelper.cxx.

References mnParaIndex.

Referenced by accessibility::AccessibleTextHelper_Impl::ProcessQueue().

void accessibility::AccessibleTextHelper_QueueFunctor::operator() ( const SfxHint pEvent)
inline

Member Data Documentation

SfxHintId accessibility::AccessibleTextHelper_QueueFunctor::mnHintId
private

TextHint ID (removed/inserted) of last interesting event.

Definition at line 1021 of file AccessibleTextHelper.cxx.

Referenced by GetHintId(), and operator()().

sal_Int32 accessibility::AccessibleTextHelper_QueueFunctor::mnParaIndex
private

index of paragraph added/removed last

Definition at line 1019 of file AccessibleTextHelper.cxx.

Referenced by GetParaIndex(), and operator()().

sal_Int32 accessibility::AccessibleTextHelper_QueueFunctor::mnParasChanged
private

number of paragraphs changed during queue processing.

-1 for "every paragraph changed"

Definition at line 1017 of file AccessibleTextHelper.cxx.

Referenced by GetNumberOfParasChanged(), and operator()().


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