Resources/Adium.sdef
author Zachary West <zacw@adium.im>
Fri Nov 27 15:50:57 2009 -0500 (2009-11-27)
changeset 2835 1e8c89f99dfe
parent 2834 e7db526620d1
child 2836 758f5a24e190
permissions -rw-r--r--
Simplify the "status message" contact/account property into one getter method. Correct error -1728 from AS on contact's status messages. Fixes #13460.

The totally undocumented -1728 error appears to be caused by runtime type disagreeing with event type. "status message" is apparently assumed to only have 1 code, so specifying one for contacts and one for accounts was confusing it when it was going to fetch it.
David@0
     1
<?xml version="1.0" encoding="UTF-8"?>
David@0
     2
<!DOCTYPE dictionary SYSTEM "file://localhost/System/Library/DTDs/sdef.dtd">
David@0
     3
<dictionary title="Adium Terminology">
David@0
     4
	<suite name="Adium Suite" code="Adum" description="AppleScript support for Adium">
David@0
     5
		<value-type name="TIFF picture" code="TIFF">
David@0
     6
			<cocoa class="NSData"/>
David@0
     7
		</value-type>
David@0
     8
		<class name="application" code="capp" description="Adium's application class">
David@0
     9
			<cocoa class="AIApplication" />
David@0
    10
			<property name="name" code="pnam" type="text" access="r" description="The name of the application."/>
David@0
    11
			<property name="frontmost" code="pisf" type="boolean" access="r" description="Is this the frontmost (active) application?">
David@0
    12
				<cocoa key="isActive"/>
David@0
    13
			</property>
David@0
    14
			<property name="version" code="vers" type="text" access="r" description="The version of the application."/>
David@0
    15
			<property name="active chat" code="Pcht" type="chat" access="r" description="The frontmost chat."/>
David@0
    16
			
David@0
    17
			<property name="global status" code="Pgst" type="status" access="rw" description="The global status. This is the status that the most online accounts are currently using; it will only be an offline status if no accounts are online. Setting it changes the status for all accounts.">
David@0
    18
			     <cocoa key="globalStatus"/>
David@0
    19
			 </property>
David@0
    20
			
David@0
    21
			<element type="account" />
David@0
    22
			<element type="contact" />
David@0
    23
			<element type="contact group" />
David@0
    24
			<element type="service" />
David@0
    25
			<element type="window">
David@0
    26
				<cocoa key="orderedWindows" />
David@0
    27
			</element>
David@0
    28
			<element type="chat window" />
David@0
    29
			<element type="chat" />
David@0
    30
			<element type="status" />
David@0
    31
David@0
    32
			<responds-to name="go online">
David@0
    33
				<cocoa method="scriptingGoOnline:"/>
David@0
    34
			</responds-to>
David@0
    35
			<responds-to name="go available">
David@0
    36
				<cocoa method="scriptingGoAvailable:"/>
David@0
    37
			</responds-to>
David@0
    38
			<responds-to name="go offline">
David@0
    39
				<cocoa method="scriptingGoOffline:"/>
David@0
    40
			</responds-to>
David@0
    41
			<responds-to name="go away">
David@0
    42
				<cocoa method="scriptingGoAway:"/>
David@0
    43
			</responds-to>
David@0
    44
			<responds-to name="go invisible">
David@0
    45
				<cocoa method="scriptingGoInvisible:"/>
David@0
    46
			</responds-to>
David@0
    47
			<responds-to name="GetURL">
David@0
    48
				<cocoa method="scriptingGetURL:"/>
David@0
    49
			</responds-to>
David@0
    50
		</class>
David@0
    51
		<class name="service" code="Csrv" description="An Adium service (a.k.a. chat protocol)">
David@0
    52
			<cocoa class="AIService" />
David@0
    53
			<property name="name" code="pnam" type="text" access="r" description="The name of the service.">
David@0
    54
				<cocoa key="serviceID" />
David@0
    55
			</property>
