摘要 |
Property modifiers stored on a computer-readable medium for formatting information associated with a computer file, such as an electronic document. Each property modifier includes a size field having information indicating the size of its property modifier argument and an index field having an index into a property information array. A program module can traverse a group of property modifiers by utilizing the information in the size field of the current property modifier to determine the location of the next property modifier. Formatting is applied to information of the computer file by using the index of each property modifier to access formatting information maintained in the property information array. Each property modifier can store encoded information corresponding to the type of object to receive formatting, the size of the property modifier's argument, and an index into the property information array associated with an executable computer program. Rather than pre-allocate space in the executable portion of a program module, the property modifier itself contains information embedded therein that indicates the size of the parameter of the property modifier.
|