METHOD AND DEVICE FOR DYNAMICALLY WRAPPING TEXT WHEN DISPLAYING A SELECTED REGION OF AN ELECTRONIC DOCUMENT
First Claim
1. A method of performing dynamic text wrapping when displaying a selected region of an electronic document on a display screen of a device, comprising:
- loading into a memory device, a document;
determining by the processor, a layout of said document;
displaying on the display screen, at least a part of said document at a first resolution and in accordance with the determined layout, wherein text in the document is wrapped in accordance with the determined layout;
receiving user input representing a command to display said document at a second resolution;
rewrapping by the processor, at least some text in said document based on a maximum line length associated with said second resolution;
determining by the processor, a layout of said document after the at least some of the text is rewrapped; and
displaying on the display screen, at least a part of said document including the rewrapped text at said second resolution.
2 Assignments
0 Petitions
Accused Products
Abstract
A method is provided for rewrapping text when changing from a first to a second zoom level when displaying an electronic document. The line length at which to rewrap the text is chosen such that no horizontal scrolling becomes necessary. Since the rewrapping may result in a change to the layout of the document, the method may further include s identifying an element in the electronic document and ensuring that the element is included in the display after a zooming-in or zooming-out operation. Also described is a device configured to perform the method and a computer program including instructions for performing the method when executed by a computing device.
-
Citations
18 Claims
-
1. A method of performing dynamic text wrapping when displaying a selected region of an electronic document on a display screen of a device, comprising:
-
loading into a memory device, a document; determining by the processor, a layout of said document; displaying on the display screen, at least a part of said document at a first resolution and in accordance with the determined layout, wherein text in the document is wrapped in accordance with the determined layout; receiving user input representing a command to display said document at a second resolution; rewrapping by the processor, at least some text in said document based on a maximum line length associated with said second resolution; determining by the processor, a layout of said document after the at least some of the text is rewrapped; and displaying on the display screen, at least a part of said document including the rewrapped text at said second resolution. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computing device configured to display electronic documents for selecting and displaying a region of interest in an electronic document, comprising:
-
a display screen; a user input interface; a communication interface configured to receive electronic documents; memory into which a received document can be loaded; a processing unit configured to; load a document; determine a layout of said document, wherein text in the document is wrapped in accordance with the determined layout; display at least a part of said document on the display screen at a first resolution and in accordance with the determined layout; receive user input representing a command to display said document at a second resolution; rewrap at least some of the text in said document based on a maximum line length associated with said second resolution; determine a layout of said document after the at least some of the text has been rewrapped; and display on the display screen at least a part of said document including the rewrapped text at said second resolution. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer readable storage medium on which is embodied a computer program comprising instructions that, when executed on a computer, performs the following steps:
-
loading a document into a memory device; determining a layout of said document; displaying at least a part of said document at a first resolution and in accordance with the determined layout on a display device; receiving user input representing a command to display said document at a second resolution; rewrapping at least some text in said document based on a maximum line length associated with said second resolution; determining a layout of said document after the at least some of the text has been rewrapped; and displaying on the display device at least a part of said document including the rewrapped text at said second resolution. - View Dependent Claims (14, 15, 16, 17, 18)
-
Specification