2.2.10.6 FormSiteData

The depth, specified in section 2.2.10.7, SITE_TYPE and properties of each embedded control in the FormControl that contains this FormSiteData.


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

CountOfSiteClassInfo (optional)

ClassTable (variable)

...

CountOfSites

CountOfBytes

SiteDepthsAndTypes (variable)

...

ArrayPadding (variable)

...

Sites (variable)

...

CountOfSiteClassInfo (2 bytes): An unsigned integer that specifies the number of elements in ClassTable. This field MUST NOT be stored if the value of DataBlock.BooleanProperties.FORM_FLAG_DONTSAVECLASSTABLE in the FormControl that contains this FormSiteData is set to 1.

ClassTable (variable): An array of SiteClassInfo structures. Specifies class information of controls that are not one of the types specified by FormEmbeddedActiveXControlCached. If CountOfSiteClassInfo is set to zero or not stored, this field MUST NOT be stored.

CountOfSites (4 bytes): An unsigned integer that specifies the number of elements in Sites.

CountOfBytes (4 bytes): An unsigned integer that specifies the sum of the sizes, in bytes, of SiteDepthsAndTypes, ArrayPadding, and Sites.

SiteDepthsAndTypes (variable): An array of FormObjectDepthTypeCount. Specifies the depth as specified in section 2.2.10.7 and SITE_TYPE of each control in Sites. The order of this array MUST be the same as the order of Sites, but one element in this array can specify more than one consecutive element in Sites. If the fCount of an element in this array is set to 1, TypeOrCount specifies the number of consecutive elements in Sites represented by that element in this array. The sum of the number of elements in this array in which fCount is set to zero and the TypeOrCount of each element in this array in which fCount is set to 1 MUST equal CountOfSites.

ArrayPadding (variable): Undefined and MUST be ignored. The size of this field is the least number of bytes that, when added to the size, in bytes, of SiteDepthsAndTypes, produces a sum divisible by 4.

Sites (variable): An array of OleSiteConcreteControl. Specifies properties of each embedded control in the FormControl that contains this FormSiteData.