BALANCING MULTIPLE COLUMN LAYOUT
First Claim
1. A method for managing a plurality of columns in a document, comprising:
- obtaining a text stream from the document;
obtaining a current fill limit associated with an initial column of the plurality of columns;
placing, using a layout engine, the text stream within the plurality of columns according to the current fill limit;
identifying, after placing the text stream, a first fill level of a final column of the plurality of columns;
calculating a first difference between the current fill limit and the first fill level of the final column;
calculating, in response to the first difference exceeding a tolerance, a revised fill limit based on the current fill limit; and
placing, using the layout engine, the text stream within the plurality of columns according to the revised fill limit.
2 Assignments
0 Petitions
Accused Products
Abstract
A method for managing multiple columns in a document. The method includes obtaining a text stream from the document; obtaining a current fill limit associated with an initial column of the multiple columns; placing, using a layout engine, the text stream within the multiple columns according to the current fill limit; identifying, after placing the text stream, a first fill level of a final column of the multiple columns; calculating a first difference between the current fill limit and the first fill level of the final column; calculating, in response to the first difference exceeding a tolerance, a revised fill limit based on the current fill limit; placing, using the layout engine, the text stream within the multiple columns according to the revised fill limit.
12 Citations
20 Claims
-
1. A method for managing a plurality of columns in a document, comprising:
-
obtaining a text stream from the document; obtaining a current fill limit associated with an initial column of the plurality of columns; placing, using a layout engine, the text stream within the plurality of columns according to the current fill limit; identifying, after placing the text stream, a first fill level of a final column of the plurality of columns; calculating a first difference between the current fill limit and the first fill level of the final column; calculating, in response to the first difference exceeding a tolerance, a revised fill limit based on the current fill limit; and placing, using the layout engine, the text stream within the plurality of columns according to the revised fill limit. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for managing a plurality of columns in a document, comprising:
-
obtaining a text stream from the document; identifying a total area of the plurality of columns; calculating an area covered by the text stream by placing, using a layout engine, the text stream within the plurality of columns; calculating a ratio by dividing the area covered with the total area; calculating a line limit based on a product of the ratio and a number of lines per column; and placing, using the layout engine, a first portion of the text stream in the initial column until the line limit is reached and a second portion of the text stream in the final column.
-
-
11. A system for managing a plurality of columns in a document, comprising:
-
a conversion module configured to generate an intermediate format of a document comprising a text stream and the plurality of columns; a layout engine configured to consume the intermediate format and place the text stream within the plurality of columns according to a current fill limit associated with an initial column of the plurality of columns; and a constraint calculation module (CCM) configured to; calculate a first difference between the current fill limit and a first fill level of the final column, wherein the first fill level results from placement of the text stream according to the current fill limit; and calculate, in response to the first difference exceeding a tolerance, a revised fill limit based on the current fill limit, wherein the layout engine is further configured to place the text stream within the plurality of columns according to the revised fill limit. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A non-transitory computer readable storage medium storing instructions for managing a plurality of columns in a document, the instructions comprising functionality to:
-
obtain a text stream from the document; obtain a current fill limit associated with an initial column of the plurality of columns; place, using a layout engine, the text stream within the plurality of columns according to the current fill limit; identify, after placing the text stream, a first fill level of a final column of the plurality of columns; calculate a first difference between the current fill limit and the first fill level of the final column; calculate, in response to the first difference exceeding a tolerance, a revised fill limit based on the current fill limit; and place, using the layout engine, the text stream within the plurality of columns according to the revised fill limit. - View Dependent Claims (18, 19, 20)
-
Specification