David@0
    56
			<property name="image" code="Pimg" type="TIFF picture" access="r" description="The image associated with this service." />
David@0
    57
			<element type="account" />
David@0
    58
		</class>
David@0
    59
		<class name="window" code="cwin" description="A window in Adium">
David@0
    60
			<cocoa class="NSWindow" />
David@0
    61
			<property name="name" code="pnam" type="text" access="r" description="The title of this window">
David@0
    62
				<cocoa key="scriptingTitle" />
David@0
    63
			</property>
David@0
    64
			<property name="id" code="ID  " type="integer" access="r" description="The unique identifier of the window.">
David@0
    65
				<cocoa key="uniqueID"/>
David@0
    66
			</property>
David@0
    67
			<property name="index" code="pidx" type="integer" description="The index of the window, ordered front to back.">
David@0
    68
				<cocoa key="orderedIndex"/>
David@0
    69
			</property>
David@0
    70
			<property name="bounds" code="pbnd" type="rectangle" description="The bounding rectangle of the window.">
David@0
    71
				<cocoa key="boundsAsQDRect"/>
David@0
    72
			</property>
David@0
    73
			<property name="closeable" code="hclb" type="boolean" access="r" description="Whether the window has a close box.">
David@0
    74
				<cocoa key="hasCloseBox"/>
David@0
    75
			</property>
David@0
    76
			<property name="minimizable" code="ismn" type="boolean" access="r" description="Whether the window can be minimized.">
David@0
    77
				<cocoa key="isMiniaturizable"/>
David@0
    78
			</property>
David@0
    79
			<property name="minimized" code="pmnd" type="boolean" description="Whether the window is currently minimized.">
David@0
    80
				<cocoa key="isMiniaturized"/>
David@0
    81
			</property>
David@0
    82
			<property name="resizable" code="prsz" type="boolean" access="r" description="Whether the window can be resized.">
David@0
    83
				<cocoa key="isResizable"/>
David@0
    84
			</property>
David@0
    85
			<property name="visible" code="pvis" type="boolean" description="Whether the window is currently visible.">
David@0
    86
				<cocoa key="isVisible"/>
David@0
    87
			</property>
David@0
    88
			<property name="zoomable" code="iszm" type="boolean" access="r" description="Whether the window can be zoomed.">
David@0
    89
				<cocoa key="isZoomable"/>
David@0
    90
			</property>
David@0
    91
			<property name="zoomed" code="pzum" type="boolean" description="Whether the window is currently zoomed.">
David@0
    92
				<cocoa key="isZoomed"/>
David@0
    93
			</property>
David@0
    94
		</class>
David@0
    95
		<class name="chat window" code="Ctwn" description="A window that contains chats" inherits="window">
David@0
    96
			<cocoa class="AIMessageWindow" />
David@0
    97
			<element type="chat" />
David@0
    98
			<responds-to name="close">
David@0
    99
				<cocoa method="handleCloseScriptCommand:"/>
David@0
   100
			</responds-to>
David@0
   101
		</class>
David@0
   102
		<class name="chat" code="Chat" description="A chat in Adium">
David@0
   103
			<cocoa class="AIChat" />
David@0
   104
			<property name="name" code="pnam" type="text" access="r" description="The name of the chat">
David@0
   105
				<cocoa key="scriptingName" />
David@0
   106
			</property>
David@0
   107
			<property name="ID" code="ID  " type="text" access="r" description="The unique identifier of the chat.">
David@0
   108
				<cocoa key="uniqueChatID"/>
David@0
   109
			</property>
David@0
   110
			<property name="account" code="Cact" type="account" access="r" description="The account associated with this chat">
David@0
   111
				<cocoa key="scriptingAccount" />
David@0
   112
			</property>
David@0
   113
            <property name="date opened" code="CDop" type="date" access="r" description="The date and time at which this chat was opened">
David@0
   114
            	<cocoa key="dateOpened" />
David@0
   115
            </property>
