Patent ID: 9727293
Date: 2017-08-08
CPC Classifications: G06F,G09G

Claim:
1. A method of paginating an electronic document comprising: receiving, by a processor of a user electronic device comprising a viewport for viewing the electronic document, the electronic document in an unpaginated format; generating, by the processor, a preliminary layout for the electronic document in the unpaginated format, the preliminary layout having a layout width that is equivalent to a viewport width of the viewport of the user electronic device, the viewport configured to display the electronic document, wherein generating the preliminary layout comprises: computing, by the processor, a final layout for the electronic document in a paginated format based at least in part on: rendering, by the processor, a current page in the viewport in accordance with the final layout, wherein the current page excludes the first visual element comprising at least a portion excluded by the page break from display within the viewport; and after changing from the current page to a new page, rendering, by the processor, the new page without re-computing the final layout of the electronic document, wherein the new page includes the first visual element.