Style information
Styles are defined within each layout data document
in a series of styleGroup
elements. Each styleGroup
element
represents one style used in the document and has a name
element
to specify a name. This name is referenced in a layout element using
the style
child element.
For example, the following cell,
<cell>
<ref>R9</ref>
<style>S9</style>
<item>
<txt>
<ref>R8</ref>
<ctx>12:11</ctx>
<style>S8</style>
<val>Lanterns</val>
<valTyp>text</valTyp>
<fmtVal>Lanterns</fmtVal>
</txt>
</item>
</cell>
references the following style:
<styleGroup>
<name>S9</name>
<font>
<family>Tahoma</family>
<size>
<val>8.000000</val>
<units>PT</units>
</size>
</font>
<textStyle>
<strictLineBreaking>true</strictLineBreaking>
</textStyle>
<boxStyle>
...
</boxStyle>
<fgColor>
<Red>0</Red>
<Green>0</Green>
<Blue>0</Blue>
</fgColor>
<vAlign>TOP</vAlign>
</styleGroup>