[Accessibility-ia2] IAccessibleEditableText2 - clipboard operations
Pete Brunet
pete at a11ysoft.com
Fri Jul 22 10:56:03 PDT 2011
I believe these are the issues related to clipboard operations
1) Copy should have been in IAText instead since copy doesn't require
that an object be editable
2) The current selection should be used instead of offset parameters.
3) Other formats besides text can be copied to and pasted from the
clipboard.
I think the following proposal is in line with the prior discussion
regarding a solution.
- Deprecate the 3 clipboard operations from IAEditableText. (They are
currently not in use.)
- Provide 5 new preset action constants for copy, cut, pasteDefault,
pasteFormatted, and pasteUnformatted.
- pasteDefault: The result would be the same as Ctrl+V
- pasteFormatted: The app has the choice of presenting a list of
choices via a GUI or choosing the format without user interaction.
- pasteUnformatted: The app would paste raw text. This could result
in nothing being pasted, e.g. for an image, and IAAction::doAction would
return S_FALSE.
- The new clipboard actions would use the current selection(s).
Is that acceptable?
Pete
--
*Pete Brunet*
a11ysoft - Accessibility Architecture and Development
(512) 467-4706 (work), (512) 689-4155 (cell)
Skype: pete.brunet
IM: ptbrunet (AOL, Google), ptbrunet at live.com (MSN)
http://www.a11ysoft.com/about/
Ionosphere: WS4G
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.linux-foundation.org/pipermail/accessibility-ia2/attachments/20110722/5a0e5d93/attachment.htm
More information about the Accessibility-ia2
mailing list