Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
753b3cbb
Kaydet (Commit)
753b3cbb
authored
Kas 19, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
winaccessibility: remove "using" from headers
Change-Id: I212c1f3449416ff3629a677112fc5a4702e89eb0
üst
65a7e714
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
106 additions
and
88 deletions
+106
-88
AccComponentEventListener.hxx
winaccessibility/inc/AccComponentEventListener.hxx
+7
-4
AccContainerEventListener.hxx
winaccessibility/inc/AccContainerEventListener.hxx
+26
-15
AccDescendantManagerEventListener.hxx
winaccessibility/inc/AccDescendantManagerEventListener.hxx
+13
-9
AccDialogEventListener.hxx
winaccessibility/inc/AccDialogEventListener.hxx
+2
-3
AccEventListener.hxx
winaccessibility/inc/AccEventListener.hxx
+5
-4
AccFrameEventListener.hxx
winaccessibility/inc/AccFrameEventListener.hxx
+2
-2
AccListEventListener.hxx
winaccessibility/inc/AccListEventListener.hxx
+4
-3
AccMenuEventListener.hxx
winaccessibility/inc/AccMenuEventListener.hxx
+2
-2
AccObjectContainerEventListener.hxx
winaccessibility/inc/AccObjectContainerEventListener.hxx
+2
-2
AccParagraphEventListener.hxx
winaccessibility/inc/AccParagraphEventListener.hxx
+2
-2
AccTableEventListener.hxx
winaccessibility/inc/AccTableEventListener.hxx
+3
-3
AccTextComponentEventListener.hxx
winaccessibility/inc/AccTextComponentEventListener.hxx
+0
-1
AccTreeEventListener.hxx
winaccessibility/inc/AccTreeEventListener.hxx
+2
-2
AccWindowEventListener.hxx
winaccessibility/inc/AccWindowEventListener.hxx
+3
-2
AccComponent.h
winaccessibility/source/UAccCOM/AccComponent.h
+0
-2
EnumVariant.cxx
winaccessibility/source/UAccCOM/EnumVariant.cxx
+4
-0
EnumVariant.h
winaccessibility/source/UAccCOM/EnumVariant.h
+3
-8
MAccessible.cxx
winaccessibility/source/UAccCOM/MAccessible.cxx
+2
-0
MAccessible.h
winaccessibility/source/UAccCOM/MAccessible.h
+24
-19
acccommon.h
winaccessibility/source/UAccCOM/acccommon.h
+0
-5
No files found.
winaccessibility/inc/AccComponentEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,7 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccComponentEventListener is inherited from AccEventListener. It handles the evnets
* generated by component controls. The accessible roles are: CHECK_BOX, ICON, LABEL,
...
...
@@ -45,16 +45,19 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for value changed event
virtual
void
SAL_CALL
handleValueChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleValueChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for action changed event
virtual
void
SAL_CALL
handleActionChangedEvent
();
//for text changed event
virtual
void
SAL_CALL
handleTextChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleTextChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for caret changed event
virtual
void
SAL_CALL
handleCaretChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleCaretChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
winaccessibility/inc/AccContainerEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccContainerEventListener is inherited from AccEventListener. It handles the evnets
...
...
@@ -46,17 +45,21 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for selection changed event
virtual
void
SAL_CALL
handleSelectionChangedEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
SAL_CALL
handleSelectionChangedEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
//for all children changed event
virtual
void
SAL_CALL
handleAllChildrenChangedEvent
();
//for text changed event
virtual
void
SAL_CALL
handleTextChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleStateChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleTextChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
virtual
void
SAL_CALL
handleStateChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
@@ -65,31 +68,39 @@ public:
virtual
void
SAL_CALL
handleBoundrectChangedEvent
();
//for value changed event
virtual
void
SAL_CALL
handleValueChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleValueChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//state changed
virtual
void
SAL_CALL
setComponentState
(
short
state
,
bool
enable
);
virtual
void
SAL_CALL
fireStatePropertyChange
(
short
state
,
bool
set
);
virtual
void
SAL_CALL
fireStateFocusdChange
(
bool
enable
);
virtual
bool
SAL_CALL
IsEditable
(
Reference
<
com
::
sun
::
star
::
accessibility
::
XAccessibleContext
>
xContext
);
virtual
bool
SAL_CALL
IsEditable
(
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessibleContext
>
xContext
);
// update all children's state
void
SAL_CALL
UpdateAllChildrenState
(
com
::
sun
::
star
::
accessibility
::
XAccessible
*
pXAccessible
);
bool
NotifyChildEvent
(
short
nWinEvent
,
const
Any
&
Value
);
bool
NotifyChildEvent
(
short
nWinEvent
,
const
css
::
uno
::
Any
&
Value
);
virtual
void
handleSelectionChangedAddEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedRemoveEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedWithinEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedAddEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleSelectionChangedRemoveEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleSelectionChangedWithinEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handlePageChangedEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handlePageChangedEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleSectionChangedEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleColumnChangedEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSectionChangedEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleColumnChangedEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
//IAccessibility2 Implementation 2009-----
//for name changed event
virtual
void
SAL_CALL
handleNameChangedEvent
(
Any
name
);
virtual
void
SAL_CALL
handleNameChangedEvent
(
css
::
uno
::
Any
name
);
//-----IAccessibility2 Implementation 2009
};
...
...
winaccessibility/inc/AccDescendantManagerEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,8 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccDescendantManagerEventListener is inherited from AccComponentEventListener. It handles
* the evnets generated by active descendant controls. They are: TREE, LIST, and TABLE.
...
...
@@ -45,18 +43,24 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for selection changed event
virtual
void
SAL_CALL
handleSelectionChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleSelectionChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedNoFocusEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedNoFocusEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
bool
NotifyChildEvent
(
short
nWinEvent
,
const
Any
&
Value
);
bool
NotifyChildEvent
(
short
nWinEvent
,
const
css
::
uno
::
Any
&
Value
);
virtual
void
handleSelectionChangedAddEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedRemoveEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedWithinEvent
(
const
Any
&
oldValue
,
const
Any
&
newValue
);
virtual
void
handleSelectionChangedAddEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleSelectionChangedRemoveEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
virtual
void
handleSelectionChangedWithinEvent
(
const
css
::
uno
::
Any
&
oldValue
,
const
css
::
uno
::
Any
&
newValue
);
};
#endif
...
...
winaccessibility/inc/AccDialogEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,8 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccDialogEventListener is inherited from AccEventListener. It handles the evnets
* generated by Dialogs. The accessible role is: DIALOG.
...
...
@@ -43,7 +41,8 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
winaccessibility/inc/AccEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -28,7 +28,7 @@
#include <osl/mutex.hxx>
class
AccObjectManagerAgent
;
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccEventListener is the general event listener for all controls. It defines the
* procedure of all the event handling and provides the basic support for some simple
...
...
@@ -54,13 +54,14 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for name changed event
virtual
void
SAL_CALL
handleNameChangedEvent
(
Any
name
);
virtual
void
SAL_CALL
handleNameChangedEvent
(
css
::
uno
::
Any
name
);
//for description changed event
virtual
void
SAL_CALL
handleDescriptionChangedEvent
(
Any
desc
);
virtual
void
SAL_CALL
handleDescriptionChangedEvent
(
css
::
uno
::
Any
desc
);
//for state changed event
virtual
void
SAL_CALL
handleStateChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleStateChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
virtual
void
SAL_CALL
setComponentState
(
short
state
,
bool
enable
);
virtual
void
SAL_CALL
fireStatePropertyChange
(
short
state
,
bool
set
);
...
...
winaccessibility/inc/AccFrameEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccFrameEventListener is inherited from AccEventListener. It handles the evnets
...
...
@@ -43,7 +42,8 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
winaccessibility/inc/AccListEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccListEventListener is inherited from AccDescendantManagerEventListener. It handles
...
...
@@ -44,9 +43,11 @@ public:
//AccessibleEventListener
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for active descendant changed event
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for value changed event
virtual
void
SAL_CALL
handleValueChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleValueChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
};
#endif
...
...
winaccessibility/inc/AccMenuEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccMenuEventListener is inherited from AccComponentEventListener. It handles the evnets
...
...
@@ -43,7 +42,8 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for selection changed event
virtual
void
SAL_CALL
handleSelectionChangedEvent
();
...
...
winaccessibility/inc/AccObjectContainerEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccObjectContainerEventListener is inherited from AccContainerEventListener. It handles the evnets
...
...
@@ -40,7 +39,8 @@ public:
virtual
~
AccObjectContainerEventListener
();
//overwrite handleStateChangedEvent()
virtual
void
SAL_CALL
handleStateChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleStateChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event, for shapes, the visiabledatachanged should be mapped to LOCATION_CHANGED
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
};
...
...
winaccessibility/inc/AccParagraphEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccParagraphEventListener is inherited from AccContainerEventListener. It handles the evnets
...
...
@@ -43,7 +42,8 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for caret changed event
virtual
void
SAL_CALL
handleCaretChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleCaretChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
winaccessibility/inc/AccTableEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccTableEventListener is inherited from AccDescendantManagerEventListener. It handles
...
...
@@ -42,9 +41,10 @@ public:
//AccessibleEventListener
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for active descendant changed event
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
void
SAL_CALL
handleTableModelChangeEvent
(
Any
newValue
);
void
SAL_CALL
handleTableModelChangeEvent
(
css
::
uno
::
Any
newValue
);
};
...
...
winaccessibility/inc/AccTextComponentEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccTextComponentEventListener is inherited from AccComponentEventListener. It handles the evnets
...
...
winaccessibility/inc/AccTreeEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,6 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccTreeEventListener is inherited from AccDescendantManagerEventListener. It handles
...
...
@@ -42,7 +41,8 @@ public:
//AccessibleEventListener
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for active descendant changed event
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleActiveDescendantChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
};
#endif
...
...
winaccessibility/inc/AccWindowEventListener.hxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -25,7 +25,7 @@
#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
#include <com/sun/star/accessibility/XAccessible.hpp>
using
namespace
::
com
::
sun
::
star
::
uno
;
/**
* AccWindowEventListener is inherited from AccEventListener. It handles the events
* generated by Dialogs. The accessible role is: WINDOW.
...
...
@@ -42,7 +42,8 @@ public:
virtual
void
SAL_CALL
notifyEvent
(
const
::
com
::
sun
::
star
::
accessibility
::
AccessibleEventObject
&
aEvent
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//for child changed event
virtual
void
SAL_CALL
handleChildChangedEvent
(
Any
oldValue
,
Any
newValue
);
virtual
void
SAL_CALL
handleChildChangedEvent
(
css
::
uno
::
Any
oldValue
,
css
::
uno
::
Any
newValue
);
//for visible data changed event
virtual
void
SAL_CALL
handleVisibleDataChangedEvent
();
...
...
winaccessibility/source/UAccCOM/AccComponent.h
Dosyayı görüntüle @
753b3cbb
...
...
@@ -32,8 +32,6 @@
#include "UNOXWrapper.h"
#include "AccComponentBase.h"
using
namespace
com
::
sun
::
star
::
accessibility
;
using
namespace
com
::
sun
::
star
::
uno
;
/**
* CAccComponent implements IAccessibleComponent interface.
...
...
winaccessibility/source/UAccCOM/EnumVariant.cxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -24,6 +24,10 @@
#include "act.hxx"
using
namespace
com
::
sun
::
star
::
uno
;
using
namespace
com
::
sun
::
star
::
accessibility
;
/////////////////////////////////////////////////////////////////////////////
// CEnumVariant
...
...
winaccessibility/source/UAccCOM/EnumVariant.h
Dosyayı görüntüle @
753b3cbb
...
...
@@ -26,12 +26,6 @@
#include "UAccCOM2.h"
#include <AccObjectManagerAgent.hxx>
using
namespace
com
::
sun
::
star
::
accessibility
;
using
namespace
com
::
sun
::
star
::
uno
;
#include <vector>
#include <algorithm>
using
namespace
std
;
/**
* CEnumVariant implements IEnumVARIANT interface.
...
...
@@ -95,8 +89,9 @@ private:
long
m_lCurrent
;
long
m_lLBound
;
XAccessible
*
pUNOInterface
;
// XAccessible.
Reference
<
XAccessibleSelection
>
m_pXAccessibleSelection
;
// Selection.
css
::
accessibility
::
XAccessible
*
pUNOInterface
;
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessibleSelection
>
m_pXAccessibleSelection
;
};
#endif //__ENUMVARIANT_H_
...
...
winaccessibility/source/UAccCOM/MAccessible.cxx
Dosyayı görüntüle @
753b3cbb
...
...
@@ -45,6 +45,8 @@
#include "act.hxx"
using
namespace
com
::
sun
::
star
::
uno
;
using
namespace
com
::
sun
::
star
::
accessibility
;
using
namespace
com
::
sun
::
star
::
accessibility
::
AccessibleStateType
;
// IA2 states mapping, and name
...
...
winaccessibility/source/UAccCOM/MAccessible.h
Dosyayı görüntüle @
753b3cbb
...
...
@@ -22,7 +22,6 @@
#include <Windows.h>
#include "resource.h" // main symbols
#include <vector>
#include <map>
#include <com/sun/star/accessibility/XAccessible.hpp>
#include <com/sun/star/accessibility/XAccessibleSelection.hpp>
...
...
@@ -52,7 +51,6 @@
#define OBJID_QUERYCLASSNAMEIDX ((LONG)0xFFFFFFF4)
#define OBJID_NATIVEOM ((LONG)0xFFFFFFF0)
using
namespace
rtl
;
/**
*This class implements IMAccessible interface, which inherits from IAccessible2, and
*in turn inherits from IAccessible. So its methods include the methods defined only in
...
...
@@ -66,7 +64,7 @@ class ATL_NO_VTABLE CMAccessible :
public
IServiceProvider
,
public
IAccessibleApplication
{
typedef
map
<
const
GUID
,
CComPtr
<
IUnknown
>
,
ltComp
>
XGUIDToComObjHash
;
typedef
::
std
::
map
<
const
GUID
,
CComPtr
<
IUnknown
>
,
ltComp
>
XGUIDToComObjHash
;
typedef
HRESULT
(
WINAPI
_UNO_AGGCREATORFUNC
)(
void
*
,
REFIID
,
LPVOID
*
);
...
...
@@ -231,12 +229,12 @@ private:
// specify if the XAccessible is invalid
BOOL
m_isDestroy
;
XAccessible
*
pUNOInterface
;
Reference
<
XAccessible
>
pRef
;
XAccessible
*
pAchorUNOInterface
;
XAccessibleAction
*
m_pXAction
;
XAccessibleContext
*
pRContextInterface
;
Reference
<
XAccessibleContext
>
pRContext
;
css
::
accessibility
::
XAccessible
*
pUNOInterface
;
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessible
>
pRef
;
css
::
accessibility
::
XAccessible
*
pAchorUNOInterface
;
css
::
accessibility
::
XAccessibleAction
*
m_pXAction
;
css
::
accessibility
::
XAccessibleContext
*
pRContextInterface
;
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessibleContext
>
pRContext
;
private
:
...
...
@@ -250,14 +248,18 @@ private:
BOOL
IsDecendantManage
();
//identify whether the current COM belongs to manage_decendant roles
// the following private methods are used to implement accSelect method
HRESULT
SelectChild
(
XAccessible
*
pItem
);
HRESULT
DeSelectChild
(
XAccessible
*
pItem
);
HRESULT
SelectMutipleChidren
(
XAccessible
**
pItem
,
int
size
);
HRESULT
DeSelectMutipleChildren
(
XAccessible
**
pItem
,
int
size
);
XAccessibleContext
*
GetContextByXAcc
(
XAccessible
*
pXAcc
);
Reference
<
XAccessibleSelection
>
GetSelection
();
HRESULT
SelectChild
(
css
::
accessibility
::
XAccessible
*
pItem
);
HRESULT
DeSelectChild
(
css
::
accessibility
::
XAccessible
*
pItem
);
HRESULT
SelectMutipleChidren
(
css
::
accessibility
::
XAccessible
**
pItem
,
int
size
);
HRESULT
DeSelectMutipleChildren
(
css
::
accessibility
::
XAccessible
**
pItem
,
int
size
);
css
::
accessibility
::
XAccessibleContext
*
GetContextByXAcc
(
css
::
accessibility
::
XAccessible
*
pXAcc
);
css
::
uno
::
Reference
<
css
::
accessibility
::
XAccessibleSelection
>
GetSelection
();
// end accSelect implementation methods
BOOL
GetXInterfaceFromXAccessible
(
XAccessible
*
,
XInterface
**
,
int
);
BOOL
GetXInterfaceFromXAccessible
(
css
::
accessibility
::
XAccessible
*
,
css
::
uno
::
XInterface
**
,
int
);
HRESULT
WINAPI
SmartQI
(
void
*
pv
,
REFIID
iid
,
void
**
ppvObject
);
public
:
...
...
@@ -279,12 +281,15 @@ public:
return
((
CMAccessible
*
)
pv
)
->
SmartQI
(
pv
,
iid
,
ppvObject
);
}
static
void
get_OLECHARFromAny
(
Any
&
pAny
,
OLECHAR
*
pChar
);
static
void
get_OLECHARFromAny
(
css
::
uno
::
Any
&
pAny
,
OLECHAR
*
pChar
);
static
void
get_OLECHAR4Numbering
(
const
Any
&
pAny
,
short
numberingLevel
,
const
OUString
&
numberingPrefix
,
OLECHAR
*
pChar
);
static
void
get_OLECHAR4Numbering
(
const
css
::
uno
::
Any
&
pAny
,
short
numberingLevel
,
const
OUString
&
numberingPrefix
,
OLECHAR
*
pChar
);
// Helper function for data conversion.
static
void
ConvertAnyToVariant
(
const
::
com
::
sun
::
star
::
uno
::
Any
&
rAnyVal
,
VARIANT
*
pvData
);
static
void
ConvertAnyToVariant
(
const
css
::
uno
::
Any
&
rAnyVal
,
VARIANT
*
pvData
);
};
...
...
winaccessibility/source/UAccCOM/acccommon.h
Dosyayı görüntüle @
753b3cbb
...
...
@@ -20,11 +20,6 @@
#ifndef __ACCCOMMON_H_
#define __ACCCOMMON_H_
//using namespace com::sun::star::accessibility;
//using namespace com::sun::star::uno;
//for MAccessible.cxx
struct
ltComp
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment