Hi,
Concerning accessibility, I heard that the best thing one can do is to implement IAccessible2 for application/controls.
IAccessible2 is an extension of MSAA. It was created to support things like open document format etc. It is also supported on Linux. IAccessible2 interfaces are exposed as .IDL file /type library. So my questions are:
Is it possible to implement such interfaces in free pascal? What about importing type library / converting .IDL to pascal? What about LCL compatibility? Perhaps IAccessible2 implementation could go on lower level...
Thank
Mailing lists / lazarus / 2011-09
Implementing COM interfaces
6 messages · 3 people ·
- SSven Barth 3
- LLubos Pintes 2
- HHans-Peter Diettrich 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Lubos Pintes wroteIt is also supported on Linux.
How is that done?
IAccessible2 interfaces are exposed as .IDL file /type library. So my questions are: Is it possible to implement such interfaces in free pascal?
The compiler got many improvements regarding COM compatibility in the last years, so yes one can implement such interfaces.
What about importing type library / converting .IDL to pascal?
As far as I know you'll need to use Delphi to convert the type library to a Pascal unit. There is no converter for FPC (yet).
Regards,
Sven
Oh I was a bit wrong when I told that IA2 is suported on Linux. Maybe it is, but I am not totally sure. Read about it briefly here: http://www.linuxfoundation.org/collaborate/workgroups/accessibility/iaccessible2
The open-source screen reader Nvda supports this standard. For example Firefox and Eclipse are perfectly usable.
So I think that it would be suitable enough for Lazarus also, if that is possible.
D?a 22.9.2011 13:46, Sven Barth wrote / nap?sal(a):
Show quoted text 26 lines
I've looked at the link you mentioned, but the interesting documents seem to be not accessable currently...
Nevertheless on Linux the topic would be handled by using the stuff provided by the widgetset. E.g. for the GTK2 widgetset there is the ATK (Accessibilty ToolKit). I don't know what is needed to implement it or the equivalent for Qt.
Regards,
Sven
Lubos Pintes wrote 43 lines
Concerning accessibility, I heard that the best thing one can do is to implement…
Hi, Concerning accessibility, I heard that the best thing one can do is to implement IAccessible2 for application/controls.
What about CORBA? At least it's not so Windows centric...
DoDi
Hans-Peter Diettrich wrote 6 lines
Here a discussion about CORBA vs. COM or platform specific vs. platform independant is completely at the wrong place: He wants to integrate accessibilty features into Lazarus so he needs to use the features that the widgetsets provide. In case of Windows this is IAccessible2.
Regards,
Sven
