Partager via


ShapeIdMap Class

Shape ID Map.When the object is serialized out as xml, its qualified name is o:idmap.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlLeafElement
      DocumentFormat.OpenXml.Vml.Office.ShapeIdMap

Namespace:  DocumentFormat.OpenXml.Vml.Office
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
Public Class ShapeIdMap _
    Inherits OpenXmlLeafElement
'Usage
Dim instance As ShapeIdMap
public class ShapeIdMap : OpenXmlLeafElement

Remarks

[ISO/IEC 29500-1 1st Edition]

14.2.2.14 idmap (Shape ID Map)

This element specifies how shape IDs in the document have been generated. This is an optional element included to allow applications a mechanism for storing information they need to persist related to generating shape IDs.

Parent Elements

shapelayout (§14.2.2.29)

Attributes

Description

data (Shape IDs)

Specifies the data the application uses to generate shape IDs.

[Example: An application might choose to reserve blocks of shape ID numbers for each part in the package. Each block of 1024 shape IDs could be referred to by index and this index stored in the data attribute. The data value for a given part might then be:

<o:idmap v:ext="edit" data="1"/>

indicating that all the IDs in block 1 are reserved by this part ( meaning shape IDs from 1 to 1024 cannot be used ). The application's internal constraint would be that each part reserve a different set of IDs. Another part, that contains more shapes, might use:

<o:idmap v:ext="edit" data="2,3"/>

In this case, shape IDs from 1025 to 3072 [ 3 x 1024 ] cannot be used ).

Another implementation might choose to store more verbose information in this attribute. Yet another implementation might ignore this element completely.

end example]

The possible values for this attribute are defined by the W3C XML Schema string datatype.

ext (VML Extension Handling Behavior)

Namespace: urn:schemas-microsoft-com:vml

Specifies an optional value that indicates how applications that implement VML should interpret extensions not defined as part of the original specification of core VML.

[Rationale: This part of the original VML specification is included to assist applications that leverage existing VML support in implementing the Office Open XML Format. end rationale]

The possible values for this attribute are defined by the ST_Ext simple type (§14.1.3.2).

[Note: The W3C XML Schema definition of this element’s content model (CT_IdMap) is located in §A.6.2. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ShapeIdMap Members

DocumentFormat.OpenXml.Vml.Office Namespace