Lean Formatter Authoring Tool
Publication Date: 2013-Jan-30
The IP.com Prior Art Database
The invention proposes an algorithm that automatically redoes the layout of the selected content such that it fits into the space provided by the user with minimal impact on readability. 1. User creates a document, and, say, the document spans 5 pages and 7 lines. Due to only 7 lines on the sixth page, the last page of the document does not look good and therefore the user uses this invention so that the entire content can be fit in exactly 5 pages. 2. User is viewing a document, and, say, some section (algorithm snippet) is too small written for him to read. He can select the section, and drag the bounding box to fit the content in the space he is comfortable with. 3. User selects a portion of some content and wants to zoom it in (or out) in exactly the space he wants it to.
Page 01 of 3
Lean Formatter Authoring Tool.
Naveen Goel Sachin Soni
The invention proposes an algorithm that automatically redoes the layout of the selected content such that it fits into the space provided by the user with minimal impact on readability.
Background (including Prior Art/Solutions)
Consider a scenario where a user creates a document and say the document spans 5 pages and 7 lines. Due to only 7 lines on the sixth page, the last page of the document does not look good and therefore the user tries to modify various things in the document so that the entire content can be fit across 5 pages. This is a very common real world issue that we all face every day and the only solution is to hit and try.
So, the problem is to convert N.x pages (N pages + few lines) worth content into exactly N pages. A more generic version could be to convert N.x pages worth content into exactly M pages (where M could be less than N or more than N, as per user's need). An even more generic version is when user wants to fit the entire document contents in the exact space (bounding box) as specified by him. Or in some cases, user may want to zoom-in (or zoom-out) a selected portion of content into exactly the target area as specified by him. In all such cases, the goal is not to lose any content and to have minimal (or no) impact on aesthetics or readability of the content.
Page 02 of 3
Following are the steps of the proposed algorithm:
(1) Parse the document and identify the parameters and operations (e.g., font replacement, font size reduction, white spaces removal, line spacing reduction, para spacing reduction, margins reduction, header/footer removal, scaling down other objects (images, shapes, tables, diagrams, etc.), etc.)
(2) Assign a weight to various lean operations based on the user input (how many pages or area he wants in the final output to fit in) and the compromise they make on the readability or aesthetics of the document. And then apply the appropriate operations in a recursive manner to get the user desired output with minimal impact on readability. The following steps would be used:
i.Required Saving = N.x - M
// where N.x is current space taken, M is the tar...