Appendix E

Formatted tabular output syntax

In CallWeb, virtually any character string to be displayed on screen can be formatted as a table using the colours defined for the questionnaire (see Colours and layout) using a standardized tool. This simplifies the creation of tabular layouts and ensures consistency of look throughout the questionnaire. Of course, existing recall protocols can be used within these formatted tables.

To insert a table into a string (the question text segment, for example), surround the table instructions with double braces, i.e. {{ and }}. Within these delimiters, insert the text to be displayed as a table and the special instructions described below (the following table was created using this feature).

CommandAction
{>}Moves over to the next cell.
{<}Moves over to the next line (see it as a carriage return).
{SC}Formats the cell as a column heading (the text is centered in the cell by defaut and the .COLONNE style is applied). To change the justification, add the appropriate justification instruction (see below).
{SL}Formats the cell as a row heading (the text is left-justified in the cell by defaut and the .LIGNE style is applied). To change the justification, add the appropriate justification instruction (see below).
{SS}Formats the cell as a SPECIAL value (see the definition of question tables).
{C}Centers the text in the cell.
{L}Left-justifies the text in the cell.
{R}Right-justifies the text in the cell.
{T}Locates the text at the top of the cell.
{B}Locates the text at the bottom of the cell.
{M}Locates the text in the middle of the cell.
{E}Formats the text with the ERREUR style.
{NW}Avoids text wrapping within the cell.
{number}Spans the content of the cell over "number" columns; if "number" is 0, the cell spans the entire table; if it is negative, it spans over the number of columns in the table minus "number".
{Rnumber}Spans the content of the cell over "number" rows. Rows affected by a rowspan cannot include negative colspan values.
{TC}In the first cell of the table, centers the table horizontally in the page.

The table above was created with the following instructions.

    {{
    {SC}Command{>}{SC}Action{<}
    {>}{>}Moves over to the next cell.{<}
    {<}{>}Moves over to the next line (see it as a carriage return).{<}
    {SC}{>}Formats the cell as a column heading (the text is centered in the cell by defaut and the .COLONNE style is applied). To change the justification, add the appropriate justification instruction (see below).{<}
    {SL}{>}Formats the cell as a row heading (the text is left-justified in the cell by defaut and the .LIGNE style is applied). To change the justification, add the appropriate justification instruction (see below).{<}
    {SS}{>}Formats the cell as a SPECIAL value (see the definition of question tables.{<}
    {C}{>}Centers the text in the cell.{<}
    {L}{>}Left-justifies the text in the cell.{<}
    {R}{>}Right-justifies the text in the cell.{<}
    {T}{>}Locates the text at the top of the cell.{<}
    {B}{>}Locates the text at the bottom of the cell.{<}
    {M}{>}Locates the text in the middle of the cell.{<}
    {E}{>}Affiche le texte avec le style ERREUR.{<} {NW}{>}Avoids text wrapping within the cell.{<}
    {number}{>}Spans the content of the cell over "number" columns; if "number" is 0, the cell spans the entire table; if it is negative, it spans over the number of columns in the table minus "number".{<}
    {Rnumber}{>}Spans the content of the cell over "number" rows. Rows affected by a rowspan cannot include negative colspan values{<}
    {TC}{>}In the first cell of the table, centers the table horizontally in the page.{<}
    }}

Appendix E

Formatted tabular output syntax

In CallWeb, virtually any character string to be displayed on screen can be formatted as a table using the colours defined for the questionnaire (see Colours and layout) using a standardized tool. This simplifies the creation of tabular layouts and ensures consistency of look throughout the questionnaire. Of course, existing recall protocols can be used within these formatted tables.

To insert a table into a string (the question text segment, for example), surround the table instructions with double braces, i.e. {{ and }}. Within these delimiters, insert the text to be displayed as a table and the special instructions described below (the following table was created using this feature).

CommandAction
{>}Moves over to the next cell.
{<}Moves over to the next line (see it as a carriage return).
{SC}Formats the cell as a column heading (the text is centered in the cell by defaut and the .COLONNE style is applied). To change the justification, add the appropriate justification instruction (see below).
{SL}Formats the cell as a row heading (the text is left-justified in the cell by defaut and the .LIGNE style is applied). To change the justification, add the appropriate justification instruction (see below).
{SS}Formats the cell as a SPECIAL value (see the definition of question tables).
{C}Centers the text in the cell.
{L}Left-justifies the text in the cell.
{R}Right-justifies the text in the cell.
{T}Locates the text at the top of the cell.
{B}Locates the text at the bottom of the cell.
{M}Locates the text in the middle of the cell.
{E}Formats the text with the ERREUR style.
{NW}Avoids text wrapping within the cell.
{number}Spans the content of the cell over "number" columns; if "number" is 0, the cell spans the entire table; if it is negative, it spans over the number of columns in the table minus "number".
{Rnumber}Spans the content of the cell over "number" rows. Rows affected by a rowspan cannot include negative colspan values.
{TC}In the first cell of the table, centers the table horizontally in the page.

The table above was created with the following instructions.

    {{
    {SC}Command{>}{SC}Action{<}
    {>}{>}Moves over to the next cell.{<}
    {<}{>}Moves over to the next line (see it as a carriage return).{<}
    {SC}{>}Formats the cell as a column heading (the text is centered in the cell by defaut and the .COLONNE style is applied). To change the justification, add the appropriate justification instruction (see below).{<}
    {SL}{>}Formats the cell as a row heading (the text is left-justified in the cell by defaut and the .LIGNE style is applied). To change the justification, add the appropriate justification instruction (see below).{<}
    {SS}{>}Formats the cell as a SPECIAL value (see the definition of question tables.{<}
    {C}{>}Centers the text in the cell.{<}
    {L}{>}Left-justifies the text in the cell.{<}
    {R}{>}Right-justifies the text in the cell.{<}
    {T}{>}Locates the text at the top of the cell.{<}
    {B}{>}Locates the text at the bottom of the cell.{<}
    {M}{>}Locates the text in the middle of the cell.{<}
    {E}{>}Affiche le texte avec le style ERREUR.{<} {NW}{>}Avoids text wrapping within the cell.{<}
    {number}{>}Spans the content of the cell over "number" columns; if "number" is 0, the cell spans the entire table; if it is negative, it spans over the number of columns in the table minus "number".{<}
    {Rnumber}{>}Spans the content of the cell over "number" rows. Rows affected by a rowspan cannot include negative colspan values{<}
    {TC}{>}In the first cell of the table, centers the table horizontally in the page.{<}
    }}