David@0
   116
			<property name="index" code="pidx" type="integer" access="r" description="The index of this tab in the chat window" />
David@0
   117
			<property name="window" code="cwin" type="window" access="r" description="The window this chat is in" />
David@0
   118
			<property name="unread message count" code="Pumc" type="integer" access="r" description="The number of unread messages for this chat">
David@0
   119
				<cocoa key="unviewedContentCount" />
David@0
   120
			</property>
David@0
   121
			
David@0
   122
			<element type="contact">
David@0
   123
				<cocoa key="containedObjects" />
David@0
   124
			</element>
David@0
   125
			
David@0
   126
			<responds-to name="close">
David@0
   127
				<cocoa method="handleCloseScriptCommand:"/>
David@0
   128
			</responds-to>
David@0
   129
			<responds-to name="send">
David@0
   130
				<cocoa method="sendScriptCommand:"/>
David@0
   131
			</responds-to>
David@0
   132
		</class>
David@0
   133
		<enumeration name="status types" code="Esta">
David@0
   134
			<enumerator name="offline" code="Soff" description="Account is offline."/>
David@0
   135
			<enumerator name="available" code="Sonl" description="Account is online."/>
David@0
   136
			<enumerator name="away" code="Sawy" description="Account is away."/>
David@0
   137
			<enumerator name="invisible" code="Sinv" description="Account is invisible."/>
David@0
   138
		</enumeration>
David@0
   139
		<enumeration name="proxy types" code="Epxt">
David@0
   140
			<enumerator name="HTTP proxy" code="HTTP" description="An HTTP proxy."/>
David@0
   141
			<enumerator name="SOCKS4 proxy" code="SCK4" description="A SOCKS 4 proxy."/>
David@0
   142
			<enumerator name="SOCKS5 proxy" code="SCK5" description="A SOCKS 5 proxy."/>
David@0
   143
			<enumerator name="default HTTP proxy" code="DHTP" description="The system-wide HTTP proxy."/>
David@0
   144
			<enumerator name="default SOCKS4 proxy" code="DSK4" description="The system-wide SOCKS4 proxy."/>
David@0
   145
			<enumerator name="default SOCKS5 proxy" code="DSK5" description="The system-wide SOCKS5 proxy."/>
David@0
   146
			<enumerator name="no proxy" code="NONE" description="No proxy configured."/>
David@0
   147
		</enumeration>
David@0
   148
		<class name="account" code="Cact" description="An account in Adium">
David@0
   149
			<cocoa class="AIAccount" />
David@0
   150
			<property name="id" code="ID  " type="integer" access="r" description="The unique ID associated with this account">
David@0
   151
				<cocoa key="scriptingInternalObjectID" />
David@0
   152
			</property>
David@0
   153
			<property name="name" code="pnam" type="text" access="r" description="The name of this account">
David@0
   154
				<cocoa key="scriptingUID" />
David@0
   155
			</property>
David@0
   156
			<property name="display name" code="Pdnm" type="text" access="rw" description="The display name of this account"/>
David@0
   157
			<property name="service" code="Csrv" type="service" access="r" description="The service this account is registered under" />
Matt@773
   158
			<property name="enabled" code="Penb" type="boolean" access="rw" description="Whether or not this account is enabled" />
David@0
   159
			<property name="host" code="Phst" type="text" access="r" description="The host this account is connected to" />
David@0
   160
			<property name="port" code="Pprt" type="integer" access="r" description="The port this account is connected to" />
David@0
   161
			<property name="status" code="Csts" type="status" access="rw" description="The current status on the account.">
David@0
   162
				<cocoa key="statusState" />
David@0
   163
			</property>
David@0
   164
			<property name="status type" code="Psts" type="status types" access="rw" description="The type of the current status. Setting this creates a temporary status.">
David@0
   165
				<cocoa key="scriptingStatusType" />
David@0
   166
			</property>
David@0
   167
			<property name="status message" code="Pasm" type="rich text" access="rw" description="The message associated with the current status. Setting this creates a temporary status.">
David@0
   168
				<cocoa key="scriptingStatusMessage" />
David@0
   169
			</property>
David@0
   170
			<property name="image" code="Pimg" type="TIFF picture" access="rw" description="The image associated with this account.">
David@0
   171
				<cocoa key="userIconData" />
David@0
   172
			</property>
David@0
   173
			
David@0
   174
			<!-- Technically, by the scripting interface guidelines, a proxy should be its own class. However, I don't see that as useful outside of AS, so I'm just going to implement this here. -applmak-->
David@0
   175
			<property name="proxy enabled" code="Ppxe" type="boolean" access="rw" description="Whether or not a proxy is enabled for this account." />
David@0
   176
			<property name="proxy type" code="Ppxt" type="proxy types" access="rw" description="The type of this proxy.">
David@0
   177
				<cocoa key="scriptingProxyType" />
David@0
   178
			</property>
David@0
   179
			<property name="proxy host" code="Ppxh" type="text" access="rw" description="The proxy host." />
David@0
   180
			<property name="proxy port" code="Ppxp" type="integer" access="rw" description="The port that should be used to connect to the proxy." />
David@0
   181
			<property name="proxy username" code="Ppxu" type="text" access="rw" description="The username that should be used to connect to the proxy." />
David@0
   182
			<property name="proxy password" code="Ppxx" type="text" access="rw" description="The password that should be used to connect to the proxy." />
David@0
   183
			
David@0
   184
			<element type="contact" />
David@0
   185
			
David@0
   186
			<responds-to name="go online">
David@0
   187
				<cocoa method="scriptingGoOnline:"/>
David@0
   188
			</responds-to>
David@0
   189
			<responds-to name="go available">
David@0
   190
				<cocoa method="scriptingGoAvailable:"/>
David@0
   191
			</responds-to>
David@0
   192
			<responds-to name="go offline">
David@0
   193
				<cocoa method="scriptingGoOffline:"/>
David@0
   194
			</responds-to>
David@0
   195
			<responds-to name="go away">
David@0
   196
				<cocoa method="scriptingGoAway:"/>
David@0
   197
			</responds-to>
David@0
   198
			<responds-to name="go invisible">
David@0
   199
				<cocoa method="scriptingGoInvisible:"/>
David@0
   200
			</responds-to>
David@0
   201
		</class>
David@0
   202
		<class name="contact group" code="Cgrp" description="A contact group">
David@0
   203
			<cocoa class="AIListGroup" />
David@0
   204
			<property name="name" code="pnam" type="text" access="rw" description="The name of this contact group.">
David@0
   205
				<cocoa key="UID" />
David@0
   206
			</property>
David@0
   207
			<property name="visible" code="pvis" type="boolean" access="r" description="The visibility of this group.">
David@0
   208
				<cocoa key="visible" />
David@0
   209
			</property>
David@0
   210
			<element type="contact" />
David@0
   211
		</class>
David@0
   212
		<class name="contact" code="Ccnt" description="A contact">
David@0
   213
			<cocoa class="AIListContact" />
David@0
   214
			<property name="account" code="Cact" type="account" access="r" description="The account associated with this contact" />
zacw@2834
   215
			<property name="groups" code="Pgrp" type="list of contact group" access="r" description="The groups associated with this contact">
zacw@2834
   216
				<cocoa key="groupsAsArray" />
David@0
   217
			</property>
David@0
   218
			<property name="name" code="pnam" type="text" access="r" description="The name of this contact">
David@0
   219
				<cocoa key="UID" />
David@0
   220
			</property>
David@0
   221
			<property name="ID" code="ID  " type="text" access="r" description="The opaque unique identifier of the contact">
David@0
   222
				<cocoa key="internalObjectID" />
David@0
   223
			</property>			
David@0
   224
			<property name="display name" code="Pdnm" type="text" access="rw" description="The display name or alias associated with this contact." />
