From: <ho...@us...> - 2009-01-24 11:01:08
|
Revision: 14123 http://bibdesk.svn.sourceforge.net/bibdesk/?rev=14123&view=rev Author: hofman Date: 2009-01-24 11:01:05 +0000 (Sat, 24 Jan 2009) Log Message: ----------- Move rich text enhancements to text suite Modified Paths: -------------- trunk/bibdesk/Scripting/BibDesk.sdef Modified: trunk/bibdesk/Scripting/BibDesk.sdef =================================================================== --- trunk/bibdesk/Scripting/BibDesk.sdef 2009-01-24 06:01:08 UTC (rev 14122) +++ trunk/bibdesk/Scripting/BibDesk.sdef 2009-01-24 11:01:05 UTC (rev 14123) @@ -311,10 +311,6 @@ <cocoa class="NSAttributedString"/> </value-type> - <!-- - According to the documentation and standard examples, the code for rich txt should be "ctxt". - However this is a mistake, as ctxt corresponds to type "text", which is the recommended type for strings. - --> <class name="rich text" plural="rich text" code="ricT" description="Rich (styled) text"> <cocoa class="NSTextStorage"/> @@ -461,6 +457,27 @@ <cocoa key="filename"/> </property> </class> + + <class name="rich text format" plural="rich text formats" code="RTFt" hidden="yes" + description="Rich text format, encoding rich text."> + <cocoa class="BDSKRichTextFormat"/> + <property name="name" code="pnam" type="text" access="r" + description="The name for the rich text format."> + <cocoa key="name"/> + </property> + <contents name="rich text" code="ricT" type="rich text" access="r" + description="The rich text representation of the rich text format."> + <cocoa key="richText"/> + </contents> + </class> + + <command name="rich text for" code="BDSKRICt" + description="Convert raw RTF data to rich text."> + <cocoa class="BDSKRichTextForCommand"/> + <direct-parameter type="RTF" description="The raw RTF data."/> + <result description="The rich text" type="specifier"/> + </command> + </suite> @@ -1154,19 +1171,6 @@ <cocoa class="NSArray"/> <type type="point" list="yes"/> </class> - - <class name="rich text format" plural="rich text formats" code="RTFt" hidden="yes" - description="Rich text format, encoding rich text."> - <cocoa class="BDSKRichTextFormat"/> - <property name="name" code="pnam" type="text" access="r" - description="The name for the rich text format."> - <cocoa key="name"/> - </property> - <contents name="rich text" code="ricT" type="rich text" access="r" - description="The rich text representation of the rich text format."> - <cocoa key="richText"/> - </contents> - </class> <record-type name="date condition value" code="CDVl"> <property name="period" code="Perd" type="integer" @@ -1686,13 +1690,6 @@ </parameter> </command> - <command name="rich text for" code="BDSKRICt" - description="Convert raw RTF data to rich text."> - <cocoa name="RichTextFor" class="NSScriptCommand"/> - <direct-parameter type="RTF" description="The raw RTF data."/> - <result description="The rich text" type="specifier"/> - </command> - </suite> </dictionary> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |