Patent ID: 8793570

Claim:
A method for justifying a plurality of text entries in a content area, the content area of predetermined content area width and determined maximum height, the content area having a text area of having a known available text width, the text area having a first text area portion for receiving text entries of a first horizontal alignment type and a second text area portion for receiving text entries of a second horizontal alignment type, the first text area and the second text area arranged horizontally with respect to one another in the text area, the first text area portion characterized by a first text area portion width corresponding to a first maximum justified text width and the second text area portion characterized by a second text area portion width corresponding to a second maximum justified text width, the method comprising: receiving a plurality of text entries, the plurality of text entries comprising at least one text entry being of a first horizontal alignment type and at least one text entry being of a second horizontal alignment type; inserting the received text entries of the first horizontal alignment type into the first text area portion of the text area; justifying the inserted text entries of the first horizontal alignment type within the first text area according to the first horizontal alignment type; inserting the received text entries of the second horizontal alignment type into the second text area portion of the text area; justifying the inserted text entries of the second horizontal alignment type within the second text area according to the second horizontal alignment type; iteratively identifying the line of text in the first text area portion having the longest length text string, determining whether the width of the longest length text string exceeds the first maximum justified text width, wrapping the identified line of text in the first text area portion onto one or more succeeding lines in the first text area, and repeating until the width of the longest length text string in the first text area does not exceed the first maximum justified text width; and iteratively identifying the line of text in the second text area portion having the longest length text string, determining whether the width of the longest length text string exceeds the second maximum justified text width, wrapping the identified line of text in the second text area portion onto one or more succeeding lines in the second text area, and repeating until the width of the longest length text string in the second text area does not exceed the second maximum justified text width.