David@0
   225
			<property name="notes" code="Pnts" type="text" access="rw" description="The user-defined notes for this contact."/>
David@0
   226
			<property name="idle time" code="Pidl" type="integer" access="r" description="The time this contact has been idle." />
David@0
   227
			<property name="status type" code="Psts" type="status types" access="r" description="The current status of this contact">
David@0
   228
				<cocoa key="scriptingStatusType" />
David@0
   229
			</property>
zacw@2835
   230
			<property name="status message" code="Pasm" type="rich text" access="r" description="The custom status message for this contact.">
David@0
   231
				<cocoa key="scriptingStatusMessage" />
David@0
   232
			</property>
David@0
   233
			<property name="image" code="Pimg" type="TIFF picture" access="rw" description="The image associated with this contact.">
David@0
   234
				<cocoa key="userIconData" />
David@0
   235
			</property>
David@0
   236
			<property name="blocked" code="Pblk" type="boolean" access="rw" description="Whether or not this contact is marked as blocked.">
David@0
   237
				<cocoa key="scriptingBlocked" />
David@0
   238
			</property>
David@0
   239
		</class>
David@0
   240
		<class name="status" plural="statuses" code="Csts" description="A saved status in Adium">
David@0
   241
			<cocoa class="AIStatus" />
David@0
   242
			<property name="title" code="Pttl" type="text" access="rw" description="The title of the status.">
David@0
   243
				<cocoa key="scriptingTitle" />
David@0
   244
			</property>
David@0
   245
			<property name="status type" code="Psts" type="status types" access="rw" description="The type of this status.">
David@0
   246
				<cocoa key="statusTypeApplescript"/>
David@0
   247
			</property>
David@0
   248
			<property name="status message" code="Psmg" type="rich text" access="rw" description="The custom status message.">
David@0
   249
				<cocoa key="scriptingMessage"/>
David@0
   250
			</property>
David@0
   251
			<property name="autoreply" code="Paut" type="rich text" access="rw" description="The message to auto reply">
David@0
   252
				<cocoa key="scriptingAutoreply"/>
David@0
   253
			</property>
David@0
   254
			<property name="id" code="ID  " type="integer" access="r" description="The unique ID of the status">
David@0
   255
			     <cocoa key="uniqueStatusID"/>
David@0
   256
            </property>
David@0
   257
            <property name="saved" code="Psav" type="boolean" access="rw" description="Whether this status is temporary or not">
David@0
   258
            	<cocoa key="scriptingMutabilityType"/>
David@0
   259
            </property>
David@0
   260
		</class>
David@0
   261
		<command name="close" code="coreclos" description="Close a document.">
David@0
   262
			<cocoa class="NSCloseCommand"/>
David@0
   263
			<direct-parameter type="specifier" description="the document(s) or window(s) to close."/>
David@0
   264
		</command>
David@0
   265
David@0
   266
		<command name="go online" code="Adumgoon" description="Changes the status of an account.">
David@0
   267
			<cocoa class="NSScriptCommand" />
David@0
   268
			<direct-parameter description="The account that should connect" type="account" />
David@0
   269
			<parameter name="with message" code="Pmsg" description="The custom status message." type="rich text" optional="yes">
David@0
   270
				<cocoa key="WithMessage"/>
David@0
   271
			</parameter>
David@0
   272
		</command>
David@0
   273
		<command name="go available" code="Adumgoav" description="Changes the status of an account.">
David@0
   274
			<cocoa class="NSScriptCommand" />
David@0
   275
			<direct-parameter description="The account that should become available" type="account" />
David@0
   276
			<parameter name="with message" code="Pmsg" description="The custom status message." type="rich text" optional="yes">
David@0
   277
				<cocoa key="WithMessage"/>
David@0
   278
			</parameter>
David@0
   279
		</command>
David@0
   280
		<command name="go offline" code="Adumgoof" description="Changes the status of an account.">
David@0
   281
			<cocoa class="NSScriptCommand" />
