Claims
- 1. A method of generating a layout for a computer user interface comprising:
receiving a plurality of elements to be placed in a layout, a width of each element being an integer multiple of a standard width; receiving a width of a layout shape in which the plurality of elements are to be placed; providing the layout shape with a layout style, the layout style being selected using the layout shape width and the standard width; and automatically generating the layout by placing the plurality of elements in the layout style.
- 2. The method of claim 1, wherein placing the plurality of elements comprises placing elements successively on a first row of the layout style as long as they fit, thereafter placing elements on a second row of the layout style below the first row, and so continuing until the plurality of elements has been placed in the layout style.
- 3. The method of claim 1, further comprising selecting the standard width such that a computer display device can show a predetermined number of columns of the standard width.
- 4. The method of claim 1, wherein an element comprises more than one function.
- 5. The method of claim 1, wherein the plurality of elements includes at least two wide elements, each wide element being wider than half the layout shape width, further comprising vertically aligning the at least two wide elements in the layout.
- 6. The method of claim 5, wherein vertically aligning the at least two wide elements comprises vertically aligning one wide element with a wide element above it in the layout.
- 7. The method of claim 1, wherein at least one element is taller than the other elements, comprising placing the taller element at an edge of a row in the layout style.
- 8. The method of claim 1, further comprising determining if at least a group of the received elements are located in a group box and determining a width of such a group box by identifying a widest element within the group box.
- 9. The method of claim 8, comprising selecting a layout style providing a spacing between side-by-side elements if there are at least two narrow group boxes, each narrow group box being no wider than half the layout shape width.
- 10. The method of claim 9, wherein a wide group box follows a narrow group box in the plurality of elements, the wide group box being wider than half the layout shape width, further comprising placing the wide group box at an end of the layout.
- 11. The method of claim 9, wherein the layout style providing a spacing is selected, and wherein the plurality of elements includes a plurality of group boxes, further comprising placing the plurality of group boxes column-wise in the layout style, and dividing the plurality of group boxes into two columns.
- 12. The method of claim 11, further comprising rearranging elements to reduce a height difference between the two columns.
- 13. The method of claim 9, further comprising placing a group box across the spacing.
- 14. The method of claim 13, wherein an element of said group box is placed across the spacing.
- 15. The method of claim 8, comprising selecting a layout style not providing a spacing between side-by-side elements if there is less than two narrow group boxes, each narrow group box being no wider than half the layout shape width.
- 16. The method of claim 15, wherein the layout style not providing a spacing between side-by-side elements is selected, further comprising placing group boxes column-wise in the layout style.
- 17. A system for automatic layout generation comprising:
a plurality of elements to be placed in a layout shape, a width of each element being an integer multiple of a standard width; layout styles in which elements can be placed; and a layout generating module selecting a layout style for the plurality of elements using a width of the layout shape and the standard width, the module generating a layout by placing the elements in the selected layout style.
- 18. The system of claim 17, wherein the layout generating module determines if at least a group of the received elements are located in a group box and determines a width of such a group box by identifying a widest element within the group box.
- 19. The system of claim 18, wherein the layout generating module selects a layout style providing a spacing between side-by-side group boxes if there are at least two group boxes being no wider than half the layout shape width.
- 20. The system of claim 18, wherein the plurality of elements includes a narrow group box in sequence before a wide group box, the wide group box being wider than half the layout shape width and the narrow group box being no wider than half the layout shape width, comprising placing the wide box at an end of the layout.
- 21. Computer readable medium having stored thereon instructions for causing a digital data processing system to perform operations comprising:
receive a plurality of elements to be placed in a layout, a width of each element being an integer multiple of a standard width; receive a width of a layout shape in which the plurality of elements are to be placed; provide the layout shape with a layout style, the layout style being selected using the layout shape width and the standard width; and automatically generate the layout by placing the plurality of elements in the layout style.
- 22. The medium of claim 21, further comprising determining if at least a group of the received elements are located in a group box and determining a width of such a group box by identifying a widest element within the group box.
- 23. The medium of claim 22, comprising selecting a layout style providing a spacing between side-by-side group boxes if there are at least two group boxes being no wider than half the layout shape width.
- 24. The method of claim 22, wherein the plurality of elements includes a narrow group box in sequence before a wide group box, the wide group box being wider than half the layout shape width and the narrow group box being no wider than half the layout shape width, comprising placing the wide box at an end of the layout.
Parent Case Info
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims benefit from U.S. Provisional Application No. 60/386,106, filed Jun. 4, 2002 and entitled “Methods and Apparatus for Automatic Form Generation,” which is incorporated by reference in its entirety.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60386106 |
Jun 2002 |
US |