2.4.326 Theme

The Theme record specifies the theme in use in the document.


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

frtHeader

...

...

dwThemeVersion

rgb (variable)

...

frtHeader (12 bytes): An FrtHeader structure. The value of the frtHeader.rt field MUST be 2198.

dwThemeVersion (4 bytes): An unsigned integer that specifies the theme type. SHOULD be a value from the following table<137>:

Value

Meaning

0

Custom theme

124226

Default theme

rgb (variable): An optional byte stream that specifies the theme contents (as defined in [ECMA-376] Part 1, Section 14.2.7). MUST exist if dwThemeVersion equals 0.