diff options
Diffstat (limited to 'sdext/source/presenter/PresenterAccessibility.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterAccessibility.cxx | 365 |
1 files changed, 0 insertions, 365 deletions
diff --git a/sdext/source/presenter/PresenterAccessibility.cxx b/sdext/source/presenter/PresenterAccessibility.cxx index d96e8cf78375..dcafc7d137c6 100644 --- a/sdext/source/presenter/PresenterAccessibility.cxx +++ b/sdext/source/presenter/PresenterAccessibility.cxx @@ -26,7 +26,6 @@ * ************************************************************************/ - #include "PresenterAccessibility.hxx" #include "PresenterTextView.hxx" #include "PresenterConfigurationAccess.hxx" @@ -126,7 +125,6 @@ public: getAccessibleContext (void) throw (cssu::RuntimeException); - //----- XAccessibleContext ---------------------------------------------- virtual sal_Int32 SAL_CALL getAccessibleChildCount (void) @@ -163,7 +161,6 @@ public: throw (cssu::RuntimeException, cssa::IllegalAccessibleComponentStateException); - //----- XAccessibleComponent -------------------------------------------- virtual sal_Bool SAL_CALL containsPoint ( @@ -196,7 +193,6 @@ public: virtual sal_Int32 SAL_CALL getBackground (void) throw (cssu::RuntimeException); - //----- XAccessibleEventBroadcaster -------------------------------------- virtual void SAL_CALL addEventListener ( @@ -221,13 +217,11 @@ public: virtual void SAL_CALL windowHidden (const css::lang::EventObject& rEvent) throw (cssu::RuntimeException); - //----- XEventListener ---------------------------------------------------- virtual void SAL_CALL disposing (const css::lang::EventObject& rEvent) throw (cssu::RuntimeException); - protected: ::rtl::OUString msName; cssu::Reference<css::awt::XWindow2> mxContentWindow; @@ -257,9 +251,6 @@ protected: void ThrowException (const sal_Char* pMessage, const ExceptionType eExceptionType) const; }; - - - //===== AccessibleStateSet ==================================================== namespace { @@ -296,9 +287,6 @@ private: const sal_Int32 mnStateSet; }; - - - //===== AccessibleRelationSet ================================================= namespace { @@ -319,7 +307,6 @@ public: const sal_Int16 nRelationType, const Reference<XInterface>& rxObject); - //----- XAccessibleRelationSet -------------------------------------------- virtual sal_Int32 SAL_CALL getRelationCount (void) @@ -338,9 +325,6 @@ private: ::std::vector<AccessibleRelation> maRelations; }; - - - //===== PresenterAccessibleParagraph ========================================== namespace { @@ -350,9 +334,6 @@ typedef ::cppu::ImplInheritanceHelper1 < > PresenterAccessibleParagraphInterfaceBase; } - - - class PresenterAccessible::AccessibleParagraph : public PresenterAccessibleParagraphInterfaceBase { @@ -366,14 +347,12 @@ public: virtual ~AccessibleParagraph (void); - //----- XAccessibleContext ------------------------------------------------ virtual cssu::Reference<cssa::XAccessibleRelationSet> SAL_CALL getAccessibleRelationSet (void) throw (cssu::RuntimeException); - //----- XAccessibleText --------------------------------------------------- virtual sal_Int32 SAL_CALL getCaretPosition (void) @@ -444,7 +423,6 @@ public: virtual ::sal_Bool SAL_CALL copyText (sal_Int32 nStartIndex, sal_Int32 nEndIndex) throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException); - protected: virtual awt::Point GetRelativeLocation (void); virtual awt::Size GetSize (void); @@ -456,9 +434,6 @@ private: const sal_Int32 mnParagraphIndex; }; - - - //===== AccessibleConsole ===================================================== class AccessibleConsole @@ -486,9 +461,6 @@ public: } }; - - - //===== AccessiblePreview ===================================================== class AccessiblePreview @@ -523,9 +495,6 @@ public: } }; - - - //===== AccessibleNotes ======================================================= class AccessibleNotes : public PresenterAccessible::AccessibleObject @@ -536,7 +505,6 @@ public: const sal_Int16 nRole, const ::rtl::OUString& rsName); - static rtl::Reference<PresenterAccessible::AccessibleObject> Create ( const css::uno::Reference<css::uno::XComponentContext>& rxContext, const lang::Locale aLocale, @@ -561,9 +529,6 @@ private: void HandleTextChange (void); }; - - - //===== AccessibleFocusManager ================================================ /** A singleton class that makes sure that only one accessibility object in @@ -586,9 +551,6 @@ private: AccessibleFocusManager (void); }; - - - //===== PresenterAccessible =================================================== PresenterAccessible::PresenterAccessible ( @@ -614,16 +576,10 @@ PresenterAccessible::PresenterAccessible ( mxMainPane->setAccessible(this); } - - - PresenterAccessible::~PresenterAccessible (void) { } - - - PresenterPaneContainer::SharedPaneDescriptor PresenterAccessible::GetPreviewPane (void) const { PresenterPaneContainer::SharedPaneDescriptor pPreviewPane; @@ -646,9 +602,6 @@ PresenterPaneContainer::SharedPaneDescriptor PresenterAccessible::GetPreviewPane return pPreviewPane; } - - - void PresenterAccessible::UpdateAccessibilityHierarchy (void) { if ( ! mpPresenterController.is()) @@ -699,10 +652,6 @@ void PresenterAccessible::UpdateAccessibilityHierarchy (void) : ::boost::shared_ptr<PresenterTextView>()); } - - - - void PresenterAccessible::UpdateAccessibilityHierarchy ( const Reference<awt::XWindow>& rxPreviewContentWindow, const Reference<awt::XWindow>& rxPreviewBorderWindow, @@ -761,9 +710,6 @@ void PresenterAccessible::UpdateAccessibilityHierarchy ( } } - - - void PresenterAccessible::NotifyCurrentSlideChange ( const sal_Int32 nCurrentSlideIndex, const sal_Int32 nSlideCount) @@ -785,9 +731,6 @@ void PresenterAccessible::NotifyCurrentSlideChange ( AccessibleFocusManager::Instance()->FocusObject(mpAccessiblePreview); } - - - void SAL_CALL PresenterAccessible::disposing (void) { UpdateAccessibilityHierarchy( @@ -811,9 +754,6 @@ void SAL_CALL PresenterAccessible::disposing (void) mpAccessibleConsole = NULL; } - - - //----- XAccessible ----------------------------------------------------------- Reference<XAccessibleContext> SAL_CALL PresenterAccessible::getAccessibleContext (void) @@ -838,10 +778,6 @@ Reference<XAccessibleContext> SAL_CALL PresenterAccessible::getAccessibleContext return mpAccessibleConsole->getAccessibleContext(); } - - - - //----- XFocusListener ---------------------------------------------------- void SAL_CALL PresenterAccessible::focusGained (const css::awt::FocusEvent& rEvent) @@ -857,9 +793,6 @@ void SAL_CALL PresenterAccessible::focusGained (const css::awt::FocusEvent& rEve AccessibleFocusManager::Instance()->FocusObject(mpAccessibleConsole); } - - - void SAL_CALL PresenterAccessible::focusLost (const css::awt::FocusEvent& rEvent) throw (cssu::RuntimeException) { @@ -872,9 +805,6 @@ void SAL_CALL PresenterAccessible::focusLost (const css::awt::FocusEvent& rEvent AccessibleFocusManager::Instance()->FocusObject(NULL); } - - - //----- XEventListener ---------------------------------------------------- void SAL_CALL PresenterAccessible::disposing (const css::lang::EventObject& rEvent) @@ -884,9 +814,6 @@ void SAL_CALL PresenterAccessible::disposing (const css::lang::EventObject& rEve mxMainWindow = NULL; } - - - //----- XInitialize ----------------------------------------------------------- void SAL_CALL PresenterAccessible::initialize (const cssu::Sequence<cssu::Any>& rArguments) @@ -900,9 +827,6 @@ void SAL_CALL PresenterAccessible::initialize (const cssu::Sequence<cssu::Any>& } } - - - //===== PresenterAccessible::AccessibleObject ========================================= PresenterAccessible::AccessibleObject::AccessibleObject ( @@ -923,24 +847,15 @@ PresenterAccessible::AccessibleObject::AccessibleObject ( { } - - - void PresenterAccessible::AccessibleObject::LateInitialization (void) { AccessibleFocusManager::Instance()->AddFocusableObject(this); } - - - PresenterAccessible::AccessibleObject::~AccessibleObject (void) { } - - - void PresenterAccessible::AccessibleObject::SetWindow ( const Reference<awt::XWindow>& rxContentWindow, const Reference<awt::XWindow>& rxBorderWindow) @@ -966,27 +881,18 @@ void PresenterAccessible::AccessibleObject::SetWindow ( } } - - - void PresenterAccessible::AccessibleObject::SetAccessibleParent ( const Reference<XAccessible>& rxAccessibleParent) { mxParentAccessible = rxAccessibleParent; } - - - void SAL_CALL PresenterAccessible::AccessibleObject::disposing (void) { AccessibleFocusManager::Instance()->RemoveFocusableObject(this); SetWindow(NULL, NULL); } - - - //----- XAccessible ------------------------------------------------------- Reference<XAccessibleContext> SAL_CALL @@ -998,9 +904,6 @@ Reference<XAccessibleContext> SAL_CALL return this; } - - - //----- XAccessibleContext ---------------------------------------------- sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleChildCount (void) @@ -1013,9 +916,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleChildCoun return nChildCount; } - - - Reference<XAccessible> SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleChild (sal_Int32 nIndex) throw (lang::IndexOutOfBoundsException, RuntimeException) @@ -1028,9 +928,6 @@ Reference<XAccessible> SAL_CALL return Reference<XAccessible>(maChildren[nIndex].get()); } - - - Reference<XAccessible> SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleParent (void) throw (RuntimeException) @@ -1040,9 +937,6 @@ Reference<XAccessible> SAL_CALL return mxParentAccessible; } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleIndexInParent (void) throw (RuntimeException) @@ -1065,9 +959,6 @@ sal_Int32 SAL_CALL return 0; } - - - sal_Int16 SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleRole (void) throw (RuntimeException) @@ -1077,9 +968,6 @@ sal_Int16 SAL_CALL return mnRole; } - - - OUString SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleDescription (void) throw (RuntimeException) @@ -1089,9 +977,6 @@ OUString SAL_CALL return msName; } - - - OUString SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleName (void) throw (cssu::RuntimeException) @@ -1101,9 +986,6 @@ OUString SAL_CALL return msName; } - - - Reference<XAccessibleRelationSet> SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleRelationSet (void) throw (RuntimeException) @@ -1113,9 +995,6 @@ Reference<XAccessibleRelationSet> SAL_CALL return NULL; } - - - Reference<XAccessibleStateSet> SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleStateSet (void) throw (RuntimeException) @@ -1125,9 +1004,6 @@ Reference<XAccessibleStateSet> SAL_CALL return Reference<XAccessibleStateSet>(new AccessibleStateSet(mnStateSet)); } - - - lang::Locale SAL_CALL PresenterAccessible::AccessibleObject::getLocale (void) throw (RuntimeException, @@ -1144,9 +1020,6 @@ lang::Locale SAL_CALL return maLocale; } - - - //----- XAccessibleComponent ------------------------------------------------ sal_Bool SAL_CALL PresenterAccessible::AccessibleObject::containsPoint ( @@ -1167,9 +1040,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleObject::containsPoint ( return false; } - - - Reference<XAccessible> SAL_CALL PresenterAccessible::AccessibleObject::getAccessibleAtPoint (const awt::Point& rPoint) throw (RuntimeException) @@ -1180,9 +1050,6 @@ Reference<XAccessible> SAL_CALL return Reference<XAccessible>(); } - - - awt::Rectangle SAL_CALL PresenterAccessible::AccessibleObject::getBounds (void) throw (RuntimeException) { @@ -1196,9 +1063,6 @@ awt::Rectangle SAL_CALL PresenterAccessible::AccessibleObject::getBounds (void) return awt::Rectangle (aLocation.X, aLocation.Y, aSize.Width, aSize.Height); } - - - awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocation (void) throw (RuntimeException) { @@ -1209,9 +1073,6 @@ awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocation (void) return aLocation; } - - - awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocationOnScreen (void) throw (RuntimeException) { @@ -1225,9 +1086,6 @@ awt::Point SAL_CALL PresenterAccessible::AccessibleObject::getLocationOnScreen ( aRelativeLocation.Y + aParentLocationOnScreen.Y); } - - - awt::Size SAL_CALL PresenterAccessible::AccessibleObject::getSize (void) throw (RuntimeException) { @@ -1238,9 +1096,6 @@ awt::Size SAL_CALL PresenterAccessible::AccessibleObject::getSize (void) return aSize; } - - - void SAL_CALL PresenterAccessible::AccessibleObject::grabFocus (void) throw (RuntimeException) { @@ -1251,9 +1106,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::grabFocus (void) mxContentWindow->setFocus(); } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getForeground (void) throw (RuntimeException) { @@ -1262,9 +1114,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getForeground (void) return 0x00ffffff; } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getBackground (void) throw (RuntimeException) { @@ -1273,9 +1122,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleObject::getBackground (void) return 0x00000000; } - - - //----- XAccessibleEventBroadcaster ------------------------------------------- void SAL_CALL PresenterAccessible::AccessibleObject::addEventListener ( @@ -1298,9 +1144,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::addEventListener ( } } - - - void SAL_CALL PresenterAccessible::AccessibleObject::removeEventListener ( const Reference<XAccessibleEventListener>& rxListener) throw (RuntimeException) @@ -1314,9 +1157,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::removeEventListener ( } } - - - //----- XWindowListener --------------------------------------------------- void SAL_CALL PresenterAccessible::AccessibleObject::windowResized ( @@ -1328,9 +1168,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowResized ( FireAccessibleEvent(AccessibleEventId::BOUNDRECT_CHANGED, Any(), Any()); } - - - void SAL_CALL PresenterAccessible::AccessibleObject::windowMoved ( const css::awt::WindowEvent& rEvent) throw (cssu::RuntimeException) @@ -1340,9 +1177,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowMoved ( FireAccessibleEvent(AccessibleEventId::BOUNDRECT_CHANGED, Any(), Any()); } - - - void SAL_CALL PresenterAccessible::AccessibleObject::windowShown ( const css::lang::EventObject& rEvent) throw (cssu::RuntimeException) @@ -1351,9 +1185,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowShown ( UpdateStateSet(); } - - - void SAL_CALL PresenterAccessible::AccessibleObject::windowHidden ( const css::lang::EventObject& rEvent) throw (cssu::RuntimeException) @@ -1362,9 +1193,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::windowHidden ( UpdateStateSet(); } - - - //----- XEventListener -------------------------------------------------------- void SAL_CALL PresenterAccessible::AccessibleObject::disposing (const css::lang::EventObject& rEvent) @@ -1381,9 +1209,6 @@ void SAL_CALL PresenterAccessible::AccessibleObject::disposing (const css::lang: } } - - - //----- private --------------------------------------------------------------- bool PresenterAccessible::AccessibleObject::GetWindowState (const sal_Int16 nType) const @@ -1407,9 +1232,6 @@ bool PresenterAccessible::AccessibleObject::GetWindowState (const sal_Int16 nTyp } } - - - void PresenterAccessible::AccessibleObject::UpdateStateSet (void) { UpdateState(AccessibleStateType::FOCUSABLE, true); @@ -1424,9 +1246,6 @@ void PresenterAccessible::AccessibleObject::UpdateStateSet (void) // UpdateState(AccessibleStateType::ACTIVE, GetWindowState(AccessibleStateType::ACTIVE)); } - - - void PresenterAccessible::AccessibleObject::UpdateState( const sal_Int16 nState, const bool bValue) @@ -1447,9 +1266,6 @@ void PresenterAccessible::AccessibleObject::UpdateState( } } - - - void PresenterAccessible::AccessibleObject::AddChild ( const ::rtl::Reference<AccessibleObject>& rpChild) { @@ -1458,9 +1274,6 @@ void PresenterAccessible::AccessibleObject::AddChild ( FireAccessibleEvent(AccessibleEventId::INVALIDATE_ALL_CHILDREN, Any(), Any()); } - - - void PresenterAccessible::AccessibleObject::RemoveChild ( const ::rtl::Reference<AccessibleObject>& rpChild) { @@ -1469,9 +1282,6 @@ void PresenterAccessible::AccessibleObject::RemoveChild ( FireAccessibleEvent(AccessibleEventId::INVALIDATE_ALL_CHILDREN, Any(), Any()); } - - - void PresenterAccessible::AccessibleObject::SetIsFocused (const bool bIsFocused) { if (mbIsFocused != bIsFocused) @@ -1481,9 +1291,6 @@ void PresenterAccessible::AccessibleObject::SetIsFocused (const bool bIsFocused) } } - - - void PresenterAccessible::AccessibleObject::SetAccessibleName (const ::rtl::OUString& rsName) { if (msName != rsName) @@ -1494,9 +1301,6 @@ void PresenterAccessible::AccessibleObject::SetAccessibleName (const ::rtl::OUSt } } - - - void PresenterAccessible::AccessibleObject::FireAccessibleEvent ( const sal_Int16 nEventId, const uno::Any& rOldValue, @@ -1534,8 +1338,6 @@ void PresenterAccessible::AccessibleObject::FireAccessibleEvent ( } } - - awt::Point PresenterAccessible::AccessibleObject::GetRelativeLocation (void) { awt::Point aLocation; @@ -1554,9 +1356,6 @@ awt::Point PresenterAccessible::AccessibleObject::GetRelativeLocation (void) return aLocation; } - - - awt::Size PresenterAccessible::AccessibleObject::GetSize (void) { if (mxContentWindow.is()) @@ -1568,9 +1367,6 @@ awt::Size PresenterAccessible::AccessibleObject::GetSize (void) return awt::Size(); } - - - awt::Point PresenterAccessible::AccessibleObject::GetAbsoluteParentLocation (void) { Reference<XAccessibleComponent> xParentComponent; @@ -1583,17 +1379,11 @@ awt::Point PresenterAccessible::AccessibleObject::GetAbsoluteParentLocation (voi return awt::Point(); } - - - sal_Bool PresenterAccessible::AccessibleObject::IsDisposed (void) const { return (rBHelper.bDisposed || rBHelper.bInDispose); } - - - void PresenterAccessible::AccessibleObject::ThrowIfDisposed (void) const throw (lang::DisposedException) { @@ -1601,9 +1391,6 @@ void PresenterAccessible::AccessibleObject::ThrowIfDisposed (void) const ThrowException("object has already been disposed", ET_Disposed); } - - - void PresenterAccessible::AccessibleObject::ThrowException ( const sal_Char* pMessage, const ExceptionType eExceptionType) const @@ -1623,10 +1410,6 @@ void PresenterAccessible::AccessibleObject::ThrowException ( } } - - - - //===== AccessibleStateSet ==================================================== AccessibleStateSet::AccessibleStateSet (const sal_Int32 nStateSet) @@ -1635,16 +1418,10 @@ AccessibleStateSet::AccessibleStateSet (const sal_Int32 nStateSet) { } - - - AccessibleStateSet::~AccessibleStateSet (void) { } - - - sal_uInt32 AccessibleStateSet::GetStateMask (const sal_Int16 nState) { if (nState<0 || nState>=sal_Int16(sizeof(sal_uInt32)*8)) @@ -1655,9 +1432,6 @@ sal_uInt32 AccessibleStateSet::GetStateMask (const sal_Int16 nState) return 1<<nState; } - - - //----- XAccessibleStateSet --------------------------------------------------- sal_Bool SAL_CALL AccessibleStateSet::isEmpty (void) @@ -1666,18 +1440,12 @@ sal_Bool SAL_CALL AccessibleStateSet::isEmpty (void) return mnStateSet==0; } - - - sal_Bool SAL_CALL AccessibleStateSet::contains (sal_Int16 nState) throw (cssu::RuntimeException) { return (mnStateSet & GetStateMask(nState)) != 0; } - - - sal_Bool SAL_CALL AccessibleStateSet::containsAll (const cssu::Sequence<sal_Int16>& rStateSet) throw (cssu::RuntimeException) { @@ -1689,9 +1457,6 @@ sal_Bool SAL_CALL AccessibleStateSet::containsAll (const cssu::Sequence<sal_Int1 return sal_True; } - - - cssu::Sequence<sal_Int16> SAL_CALL AccessibleStateSet::getStates (void) throw (cssu::RuntimeException) { @@ -1703,9 +1468,6 @@ cssu::Sequence<sal_Int16> SAL_CALL AccessibleStateSet::getStates (void) return Sequence<sal_Int16>(&aStates.front(), aStates.size()); } - - - //===== AccessibleRelationSet ================================================= AccessibleRelationSet::AccessibleRelationSet (void) @@ -1714,16 +1476,10 @@ AccessibleRelationSet::AccessibleRelationSet (void) { } - - - AccessibleRelationSet::~AccessibleRelationSet (void) { } - - - void AccessibleRelationSet::AddRelation ( const sal_Int16 nRelationType, const Reference<XInterface>& rxObject) @@ -1734,9 +1490,6 @@ void AccessibleRelationSet::AddRelation ( maRelations.back().TargetSet[0] = rxObject; } - - - //----- XAccessibleRelationSet ------------------------------------------------ sal_Int32 SAL_CALL AccessibleRelationSet::getRelationCount (void) @@ -1745,9 +1498,6 @@ sal_Int32 SAL_CALL AccessibleRelationSet::getRelationCount (void) return maRelations.size(); } - - - AccessibleRelation SAL_CALL AccessibleRelationSet::getRelation (sal_Int32 nIndex) throw (cssu::RuntimeException, css::lang::IndexOutOfBoundsException) { @@ -1757,9 +1507,6 @@ AccessibleRelation SAL_CALL AccessibleRelationSet::getRelation (sal_Int32 nIndex return maRelations[nIndex]; } - - - sal_Bool SAL_CALL AccessibleRelationSet::containsRelation (sal_Int16 nRelationType) throw (cssu::RuntimeException) { @@ -1773,9 +1520,6 @@ sal_Bool SAL_CALL AccessibleRelationSet::containsRelation (sal_Int16 nRelationTy return sal_False; } - - - AccessibleRelation SAL_CALL AccessibleRelationSet::getRelationByType (sal_Int16 nRelationType) throw (cssu::RuntimeException) { @@ -1789,9 +1533,6 @@ AccessibleRelation SAL_CALL AccessibleRelationSet::getRelationByType (sal_Int16 return AccessibleRelation(); } - - - //===== PresenterAccessible::AccessibleParagraph ============================== PresenterAccessible::AccessibleParagraph::AccessibleParagraph ( @@ -1806,16 +1547,10 @@ PresenterAccessible::AccessibleParagraph::AccessibleParagraph ( { } - - - PresenterAccessible::AccessibleParagraph::~AccessibleParagraph (void) { } - - - //----- XAccessibleContext ---------------------------------------------------- Reference<XAccessibleRelationSet> SAL_CALL @@ -1846,11 +1581,6 @@ Reference<XAccessibleRelationSet> SAL_CALL return Reference<XAccessibleRelationSet>(pSet.get()); } - - - - - //----- XAccessibleText ------------------------------------------------------- sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCaretPosition (void) @@ -1865,9 +1595,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCaretPosition (v return nPosition; } - - - sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setCaretPosition (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException) { @@ -1882,9 +1609,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setCaretPosition (sa return sal_False; } - - - sal_Unicode SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacter (sal_Int32 nIndex) throw (::com::sun::star::lang::IndexOutOfBoundsException, cssu::RuntimeException) { @@ -1902,9 +1626,6 @@ sal_Unicode SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacter (sal } } - - - Sequence<css::beans::PropertyValue> SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterAttributes ( ::sal_Int32 nIndex, @@ -1932,9 +1653,6 @@ Sequence<css::beans::PropertyValue> SAL_CALL return Sequence<css::beans::PropertyValue>(); } - - - awt::Rectangle SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterBounds ( sal_Int32 nIndex) throw (css::lang::IndexOutOfBoundsException, cssu::RuntimeException) @@ -1963,9 +1681,6 @@ awt::Rectangle SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterBo return aCharacterBox; } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterCount (void) throw (cssu::RuntimeException) { @@ -1978,9 +1693,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getCharacterCount ( return nCount; } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getIndexAtPoint ( const css::awt::Point& rPoint) throw (cssu::RuntimeException) @@ -1994,9 +1706,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getIndexAtPoint ( return nIndex; } - - - ::rtl::OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectedText (void) throw (cssu::RuntimeException) { @@ -2005,9 +1714,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getIndexAtPoint ( return getTextRange(getSelectionStart(), getSelectionEnd()); } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionStart (void) throw (cssu::RuntimeException) { @@ -2016,9 +1722,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionStart ( return getCaretPosition(); } - - - sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionEnd (void) throw (cssu::RuntimeException) { @@ -2027,9 +1730,6 @@ sal_Int32 SAL_CALL PresenterAccessible::AccessibleParagraph::getSelectionEnd (vo return getCaretPosition(); } - - - sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection ( sal_Int32 nStartIndex, sal_Int32 nEndIndex) @@ -2041,9 +1741,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection ( return setCaretPosition(nStartIndex); } - - - ::rtl::OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getText (void) throw (cssu::RuntimeException) { @@ -2056,9 +1753,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection ( return sText; } - - - ::rtl::OUString SAL_CALL PresenterAccessible::AccessibleParagraph::getTextRange ( sal_Int32 nLocalStartIndex, sal_Int32 nLocalEndIndex) @@ -2077,9 +1771,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::setSelection ( return sText; } - - - TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextAtIndex ( sal_Int32 nLocalCharacterIndex, sal_Int16 nTextType) @@ -2096,9 +1787,6 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextAtIndex ( return aSegment; } - - - TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBeforeIndex ( sal_Int32 nLocalCharacterIndex, sal_Int16 nTextType) @@ -2115,9 +1803,6 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBeforeInde return aSegment; } - - - TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBehindIndex ( sal_Int32 nLocalCharacterIndex, sal_Int16 nTextType) @@ -2134,9 +1819,6 @@ TextSegment SAL_CALL PresenterAccessible::AccessibleParagraph::getTextBehindInde return aSegment; } - - - sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::copyText ( sal_Int32 nStartIndex, sal_Int32 nEndIndex) @@ -2152,9 +1834,6 @@ sal_Bool SAL_CALL PresenterAccessible::AccessibleParagraph::copyText ( return sal_False; } - - - //----- protected ------------------------------------------------------------- awt::Point PresenterAccessible::AccessibleParagraph::GetRelativeLocation (void) @@ -2170,9 +1849,6 @@ awt::Point PresenterAccessible::AccessibleParagraph::GetRelativeLocation (void) return aLocation; } - - - awt::Size PresenterAccessible::AccessibleParagraph::GetSize (void) { if (mpParagraph) @@ -2181,9 +1857,6 @@ awt::Size PresenterAccessible::AccessibleParagraph::GetSize (void) return AccessibleObject::GetSize(); } - - - awt::Point PresenterAccessible::AccessibleParagraph::GetAbsoluteParentLocation (void) { if (mxParentAccessible.is()) @@ -2202,9 +1875,6 @@ awt::Point PresenterAccessible::AccessibleParagraph::GetAbsoluteParentLocation ( return awt::Point(); } - - - bool PresenterAccessible::AccessibleParagraph::GetWindowState (const sal_Int16 nType) const { switch (nType) @@ -2220,11 +1890,6 @@ bool PresenterAccessible::AccessibleParagraph::GetWindowState (const sal_Int16 n } } - - - - - //===== AccessibleNotes ======================================================= AccessibleNotes::AccessibleNotes ( @@ -2236,9 +1901,6 @@ AccessibleNotes::AccessibleNotes ( { } - - - rtl::Reference<PresenterAccessible::AccessibleObject> AccessibleNotes::Create ( const css::uno::Reference<css::uno::XComponentContext>& rxContext, const lang::Locale aLocale, @@ -2269,9 +1931,6 @@ rtl::Reference<PresenterAccessible::AccessibleObject> AccessibleNotes::Create ( return rtl::Reference<PresenterAccessible::AccessibleObject>(pObject.get()); } - - - void AccessibleNotes::SetTextView ( const ::boost::shared_ptr<PresenterTextView>& rpTextView) { @@ -2334,9 +1993,6 @@ void AccessibleNotes::SetTextView ( } } - - - void AccessibleNotes::SetWindow ( const cssu::Reference<css::awt::XWindow>& rxContentWindow, const cssu::Reference<css::awt::XWindow>& rxBorderWindow) @@ -2355,9 +2011,6 @@ void AccessibleNotes::SetWindow ( } } - - - void AccessibleNotes::NotifyCaretChange ( const sal_Int32 nOldParagraphIndex, const sal_Int32 nOldCharacterIndex, @@ -2399,17 +2052,11 @@ void AccessibleNotes::NotifyCaretChange ( } } - - - void AccessibleNotes::HandleTextChange (void) { SetTextView(mpTextView); } - - - //===== AccessibleFocusManager ================================================ ::boost::shared_ptr<AccessibleFocusManager> AccessibleFocusManager::mpInstance; @@ -2423,17 +2070,11 @@ void AccessibleNotes::HandleTextChange (void) return mpInstance; } - - - AccessibleFocusManager::AccessibleFocusManager (void) : maFocusableObjects() { } - - - void AccessibleFocusManager::AddFocusableObject ( const ::rtl::Reference<PresenterAccessible::AccessibleObject>& rpObject) { @@ -2443,9 +2084,6 @@ void AccessibleFocusManager::AddFocusableObject ( maFocusableObjects.push_back(rpObject); } - - - void AccessibleFocusManager::RemoveFocusableObject ( const ::rtl::Reference<PresenterAccessible::AccessibleObject>& rpObject) { @@ -2460,9 +2098,6 @@ void AccessibleFocusManager::RemoveFocusableObject ( } } - - - void AccessibleFocusManager::FocusObject ( const ::rtl::Reference<PresenterAccessible::AccessibleObject>& rpObject) { |