Skip to content

Tag Definition: blockBackground

Generated by rlextra version 3.6.13

Attributes

Name

Required?

Default_Value

Values

colorName

implied

None

colorsByCol

implied

None

colorsByRow

implied

None

start

implied

None

stop

implied

None

Can contain
EMPTY

Purpose

This sets the color to be used for the background for a block of cells in your table.

Check out our docs page on how this works in the open source for reference.

Example usage

<stylesheet>
    <blockTableStyle id="table1" spaceAfter="0.5 cm">
        <blockBackground colorName="yellow" start="0,0" stop="-1,-1"/>
    </blockTableStyle>
</stylesheet>
<story>
    <blockTable style="table1">
        <tr><td>Table style example</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> ➔ <blockBackground>