[Table of Contents] [docx version]

SpreadsheetML Reference Material - Table of Contents

customPr (Custom Property)

The custom property element provides a mechanism to store name/value pairs of arbitrary user-defined data. The name is stored in the attribute name, the arbitrary data is stored in the binary part referenced by the relationshipId.

[Note: There is nothing in the binary part except the arbitrary data itself.

Custom XML Data Properties provide a preferred mechanism for storing arbitrary data. The customPr supports legacy third-party document components, as well as those situations that have a stringent need for binary parts. end note]

Parent Elements

customProperties3.3.1.21)

 

Attributes

Description

id (Relationship Id)

 

Namespace: .../officeDocument/2006/relationships

This relationship references the binary part containing the specified custom properties.

 

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

name (Custom Property Name)

Name of the custom property

 

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

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_CustomProperty">

   <attribute name="name" type="ST_Xstring" use="required"/>

   <attribute ref="r:id" use="required"/>

</complexType>