#include <accessibility.hxx>
Collaboration diagram for SmGraphicAccessible:
Public Member Functions | |
SmGraphicAccessible (SmGraphicWindow *pGraphicWin) | |
virtual | ~SmGraphicAccessible () |
SmGraphicWindow * | GetWin () |
void | ClearWin () |
void | LaunchEvent (const sal_Int16 nAccesibleEventId, const ::com::sun::star::uno::Any &rOldVal, const ::com::sun::star::uno::Any &rNewVal) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL | getAccessibleContext () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL | containsPoint (const::com::sun::star::awt::Point &aPoint) throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL | getAccessibleAtPoint (const::com::sun::star::awt::Point &aPoint) throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::awt::Rectangle SAL_CALL | getBounds () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::awt::Point SAL_CALL | getLocation () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::awt::Point SAL_CALL | getLocationOnScreen () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::awt::Size SAL_CALL | getSize () throw (::com::sun::star::uno::RuntimeException) |
virtual void SAL_CALL | grabFocus () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getForeground () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getBackground () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getAccessibleChildCount () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL | getAccessibleChild (sal_Int32 i) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL | getAccessibleParent () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getAccessibleIndexInParent () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int16 SAL_CALL | getAccessibleRole () throw (::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getAccessibleDescription () throw (::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getAccessibleName () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleRelationSet > SAL_CALL | getAccessibleRelationSet () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleStateSet > SAL_CALL | getAccessibleStateSet () throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::lang::Locale SAL_CALL | getLocale () throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException) |
virtual void SAL_CALL | addEventListener (const::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener > &xListener) throw (::com::sun::star::uno::RuntimeException) |
virtual void SAL_CALL | removeEventListener (const::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener > &xListener) throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getCaretPosition () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL | setCaretPosition (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual sal_Unicode SAL_CALL | getCharacter (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL | getCharacterAttributes (sal_Int32 nIndex, const ::com::sun::star::uno::Sequence< ::rtl::OUString > &aRequestedAttributes) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::awt::Rectangle SAL_CALL | getCharacterBounds (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getCharacterCount () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getIndexAtPoint (const::com::sun::star::awt::Point &aPoint) throw (::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getSelectedText () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getSelectionStart () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Int32 SAL_CALL | getSelectionEnd () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL | setSelection (sal_Int32 nStartIndex, sal_Int32 nEndIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getText () throw (::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getTextRange (sal_Int32 nStartIndex, sal_Int32 nEndIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::accessibility::TextSegment SAL_CALL | getTextAtIndex (sal_Int32 nIndex, sal_Int16 aTextType) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::accessibility::TextSegment SAL_CALL | getTextBeforeIndex (sal_Int32 nIndex, sal_Int16 aTextType) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::accessibility::TextSegment SAL_CALL | getTextBehindIndex (sal_Int32 nIndex, sal_Int16 aTextType) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL | copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
virtual ::rtl::OUString SAL_CALL | getImplementationName () throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL | supportsService (const::rtl::OUString &ServiceName) throw (::com::sun::star::uno::RuntimeException) |
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL | getSupportedServiceNames () throw (::com::sun::star::uno::RuntimeException) |
Protected Member Functions | |
SmDocShell * | GetDoc_Impl () |
String | GetAccessibleText_Impl () |
Private Member Functions | |
SmGraphicAccessible (const SmGraphicAccessible &) | |
SmGraphicAccessible & | operator= (const SmGraphicAccessible &) |
Private Attributes | |
osl::Mutex | aListenerMutex |
String | aAccName |
sal_uInt32 | nClientId |
client id in the AccessibleEventNotifier queue | |
SmGraphicWindow * | pWin |
Definition at line 129 of file accessibility.hxx.
SmGraphicAccessible::SmGraphicAccessible | ( | const SmGraphicAccessible & | ) | [private] |
SmGraphicAccessible::SmGraphicAccessible | ( | SmGraphicWindow * | pGraphicWin | ) |
SmGraphicAccessible::~SmGraphicAccessible | ( | ) | [virtual] |
Definition at line 207 of file accessibility.cxx.
SmGraphicAccessible& SmGraphicAccessible::operator= | ( | const SmGraphicAccessible & | ) | [private] |
SmDocShell * SmGraphicAccessible::GetDoc_Impl | ( | ) | [protected] |
Definition at line 218 of file accessibility.cxx.
References SmViewShell::GetDoc(), SmGraphicWindow::GetView(), SmClipboardChangeListener::pView, and pWin.
Referenced by getAccessibleDescription(), and GetAccessibleText_Impl().
String SmGraphicAccessible::GetAccessibleText_Impl | ( | ) | [protected] |
Definition at line 224 of file accessibility.cxx.
References SmDocShell::GetAccessibleText(), and GetDoc_Impl().
Referenced by getCharacterCount(), and getText().
SmGraphicWindow* SmGraphicAccessible::GetWin | ( | ) | [inline] |
void SmGraphicAccessible::ClearWin | ( | ) |
Definition at line 233 of file accessibility.cxx.
References nClientId, and pWin.
Referenced by SmGraphicWindow::~SmGraphicWindow().
void SmGraphicAccessible::LaunchEvent | ( | const sal_Int16 | nAccesibleEventId, | |
const ::com::sun::star::uno::Any & | rOldVal, | |||
const ::com::sun::star::uno::Any & | rNewVal | |||
) |
Referenced by SmGraphicWindow::LoseFocus(), and SmDocShell::SetText().
uno::Reference< XAccessibleContext > SAL_CALL SmGraphicAccessible::getAccessibleContext | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 260 of file accessibility.cxx.
virtual sal_Bool SAL_CALL SmGraphicAccessible::containsPoint | ( | const ::com::sun::star::awt::Point & | aPoint | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL SmGraphicAccessible::getAccessibleAtPoint | ( | const ::com::sun::star::awt::Point & | aPoint | ) | throw (::com::sun::star::uno::RuntimeException) |
awt::Rectangle SAL_CALL SmGraphicAccessible::getBounds | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 293 of file accessibility.cxx.
References getAccessibleParent(), lcl_GetBounds(), and pWin.
awt::Point SAL_CALL SmGraphicAccessible::getLocation | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 304 of file accessibility.cxx.
References getAccessibleParent(), lcl_GetBounds(), and pWin.
awt::Point SAL_CALL SmGraphicAccessible::getLocationOnScreen | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 316 of file accessibility.cxx.
References getAccessibleParent(), lcl_GetLocationOnScreen(), and pWin.
awt::Size SAL_CALL SmGraphicAccessible::getSize | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 327 of file accessibility.cxx.
References getAccessibleParent(), lcl_GetBounds(), and pWin.
void SAL_CALL SmGraphicAccessible::grabFocus | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
sal_Int32 SAL_CALL SmGraphicAccessible::getForeground | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
sal_Int32 SAL_CALL SmGraphicAccessible::getBackground | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleChildCount | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 381 of file accessibility.cxx.
Reference< XAccessible > SAL_CALL SmGraphicAccessible::getAccessibleChild | ( | sal_Int32 | i | ) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
Definition at line 388 of file accessibility.cxx.
Reference< XAccessible > SAL_CALL SmGraphicAccessible::getAccessibleParent | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 397 of file accessibility.cxx.
References pWin.
Referenced by getBounds(), getLocation(), getLocationOnScreen(), and getSize().
sal_Int32 SAL_CALL SmGraphicAccessible::getAccessibleIndexInParent | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
sal_Int16 SAL_CALL SmGraphicAccessible::getAccessibleRole | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 425 of file accessibility.cxx.
OUString SAL_CALL SmGraphicAccessible::getAccessibleDescription | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 432 of file accessibility.cxx.
References GetDoc_Impl(), and SmDocShell::GetText().
OUString SAL_CALL SmGraphicAccessible::getAccessibleName | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Reference< XAccessibleRelationSet > SAL_CALL SmGraphicAccessible::getAccessibleRelationSet | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 447 of file accessibility.cxx.
Reference< XAccessibleStateSet > SAL_CALL SmGraphicAccessible::getAccessibleStateSet | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Locale SAL_CALL SmGraphicAccessible::getLocale | ( | ) | throw (::com::sun::star::accessibility::IllegalAccessibleComponentStateException, ::com::sun::star::uno::RuntimeException) |
Definition at line 488 of file accessibility.cxx.
virtual void SAL_CALL SmGraphicAccessible::addEventListener | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener > & | xListener | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
virtual void SAL_CALL SmGraphicAccessible::removeEventListener | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleEventListener > & | xListener | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
sal_Int32 SAL_CALL SmGraphicAccessible::getCaretPosition | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 534 of file accessibility.cxx.
sal_Bool SAL_CALL SmGraphicAccessible::setCaretPosition | ( | sal_Int32 | nIndex | ) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 541 of file accessibility.cxx.
sal_Unicode SAL_CALL SmGraphicAccessible::getCharacter | ( | sal_Int32 | nIndex | ) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 551 of file accessibility.cxx.
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > SAL_CALL SmGraphicAccessible::getCharacterAttributes | ( | sal_Int32 | nIndex, | |
const ::com::sun::star::uno::Sequence< ::rtl::OUString > & | aRequestedAttributes | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
awt::Rectangle SAL_CALL SmGraphicAccessible::getCharacterBounds | ( | sal_Int32 | nIndex | ) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
Definition at line 575 of file accessibility.cxx.
References SmNode::FindNodeWithAccessibleIndex(), SmNode::GetAccessibleIndex(), SmNode::GetAccessibleText(), SmViewShell::GetDoc(), SmNode::GetFont(), SmDocShell::GetFormulaTree(), SmRect::GetSize(), SmRect::GetTopLeft(), and SmClipboardChangeListener::pView.
sal_Int32 SAL_CALL SmGraphicAccessible::getCharacterCount | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
virtual sal_Int32 SAL_CALL SmGraphicAccessible::getIndexAtPoint | ( | const ::com::sun::star::awt::Point & | aPoint | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
OUString SAL_CALL SmGraphicAccessible::getSelectedText | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
Definition at line 726 of file accessibility.cxx.
sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionStart | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 733 of file accessibility.cxx.
sal_Int32 SAL_CALL SmGraphicAccessible::getSelectionEnd | ( | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 740 of file accessibility.cxx.
sal_Bool SAL_CALL SmGraphicAccessible::setSelection | ( | sal_Int32 | nStartIndex, | |
sal_Int32 | nEndIndex | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 747 of file accessibility.cxx.
OUString SAL_CALL SmGraphicAccessible::getText | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
OUString SAL_CALL SmGraphicAccessible::getTextRange | ( | sal_Int32 | nStartIndex, | |
sal_Int32 | nEndIndex | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) |
Definition at line 767 of file accessibility.cxx.
com::sun::star::accessibility::TextSegment SAL_CALL SmGraphicAccessible::getTextAtIndex | ( | sal_Int32 | nIndex, | |
sal_Int16 | aTextType | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
Definition at line 786 of file accessibility.cxx.
com::sun::star::accessibility::TextSegment SAL_CALL SmGraphicAccessible::getTextBeforeIndex | ( | sal_Int32 | nIndex, | |
sal_Int16 | aTextType | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
Definition at line 807 of file accessibility.cxx.
com::sun::star::accessibility::TextSegment SAL_CALL SmGraphicAccessible::getTextBehindIndex | ( | sal_Int32 | nIndex, | |
sal_Int16 | aTextType | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException) |
Definition at line 829 of file accessibility.cxx.
sal_Bool SAL_CALL SmGraphicAccessible::copyText | ( | sal_Int32 | nStartIndex, | |
sal_Int32 | nEndIndex | |||
) | throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException) [virtual] |
Definition at line 852 of file accessibility.cxx.
OUString SAL_CALL SmGraphicAccessible::getImplementationName | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
virtual sal_Bool SAL_CALL SmGraphicAccessible::supportsService | ( | const ::rtl::OUString & | ServiceName | ) | throw (::com::sun::star::uno::RuntimeException) [virtual] |
Sequence< OUString > SAL_CALL SmGraphicAccessible::getSupportedServiceNames | ( | ) | throw (::com::sun::star::uno::RuntimeException) |
osl::Mutex SmGraphicAccessible::aListenerMutex [private] |
Definition at line 133 of file accessibility.hxx.
String SmGraphicAccessible::aAccName [private] |
sal_uInt32 SmGraphicAccessible::nClientId [private] |
client id in the AccessibleEventNotifier queue
Definition at line 136 of file accessibility.hxx.
Referenced by ClearWin().
SmGraphicWindow* SmGraphicAccessible::pWin [private] |
Definition at line 138 of file accessibility.hxx.
Referenced by ClearWin(), getAccessibleIndexInParent(), getAccessibleParent(), getAccessibleStateSet(), getBackground(), getBounds(), GetDoc_Impl(), SmEditAccessible::GetEditEngine(), SmEditAccessible::GetEditView(), getForeground(), getLocation(), getLocationOnScreen(), getSize(), SmEditAccessible::GetWin(), GetWin(), grabFocus(), and SmGraphicAccessible().