Claims
- 1. A method for constructing styles, comprising:
accessing a database storing predefined styles; receiving user input selecting one of the predefined styles; displaying attributes of the selected predefined style to the user; receiving input from the user modifying attributes of the predefined style; and storing the modified attributes as a new style.
- 2. The method of claim 1, further comprising, associating the new style with the selected predefined style.
- 3. The method of claim 1, further comprising, obtaining the modified attributes from the new style when applying the new style;
obtaining the remaining attributes from the predefined style based on the association; and storing the attributes in the design file.
- 4. The method of claim 1, wherein the attributes include at least one of as font type, width, height, slant, super script, subscript and color.
- 5. The method of claim 1, further comprising creating a hierarchy of styles based on inherited attributes of a style.
- 6. The method of claim 5, wherein the creating step comprises:
providing each style with a unique identifier; and storing the unique identifier for an associated parent style in the child style.
- 7. The method of claim 6, further comprising propagating changes made to an attribute of a parent style to its associated child styles.
- 8. The method of claim 5, further comprising propagating a change made to a style to all elements and child styles associated with that parent file.
- 9. The method of claim 1, wherein the hierarchy includes at least one parent level and at least child level below the parent level, the child level inheriting attributes from the parent level.
- 10. A computer useable information storage medium storing computer readable program code for causing a computer to perform the steps of:
providing a graphical user interface (GUI) for constructing styles; obtaining predefined styles including predefined attributes from a database; displaying the predefined styles via the GUI; receiving input from the GUI to create a new style; receiving input via the GUI selecting a parent style from the predefined styles; displaying the predefined attributes of the parent style via the GUI; receiving input via the GUI modifying the attributes; and storing the new style including the modified attributes.
- 11. A computer useable information storage medium of claim 10 further comprising computer readable program code for causing a computer to perform the step of creating an association between the new style and the parent style.
- 12. A computer useable information storage medium of claim 11 further comprising computer readable program code for causing a computer to perform the step of creating a hierarchy of styles based on the association.
- 13. A computer useable information storage medium of claim 11 further comprising computer readable program code for causing a computer to perform the step of retrieving attributes of styles based on the hierarchy.
- 14. A computer useable information storage medium of claim 11 further comprising computer readable program code for causing a computer to perform the step of storing a unique identifier in the child style for its respective parent style.
- 15. A computer useable information storage medium of claim 14 further comprising computer readable program code for causing a computer to perform the steps of:
identifying child styles storing the unique identifier of parent styles that have at least one of its attributes modified; and making the same modification made to the parent style to the attributes of the identified child styles.
- 16. A computer useable information storage medium of claim 14 further comprising computer readable program code for causing a computer to perform the steps of:
identifying elements using a style, which style has had at least one of its attributes modified; and propagating the modified attributes to the identified elements.
CROSS-REFERENCE TO RELATED APPLICATION
[0001] The present application is related to U.S. patent application Ser. No. ______, Confirmation No. ______, (Attorney Docket No. 36488-169851) filed Oct. 21, 2002 entitled “System, Method and Computer Program Product for Managing CAD Data,” to Malkan et al., of common assignee to the present invention, the contents of which are incorporated herein by reference in their entirety.