Export (0) Print
Expand All
Expand Minimize

2.1.1365 Part 4 Section 5.1.10, Shape Fills, Effects, and Line Properties

a. The standard supplies no default values for the optional attributes.

In Office, default values for attributes in this section can come from any of three sources.

In general, when an optional attribute is not specified, it will incorporate the corresponding attribute value from one of the following sources if available. Not all of these levels will be used in every scenario.

Style link

Master shape (PresentationML only)

DrawingML hard coded default

This inheritance is done in multiple passes. Each level will fill in gaps not specified by previous levels.

The following elements are subjected to resolution. Unless otherwise noted, at any level, the absence of an element type in the target indicates the element is to come from the inheritance chain. For example, if the target property set has no fill element, it will inherit all the fill properties in the next level of inheritance that has fill properties. When the elements are merged, all unspecified attributes and children of the element, will come from the first inheritance source with one specified.

Where attributes and elements are merged, the values in parentheses are used as the base defaults:

Fill (noFill)1

1.1. noFill

1.2. solidFill (color = schemeColor (bg1))

1.3. gradFill (gsList(black, white), shade(lin), flip = none, rotWithShape = true )

1.3.1. gsList2

1.3.2. tileRect3

1.3.3. Shade (lin)1

1.3.3.1. lin (ang=0, scaled=false )

1.3.3.2. path (path=shape)

1.3.3.2.1. fillToRect (l,r,t,b=50% )

1.4. blipFill (dpi=0, rotWithShape=true)

1.4.1. blip (compression=none)

1.4.2. srcRect1

1.4.3. fillMode (tile)1

1.4.3.1. tile (algn=tl, flip=none, sx=100%, sy=100%, tx=0, ty=0)

1.4.3.2. stretch

1.4.3.2.1. fillRect3

1.5. pattFill (prst=pct5)

1.5.1. bgClr(white)

1.5.2. fgClr(black)

ln (w=.75pt, cap=flat, cmpd=sng, algn=ctr)

2.1. fill(same as 1 )1

2.2. dash (prstDash(solid))

2.2.1. custDash2

2.3. join (round)

2.3.1. miter(lim=800%)

2.4. headEnd (type=none, w=med, len=med)

2.5. tailEnd (type=none, w=med, len=med)

effect2

shape3D2

scene3D2

1Merging only occurs if elements are of the same type, or if element does not exist in the target property set.

2Merging only occurs as a whole. If the element does not exist, the secondary default is used in its entirety. Even a valid empty element will block the inheritance. For example, an empty effect list will not be merged with an inherited effect list.

3Simple type has schema defaults

Show:
© 2014 Microsoft