David@0
   282
			<direct-parameter description="The account that should disconnect" type="account" />
David@0
   283
			<parameter name="with message" code="Pmsg" description="The custom status message." type="rich text" optional="yes">
David@0
   284
				<cocoa key="WithMessage"/>
David@0
   285
			</parameter>
David@0
   286
		</command>
David@0
   287
		<command name="go away" code="Adumgoaw" description="Changes the status of an account.">
David@0
   288
			<cocoa class="NSScriptCommand" />
David@0
   289
			<direct-parameter description="The account that should go away" type="account" />
David@0
   290
			<parameter name="with message" code="Pmsg" description="The custom status message." type="rich text" optional="yes">
David@0
   291
				<cocoa key="WithMessage"/>
David@0
   292
			</parameter>
David@0
   293
		</command>
David@0
   294
		<command name="go invisible" code="Adumgoin" description="Changes the status of an account.">
David@0
   295
			<cocoa class="NSScriptCommand" />
David@0
   296
			<direct-parameter description="The account that should become invisible" type="account" />
David@0
   297
			<parameter name="with message" code="Pmsg" description="The custom status message." type="rich text" optional="yes">
David@0
   298
				<cocoa key="WithMessage"/>
David@0
   299
			</parameter>
David@0
   300
		</command>
David@0
   301
		<command name="GetURL" code="GURLGURL" description="Tells Adium to open the specified chat, in URL form">
David@0
   302
			<cocoa class="NSScriptCommand" />
David@0
   303
			<direct-parameter description="The URL of the chat" type="text"/>
David@0
   304
		</command>
David@0
   305
		<command name="count" code="corecnte" description="Return the number elements of a particular class within an object.">
David@0
   306
			<cocoa class="NSCountCommand"/>
David@0
   307
			<direct-parameter description="the object whose elements are to be counted" type="specifier"/>
David@0
   308
			<parameter name="each" code="kocl" description="The class of objects to be counted." type="type" optional="yes">
David@0
   309
				<cocoa key="ObjectClass"/>
David@0
   310
			</parameter>
David@0
   311
			<result description="the number of elements" type="integer"/>
David@0
   312
		</command>
David@0
   313
		<command name="delete" code="coredelo" description="Delete an object.">
David@0
   314
			<cocoa class="NSDeleteCommand"/>
David@0
   315
			<direct-parameter description="the object to delete" type="specifier"/>
David@0
   316
		</command>
David@0
   317
		<command name="exists" code="coredoex" description="Verify if an object exists.">
David@0
   318
			<cocoa class="NSExistsCommand"/>
David@0
   319
			<direct-parameter description="the object in question" type="specifier"/>
David@0
   320
			<result description="true if it exists, false if not" type="boolean"/>
David@0
   321
		</command>
David@0
   322
  		<command name="make" code="corecrel" description="Make a new object.">
David@0
   323
			<cocoa class="AICreateCommand"/>
David@0
   324
			<parameter name="new" code="kocl" description="The class of the new object." type="type">
David@0
   325
				<cocoa key="ObjectClass"/>
David@0
   326
			</parameter>
David@0
   327
			<parameter name="at" code="insh" description="The location at which to insert the object." type="location specifier" optional="yes">
David@0
   328
				<cocoa key="Location"/>
David@0
   329
			</parameter>
David@0
   330
			<parameter name="with data" code="data" description="The initial data for the object." type="any" optional="yes">
David@0
   331
				<cocoa key="ObjectData"/>
David@0
   332
			</parameter>
David@0
   333
			<parameter name="with properties" code="prdt" description="The initial values for properties of the object." type="record" optional="yes">
David@0
   334
				<cocoa key="KeyDictionary"/>
David@0
   335
			</parameter>
David@0
   336
			<parameter name="with contacts" code="Pwct" description="The contacts needed for creating a chat or group." type="list of contact" optional="yes">
David@0
   337
				<cocoa key="withContacts"/>
David@0
   338
			</parameter>
