Method and apparatus for paginating electronic documents
US9727293B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 21, 2010 |
| Grant date | Aug 8, 2017 |
| Priority date | — |
| Expiry date | Jun 30, 2034 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG09G2340/14
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and apparatus for paginating documents such as html documents is disclosed. A document viewing engine generates a preliminary layout for the, the preliminary layout having a layout width that is equivalent to a viewport width of a viewport on which the document will be displayed. The document viewing engine computes a final layout for the document based on determining a plurality of horizontal pixel lines where page breaks can be placed without cutting off any element in the document and assigns page breaks to one or more of the plurality of horizontal pixel lines based on a height of the viewport. The document viewing engine identifies, for a current page, one or more visual elements that will not be fully within the viewport if painted. The document viewing engine paints the current page without painting the identified one or more visual elements. After changing from the current page to a new page, the document viewing engine paints the contents of the new page without re-computing the final layout of the document.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.