LibreOffice Module sfx2 (master) 1
|
Public Member Functions | |
LOKDocumentFocusListener (const SfxViewShell *pViewShell) | |
void | attachRecursive (const uno::Reference< accessibility::XAccessible > &xAccessible) |
void | attachRecursive (const uno::Reference< accessibility::XAccessible > &xAccessible, const uno::Reference< accessibility::XAccessibleContext > &xContext) |
void | attachRecursive (const uno::Reference< accessibility::XAccessible > &xAccessible, const uno::Reference< accessibility::XAccessibleContext > &xContext, const sal_Int64 nStateSet) |
void | detachRecursive (const uno::Reference< accessibility::XAccessible > &xAccessible) |
void | detachRecursive (const uno::Reference< accessibility::XAccessibleContext > &xContext) |
void | detachRecursive (const uno::Reference< accessibility::XAccessibleContext > &xContext, const sal_Int64 nStateSet) |
virtual void SAL_CALL | disposing (const lang::EventObject &Source) override |
virtual void SAL_CALL | notifyEvent (const accessibility::AccessibleEventObject &aEvent) override |
void | notifyFocusedParagraphChanged () |
void | notifyCaretChanged () |
void | notifyTextSelectionChanged () |
OUString | getFocusedParagraph () const |
int | getCaretPosition () const |
Static Public Member Functions | |
static uno::Reference< accessibility::XAccessible > | getAccessible (const lang::EventObject &aEvent) |
Private Attributes | |
const SfxViewShell * | m_pViewShell |
std::unordered_set< uno::Reference< uno::XInterface > > | m_aRefList |
OUString | m_sFocusedParagraph |
bool | m_bFocusedParagraphNotified |
sal_Int32 | m_nCaretPosition |
sal_Int32 | m_nSelectionStart |
sal_Int32 | m_nSelectionEnd |
OUString | m_sSelectedText |
bool | m_bIsEditingCell |
OUString | m_sSelectedCellAddress |
Static Private Attributes | |
static constexpr sal_Int64 | MAX_ATTACHABLE_CHILDREN = 30 |
Definition at line 240 of file viewsh.cxx.
LOKDocumentFocusListener::LOKDocumentFocusListener | ( | const SfxViewShell * | pViewShell | ) |
Definition at line 317 of file viewsh.cxx.
void LOKDocumentFocusListener::attachRecursive | ( | const uno::Reference< accessibility::XAccessible > & | xAccessible | ) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 755 of file viewsh.cxx.
References attachRecursive(), and SAL_INFO.
Referenced by attachRecursive(), notifyEvent(), and SfxViewShell::SetLOKAccessibilityState().
void LOKDocumentFocusListener::attachRecursive | ( | const uno::Reference< accessibility::XAccessible > & | xAccessible, |
const uno::Reference< accessibility::XAccessibleContext > & | xContext | ||
) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 768 of file viewsh.cxx.
References attachRecursive(), m_bIsEditingCell, SAL_INFO, and sName.
void LOKDocumentFocusListener::attachRecursive | ( | const uno::Reference< accessibility::XAccessible > & | xAccessible, |
const uno::Reference< accessibility::XAccessibleContext > & | xContext, | ||
const sal_Int64 | nStateSet | ||
) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 790 of file viewsh.cxx.
References attachRecursive(), m_aRefList, MAX_ATTACHABLE_CHILDREN, n, and SAL_INFO.
void LOKDocumentFocusListener::detachRecursive | ( | const uno::Reference< accessibility::XAccessible > & | xAccessible | ) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 833 of file viewsh.cxx.
References detachRecursive().
Referenced by detachRecursive(), notifyEvent(), and SfxViewShell::SetLOKAccessibilityState().
void LOKDocumentFocusListener::detachRecursive | ( | const uno::Reference< accessibility::XAccessibleContext > & | xContext | ) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 844 of file viewsh.cxx.
References detachRecursive(), m_bIsEditingCell, m_nCaretPosition, m_sFocusedParagraph, notifyFocusedParagraphChanged(), SAL_INFO, and sName.
void LOKDocumentFocusListener::detachRecursive | ( | const uno::Reference< accessibility::XAccessibleContext > & | xContext, |
const sal_Int64 | nStateSet | ||
) |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 870 of file viewsh.cxx.
References detachRecursive(), m_aRefList, MAX_ATTACHABLE_CHILDREN, and n.
|
overridevirtual |
Definition at line 402 of file viewsh.cxx.
References aEvent, and m_aRefList.
|
static |
lang::IndexOutOfBoundsException | |
uno::RuntimeException |
Definition at line 730 of file viewsh.cxx.
References aEvent.
Referenced by notifyEvent().
int LOKDocumentFocusListener::getCaretPosition | ( | ) | const |
Definition at line 348 of file viewsh.cxx.
References m_nCaretPosition, and SAL_INFO.
Referenced by SfxViewShell::getA11yCaretPosition().
OUString LOKDocumentFocusListener::getFocusedParagraph | ( | ) | const |
Definition at line 327 of file viewsh.cxx.
References m_bFocusedParagraphNotified, m_nCaretPosition, m_nSelectionEnd, m_nSelectionStart, m_sFocusedParagraph, and SAL_INFO.
Referenced by SfxViewShell::getA11yFocusedParagraph().
void LOKDocumentFocusListener::notifyCaretChanged | ( | ) |
Definition at line 371 of file viewsh.cxx.
References SfxViewShell::libreOfficeKitViewCallback(), m_nCaretPosition, m_pViewShell, and SAL_INFO.
Referenced by notifyEvent().
|
overridevirtual |
Definition at line 431 of file viewsh.cxx.
References aEvent, attachRecursive(), attribute, detachRecursive(), getAccessible(), m_bFocusedParagraphNotified, m_bIsEditingCell, m_nCaretPosition, m_nSelectionEnd, m_nSelectionStart, m_sFocusedParagraph, m_sSelectedCellAddress, m_sSelectedText, nLength, notifyCaretChanged(), notifyFocusedParagraphChanged(), notifyTextSelectionChanged(), nPos, nState, nValue, SAL_INFO, SAL_WARN, and sName.
void LOKDocumentFocusListener::notifyFocusedParagraphChanged | ( | ) |
Definition at line 354 of file viewsh.cxx.
References SfxViewShell::libreOfficeKitViewCallback(), m_bFocusedParagraphNotified, m_nCaretPosition, m_pViewShell, m_sFocusedParagraph, and SAL_INFO.
Referenced by detachRecursive(), and notifyEvent().
void LOKDocumentFocusListener::notifyTextSelectionChanged | ( | ) |
Definition at line 386 of file viewsh.cxx.
References SfxViewShell::libreOfficeKitViewCallback(), m_nSelectionEnd, m_nSelectionStart, m_pViewShell, and SAL_INFO.
Referenced by notifyEvent().
|
private |
Definition at line 246 of file viewsh.cxx.
Referenced by attachRecursive(), detachRecursive(), and disposing().
|
private |
Definition at line 248 of file viewsh.cxx.
Referenced by getFocusedParagraph(), notifyEvent(), and notifyFocusedParagraphChanged().
|
private |
Definition at line 253 of file viewsh.cxx.
Referenced by attachRecursive(), detachRecursive(), and notifyEvent().
|
private |
Definition at line 249 of file viewsh.cxx.
Referenced by detachRecursive(), getCaretPosition(), getFocusedParagraph(), notifyCaretChanged(), notifyEvent(), and notifyFocusedParagraphChanged().
|
private |
Definition at line 251 of file viewsh.cxx.
Referenced by getFocusedParagraph(), notifyEvent(), and notifyTextSelectionChanged().
|
private |
Definition at line 250 of file viewsh.cxx.
Referenced by getFocusedParagraph(), notifyEvent(), and notifyTextSelectionChanged().
|
private |
Definition at line 245 of file viewsh.cxx.
Referenced by notifyCaretChanged(), notifyFocusedParagraphChanged(), and notifyTextSelectionChanged().
|
private |
Definition at line 247 of file viewsh.cxx.
Referenced by detachRecursive(), getFocusedParagraph(), notifyEvent(), and notifyFocusedParagraphChanged().
|
private |
Definition at line 254 of file viewsh.cxx.
Referenced by notifyEvent().
|
private |
Definition at line 252 of file viewsh.cxx.
Referenced by notifyEvent().
|
staticconstexprprivate |
Definition at line 243 of file viewsh.cxx.
Referenced by attachRecursive(), and detachRecursive().