Inventors:
Peter M. Duniho - Redmond WA
Assignee:
Microsoft Corporation - Redmond WA
International Classification:
G06F 312
Abstract:
A spreadsheet program provides a generalized approach to parsing text strings for a header or footer of a page of a spreadsheet document. Parsing is separated from further interpreting of information in the text string, thereby enhancing the expandability of the program and decreasing the amount of code redundancy required to implement more interpreting functionality. A single parser routine may be provided in the spreadsheet program to parse text strings for all of the headers and footers. The parser routine calls a respective callback routine to further process the parsed text string, such as required by printing or editing of the text string. The identity of the callback routine is specified by a high-level routine that called the parser routine.