<property> (Custom File Property)

This element specifies a single custom file property. Custom file property type is defined through child elements in the File Properties Variant Type namespace. Custom file property value can be set by setting the appropriate Variant Type child element value.

Parent Elements

<Properties>7.3.2.1)

Child Elements

Subclause

<array> (Array)

§7.4.2.1

<blob> (Binary Blob)

§7.4.2.2

<bool> (Boolean)

§7.4.2.3

<bstr> (Basic String)

§7.4.2.4

<cf> (Clipboard Data)

§7.4.2.5

<clsid> (Class ID)

§7.4.2.6

<cy> (Currency)

§7.4.2.7

<date> (Date and Time)

§7.4.2.8

<decimal> (Decimal)

§7.4.2.9

<empty> (Empty)

§7.4.2.10

<error> (Error Status Code)

§7.4.2.11

<filetime> (File Time)

§7.4.2.12

<i1> (1-Byte Signed Integer)

§7.4.2.13

<i2> (2-Byte Signed Integer)

§7.4.2.14

<i4> (4-Byte Signed Integer)

§7.4.2.15

<i8> (8-Byte Signed Integer)

§7.4.2.16

<int> (Integer)

§7.4.2.17

<lpstr> (LPSTR)

§7.4.2.18

<lpwstr> (LPWSTR)

§7.4.2.19

<null> (Null)

§7.4.2.20

<oblob> (Binary Blob Object)

§7.4.2.21

<ostorage> (Binary Storage Object)

§7.4.2.22

<ostream> (Binary Stream Object)

§7.4.2.23

<r4> (4-Byte Real Number)

§7.4.2.24

<r8> (8-Byte Real Number)

§7.4.2.25

<storage> (Binary Storage)

§7.4.2.26

<stream> (Binary Stream)

§7.4.2.27

<ui1> (1-Byte Unsigned Integer)

§7.4.2.28

<ui2> (2-Byte Unsigned Integer)

§7.4.2.29

<ui4> (4-Byte Unsigned Integer)

§7.4.2.30

<ui8> (8-Byte Unsigned Integer)

§7.4.2.31

<uint> (Unsigned Integer)

§7.4.2.32

<vector> (Vector)

§7.4.2.34

<vstream> (Binary Versioned Stream)

§7.4.2.35

Attributes

Description

<fmtid> (Format ID)

Uniquely relates a custom property with an OLE property.

The value of this attribute is a Globally Unique Identifier in the form of {HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHH} where each H is a hexidecimal.

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

<linkTarget> (Bookmark Link Target)

Specifies the name of a bookmark in the current document (for WordprocessingML), or a table or named cell (for SpreadsheetML) from which the value of this custom document property should be extracted.

If this attribute is present, then any value under this element shall be considered a cache and replaced with the value of this bookmark (if present) on save. If the bookmark is not present, then this link shall be considered broken and the cached value shall be retained.

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

<name> (Custom File Property Name)

Specifies the name of this custom file property.

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

<pid> (Property ID)

Uniquely relates a custom property with an OLE property.

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

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

<complexType name="CT_Property">
	<choice minOccurs="1" maxOccurs="1">
	<element ref="vt:vector"/>
	<element ref="vt:array"/>
	<element ref="vt:blob"/>
	<element ref="vt:oblob"/>
	<element ref="vt:empty"/>
	<element ref="vt:null"/>
	<element ref="vt:i1"/>
	<element ref="vt:i2"/>
	<element ref="vt:i4"/>
	<element ref="vt:i8"/>
	<element ref="vt:int"/>
	<element ref="vt:ui1"/>
	<element ref="vt:ui2"/>
	<element ref="vt:ui4"/>
	<element ref="vt:ui8"/>
	<element ref="vt:uint"/>
	<element ref="vt:r4"/>
	<element ref="vt:r8"/>
	<element ref="vt:decimal"/>
	<element ref="vt:lpstr"/>
	<element ref="vt:lpwstr"/>
	<element ref="vt:bstr"/>
	<element ref="vt:date"/>
	<element ref="vt:filetime"/>
	<element ref="vt:bool"/>
	<element ref="vt:cy"/>
	<element ref="vt:error"/>
	<element ref="vt:stream"/>
	<element ref="vt:ostream"/>
	<element ref="vt:storage"/>
	<element ref="vt:ostorage"/>
	<element ref="vt:vstream"/>
	<element ref="vt:clsid"/>
	<element ref="vt:cf"/>
	</choice>
	<attribute name="fmtid" use="required" type="vt:ST_Clsid"/>
	<attribute name="pid" use="required" type="xsd:int"/>
	<attribute name="name" use="optional" type="xsd:string"/>
	<attribute name="linkTarget" use="optional" type="xsd:string"/>
</complexType>