IP Library Granted Patent US 10,248,630
Granted Patent B2
US 10,248,630 · App. 14/580,062 · Granted Apr 2, 2019

Dynamic adjustment of select elements of a document

Inventors: Radoslav Petrov Nickolov (Seattle, WA); Hai Wang (Redmond, WA)
Assignee: Microsoft Technology Licensing, LLC
G06F17/212G06F3/0481G06F3/0484G06F17/2264G06F17/30905G06F2203/04806
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,248,630
App. No.
14/580,062
Granted
Apr 2, 2019
Kind
B2
Abstract

Technologies are described herein for providing dynamic adjustment of select elements of a document. In some configurations, when a command for scaling a document is received, technologies described herein selectively resize elements of the document and then apply a rendering scale factor to the document. For example, a computing device may render a document having an element, such as a table, and other elements, such as text and images. Upon receiving a command to apply a rendering scale factor to the document, techniques herein determine at least one dimension of the element based on the rendering scale factor. The document including the element with the at least one dimension is then rendered based on the rendering scale factor. By dynamically adjusting one or more dimensions of select elements, the layout of the document may be preserved even when a user zooms into or out of the document.

Claims (58)

1. A computer-implemented method, the method comprising:

rendering, at a computing device, a document including a formatting element and text arranged within a boundary of the formatting element, wherein the boundary maintains the text within a viewing area of a display device;

receiving a command to apply a first scale factor to the text of the document;

determining at least one dimension of the boundary of the formatting element of the document based on a second scale factor that is based on an inverse of the first scale factor;

rendering the document, wherein the text is rendered based on the first scale factor, and wherein the at least one dimension of the boundary is rendered based on the second scale factor that is based on the inverse of the first scale factor, wherein a magnitude of the second scale factor is adjusted above the inverse of the first scale factor based on an increase of a magnitude of the first scale factor, and wherein the boundary is rendered to maintain the text within the viewing area of the display device; and

in response to the rendering of the document, displaying the text without requiring a user to scroll horizontally or vertically to view the rendered text.

2. The computer-implemented method of claim 1 , wherein determining the at least one dimension comprises:

determining contextual information associated with the formatting element;

determining a weight that is based on the contextual information and the inverse of the rendering scale factor; and

determining the at least one dimension of the boundary of the formatting element based on the weight.

3. The computer-implemented method of claim 1 , wherein the document comprises an image, and wherein rendering the document comprises:

determining contextual information associated with content of the image;

determining if the rendering scale factor is to be applied to the image based on the contextual information; and

applying the rendering scale factor to the image if it is determined that the rendering scale factor is to be applied to the image.

4. The computer-implemented method of claim 1 , wherein the document comprises an image, and wherein rendering the document comprises:

determining contextual information associated with content of the image;

determining a weighted rendering scale factor based on the rendering scale factor and the contextual information associated with the image; and

applying the weighted rendering scale factor to the image.

5. The computer-implemented method of claim 1 , wherein the document comprises a first image and a second image, and wherein rendering the document comprises:

determining contextual information associated with the first image;

determining contextual information associated with the second image;

applying the rendering scale factor to the first image based on the contextual information associated with the first image; and

applying a weighted rendering scale factor to the second image based on the contextual information associated with the second image.

6. A computer, comprising:

a processor; and

a computer-readable storage medium in communication with the processor, the computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by the processor, cause the computer to

render a document including a formatting element and text arranged within a boundary of the formatting element, wherein the boundary maintains the text within a viewing area of a display device,

receive a command to apply a first scale factor to the text of the document,

determine at least one dimension of the boundary of the formatting element based on a second scale factor that is based on an inverse of the first scale factor,

render the document, wherein the text is rendered based on the first scale factor, and wherein the at least one dimension of the boundary is rendered based on the second scale factor that is based on the inverse of the first scale factor, wherein a magnitude of the second scale factor is adjusted above the inverse of the first scale factor based on an increase of a magnitude of the first rendering scale factor, and wherein the boundary is rendered to maintain the text within the viewing area of the display device; and

in response to the rendering of the document, display the text without requiring a user to scroll horizontally to view the rendered text.

7. The computer of claim 6 , wherein the formatting element comprises a frame around the text of the document.

8. The computer of claim 6 , wherein the formatting element comprises a table around the text of the document.

9. The computer of claim 6 , wherein determining the at least one dimension comprises:

determining contextual information associated with the formatting element;

determining a weight that is based on the contextual information and the inverse of the rendering scale factor; and

determining the at least one dimension of the boundary of the formatting element based on the weight.

10. The computer of claim 6 , wherein the document comprises an image, and wherein rendering the document utilizing the at least one dimension associated with the at least one element, comprises:

determining contextual information associated with the image;

determining if the rendering scale factor is to be applied to the image based on the contextual information; and

applying the rendering scale factor to the image if it is determined that the rendering scale factor is to be applied to the image.

11. The computer of claim 6 , wherein the document comprises an image, and wherein rendering the document utilizing the at least one dimension associated with the at least one element, comprises:

determining contextual information associated with the image;

determining a weighted rendering scale factor based on the rendering scale factor and the contextual information associated with the image; and

applying the weighted rendering scale factor to the image.

12. The computer of claim 6 , wherein the document comprises a first image and a second image, and wherein rendering the document utilizing the at least one dimension associated with the at least one element, comprises:

determining contextual information associated with the first image;

determining contextual information associated with the second image;

applying the rendering scale factor to the first image based on the contextual information associated with the first image; and

applying a weighted rendering scale factor to the second image based on the contextual information associated with the second image.

13. A computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by a computer, cause the computer to:

render a document including a formatting element and text arranged within a boundary of the formatting element, wherein the boundary maintains the text within a viewing area of a display device;

receive a command to apply a first scale factor to the text of the document;

determine at least one dimension of the boundary of the formatting element based on a second scale factor that is based on an inverse of the first scale factor;

render the document, wherein the text is rendered based on the first scale factor, and wherein the at least one dimension of the boundary is rendered based on the second scale factor that is based on the inverse of the first scale factor, wherein a magnitude of the second scale factor is adjusted above the inverse of the first scale factor based on an increase of a magnitude of the first scale factor, and wherein the boundary is rendered to maintain the text within the viewing area of the display device; and

in response to the rendering of the document, display the text without requiring a user to scroll horizontally to view the rendered text.

14. The computer-readable storage medium of claim 13 , wherein the formatting element comprises a frame around the text of the document.

15. The computer-readable storage medium of claim 13 , wherein the formatting element comprises a table around the text of the document.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 27, 2015
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034819/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 22, 2014
From: NICKOLOV, RADOSLAV PETROV; WANG, HAI
To: MICROSOFT TECHNOLOGY LICENSING, LLC.
Reel/Frame 034572/0365 →
Continuity (1)
Related Publication 20160179757A1 · Jun 23, 2016