Processing layout of text graphical objects
First Claim
1. A method of processing plural blocks of text to lay out the text comprising:
- defining a preferred width and compressibility of each block of text as a function of the amount of text in the block of text;
defining a stretchiness to each block of text distinct from the compressibility; and
processing the widths and compressibilities of the blocks of text to define an overall layout of the blocks of text.
5 Assignments
0 Petitions
Accused Products
Abstract
To process the layout of graphical objects, elastics data structures are established for the graphical objects to define minimum and preferred sizes, stretch properties and compression properties. Composite graphical objects include elastics properties computed from their components through add and max operations which are dependent on relative elasticities of the components. The positions of origins within graphical objects are defined by pairs of elastics in each of two dimensions. One application of elastics is with respect to text blocks where preferred width and compressibility of each text block is a function of the amount of text in the text block. The elastics and dimensions of graphical objects are processed in a three pass layout negotiation. In the first pass, preferred sizes and elasticities of the graphical objects are computed along a first dimension. In a second pass, size values of the graphical objects along the first dimension are computed from the preferred sizes and elasticities, and preferred sizes and elasticities of the graphical objects along a second dimension are computed based on the size values of the graphical objects along the first dimension. In a final pass, size values of the graphical objects along the second dimension are computed from the preferred sizes and elasticities.
82 Citations
21 Claims
-
1. A method of processing plural blocks of text to lay out the text comprising:
-
defining a preferred width and compressibility of each block of text as a function of the amount of text in the block of text;
defining a stretchiness to each block of text distinct from the compressibility; and
processing the widths and compressibilities of the blocks of text to define an overall layout of the blocks of text. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data structure in a data processing system defining a block of text comprising:
-
text data;
a preferred width of the text data;
a compressibility property for the width of the text data, the preferred width and the compressibility property of the block of text defined as a function of the amount of the text data in the block of text; and
a stretchiness property for the width of the text data which is distinct from the compressibility property. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A data processing system comprising:
-
means for defining a preferred width and compressibility of each of plural blocks of text as a function of the amount of text in each block of text; and
means for processing the widths and the compressibilities of blocks of text to define an overall layout of the blocks of text;
wherein a stretchiness is defined for each block of text distinct from compressibility. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification