document, such as an XML document) that can have both text and spreadsheet/table components. By integrating spreadsheet functionality into text, the user can build the document with automatically updateable fields without being restricted to the grid