2.9.275 StshiLsd

The StshiLsd structure specifies latent style data for application-defined styles. Application-defined styles are considered to be latent if they have an LPStd that is 0x0000 in STSH.rglpstd or if they have no corresponding LPStd in STSH.rglpstd. (For example, if an application has a built-in definition for a "Heading 1" style but that style is not currently defined in a document stylesheet, that style is considered latent.) Latent style data specifies a default set of behavior properties to be used when latent styles are first created.

The index into mpstiilsd is the sti value (in the StdfBase structure) of the application-defined style to which it applies. An LSD structure MUST be provided for every application-defined style with sti values from 0 to one less than stiMaxWhenSaved (in the Stshif structure), regardless of whether those application-defined styles are currently latent or not.


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

cbLSD

mpstiilsd (variable)

...

cbLSD (2 bytes): An unsigned 16-bit integer that specifies the size in bytes of the LSD structure. This value MUST be 4.

mpstiilsd (variable): An array of LSD structures that specifies the latent style data for application-defined styles. The count of elements MUST be equal to the stiMaxWhenSaved member of the Stshif structure.