1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
|
<?xml version="1.0" encoding="UTF-8"?>
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
<!--
org.a11y.atspi.EditableText:
@short_description: An interface that provides methods for modifying
textual content of components which support editing.
-->
<interface name="org.a11y.atspi.EditableText">
<!--
Version: The version of this interface.
This property is incremented by one every time a new method, signal, or property
is added to this interface.
-->
<property name="version" type="u" access="read"/>
<!--
SetTextContents:
@newContents: a character string, encoded in UTF-8, which is to
become the new text contents of the object.
Replace the entire text contents of the accessible with the given text.
Returns: True if successful, false otherwise.
-->
<method name="SetTextContents">
<arg direction="in" name="newContents" type="s"/>
<arg direction="out" type="b"/>
</method>
<!--
InsertText:
@position: an integer indicating the character offset at which to
insert the new text.
@text: a string representing the text to insert, in UTF-8 encoding.
@length: the number of characters of text to insert, in bytes. If the
byte count of text is less than or equal to length, the entire contents
of text will be inserted.
Inserts text into an #AtspiEditableText object.
As with all character offsets, the specified @position may not be the
same as the resulting byte offset, since the text is in a
variable-width encoding.
Returns: True if successful, false otherwise.
-->
<method name="InsertText">
<arg direction="in" name="position" type="i"/>
<arg direction="in" name="text" type="s"/>
<arg direction="in" name="length" type="i"/>
<arg direction="out" type="b"/>
</method>
<!--
CopyText:
@startPos: an integer indicating the starting character offset
of the text to copy.
@endPos: an integer indicating the offset of the first character
past the end of the text section to be copied.
Copies text from an accessible object into the system clipboard.
-->
<method name="CopyText">
<arg direction="in" name="startPos" type="i"/>
<arg direction="in" name="endPos" type="i"/>
</method>
<!--
CutText:
@startPos: an integer indicating the starting character offset
of the text to cut.
@endPos: an integer indicating the offset of the first character
past the end of the text section to be cut.
Deletes text from an accessible object, copying the excised portion
into the system clipboard.
Returns: True if successful, false otherwise.
-->
<method name="CutText">
<arg direction="in" name="startPos" type="i"/>
<arg direction="in" name="endPos" type="i"/>
<arg direction="out" type="b"/>
</method>
<!--
DeleteText:
@startPos: an integer indicating the starting character offset
of the text to delete.
@endPos: an integer indicating the offset of the first character
past the end of the text section to be deleted.
Deletes text from an accessible object, without copying the
excised portion into the system clipboard.
Returns: True if successful, false otherwise.
-->
<method name="DeleteText">
<arg direction="in" name="startPos" type="i"/>
<arg direction="in" name="endPos" type="i"/>
<arg direction="out" type="b"/>
</method>
<!--
PasteText:
@position: an integer indicating the character offset at which to
insert the new text.
Inserts text from the system clipboard into an accessible object.
As with all character offsets, the specified @position may not be the
same as the resulting byte offset, since the text is in a
variable-width encoding.
Returns: True if successful, false otherwise.
-->
<method name="PasteText">
<arg direction="in" name="position" type="i"/>
<arg direction="out" type="b"/>
</method>
</interface>
</node>
|