3.6.2.1 ST_Persistence (Control Persistence Attribute Contents)

This simple type specifies the persistence method to persist an ActiveX control.

This simple type's contents are a restriction of the ST_String datatype (§3.6.2.2, ST_String).

The following are possible enumeration values for this type:

Enumeration Value

Description

persistPropertyBag (Control uses IPersistPropertyBag)

Specifies that the data is stored using the IPersistPropertyBag interface.

If this value is used, then a child ocxPr element shall appear within the parent element.

persistStorage (Control uses IPersistStorage)

Specifies that the data is stored using the IPersistStorage interface.

If this value is used, then the parent element's id attribute shall reference a relationship storing the necessary binary data.

persistStream (Control uses IPersistStream)

Specifies that the data is stored using the IPersistStream interface.

If this value is used, then the parent element's id attribute shall reference a relationship storing the necessary binary data.

persistStreamInit (Control uses IPersistStreamInit)

Specifies that the data is stored using the IPersistStreamInit interface.

If this value is used, then the parent element's id attribute shall reference a relationship storing the necessary binary data.

Referenced By

font@persistence3.6.1.1, font); ocx@persistence3.6.1.2, ocx)

The following XML Schema fragment defines the contents of this simple type:

 <simpleType name="ST_Persistence">
   <restriction base="ST_String">
     <enumeration value="persistPropertyBag"/>
     <enumeration value="persistStream"/>
     <enumeration value="persistStreamInit"/>
     <enumeration value="persistStorage"/>
   </restriction>
 </simpleType>
Show: