|
LibreOffice Module sw (master) 1
|
#include <textmarkuphelper.hxx>
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 | |
| SwTextMarkupHelper & | operator= (const SwTextMarkupHelper &)=delete |
| std::unique_ptr< sw::WrongListIteratorCounter > | getIterator (sal_Int32 nTextMarkupType) |
Private Attributes | |
| const SwAccessiblePortionData & | mrPortionData |
| SwTextFrame const * | m_pTextFrame |
| const SwWrongList * | mpTextMarkupList |
Definition at line 37 of file textmarkuphelper.hxx.
| 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.
|
privatedelete |
|
private |
Definition at line 90 of file textmarkuphelper.cxx.
References m_pTextFrame, and mpTextMarkupList.
Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().
| css::accessibility::TextSegment SwTextMarkupHelper::getTextMarkup | ( | const sal_Int32 | nTextMarkupIndex, |
| const sal_Int32 | nTextMarkupType | ||
| ) |
| css::lang::IndexOutOfBoundsException | |
| css::lang::IllegalArgumentException | |
| css::uno::RuntimeException |
Definition at line 130 of file textmarkuphelper.cxx.
References SwAccessiblePortionData::GetAccessiblePosition(), SwAccessiblePortionData::GetAccessibleString(), getIterator(), getTextMarkupCount(), SwAccessiblePortionData::IsValidCorePosition(), and mrPortionData.
| css::uno::Sequence< css::accessibility::TextSegment > SwTextMarkupHelper::getTextMarkupAtIndex | ( | const sal_Int32 | nCharIndex, |
| const sal_Int32 | nTextMarkupType | ||
| ) |
| css::lang::IndexOutOfBoundsException | |
| css::lang::IllegalArgumentException | |
| css::uno::RuntimeException |
Definition at line 188 of file textmarkuphelper.cxx.
References comphelper::containerToSequence(), count, SwAccessiblePortionData::GetAccessiblePosition(), SwAccessiblePortionData::GetAccessibleString(), SwAccessiblePortionData::GetCoreViewPosition(), getIterator(), i, and mrPortionData.
| sal_Int32 SwTextMarkupHelper::getTextMarkupCount | ( | const sal_Int32 | nTextMarkupType | ) |
| css::lang::IllegalArgumentException | |
| css::uno::RuntimeException |
Definition at line 111 of file textmarkuphelper.cxx.
References getIterator(), i, SwAccessiblePortionData::IsValidCorePosition(), and mrPortionData.
Referenced by getTextMarkup().
|
privatedelete |
|
private |
Definition at line 71 of file textmarkuphelper.hxx.
Referenced by getIterator().
|
private |
Definition at line 72 of file textmarkuphelper.hxx.
Referenced by getIterator().
|
private |
Definition at line 69 of file textmarkuphelper.hxx.
Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().