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 |
Private Attributes | |
const SwAccessiblePortionData & | mrPortionData |
SwTextFrame const * | m_pTextFrame |
const SwWrongList * | mpTextMarkupList |
Definition at line 33 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 |
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 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 | ||
) |
css::lang::IndexOutOfBoundsException | |
css::lang::IllegalArgumentException | |
css::uno::RuntimeException |
Definition at line 164 of file textmarkuphelper.cxx.
References comphelper::containerToSequence(), count, SwAccessiblePortionData::GetAccessiblePosition(), SwAccessiblePortionData::GetAccessibleString(), SwAccessiblePortionData::GetCoreViewPosition(), i, m_pTextFrame, mpTextMarkupList, and mrPortionData.
sal_Int32 SwTextMarkupHelper::getTextMarkupCount | ( | const sal_Int32 | nTextMarkupType | ) |
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().
|
privatedelete |
|
private |
Definition at line 65 of file textmarkuphelper.hxx.
Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().
|
private |
Definition at line 66 of file textmarkuphelper.hxx.
Referenced by getTextMarkup(), getTextMarkupAtIndex(), and getTextMarkupCount().
|
private |
Definition at line 63 of file textmarkuphelper.hxx.
Referenced by getTextMarkup(), and getTextMarkupAtIndex().