2.2.2 Drawing Page

A drawing page is a collection of shapes that are viewed together.

The graphical information necessary to render a drawing page is specified by the ShapeGraphic XML Part. Additional information about shapes in the drawing page and about the properties of the drawing page itself is specified by a ShapeInfo XML Part.

A drawing page is uniquely identified by ID and Name attributes in a CT_PageMetaData element in the App XML Part. The following elements in other parts of the document have attributes that are equal to ID or Name and specify supplementary information about the drawing page:

  • A CT_Page element in the ShapeInfo XML Part has a Name attribute that is equal to the Name attribute of CT_PageMetaData and specifies information about the shapes in the drawing page and the default view for the drawing page.

  • A CT_PageInfo element in the ShapeInfo XML Part has a Name attribute that is equal to the Name attribute of CT_PageMetaData.

  • A CT_DataRecordset element in the DataConnection XML Part has a Pages attribute that specifies a comma-separated list of indices of drawing pages. The index of each drawing page in this list is equal to the ID attribute of one of the PageMetaData child elements of CT_PagesMetaData in the ShapeInfo XML Part. A CT_DataRecordset element specifies a recordset linked to shapes in these drawing pages.

  • A CT_DataGraphics_Page element in the DataGraphic XML Part has a PageName attribute that is equal to the Name attribute of CT_PageMetaData and specifies information used to update the data graphics in the drawing page.

A drawing page has display characteristics such as zoom level and offset position of the point on the drawing page that is centered in the view are specified by the attributes of the CT_Page element in the ShapeInfo XML Part.

A drawing page can contain text, which can depend on various fonts. Each font used in rendering text in a drawing page is specified by a Fonts part and is referenced as specified in Fonts.

A drawing page can contain embedded images. Each image used in a drawing page is specified by an Images part and is referenced as specified in Images.