home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / mac / misc / 15405 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  2.5 KB

  1. Xref: sparky comp.sys.mac.misc:15405 comp.sys.mac.programmer:14511
  2. Newsgroups: comp.sys.mac.misc,comp.sys.mac.programmer
  3. Path: sparky!uunet!decwrl!adobe!cpage@adobe.com
  4. From: cpage@adobe.com (Chris Page)
  5. Subject: Re: RTF definition/interpretation...somebody goofed!!? HELP!! (medium long)
  6. Message-ID: <1992Aug25.231839.6524@adobe.com>
  7. Sender: usenet@adobe.com (USENET NEWS)
  8. Organization: Adobe Systems, Inc.
  9. References: <1992Aug24.115156.23754@zoe.network23.com> <6627@uakari.primate.wisc.edu>
  10. Date: Tue, 25 Aug 1992 23:18:39 GMT
  11. Lines: 41
  12.  
  13. In article <6627@uakari.primate.wisc.edu>, bin@primate.wisc.edu (Brain in Neutral) writes:
  14. > From article <1992Aug24.115156.23754@zoe.network23.com>, by terry@zoe.network23.com (Terry):
  15. > I submit that this is not the way a style should work (nor is my experience
  16. > that this is the way they DO work - when they work).  There is no point
  17. > to having a stylesheet at all if the definition of the style must be
  18. > repeated in each paragraph to which it is supposed to apply.
  19. > What is the point of a stylesheet, if not to be able to select a style
  20. > simply by referring to the style ID?  If you have to repeat the definition
  21. > each time, then the stylesheet itself if vestigial.
  22.  
  23. There is a difference between what Word (or any RTF reader/writer) does
  24. with style sheets once they have been read and the way they are expressed
  25. in the RTF file format.
  26.  
  27. Word lets you mark some text with a style, and if you change the style, all the
  28. text formatting will change appropriately, and this is how most word processors
  29. with style sheets work.
  30.  
  31. RTF, however, is not a word processor; it is a file format. It is intended to be
  32. easily parsable by RTF readers. Style sheets are declaired at the start of the
  33. file and readers that recognize style sheets can use them when editing the
  34. document. While reading the document text, the actual format of the text is always
  35. explicitly defined along with the style sheet ID. For readers that DO NOT use
  36. style sheets, all they have to do is ignore them and read the explicit format
  37. information. For readers that DO use style sheets, they are responsible for
  38. ignoring or otherwise appropriately reading the explicit formatting along with
  39. the references to the associated style.
  40.  
  41. What this means is: the RTF format is not necessarily related to how word
  42. processors work.
  43.  
  44. Chris Page
  45. Adobe Systems, Inc.
  46. cpage@adobe.com
  47.  
  48. Disclaimer: these are my own opinions. My employer knows nothing about this.
  49. So let's just keep this our little secret, eh?
  50.  
  51.