Patent ID: 9128596
Filing Date: 2015-09-08
Classification: G06F

Abstract:
1. A method for selecting and displaying a region of interest in an electronic document on the display of a device, comprising: loading said document onto said device; generating a tree structure of nested layout boxes based on corresponding markup language elements in said document; calculating dimensions and positions of the respective layout boxes; displaying at least a part of the document on said display; receiving user input which in combination with the position of a pointing device identifies a point within the document; selecting from among the nested layout boxes the innermost selectable layout box containing the identified point; comparing at least one of the size and the proportions of the selected layout box with the size of the display or the viewport; selecting the region of interest based on the comparing as a region within the document which includes the identified point and the entire selected layout box along at least one dimension, and which has the same proportions as the display or the viewport; and aligning said selected region of interest with the display or the viewport and displaying said region of interest, wherein aligning and displaying said region of interest comprises at least one of changing the resolution or shifting the displayed document to cause the region of interest to fill the display or the viewport along the at least one dimension.