David@0
   339
			<parameter name="new chat window" code="Pncw" description="If this is true, then a new chat window will be created when creating a chat." type="boolean" optional="yes">
David@0
   340
				<cocoa key="newChatWindow"/>
David@0
   341
			</parameter>
David@0
   342
			<result description="to the new object" type="specifier"/>
David@0
   343
		</command>
David@0
   344
		
David@0
   345
		<command name="move" code="coremove" description="Move object(s) to a new location.">
David@0
   346
			<cocoa class="AIMoveCommand"/>
David@0
   347
			<direct-parameter type="specifier" description="the object(s) to move"/>
David@0
   348
			<parameter name="to" code="insh" type="location specifier" description="The new location for the object(s).">
David@0
   349
				<cocoa key="ToLocation"/>
David@0
   350
			</parameter>
David@0
   351
			<result type="specifier" description="the moved object(s)"/>
David@0
   352
		</command>
David@0
   353
		
David@0
   354
		<command name="send" code="Adumsend" description="Send text or a file to some contact.">
David@0
   355
			<cocoa class="NSScriptCommand"/>
David@0
   356
			<direct-parameter type="chat" description="The chat that mimics the entry... yada yada"/>
David@0
   357
			<parameter name="message" code="Smsg" description="The message to send" type="text" optional="yes">
David@0
   358
				<cocoa key="message"/>
David@0
   359
			</parameter>
David@0
   360
			<parameter name="with file" code="Sfil" description="A file to attach" type="file" optional="yes">
David@0
   361
				<cocoa key="withFile"/>
David@0
   362
			</parameter>
David@0
   363
		</command>
David@0
   364
	</suite>
David@0
   365
	
David@0
   366
	<suite name="Text Suite" code="TEXT" description="A set of basic classes for text processing.">
David@0
   367
		<cocoa name="NSTextSuite"/>
David@0
   368
David@0
   369
		<value-type name="color" code="cRGB">
David@0
   370
			<cocoa class="NSColor"/>
David@0
   371
		</value-type>
David@0
   372
David@0
   373
		<class name="rich text" plural="rich text" code="ricT" description="Rich (styled) text">
David@0
   374
			<cocoa class="NSTextStorage"/>
David@0
   375
			<!-- this "type" element and the ones that follow, while they
David@0
   376
				contradict the DTD, are NOT errors.	Cocoa Scripting in 10.4 uses them to accomplish certain type conversions. -->
David@0
   377
			<type type="text"/>
David@0
   378
			<property name="color" code="colr" type="color" description="The color of the first character.">
David@0
   379
				<cocoa key="foregroundColor"/>
David@0
   380
			</property>
David@0
   381
			<property name="font" code="font" type="text" description="The name of the font of the first character.">
David@0
   382
				<cocoa key="fontName"/>
David@0
   383
			</property>
David@0
   384
			<property name="size" code="ptsz" type="integer" description="The size in points of the first character.">
David@0
   385
				<cocoa key="fontSize"/>
David@0
   386
			</property>
David@0
   387
			<element type="character"/>
David@0
   388
			<element type="paragraph"/>
David@0
   389
			<element type="word"/>
David@0
   390
			<element type="attribute run"/>
David@0
   391
			<element type="attachment"/>
David@0
   392
		</class>
David@0
   393
David@0
   394
		<class name="character" code="cha " description="This subdivides the text into characters.">
David@0
   395
			<cocoa class="NSTextStorage"/>
David@0
   396
			<type type="text"/>
David@0
   397
			<property name="color" code="colr" type="color" description="The color of the first character.">
David@0
   398
				<cocoa key="foregroundColor"/>
David@0
   399
			</property>
David@0
   400
			<property name="font" code="font" type="text" description="The name of the font of the first character.">
David@0
   401
				<cocoa key="fontName"/>
David@0
   402
			</property>
David@0
   403
			<property name="size" code="ptsz" type="integer" description="The size in points of the first character.">
David@0
   404
				<cocoa key="fontSize"/>
