2.4.4 BrtActiveX

The BrtActiveX record specifies an ActiveX control.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

shapeId

strRelID (variable)

...

strName (variable)

...

shapeId (4 bytes): An unsigned integer that corresponds to the spid attribute of a shape element in the VML Drawings (section 2.1.7.59) part as specified in [ISO/IEC29500-1:2016] section 18.2.29. This value MUST be greater than or equal to 0x00000001 and less than or equal to 0x03FFD7FF. The value of the ObjectType attribute of the ClientData child element (specified in [ISO/IEC29500-4:2016] section 19.4.2.12) of the shape element MUST be "Pict" as specified in [ISO/IEC29500-4:2016] section 19.4.3.2. The total number of unique identifiers specified by all shapeId fields in BrtActiveX records and shapeId fields in BrtOleObject (section 2.4.713) records in the worksheet (section 2.1.7.62) MUST NOT exceed 65535.

strRelID (variable): A RelID (section 2.5.115) that specifies a relationship that specifies an ActiveX (section 2.1.7.1) part containing control-specific properties and state information for the ActiveX control.

strName (variable): An XLWideString (section 2.5.169) that specifies a name for the ActiveX control. The length of this string MUST NOT exceed 32 characters. The name of the shape MUST correspond to the id attribute of a shape element in the VML Drawings (section 2.1.7.59) part as specified in [ISO/IEC29500-1:2016] section 19.1.2.19. This name MUST be unique among all shape names specified in the VML Drawings part of the worksheet (section 2.1.7.62).