Skip to content

Tag Definition: blockTableStyle

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

id

required

None

keepWithNext

implied

None

parent

implied

None

spaceAfter

implied

None

spaceBefore

implied

None

Can contain
(blockSpan | blockFont | blockLeading | blockTextColor | blockAlignment | blockLeftPadding | blockRightPadding | blockBottomPadding | blockTopPadding | blockBackground | blockValign | lineStyle | roundedCorners)*

Purpose

Declare styles that can be applied to a table included in your document.

Check out our docs page on this.

Example usage

<stylesheet>
    <blockTableStyle id="table1">
        <lineStyle kind="GRID" colorName="black"/>
        <blockSpan start="0,0" stop="1,0"/>
        <roundedCorners radii="1,5,15,16"/>
    </blockTableStyle>
</stylesheet>
<story>
    <blockTable style="table1">
        <tr>
            <td>example 1</td>
            <td>example 2</td>
            <td>example 3</td>
        </tr>
        <tr>
            <td>example 1</td>
            <td>example 2</td>
            <td>example 3</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>