This is the documentation for an older version of Scroll Office. Scroll Office is now Scroll Word Exporter. Here you can view the most up-to-date version of Scroll Word Exporter.

Change the table format

With the {scroll-tablelayout}-macro you can change the exported format for a table. The macro only refers to the following table.

Note

Please note, that the {scroll-tablelayout}-macro should only be used within paragraphs.


Info

To export the tables with the defined widths, you have to activate the check box Fixed Width in the Tables section in your Export Scheme.


Info

If the maximum available table width is smaller than 500 pixel all columns will be re-sized in the same ratio to match the constraint.


To define the macro parameters:

  1. Open the wanted Confluence page and click Edit.
  2. Enter '{scroll table layout' and press Enter.
    The macro is inserted in the Confluence page. To apply the layout to a specific table you have to insert a table directly after the macro.
  3. Click the inserted macro and click Edit.
  4. You can change the following table properties:

    SectionParameterDescription
    Scroll Exporter optionsColumn Widths

    Enter widths for the table columns to adopt in the export. Each width can be specified relative (for example 2*), with a percentage (for example 30%), or pixels (for example 120). The types can be mixed. The relative approach will always use the maximum of the available table width.

    StyleAssign a style to your table – you have to name the style as you have defined it in your table styles in your Word template. 
    Table sortingDefine whether to enable the sorting of table rows. If disabled, a table will be exported as shown on the Confluence page.
    Sort by columnWhen table sorting is Enabled, choose which column is used to sort the table rows.
    Sort directionWhen table sorting is Enabled, define whether table rows are displayed in ascending or descending order.
    Cell highlightingDecide if cell highlighting set in Confluence should be displayed in exports.
    Exporter specific optionsPage orientation

    Select either a Portrait or Landscape orientation for the page including the table in the export. Selecting a different page orientation from that defined in the template setting will cause a page break before and after the table. The page orientation is reset to what is defined in the template after the table.

  5. Click Save to confirm the preferences.