Tag Definition: lineStyle
Generated by rlextra version 4.3.0a1
Attributes
Name |
Required? |
Default_Value |
Values |
cap |
implied |
None |
['butt', 'round', 'square'] |
colorName |
required |
None |
|
count |
implied |
None |
|
dash |
implied |
None |
|
kind |
required |
None |
|
space |
implied |
None |
|
start |
implied |
None |
|
stop |
implied |
None |
|
thickness |
implied |
None |
|
Can contain |
Purpose
This allows you to use lines to border your table. It's one of the more versatile styles just as it has so much variety.
It has two required attributes: kind (with the options of GRID, BOX, OUTLINE, INNERGRID, LINEBELOW, LINEABOVE, LINEBEFORE and LINEAFTER), and colorName. You can also use the start and stop attributes to apply it to a specific range of cells.
Check out our docs page on this.
Example usage
<stylesheet>
<blockTableStyle id="table1">
<lineStyle kind="GRID" colorName="black"/>
</blockTableStyle>
</stylesheet>
<story>
<blockTable style="table1">
<tr>
<td>example 1</td>
<td>example 2</td>
</tr>
<tr>
<td>example 1</td>
<td>example 2</td>
</tr>
</blockTable>
</story>
Note: Only relevant sections are used in this snippet. Some tags were not included. See some of our samples for further insight of how you may go about setting up a full document using rml.
Example of nesting path from the parent tags to the current tag
<document> ➔ <stylesheet> ➔ <blockTableStyle> ➔ <lineStyle>