Selections of shapes are saved as top-level file blocks; they are never placed in a container. (Note: As of Office 97, only Excel saves shape selections; Word and PowerPoint do not.) The selection record consists of an FDGSL followed by the SPIDs of the shapes in the selection.
// FDGSL - File Drawing Selection typedef struct _FDGSL { ULONG cpsp; // number of shapes in the selection ULONG dgslk; // kind of selection (an MSODGSLK) MSOSPID spidFocus; // SPID of the focus shape } FDGSL; // DGSLK = DrawinG SeLection Kind. typedef enum { msodgslkNormal, // Normal Selection Mode. msodgslkRotate, // Rotate selection mode msodgslkReshape, // Reshape Selection Mode. msodgslkUnused, msodgslkWrapPolygon, // Display and edit of wrap polygons. msodgslkTextEdit // Text Edit Mode. } MSODGSLK;