Chapter 9: Styles and Style Sets | 121
d
To define a fill style, set the fill attributes in the Object
styles docker.
In CorelDRAW, styles can contain other styles.
A style that contains another style is called a
parent; a style that is contained within another
style is called a child. Properties are
automatically inherited from the parent;
however, you can override inherited properties
for a child and set its own specific properties.
When you modify the parent style, the child
style is updated automatically. If you set child-
specific attributes, the attributes are no longer
related to the parent, so if you modify the
parent, the child-specific attributes will not be
modified. The parent-child relationship applies
to style sets as well.
You can use child and parent styles in
documents where you want objects to share
some, but not all, attributes, and you need to
make global changes on a regular basis. For
example, if you are working on a long
document, and you want to have headings
and subheadings with similar formatting, you
can create a parent character style for the
headings and a child character style for the
subheadings. The parent and the child styles
can share the same color and font type but
differ in size. If you choose a different color or
font type for the parent, both the headings
and the subheadings will be updated
automatically. The subheadings, however, will
still appear smaller than the headings.
To create a child style or style set, select the
parent style or style set in the Object
styles docker, and click the New child
style button or the New child style
set button.
Style sets “subheading 1 and “subheading 2” are
created as child style sets from the parent “Corp report
heading” style set.
Applying styles and style sets
When you apply a style or a style set to an
object, the object takes on only those
attributes that are defined in the style or style
set. For example, if you apply an outline style,
the object outline changes while its other
attributes stay the same.
To apply a style or style set to an object,
select the object by using the Pick tool,
and double-click the style or style set in the
Object styles docker.