IP Library Granted Patent US 7,756,333
Granted Patent B2
US 7,756,333 · App. 11/411,620 · Granted Jul 13, 2010

Document layout verification

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 7,756,333
App. No.
11/411,620
Granted
Jul 13, 2010
Kind
B2
Abstract

A test document is parsed into components which may include bounding boxes, segments, and points. Test code makes calls to properties and methods of components in order to verify document layout. Rather than take absolute measurements of component placement, components are evaluated relative to each other. Layout verification logic may be part of a larger software test system.

Claims (47)

1. A computer-implemented method for verifying a layout of a test document, the method comprising:

receiving the test document for layout verification, wherein the test document comprises a first component and a second component;

causing a computer processor to perform a relative comparison of a property of the first component with a corresponding property of the second component, wherein the relative comparison includes comparing relative locations of a point on the first component to a corresponding point on the second component;

verifying that the relative comparison produces a preferred result, wherein the preferred result includes at least one member of a group comprising: the point and the corresponding point being situated approximately along a same coordinate axis, the point and the corresponding point being situated approximately along a line having a specified slope value, and the point and the corresponding point being situated approximately along a same axis within a supplied deviation distance; and

performing additional relative comparisons in order to verify the layout of the test document.

2. The computer-implemented method of claim 1 , wherein the first and second components comprise one of a drawing item, a text block, and an image.

3. The computer-implemented method of claim 1 , wherein:

the first component and the second component comprise bounding boxes.

4. The computer-implemented method of claim 1 , wherein:

the first component and the second component comprise segments.

5. The computer-implemented method of claim 1 , wherein:

the first component and the second component comprise points.

6. The computer-implemented method of claim 1 , further comprising:

executing a software application in a test environment, wherein the software application produces the test document; and

storing the test document in memory.

7. A system for verifying a layout of a test document, wherein the system comprises:

at least one processor;

at least one memory, storing instructions executable by the processor, wherein the instructions comprise:

executing a software application within a test environment;

modifying a test document in the course of executing the software application;

storing the test document;

parsing the components of the test document;

executing test code to verify the layout of the test document;

performing a relative comparison of a first component to a second component, wherein performing a relative comparison includes comparing a first point on the first component with a second point on the second component and determining whether the first point and the second point are collinear; and

verifying that the comparison produces a favorable result.

8. The system of claim 7 , further comprising:

a network interface, wherein the network interface enables communication between the processor and a remote computer;

receiving the test code from the remote computer; and

sending results of verifying the layout of the test document to the remote computer.

9. The system of claim 8 , wherein performing a relative comparison further includes comparing the first point on the first component to a third point on a third component.

10. The system of claim 7 , wherein:

the first component and the second component comprise bounding boxes.

11. The system of claim 7 , wherein:

the first component and the second component comprise segments.

12. The system of claim 7 , wherein:

the first component and the second component comprise points.

13. A non-transitory computer-readable storage medium having computer executable instructions for verifying a layout of a test document, the instructions comprising:

receiving the test document for layout verification, wherein the test document comprises a first component and a second component;

performing a relative comparison of a property of the first component with a corresponding property of the second component, wherein the relative comparison includes comparing relative locations of a point on the first component to a corresponding point on the second component; and

verifying that the relative comparison produces a preferred result, wherein the preferred result includes at least one member of a group comprising: the point and the corresponding point being situated approximately along a same coordinate axis, the point and the corresponding point being situated approximately along a line having a specified slope value, and the point and the corresponding point being situated approximately along a same axis within a supplied deviation distance.

14. The non-transitory computer-readable storage medium of claim 13 , wherein the first and second components comprise one of a drawing item, a text block, and an image.

15. The non-transitory computer-readable storage medium of claim 13 , wherein:

the first component and the second component comprise bounding boxes.

16. The non-transitory computer-readable storage medium of claim 13 , wherein:

the first component and the second component comprise segments.

17. The non-transitory computer-readable storage medium of claim 13 , wherein:

the first component and the second component comprise points.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2014
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034542/0001 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 19, 2006
From: WINTEROWD, MATTHEW J.; STERN, BRIAN G.; BLACKMON, STEVE D.; BRACIS, CHLOE
To: MICROSOFT CORPORATION
Reel/Frame 017657/0296 →