The reflection tag shown here contains the formatting for the reflection applied to the rectangle above. Notice that the tag, which refers to a formatting effect available for graphics in multiple programs, uses the prefix a: (for Office art).
When you see unfamiliar tags in a document part, remember that the basic structure of all document parts has much in common; for example, the nesting of paired tags and tag prefixes, such as w: or cp: that identify the document type or the content type. Tag names also typically use intuitive abbreviations for the feature they represent, such as pgSz for page size or sectPr for section properties.
When you encounter an unfamiliar tag or attribute reference in a document part, keep in mind that most of the XML references translate to features you already know from using the Office programs.
For example, there are several options for the height of a reflection on a shape in PowerPoint or Excel (such as for the rectangle shown here). You cannot customize the reflection height from within the Office 2007 programs. But you can customize a reflection in a document part.
- A reflection tag contains attributes for blur radius, start and end Alpha (that is, percent opacity — the opposite of percent transparency), end position (percent of the shape shown in the reflection), and others that are not displayed here.
- To change the height of the reflection, change the endPos (end position) value. Notice that some Office Art attributes, such as this one, are displayed as one hundred thousand times the value (55 percent of the shape appears in this reflection).