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

#include <textmarkuphelper.hxx>

Collaboration diagram for SwTextMarkupHelper:
[legend]

Public Member Functions

 SwTextMarkupHelper (const SwAccessiblePortionData &rPortionData, const SwTextFrame &rTextFrame)
 
 SwTextMarkupHelper (const SwAccessiblePortionData &rPortionData, const SwWrongList &rTextMarkupList)
 
sal_Int32 getTextMarkupCount (const sal_Int32 nTextMarkupType)
 
css::accessibility::TextSegment getTextMarkup (const sal_Int32 nTextMarkupIndex, const sal_Int32 nTextMarkupType)
 
css::uno::Sequence< css::accessibility::TextSegment > getTextMarkupAtIndex (const sal_Int32 nCharIndex, const sal_Int32 nTextMarkupType)
 

Private Member Functions

 SwTextMarkupHelper (const SwTextMarkupHelper &)=delete
 
SwTextMarkupHelperoperator= (const SwTextMarkupHelper &)=delete
 

Private Attributes

const SwAccessiblePortionDatamrPortionData
 
SwTextFrame const * m_pTextFrame
 
const SwWrongListmpTextMarkupList
 

Detailed Description

Definition at line 33 of file textmarkuphelper.hxx.

Constructor & Destructor Documentation

SwTextMarkupHelper::SwTextMarkupHelper ( const SwAccessiblePortionData rPortionData,
const SwTextFrame rTextFrame 
)

Definition at line 72 of file textmarkuphelper.cxx.

SwTextMarkupHelper::SwTextMarkupHelper ( const SwAccessiblePortionData rPortionData,
const SwWrongList rTextMarkupList 
)

Definition at line 81 of file textmarkuphelper.cxx.

SwTextMarkupHelper::SwTextMarkupHelper ( const SwTextMarkupHelper )
privatedelete

Member Function Documentation

css::accessibility::TextSegment SwTextMarkupHelper::getTextMarkup ( const sal_Int32  nTextMarkupIndex,
const sal_Int32  nTextMarkupType 
)
Exceptions
css::lang::IndexOutOfBoundsException
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 112 of file textmarkuphelper.cxx.

References SwAccessiblePortionData::GetAccessiblePosition(), SwAccessiblePortionData::GetAccessibleString(), getTextMarkupCount(), m_pTextFrame, mpTextMarkupList, and mrPortionData.

css::uno::Sequence< css::accessibility::TextSegment > SwTextMarkupHelper::getTextMarkupAtIndex ( const sal_Int32  nCharIndex,
const sal_Int32  nTextMarkupType 
)
Exceptions
css::lang::IndexOutOfBoundsException
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 164 of file textmarkuphelper.cxx.

References count(), SwAccessiblePortionData::GetAccessiblePosition(), SwAccessiblePortionData::GetAccessibleString(), SwAccessiblePortionData::GetCoreViewPosition(), i, m_pTextFrame, mpTextMarkupList, and mrPortionData.

sal_Int32 SwTextMarkupHelper::getTextMarkupCount ( const sal_Int32  nTextMarkupType)
Exceptions
css::lang::IllegalArgumentException
css::uno::RuntimeException

Definition at line 89 of file textmarkuphelper.cxx.

References SwWrongList::Count(), sw::WrongListIteratorCounter::GetElementCount(), m_pTextFrame, and mpTextMarkupList.

Referenced by getTextMarkup().

SwTextMarkupHelper& SwTextMarkupHelper::operator= ( const SwTextMarkupHelper )
privatedelete

Member Data Documentation

SwTextFrame const* SwTextMarkupHelper::m_pTextFrame
private

Definition at line 65 of file textmarkuphelper.hxx.

Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().

const SwWrongList* SwTextMarkupHelper::mpTextMarkupList
private

Definition at line 66 of file textmarkuphelper.hxx.

Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().

const SwAccessiblePortionData& SwTextMarkupHelper::mrPortionData
private

Definition at line 63 of file textmarkuphelper.hxx.

Referenced by getTextMarkup(), and getTextMarkupAtIndex().


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