Row heights in electronic documents
AssigneeGoogle Inc.
InventorsZachary Lloyd, Nick Santos
Life of this patent
Estimating the term…
Abstract
A computer-implemented method for managing row height in an electronic document includes receiving, at a computing device, a request to display a portion of a document that defines a plurality of rows of content and that is represented by a document model; determining heights of the plurality of rows and saving information about the determined heights in a cache that correlates rows to the height information; and using the document model and the cache to generate a view of the document model having the determined row heights.
Claims18
A computer-implemented method for managing row height in an electronic document, the method comprising:
- receiving, at a computing device, a request to display a portion of a document that defines a plurality of rows of content and that is represented by a document model, wherein the document comprises a spreadsheet made up of cells;
- determining heights of the plurality of rows and saving information about the heights in a cache that correlates rows to the information, wherein determining the heights of the plurality of rows comprises rendering selected cells in a hidden frame element and determining heights of the selected cells, wherein rendering selected cells in a hidden frame element further comprises inserting HyperText Markup Language associated with one or more of the selected cells into a span element in a hidden iFrame to acquire a height offset value;
- and
- using the document model and the cache to generate a view of the document model having the heights.
A computer-implemented system for managing row height in an electronic document, the system comprising:
- a memory storing a document model that defines a document having a plurality of rows of data, wherein the document comprises a spreadsheet made up of cells;
- a row height measurement module that includes a document renderer for rendering portions of the data in individual rows of the document;
- a row height determination module to identify a row height for the portions by rendering selected cells in a hidden frame element and determining heights of the selected cells, wherein rendering selected cells in a hidden frame element further comprises inserting HyperText Markup Language associated with one or more of the selected cells into a span element in a hidden iFrame to acquire a height offset value;
- and
- a row height cache arranged to store values of row heights for the individual rows of the document, for use in rendering portions of the document to a browser-based application.
A computer-implemented system for managing row height in an electronic document, the system comprising:
- a memory storing a document model that defines a document having a plurality of rows of data, wherein the document comprises a spreadsheet made up of cells;
- means for determining heights of the plurality of rows in the document, wherein determining the heights of the plurality of rows comprises rendering selected cells in a hidden frame element and determining heights of the selected cells, wherein rendering selected cells in a hidden frame element further comprises inserting HyperText Markup Language associated with one or more of the selected cells into a span element in a hidden iFrame to acquire a height offset value;
- and
- means for using the heights to rendering portions of the document to a browser-based application.
A non-transitory computer-readable storage medium storing instructions that, when executed by a processor cause the processor to perform operations comprising:
- receiving a request to display a portion of a document that defines a plurality of rows of content and that is represented by a document model, wherein the document comprises a spreadsheet made up of cells;
- determining heights of the plurality of rows and saving information about the heights in a cache that correlates rows to the information, wherein determining the heights of the plurality of rows comprises rendering selected cells in a hidden frame element and determining heights of the selected cells, wherein rendering selected cells in a hidden frame element further comprises inserting HyperText Markup Language associated with one or more of the selected cells into a span element in a hidden iFrame to acquire a height offset value;
- and
- using the document model and the cache to generate a view of the document model having the heights.
Dependencies are inferred from the claim text.