 |
Code and object formatting
The word processor helps you do the formatting.
Word processors are supposed to make formatting trivial to the user. If
formatting does not seem to be this easy when working on a document, chances
are that the techniques being used are not the most efficient. When in
doubt, check the online help. Spending a few minutes looking for a better
method can be better than wasting too much time on poor techniques.
There are two common methods used by word processors to store formatting
information.
- Formatting code : Word Perfect uses formatting codes.
When a formatting attribute is changed in the document, a code is placed
within the document to reflect that change. At print time, the document
is processed in sequential order and formatting codes that occur at that
point in the text are evaluated.
- Object Oriented : Other applications, like Word, store the
information in an object oriented approach. Instead of putting actual formatting
codes in the document, the information is stored internally in a data structure that
points to the object it is referencing.
|