Tables

Tables

Confluence offers very flexible, but non-semantic table support. I.e. users may use table headers and normal table cells anywhere in a table. Because of this Scroll has to limit the supported constructs and make assumptions about the desired output.

Scroll supports Confluence's tables of type 1. Tables which are based on the {section} and {column} macros (type 2) are not supported.

Table with Header

Allows you to create a simple table with an optional header row. You cannot set the width of the columns in this table.
Use double bars for a table heading row.

What you type:

||heading 1||heading 2||heading 3||
|cell A1|cell A2|cell A3|
|cell B1|cell B2|cell B3|

What you get:

heading 1 heading 2 heading 3
cell A1 cell A2 cell A3
cell B1 cell B2 cell B3

Please note that Scroll does not support vertical headers.

Table without Header

If you don't need a header, leave it out like this:

What you type:

|cell A1|cell A2|cell A3|
|cell B1|cell B2|cell B3|

What you get:

cell A1 cell A2 cell A3
cell B1 cell B2 cell B3

Table Captions

In order to create a table captions you will need to wrap a standard table with the {scroll-title} macro. It will add a caption to the table.

What you type:

{scroll-title:title=Caption}
||heading 1||heading 2||heading 3||
|cell A1|cell A2|cell A3|
|cell B1|cell B2|cell B3|
{scroll-title}

What you get:

heading 1 heading 2 heading 3
cell A1 cell A2 cell A3
cell B1 cell B2 cell B3

Caption

Limitations

  • Scroll does not support vertical headers.
  • Scroll's PDF exporter currently does not dynamically detect column widths. This means, all columns of a table have the same width.

DocBook Reference

Scroll creates uses CALS tables:

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.