Syntax of table styles

Build 1501 on 14/Nov/2017  This topic last edited on: 6/Aug/2014, at 15:52

A table style definition is a 26-part string, contains specific values in a mandatory order and format, delimited by comma.

1. Table style name

The table style name is the first part of the string, and in the factory styles it is an ordinal number, from 001 to 009.

TABLE BORDER

2. Table borders enabler

Table borders are expressed as TLBR, that means top, left, bottom, right. Leave empty string not to have table borders at all, or leave the letter of the edge where you want a border. This string is applied as the first parameter of the >tabrule tag.

3. Table border weight

The value of the table border weight, e.g. 2pt, or 0.25pt.

4. Table border color name

The color name of the table border, e.g. K or !Light Blue!

5. Table border tint

The tint of the table border color, e.g. 100.

6. Table border dash

The dash name of the table border, e.g. Dots or !Double 1!. If empty, standard default rule is used

COLUMN RULES

7. Column rule weight

The value of the table column rule weight, e.g. 2pt, or 0.25pt.

8. Column rule color name

The color name of the table column rule, e.g. K or !Light Blue!

9. Column rule tint

The tint of the table column rule color, e.g. 100.

10. Column rule dash

The dash name of the table column rule, e.g. Dots or !Double 1!. If empty, standard default rule is used. Inactive now.

ROW RULES

11. Row rule weight

The value of the table row rule weight, e.g. 2pt, or 0.25pt.

12. Row rule color name

The color name of the table row rule, e.g. K or !Light Blue!

13. Row rule tint

The tint of the table row rule color, e.g. 100.

14. Row rule dash

The dash name of the table row rule, e.g. Dots or !Double 1!. If empty, standard default rule is used. Inactive now.

CELL MARGINS

15. Top cell margin

The value of the top cell margin, e.g. 2pt, or 0.25pt.

16. Bottom cell margin

The value of the bottom cell margin, e.g. 2pt, or 0.25pt.

17. Left cell margin

The value of the left cell margin, e.g. 2pt, or 0.25pt.

18. Right cell margin

The value of the right cell margin, e.g. 2pt, or 0.25pt.

ROWS FILL

19. First row fill color name

The value of the first row fill color name, e.g. K or !Light Blue!

20. First row fill color tint

The value of the first row color tint, e.g. 100.

21. Last row fill color name

The value of the last row fill color name, e.g. K or !Light Blue!

22. Last row fill color tint

The value of the last row color tint, e.g. 100.

23. Odd rows fill color name

The value of the odd rows fill color name, e.g. K or !Light Blue!

24. Odd rows fill color tint

The value of the odd rows color tint, e.g. 100.

25. Even rows fill color name

The value of the even rows fill color name, e.g. K or !Light Blue!

26. Even rows fill color tint

The value of the even rows color tint, e.g. 100.

Schematic view of the string position

'          name  bord  wg c tnt  dash    vrule            hrule            cell margins    first last  odd   even

'            1    2    3  4  5    6       7    8  9  10    11   12 13  14  15  16  17  18  19 20 21 22 23 24 25 26

' format = tname,TLBR,2pt,K,100,dashname,0.5pt,K,100,full,0.5pt,K,100,full,2pt,2pt,2pt,2pt,K,50, K, 30,K, 50,K, 20