# US 2012/0240027 A1 · System and Method for Displaying a Document

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0240027 A1
- Document ID: US20120240027A1
- Status: Published application
- Kind: A1
- Application number: 13/206,896
- Filed: 2011-08-10
- Published: 2012-09-20
- Earliest claimed: 2011-03-18
- Inventors: Luiz Pereira; Edgard Lindner; Lily Xia; Kevin Markman
- Web page: https://patentgrep.com/patent/US20120240027A1

## CPC

- G06F 40/117: Tagging; Marking up (details of markup languages G06F40/143); Designating a block; Setting of attributes (style sheets, e.g. eXtensible Stylesheet Language Transformation [XSLT], G06F40/154)
- G06F 40/166: Editing, e.g. inserting or deleting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Data defining a document comprising a plurality of elements is received from an online document processing service. First layout data is generated for the plurality of elements occurring at or before a specified location of the document. A segment comprising a reduced portion of a particular element located at the specified location is defined, when it is determined that an available page height is insufficient to lay out the particular element, and second layout data associated with the segment is generated. A page associated with the specified location is displayed based on the first layout data and the second layout data.

## Claims

### Claim 1

A method comprising:
receiving from an online document processing service data defining a document comprising a plurality of elements;
generating first layout data for the plurality of elements occurring at or before a specified location of the document;
defining a segment comprising a portion of a particular element located at the specified location, when it is determined that an available page height is insufficient to lay out the particular element;
generating second layout data associated with the segment; and
displaying a page associated with the specified location based on the first layout data and the second layout data.

### Claim 2 (depends on 1)

The method of claim 1, wherein the plurality of elements comprises a paragraph.

### Claim 3 (depends on 1)

The method of claim 1, wherein the plurality of elements comprises at least one of a line of text, an image, a table, a header, a footnote, footnote reference information, and a footer.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating an object associated with the particular element, the object comprising a layout function for laying out the particular element.

### Claim 5 (depends on 4)

The method of claim 4, wherein the object associated with the particular element comprises a programming class comprising one or more properties that define and store the state of the particular element.

### Claim 6 (depends on 5)

The method of claim 5, wherein:
the particular element comprises a paragraph; and
the object associated with the paragraph comprises one or more properties defining a first alphanumeric character of the paragraph and a last alphanumeric character of the paragraph.

### Claim 7 (depends on 4)

The method of claim 4, wherein the layout function defines one or more calculations for displaying the particular element.

### Claim 8 (depends on 7)

The method of claim 7, wherein:
the particular element comprises a paragraph; and
the layout function further defines one or more calculations for determining a location of one or more lines in the paragraph and whether the paragraph can fit into the available page height.

### Claim 9 (depends on 4)

The method of claim 4, wherein the object associated with the particular element further includes a render function adapted to modify a HyperText Markup Language (“HTML”) of a webpage based on the second layout data.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
modifying a HyperText Markup Language (“HTML”) of a webpage based on the second layout data.

### Claim 11

A non-transitory computer readable medium having program instructions stored thereon, the instructions capable of execution by a processor and defining the steps of:
receiving from an online document processing service data defining a document comprising a plurality of elements;
generating first layout data for the plurality of elements occurring at or before a specified location of the document;
defining a segment comprising a portion of a particular element located at the specified location, when it is determined that an available page height is insufficient to lay out the particular element;
generating second layout data associated with the segment; and
displaying a page associated with the specified location based on the first layout data and the second layout data.

### Claim 12 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the plurality of elements comprises a paragraph.

### Claim 13 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the plurality of elements comprises at least one of a line of text, an image, a table, a header, a footnote, footnote reference information, and a footer.

### Claim 14 (depends on 11)

The non-transitory computer readable medium of claim 11, further comprising instructions defining the step of:
generating an object associated with the particular element, the object comprising a layout function for laying out the particular element.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the object associated with the particular element comprises a programming class comprising one or more properties that define and store the state of the particular element.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein:
the particular element comprises a paragraph; and
the object associated with the paragraph comprises one or more properties defining a first alphanumeric character of the paragraph and a last alphanumeric character of the paragraph.

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the layout function defines one or more calculations for displaying the particular element.

### Claim 18

A method comprising:
receiving from an online document processing service data defining a document comprising a plurality of elements;
generating first layout data for the plurality of elements;
displaying a page associated with a specified location of the document based on the first layout data;
receiving from a user device data indicating a change to the document;
generating second layout data for each respective element associated with the specified location, only if the respective element has been changed or an available page height is insufficient to layout the respective element; and
displaying the page associated with the specified location, based on the first layout data and the second layout data.

### Claim 19 (depends on 18)

The method of claim 18, wherein the plurality of elements comprises a paragraph.

### Claim 20 (depends on 18)

The method of claim 18, wherein the plurality of elements comprises at least one of a line of text, an image, a table, a header, a footnote, footnote reference information, and a footer.

### Claim 21 (depends on 18)

The method of claim 18, further comprising:
generating an object associated with each of the plurality of elements, each object comprising a layout function for laying out the associated element and a render function for rendering the associated element.
