12.3.5 Custom Property Part

12.3.5 Custom Property Part

Content Type:

Any content, support for which is application-defined.

[Note: Some examples of formats which might be supported include: - application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty - application/xml end note]

Root Namespace:

Not applicable

Source Relationship:

http://purl.oclc.org/ooxml/officeDocument/relationships/customProperty

This part supports the storage of user-defined data.

[Note: It is recommended that a Custom Property Part contain XML content for improved interoperability; however, there is no requirement on the format of the content contained in a Custom Property Part. end note]

A package is permitted to contain zero or more Custom Property parts, and each such part shall be the target of an implicit relationship from the Worksheet (12.3.24) part.

[Example: The following Worksheet part-relationship item contains a relationship to the Custom Property part, which is stored in the ZIP item CustomProperty.xml:

<Relationships xmlns="…">
  <Relationship Id="rId7"
    Type="http://…/customProperty" Target="CustomProperty.xml"/>
</Relationships>

where the contents of CustomProperty.xml contain the following XML

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<CustomApplicationData xmlns="…">
  <CustomProperty name="PropertyName" value="PropertyValue" />
</CustomApplicationData>

end example]

A Custom Property part shall be located within the package containing the relationships part (expressed syntactically, the TargetMode attribute of the Relationship element shall be Internal).

A Custom Property part shall not have implicit or explicit relationships to any part defined by ISO/IEC 29500.

Last updated on