21.1.2.1 Body Formatting

Being the highest level of formatting available within a shape, the body properties allow for the manipulation of

the text area as a whole. This means that all paragraphs and runs of text for the shape in question would be

encompassed within here and, therefore, follow the text body style defined here.

[Example: Consider a shape that has three paragraphs within it, each with a different sized text. If this shape is

resized to be smaller, then the text no longer fits the same way within the shape. Thus, we see that to maintain

visual quality the size must be changed.

Rather than try to change each of the paragraphs to a smaller font size to fit in the shape, just use a body-level

format property such as the normAutofit. This applies to all text within the shape and scale the text by a certain

percentage in order to fit within the shape.

<p:txBody>
  <a:bodyPr>
    <a:normAutofit fontScale="20.000%" lnSpcReduction="20.000%"/>
  </a:bodyPr>
  <a:p>
  </a:p>
  <a:p>
  </a:p>
  <a:p>
  </a:p>
</p:txBody>

end example]

Subsections

Last updated on