IP Library › Granted Patent US 9,946,690
Granted Patent B2
US 9,946,690 · App. 13/704,172 · Granted Apr 17, 2018

Paragraph alignment detection and region-based section reconstruction

Inventors: Milan Sesum (Belgrade, RS); Milos Lazarevic (Nis, RS); Milos Raskovic (Belgrade, RS); Aljosa Obuljen (New Belgrade, RS); Filip Panjevic (Belgrade, RS); Vanja Petrovic Tankovic (Sombor, RS)
Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
G06F17/212G06K9/00463
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 9,946,690
App. No.
13/704,172
Granted
Apr 17, 2018
Kind
B2
Abstract

A paragraph alignment detection engine and a section reconstruction engine. The paragraph alignment detection engine determines the paragraph alignment of a paragraph and updates the paragraph alignment property of the paragraph in the data store for single line and multi-line paragraphs. The paragraph alignment detection engine employs per paragraph comparisons and relative comparisons to other paragraphs to determine the paragraph alignment of a single line paragraph. The paragraph alignment detection engine employs per paragraph comparisons and relative comparisons of the lines of a paragraph to determine the paragraph alignment of a multi-line paragraph. The section reconstruction engine minimizes the number of sections created in the flow format document by identifying the columns on each page, combining contiguous pages with the same column layout into a single section, and creating alternative objects to contain regions associated special cases in lieu of creating additional sections.

Claims (40)

1. A method for converting a fixed format document into a flow format document, said method comprising the acts of:

detecting an alignment of text forming a single line paragraph on a page in a fixed format document, the detecting including:

defining a boundary box around the single line paragraph;

performing a first comparison of a position value of a left edge of the bounding box to a position value of a left margin of the page and performing a second comparison of a position value of a right edge of the bounding box to a position value of a right margin of the page;

identifying a justified alignment if the results of the first and second comparisons are substantially equivalent;

when the results of the first and second comparisons are not substantially equivalent, performing:

identifying a left alignment based on comparing a coordinate value of the left edge of the bounding box to a coordinate value of a left edge of a bounding box of another paragraph on the page; and

displaying the text in a flow format document as a single line paragraph having the identified alignment.

2. The method of claim 1 , wherein, when the results of the first and second comparisons are not substantially equivalent, and neither the justified alignment nor the left alignment are identified, additionally performing:

a comparison of a left indentation value of the single line paragraph to a right indentation value of the single line paragraph;

identifying a centered alignment, when the comparison indicates that the left indentation value and the right indentation value are substantially equivalent; and

identifying a right alignment, when the comparison indicate that the left indentation value and the right indentation value are not substantially equivalent.

3. The method of claim 1 , wherein the another paragraph comprises a multi-line paragraph.

4. A system for converting a fixed format document into a flow format document, said system comprising a document processor operable to:

detecting an alignment of text forming a single line paragraph on a page in a fixed format document, the detecting including:

defining a boundary box around the single line paragraph;

performing a first comparison of a position value of a left edge of the bounding box to a position value of a left margin of the page and performing a second comparison of a position value of a right edge of the bounding box to a position value of a right margin of the page;

identifying a justified alignment if the results of the first and second comparisons are substantially equivalent;

when the results of the first and second comparisons are not substantially equivalent, performing:

identifying a left alignment based on comparing a coordinate value of the left edge of the bounding box to a coordinate value of a left edge of a bounding box of another paragraph on the page; and

displaying the text in a flow format document as a single line paragraph having the identified alignment.

5. The system of claim 4 , wherein, when the results of the first and second comparisons are not substantially equivalent, and neither the justified alignment nor the left alignment are identified, additionally performing:

a comparison of a left indentation value of the single line paragraph to a right indentation value of the single line paragraph;

identifying a centered alignment, when the comparison indicates that the left indentation value and the right indentation value are substantially equivalent; and

identifying a right alignment, when the comparison indicate that the left indentation value and the right indentation value are not substantially equivalent.

6. The system of claim 4 , wherein the another paragraph comprises a multi-line paragraph.

7. A computer readable medium containing computer executable instructions which, when executed by a computer, perform a method for converting a fixed format document into a flow format document, said method comprising the acts of:

detecting the alignment of text forming a single line paragraph on a page in a fixed format document, the detecting including:

defining a boundary box around the single line paragraph;

performing a first comparison of a position value of a left edge of the bounding box to a position value of a left margin of the page and performing a second comparison of a position value of a right edge of the bounding box to a position value of a right margin of the page;

identifying a justified alignment if the results of the first and second comparisons are substantially equivalent;

when the results of the first and second comparisons are not substantially equivalent, performing:

identifying a left alignment based on comparing a coordinate value of the left edge of the bounding box to a coordinate value of a left edge of a bounding box of another paragraph on the page; and

displaying the text in a flow format document as a single line paragraph having the identified alignment.

8. The computer readable medium of claim 7 wherein defining the boundary box includes defining a smallest bounding box that contains all of the visible characters of the text in the single line paragraph.

9. The computer readable medium of claim 7 , wherein, when the results of the first and second comparisons are not substantially equivalent, and neither the justified alignment nor the left alignment are identified, additionally performing:

a comparison of a left indentation value of the single line paragraph to a right indentation value of the single line paragraph;

identifying a centered alignment, when the comparison indicates that the left indentation value and the right indentation value are substantially equivalent; and

identifying a right alignment, when the comparison indicate that the left indentation value and the right indentation value are not substantially equivalent.

10. The computer readable medium of claim 7 , wherein the another paragraph comprises a multi-line paragraph.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 9, 2014
From: MICROSOFT CORPORATION
To: MICROSOFT TECHNOLOGY LICENSING, LLC
Reel/Frame 034544/0541 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 2, 2013
From: SESUM, MILAN; LAZAREVIC, MILOS; RASKOVIC, MILOS; OBULJEN, ALJOSA; PANJEVIC, FILIP; PETROVIC TANKOVIC, VANJA
To: MICROSOFT CORPORATION
Reel/Frame 030339/0875 →
Continuity (1)
Related Publication 20140013215A1 · Jan 9, 2014