Rich Text Format (RTF) 中文版规范,版本 1.6 (分章——介绍)

来源:互联网 发布:在线高考答题软件 编辑:程序博客网 时间:2024/04/30 15:22
.chinese{ font-size:12pt; font-family:"宋体"; background-color: white;}p{ font-size:12pt; font-family:"宋体";}.english{ font-size:9pt; font-family:"Tahoma"; background-color: #CCCCCC;}span{ font-size:9pt; font-family:"Tahoma"; background-color: #CCCCCC;}.question{ font-size:9pt; font-family:"宋体"; color:red; background-color: white;}.code{ font-size:8pt; font-family:"Fixedsys"; color:blue; background-color: #EEEEEE; margin: 0px 20px 0px 20px;}.notice{ font-weight:bold; margin: 0px 40px 0px 40px; background-color: white;}

介绍

    The Rich Text Format (RTF) 规范是一种在应用程序间转换格式化文本和图形简易编码方法。当前,用户依赖特殊的转换软件在MS-DOSTM,MicrosoftTM WindowsTM,OS/2,MacintoshTM和Power MacintoshTM的应用程序之间来转换字处理文档。
The Rich Text Format (RTF) Specification is a method of encoding formatted text and graphics for easy transfer between applications. Currently, users depend on special translation software to move word-processing documents between different MS-DOSTM, MicrosoftTM WindowsTM, OS/2, MacintoshTM, and Power MacintoshTM applications.

    RTF规范提供一种交互的文本和图形格式,可以在不同输出设备,操作环境和操作系统上使用。RTF使用美国国家标准化组织(ANSI),PC-8,Macintosh,或IBM PC的字符集来控制文档的外观和格式,不管文档是显示在屏幕上还是从打印机打印出来。由于RTF规范,不同操作系统、不同软件创建的文档可以在其他的操作系统和程序中被识别出来。Macintoch和Power Macintosh版的Word 6.0(及以后版本)创建的RTF文件提供一种文件类型——“RTF”。
The RTF Specification provides a format for text and graphics interchange that can be used with different output devices, operating environments, and operating systems. RTF uses the American National Standards Institute (ANSI), PC-8, Macintosh, or IBM PC character set to control the representation and formatting of a document, both on the screen and in print. With the RTF Specification, documents created under different operating systems and with different software applications can be transferred between those operating systems and applications. RTF files created in Word 6.0 (and later) for the Macintosh and Power Macintosh have a file type of "RTF."

    将一个格式化的文件转换为RTF文件的软件成为编辑器。一个RTF编辑器分离现有文本中原程序的控制信息,并且生成一个包含着原文本和RTF组的新文件。将一个RTF文件转换成一个格式化文件的软件称为查看器。
Software that takes a formatted file and turns it into an RTF file is called a writer. An RTF writer separates the application's control information from the actual text and writes a new file containing the text and the RTF groups associated with that text. Software that translates an RTF file into a formatted file is called a reader. 

    这里提供了一个RTF查看器的例子(阅读本文档的附录A:RTF查看器程序示例)。它应用此规范而设计出来。希望它对那些有兴趣开发自己RTF查看器的开发者有所帮助。附录A介绍了这个程序的结构和用法。这个RTF查看器不是一个商业产品,Microsoft公司不对RTF查看器代码和RTF规范提供技术及其他形式的支持。关于如何从Microsoft下载中心下载此示例的更多信息,请访问以下Web地址:www.microsoft.com/downloads/search.asp然后搜索“RTF Reader”。
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.

原创粉丝点击