

For each of these document types, although the placement within the document varies by document type, the actual details of the shape itself are the same in most respects. Presentations put shapes inline with the other content for the slide, and they are contained within a or element. In short, spreadsheets put shapes within one of the three anchoring tags, and the entire drawingML object or shape is placed within a separate drawing part. Each of these shapes is inserted into its respective document type using the placement method as discussed at Placement within Spreadsheets and Placement within Presentations. Similarly, shapes within presentations are specified with a (shape) element as defined within the presentation specification at section 19 of the ECMA specification the shape element is within the xmlns:p="" namespace. Shapes within spreadsheets are specified with a (shape) element as defined within the spreadsheetML drawingML specification at section 20.5 of the ECMA specification the shape element is within the xmlns:xdr="" namespace. Shapes within wordprocessing documents are implemented differently from shapes within spreadsheets and presentations, and this is reflected in the ECMA specification. There is an important distinction to keep in mind, however, regarding shapes and document types. A shape can appear in each of the document types.
