LibreOffice Module accessibility (master) 1
|
#include <vclxaccessibletextcomponent.hxx>
Public Member Functions | |
VCLXAccessibleTextComponent (VCLXWindow *pVCLXWindow) | |
virtual sal_Int32 SAL_CALL | getCaretPosition () override |
virtual sal_Bool SAL_CALL | setCaretPosition (sal_Int32 nIndex) override |
virtual sal_Unicode SAL_CALL | getCharacter (sal_Int32 nIndex) override |
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL | getCharacterAttributes (sal_Int32 nIndex, const css::uno::Sequence< OUString > &aRequestedAttributes) override |
virtual css::awt::Rectangle SAL_CALL | getCharacterBounds (sal_Int32 nIndex) override |
virtual sal_Int32 SAL_CALL | getCharacterCount () override |
virtual sal_Int32 SAL_CALL | getIndexAtPoint (const css::awt::Point &aPoint) override |
virtual OUString SAL_CALL | getSelectedText () override |
virtual sal_Int32 SAL_CALL | getSelectionStart () override |
virtual sal_Int32 SAL_CALL | getSelectionEnd () override |
virtual sal_Bool SAL_CALL | setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual OUString SAL_CALL | getText () override |
virtual OUString SAL_CALL | getTextRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex) 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 |
virtual sal_Bool SAL_CALL | copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) override |
virtual sal_Bool SAL_CALL | scrollSubstringTo (sal_Int32 nStartIndex, sal_Int32 nEndIndex, css::accessibility::AccessibleScrollType aScrollType) override |
Protected Member Functions | |
void | SetText (const OUString &sText) |
virtual void | ProcessWindowEvent (const VclWindowEvent &rVclWindowEvent) override |
virtual OUString | implGetText () override |
virtual css::lang::Locale | implGetLocale () override |
virtual void | implGetSelection (sal_Int32 &nStartIndex, sal_Int32 &nEndIndex) override |
virtual void SAL_CALL | disposing () override |
Protected Member Functions inherited from comphelper::OCommonAccessibleText | |
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 () |
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 Attributes | |
OUString | m_sText |
Additional Inherited Members | |
Static Public Member Functions inherited from comphelper::OCommonAccessibleText | |
static bool | implInitTextChangedEvent (std::u16string_view rOldString, std::u16string_view rNewString, css::uno::Any &rDeleted, css::uno::Any &rInserted) |
Static Protected Member Functions inherited from comphelper::OCommonAccessibleText | |
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) |
Definition at line 30 of file vclxaccessibletextcomponent.hxx.
VCLXAccessibleTextComponent::VCLXAccessibleTextComponent | ( | VCLXWindow * | pVCLXWindow | ) |
Definition at line 47 of file vclxaccessibletextcomponent.cxx.
|
overridevirtual |
Definition at line 331 of file vclxaccessibletextcomponent.cxx.
References implGetText().
Referenced by VCLXAccessibleEdit::copyText().
|
overrideprotectedvirtual |
Definition at line 113 of file vclxaccessibletextcomponent.cxx.
References m_sText.
|
overridevirtual |
Definition at line 124 of file vclxaccessibletextcomponent.cxx.
|
overridevirtual |
Definition at line 136 of file vclxaccessibletextcomponent.cxx.
References implGetText(), and nIndex.
Referenced by VCLXAccessibleEdit::getCharacter().
|
overridevirtual |
Definition at line 144 of file vclxaccessibletextcomponent.cxx.
References CharacterAttributesHelper::GetCharacterAttributes(), implGetText(), comphelper::OCommonAccessibleText::implIsValidIndex(), and nIndex.
Referenced by VCLXAccessibleEdit::getCharacterAttributes().
|
overridevirtual |
Definition at line 219 of file vclxaccessibletextcomponent.cxx.
References AWTRectangle(), getLength(), implGetText(), comphelper::OCommonAccessibleText::implIsValidIndex(), and nIndex.
|
overridevirtual |
Definition at line 235 of file vclxaccessibletextcomponent.cxx.
References implGetText().
Referenced by VCLXAccessibleEdit::getCharacterCount().
|
overridevirtual |
Definition at line 243 of file vclxaccessibletextcomponent.cxx.
References nIndex, and VCLPoint().
Referenced by VCLXAccessibleEdit::getIndexAtPoint().
|
overridevirtual |
Definition at line 256 of file vclxaccessibletextcomponent.cxx.
Referenced by VCLXAccessibleEdit::getSelectedText().
|
overridevirtual |
Definition at line 272 of file vclxaccessibletextcomponent.cxx.
Referenced by VCLXAccessibleEdit::getSelectionEnd().
|
overridevirtual |
Definition at line 264 of file vclxaccessibletextcomponent.cxx.
Referenced by VCLXAccessibleEdit::getSelectionStart().
|
overridevirtual |
Definition at line 291 of file vclxaccessibletextcomponent.cxx.
References implGetText().
Referenced by VCLXAccessibleEdit::getText().
|
overridevirtual |
Definition at line 307 of file vclxaccessibletextcomponent.cxx.
References nIndex.
Referenced by VCLXAccessibleEdit::getTextAtIndex().
|
overridevirtual |
Definition at line 315 of file vclxaccessibletextcomponent.cxx.
References nIndex.
Referenced by VCLXAccessibleEdit::getTextBeforeIndex().
|
overridevirtual |
Definition at line 323 of file vclxaccessibletextcomponent.cxx.
References nIndex.
Referenced by VCLXAccessibleEdit::getTextBehindIndex().
|
overridevirtual |
Definition at line 299 of file vclxaccessibletextcomponent.cxx.
References implGetText().
Referenced by VCLXAccessibleEdit::getTextRange().
|
overrideprotectedvirtual |
Implements comphelper::OCommonAccessibleText.
Definition at line 97 of file vclxaccessibletextcomponent.cxx.
References AllSettings::GetLanguageTag(), LanguageTag::getLocale(), and Application::GetSettings().
|
overrideprotectedvirtual |
Implements comphelper::OCommonAccessibleText.
Definition at line 103 of file vclxaccessibletextcomponent.cxx.
|
overrideprotectedvirtual |
Implements comphelper::OCommonAccessibleText.
Definition at line 86 of file vclxaccessibletextcomponent.cxx.
References removeMnemonicFromString().
Referenced by copyText(), getCharacter(), getCharacterAttributes(), getCharacterBounds(), getCharacterCount(), getText(), getTextRange(), ProcessWindowEvent(), and setSelection().
|
overrideprotectedvirtual |
Definition at line 67 of file vclxaccessibletextcomponent.cxx.
References VclSimpleEvent::GetId(), implGetText(), and SetText().
Referenced by VCLXAccessibleButton::ProcessWindowEvent(), VCLXAccessibleCheckBox::ProcessWindowEvent(), VCLXAccessibleEdit::ProcessWindowEvent(), and VCLXAccessibleRadioButton::ProcessWindowEvent().
|
overridevirtual |
Definition at line 361 of file vclxaccessibletextcomponent.cxx.
|
overridevirtual |
Definition at line 130 of file vclxaccessibletextcomponent.cxx.
References nIndex, and setSelection().
|
overridevirtual |
Definition at line 280 of file vclxaccessibletextcomponent.cxx.
References getLength(), implGetText(), and comphelper::OCommonAccessibleText::implIsValidRange().
Referenced by setCaretPosition().
|
protected |
Definition at line 56 of file vclxaccessibletextcomponent.cxx.
References Any, comphelper::OCommonAccessibleText::implInitTextChangedEvent(), and m_sText.
Referenced by ProcessWindowEvent().
|
private |
Definition at line 35 of file vclxaccessibletextcomponent.hxx.
Referenced by disposing(), and SetText().