LibreOffice Module comphelper (master) 1
|
a helper class for implementing an AccessibleExtendedComponent which at the same time supports an XAccessibleText interface More...
#include <accessibletexthelper.hxx>
Public Member Functions | |
virtual OUString SAL_CALL | getSelectedText () override |
virtual sal_Int32 SAL_CALL | getSelectionStart () override |
virtual sal_Int32 SAL_CALL | getSelectionEnd () override |
virtual css::accessibility::TextSegment SAL_CALL | getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
virtual css::accessibility::TextSegment SAL_CALL | getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
virtual css::accessibility::TextSegment SAL_CALL | getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) override |
Protected Member Functions | |
OAccessibleTextHelper () | |
![]() | |
OCommonAccessibleText () | |
virtual | ~OCommonAccessibleText () |
css::uno::Reference< css::i18n::XBreakIterator > const & | implGetBreakIterator () |
css::uno::Reference< css::i18n::XCharacterClassification > const & | implGetCharacterClassification () |
virtual OUString | implGetText ()=0 |
virtual css::lang::Locale | implGetLocale ()=0 |
virtual void | implGetSelection (sal_Int32 &nStartIndex, sal_Int32 &nEndIndex)=0 |
void | implGetGlyphBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex) |
bool | implGetWordBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex) |
void | implGetSentenceBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex) |
virtual void | implGetParagraphBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex) |
virtual void | implGetLineBoundary (const OUString &rText, css::i18n::Boundary &rBoundary, sal_Int32 nIndex) |
OUString | getSelectedText () |
non-virtual versions of the methods More... | |
sal_Int32 | getSelectionStart () |
sal_Int32 | getSelectionEnd () |
css::accessibility::TextSegment | getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) |
css::accessibility::TextSegment | getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) |
css::accessibility::TextSegment | getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) |
Private Member Functions | |
OAccessibleTextHelper (OAccessibleTextHelper const &)=delete | |
OAccessibleTextHelper (OAccessibleTextHelper &&)=delete | |
void | operator= (OAccessibleTextHelper const &)=delete |
void | operator= (OAccessibleTextHelper &&)=delete |
Additional Inherited Members | |
![]() | |
static bool | implInitTextChangedEvent (std::u16string_view rOldString, std::u16string_view rNewString, css::uno::Any &rDeleted, css::uno::Any &rInserted) |
Helper method, that detects the difference between two strings and returns the deleted selection and the inserted selection if available. More... | |
![]() | |
static bool | implIsValidBoundary (css::i18n::Boundary const &rBoundary, sal_Int32 nLength) |
static bool | implIsValidIndex (sal_Int32 nIndex, sal_Int32 nLength) |
static bool | implIsValidRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex, sal_Int32 nLength) |
static sal_Unicode | implGetCharacter (std::u16string_view rText, sal_Int32 nIndex) |
static OUString | implGetTextRange (std::u16string_view rText, sal_Int32 nStartIndex, sal_Int32 nEndIndex) |
a helper class for implementing an AccessibleExtendedComponent which at the same time supports an XAccessibleText interface
Definition at line 117 of file accessibletexthelper.hxx.
|
privatedelete |
|
privatedelete |
|
protected |
Definition at line 739 of file accessibletexthelper.cxx.
|
overridevirtual |
Definition at line 747 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getSelectedText().
|
overridevirtual |
Definition at line 763 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getSelectionEnd().
|
overridevirtual |
Definition at line 755 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getSelectionStart().
|
overridevirtual |
Definition at line 771 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getTextAtIndex(), and nIndex.
|
overridevirtual |
Definition at line 779 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getTextBeforeIndex(), and nIndex.
|
overridevirtual |
Definition at line 787 of file accessibletexthelper.cxx.
References comphelper::OCommonAccessibleText::getTextBehindIndex(), and nIndex.
|
privatedelete |
|
privatedelete |