Rich Text Format (RTF) 中文版规范,版本 1.6[2]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

A sample RTF reader application is available (see the Appendix A: Sample RTF Reader Application section of this document). It is designed for use with the specification to assist those interested in developing their own RTF readers. This application and its use are described in Appendix A. The sample RTF reader is not a for-sale product, and Microsoft does not provide technical or any other type of support for the sample RTF reader code or the RTF specification. For more information on how to download the sample RTF reader from the Microsoft Download Center, please visit the following Web address: www.microsoft.com/downloads/search.asp and then search on "RTF Reader."

        RTF版本1.6包含所有在Microsoft Word for Windows 95 v7.0, Word 97 for Windows, Word 98 for the Macintosh, and Word 2000 for Windows, 也包括微软其它产品中介绍的新的控制字。
RTF Version 1.6 includes all new control words introduced by Microsoft Word for Windows 95 version 7.0, Word 97 for Windows, Word 98 for the Macintosh, and Word 2000 for Windows, as well as other Microsoft products.


RTF语法
        一个RTF文件由未格式化文本控制字控制符号组成。为了更容易的转换,一个标准的RTF文件应该仅包含7位ASCII码字符。RTF文件没有限制文件的行的最大长度(再议:maximun line length是指行的字符数还是指文档的行数?)
An RTF file consists of unformatted text, control words, control symbols, and groups. For ease of transport, a standard RTF file can consist of only 7-bit ASCII characters. (Converters that communicate with Microsoft Word for Windows or Microsoft Word for the Macintosh should expect 8-bit characters.) There is no set maximum line length for an RTF file.
        
        控制字是一种特殊的RTF用来标记打印机控制符的格式化命令,也是程序用来管理文档样式的格式化信息。(再议:措辞不好。)一个控制字不能超过32个字符。一个控制字类似以下形式:
        \LetterSequence<Delimiter>
        
注意:每个控制字是以反斜杠开始的。
        LetterSequence由小写字母字符(a-z)组成。RTF是大小写敏感的。
A control word is a specially formatted command that RTF uses to mark printer control codes and information that applications use to manage documents. A control word cannot be longer than 32 characters. A control word takes the following form: 
    \LetterSequence<Delimiter>
        Note   A backslash begins each control word.
The LetterSequence is made up of lowercase alphabetic characters (a-z). RTF is case sensitive.


本文关键:Rich Text Format (RTF) 中文版规范,版本 1.6
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top