Custom File Properties Part
Content Type: |
application/vnd.openxmlformats-officedocument.custom-properties+xml |
Root Namespace: |
http://schemas.openxmlformats.org/officeDocument/2006/custom-properties |
Source Relationship: |
http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties |
An instance of this part contains the names of custom file properties that apply to the package, their values, and the types of those values. A custom file property might be the name of the client for whom the document was prepared, a date/time on which some event happened, a document number, or some Boolean status flag.
A package shall contain at most one Custom File Properties part, and that part shall be the target of a relationship in the package-relationship item for the document.
<Relationships xmlns="…"> <Relationship Id="rId4" Type="http://…/custom-properties" Target="docProps/custom.xml"/> </Relationships>
The root element for a part of this content type shall be< Properties>
.
<Properties … xmlns:vt="…"> <property fmtid="{D5C…9AE}" pid="2" name="Client"> <vt:lpwstr>ACME Corp.</vt:lpwstr> </property> <property fmtid="{D5C…9AE}" pid="3" name="Document number"> <vt:i4>1543</vt:i4> </property> <property fmtid="{D5C…9AE}" pid="4" name="Recorded date"> <vt:filetime>2005-12-01T05:00:00Z</vt:filetime> </property> <property fmtid="{D5C…9AE}" pid="5" name="Special processing needed"> <vt:bool>false</vt:bool> </property> </Properties>
A Custom File Properties part shall be located within the package containing the source relationship (expressed syntactically, the @TargetMode
attribute of the <Relationship>
element shall be Internal
).
A Custom File Properties part shall not have implicit or explicit relationships to other parts defined by this Standard.