Rich Text Format
Encyclopedia
|
| Tutorials | Encyclopedia | Dictionary | Directory |
|
Rich Text Format
{{Infobox file format
| name = Rich Text Format
| icon =
| extension = .rtf
| mime = text/rtf
| type code = 'RTF '
| uniform type = public.rtf
| magic = It should not be confused with enriched text (mimetype "text/enriched" of RFC 1896) or its predecessor Rich Text (mimetype "text/richtext" of RFC 1341 and 1521) which are completely different specifications.
HistoryMembers of the Microsoft Word development team, Richard Brodie, Charles Simonyi, and David Luebbert developed the original RTF in the middle to late 1980s. Its syntax was influenced by the TeX typesetting language. The first RTF reader and writer shipped in 1987 as part of Microsoft Word 3.0 for Macintosh, which implemented the version 1.0 RTF specification. All subsequent releases of Microsoft Word for the Macintosh and all versions of Microsoft Word for Windows have included built-in RTF readers and writers which translate from RTF to Word's .doc format and from .doc to RTF. The format is still owned by Microsoft to this date; as of March 2008 it is up to version 1.9.1. RTF specification timeline
Sample RTF documentAs an example, the following RTF code: {\rtf1\ansi{\fonttbl\f0\fswiss Helvetica;}\f0\pard
This is some {\b bold} text.\par
}
would be rendered like this when read by an appropriate word processor:
A backslash ( Character encodingRTF is an 8-bit format. That would limit it to ASCII, but RTF can encode characters beyond ASCII by escape sequences. The character escapes are of two types: code page escapes and Unicode escapes. In a code page escape, two hexadecimal digits following an apostrophe are used for denoting a character taken from a Windows code page. For example, if control codes specifying Windows-1256 are present, the sequence If a Unicode escape is required, the control word The control word Human readabilityUnlike most word processing formats, good RTF code can be made human-readable. That is to say that when an RTF file is opened in a text editor, the text is legible and the markup language is not too distracting or counter-intuitive. The RTF files produced by most programs, such as MS Word, will contain such a large number of control codes for compatibility with older programs that most files will easily be an order of magnitude larger than the raw text and very difficult to read. Formats such as MS Word's Nowadays, human-readable XML-based formats are becoming more common, but at RTF's release its level of readability was rare among document formats. Note that the XML-based OpenDocument and Office Open XML formats are often not immediately human-readable because they are a bundle of several different files within a ZIP archive. Common implementationsMost word processing software implementations support RTF format import and export, often making it a "common" format between otherwise incompatible word processing software. The WordPad editor in Microsoft Windows creates RTF files by default. It once defaulted to the Microsoft Word 6.0 file format, but write support for Word documents was dropped in a security update. The free and open-source word processors AbiWord, OpenOffice.org, and KWord can view and edit RTF files. The default editor for Mac OS X, TextEdit, can also view and edit RTF files. See also
External links
ca:RTF cs:Rich Text Format da:Rich Text Format de:Rich Text Format es:Rich Text Format et:Rich Text Format eu:RTF fr:Rich Text Format id:Rich Text Format it:Rich text format lb:.rtf nl:Rich Text Format ja:Rich Text Format pl:RTF pt:Rich Text Format ru:Rich Text Format sk:Rich Text Format fi:Rich Text Format sv:Rich Text Format zh:RTF Source: Wikipedia | The above article is available under the GNU FDL. | Edit this article
|
|
top
©2008-2009 TutorGig.com. All Rights Reserved. Privacy Statement