<column> element
The <column> element contains the data for a single column within a section. There can be one or more columns per section.
Attributes
Attribute | Description |
width | The width of the column in pixels. |
height | The height of the column in pixels. |
left | The left offset of the column in pixels. |
top | The top offset of the column in pixels. |
styles | Contains a semicolon delimited list of name:value pair style information values. |
Styles
Style | Description |
iCol | Index of the column when multiple columns exist within the section. |
width | Width to use for the column, -255 indicates that it is autosized. |
space | Spacing to use between columns, -255 indicates default space. |
drawSeparator | Indicates whether a vertical line should be drawn between columns. |
Children
Node | Description |
<p> | A column can contain zero or more <p> elements. |
<float> | A column can contain zero or more <float> elements. |
Example
<page styles="..." left="0" top="0" width="816" height="1056">
<header styles="..." left="96" top="48" width="624" height="81">
<p styles="..." left="96" top="48" width="624" height="19" paragraphId="0">
<line left="96" top="48" width="624" height="19">
...
</line>
</p>
</header>
<section styles="...">
<column styles="iCol: 1; width: -255; spacing: 255;" left="96" top="144" width="624" height="635">
<p styles="..." left="76" top="160" width="663" height="24" paragraphId="6">
</p>
</column>
</section>
</page>