David@0
   405
			</property>
David@0
   406
			<element type="character"/>
David@0
   407
			<element type="paragraph"/>
David@0
   408
			<element type="word"/>
David@0
   409
			<element type="attribute run"/>
David@0
   410
			<element type="attachment"/>
David@0
   411
		</class>
David@0
   412
David@0
   413
		<class name="paragraph" code="cpar" description="This subdivides the text into paragraphs.">
David@0
   414
			<cocoa class="NSTextStorage"/>
David@0
   415
			<type type="text"/>
David@0
   416
			<property name="color" code="colr" type="color" description="The color of the first character.">
David@0
   417
				<cocoa key="foregroundColor"/>
David@0
   418
			</property>
David@0
   419
			<property name="font" code="font" type="text" description="The name of the font of the first character.">
David@0
   420
				<cocoa key="fontName"/>
David@0
   421
			</property>
David@0
   422
			<property name="size" code="ptsz" type="integer" description="The size in points of the first character.">
David@0
   423
				<cocoa key="fontSize"/>
David@0
   424
			</property>
David@0
   425
			<element type="character"/>
David@0
   426
			<element type="paragraph"/>
David@0
   427
			<element type="word"/>
David@0
   428
			<element type="attribute run"/>
David@0
   429
			<element type="attachment"/>
David@0
   430
		</class>
David@0
   431
David@0
   432
		<class name="word" code="cwor" description="This subdivides the text into words.">
David@0
   433
			<cocoa class="NSTextStorage"/>
David@0
   434
			<type type="text"/>
David@0
   435
			<property name="color" code="colr" type="color" description="The color of the first character.">
David@0
   436
				<cocoa key="foregroundColor"/>
David@0
   437
			</property>
David@0
   438
			<property name="font" code="font" type="text" description="The name of the font of the first character.">
David@0
   439
				<cocoa key="fontName"/>
David@0
   440
			</property>
David@0
   441
			<property name="size" code="ptsz" type="integer" description="The size in points of the first character.">
David@0
   442
				<cocoa key="fontSize"/>
David@0
   443
			</property>
David@0
   444
			<element type="character"/>
David@0
   445
			<element type="paragraph"/>
David@0
   446
			<element type="word"/>
David@0
   447
			<element type="attribute run"/>
David@0
   448
			<element type="attachment"/>
David@0
   449
		</class>
David@0
   450
David@0
   451
		<class name="attribute run" code="catr" description="This subdivides the text into chunks that all have the same attributes.">
David@0
   452
			<cocoa class="NSTextStorage"/>
David@0
   453
			<type type="text"/>
David@0
   454
			<property name="color" code="colr" type="color" description="The color of the first character.">
David@0
   455
				<cocoa key="foregroundColor"/>
David@0
   456
			</property>
David@0
   457
			<property name="font" code="font" type="text" description="The name of the font of the first character.">
David@0
   458
				<cocoa key="fontName"/>
David@0
   459
			</property>
David@0
   460
			<property name="size" code="ptsz" type="integer" description="The size in points of the first character.">
David@0
   461
				<cocoa key="fontSize"/>
David@0
   462
			</property>
David@0
   463
			<element type="character"/>
David@0
   464
			<element type="paragraph"/>
David@0
   465
			<element type="word"/>
David@0
   466
			<element type="attribute run"/>
David@0
   467
			<element type="attachment"/>
David@0
   468
		</class>
David@0
   469
David@0
   470
		<class name="attachment" code="atts" inherits="rich text" description="Represents an inline text attachment. This class is used mainly for make commands.">
David@0
   471
			<cocoa class="NSAttachmentTextStorage"/>
David@0
   472
			<property name="file name" code="atfn" type="text" description="The path to the file for the attachment">
David@0
   473
				<cocoa key="filename"/>
David@0
   474
			</property>
David@0
   475
		</class>
David@0
   476
David@0
   477
	</suite>
David@0
   478
David@0
   479
</dictionary>