10.4.6.  Table

In this section you will find explanations of the setting options for table [Table] .

  • General: The general default settings can be found at Section 10.4.2, “General settings”. A special feature of tables is that the table on the overflow pages can be defined differently than on the first page.

    • Overflow x / Overflow y position of the table in the overflow section

      [Note]Note
      • If specifications for the overflow table are missing, no overflow happens!

      • If you want to use the overflow mode [Overflow mode], the duplicate option must be selected under Elements -> Page [Side] -> Overflow mode!

        (For this, the page has to be selected.)

        Especially at tables with many lines possibly several pages are created.

      • The overflow mode can be tested in the PDF preview . In the template itself the overflow mode is not displayed.

    • Overflow width / Overflow height: Dimensions of the table in the overflow section

  • Data tab page:

    • Table type:

      [Note]Note

      You can also use the Table, BOM, Physical and Variable options together for a template (several times if required). Simply create the desired tables one after the other.

      • Table:

        Table fields [Column definition] (Column Definition): The value $_Columns. is already entered by default.

        You can also insert other definitions:

        Examples:

        $ALL_VISCOL.( title= "$var. " ,format= "$desc.",format= "$value(SRC=VALDESC).", format= "$unit.")
        $ALL_VISCOL.( title= "$var. " ,format1= "$desc.",format2= "$value(SRC=VALDESC).", format3= "$unit.")
        $ALL_VISCOL.( title="$var. ($desc.)", format="$value(SRC=VALDESC). [$unit.]")

        The parameter "format" can be as many times as desired.

        The parameter "format" can be as many times as desired.

        [Note]Note

        In order to be able to format the table specifically, the value must be created as a media variable of type PSOL_TABLE. If this does not exist, all visible columns are displayed. Detailed information on this can be found at Section 10.6.2, “Edit table variables”.

        LinkDB columns cannot be displayed by default. If desired, please contact CADENAS on this.

      • BOM this option allows you to display parts list information in a table.

        BOM fields: Activate the checkbox in the list field for the columns to be displayed.

        Example: All BOM fields activated

        Example: All BOM fields activated

        Result: Display in the template

        Result: Display in the template

      • Physical table this option allows you to display physical information such as volume [Volume], area [Plane] and mass [Mass].

        Physical fields: Activate the checkbox in the list field for the columns to be displayed.

      • Variable:

    • Export all lines:

      [Caution]Caution

      This action could possibly be time-critical!

    • Insert horizontal lines [Insert horizontal line]: If you use this stand-alone layout option, the settings under Border color, Border thickness [Border size] and Border type are not used.

      Example table: Layout defined via "Insert horizontal lines [Insert horizontal line] "

      Example table: Layout defined via "Insert horizontal lines [Insert horizontal line] "

    • Resolve value ranges:

      [Caution]Caution

      This action could possibly be time-critical!

    • Swap rows and columns [Switch rows and columns]: See ???.

      [Note]Note

      In this case, line definitions are used as column definitions.

    • Single over [Single overflow on same page] flow on own side:

      With the Single overflow on same page option, a table can be split and the two parts placed next to each other. The table can only overflow once on the same page.

      Set the X-Y coordinate and the width and height of the overflow table under Overflow x, Overflow y, Overflow width and Overflow height.

    • Link documents:

      The function is analogous to Embed documents [Embed Documents]. There a reference is made to a file in the catalog, here a hyperlink is inserted and this then refers to an external file.

    • Embed documents [Embed Documents]:

      With Embed documents [Embed Documents], you can create links in the table that can later be used to call up any embedded documents in the generated PDF.

      Documents embedded in PDF

      Documents embedded in PDF

      Details on this can be found under Section 10.4.6.1, “ Embed Documents.

  • Tab page table header [Table header]:

    • Font:

      Setting options such as font [Font] (see also Section 10.4.5, “ Text), font size [Font size], font color, bold, italic [italics] and underlined are available for designing the font in the table header.

    • Background color:

      Example for gray background:

      #C8C8C8

    • Alignment [Orientation]: left | right | center

      In the input field, enter the desired value, if the same orientation is desired for all cells in the table header.

      Otherwise enter a dedicated value for each column separated by comma.

      Here in this example, "left", "right" and "center" had been entered.

      Here in this example, "left", "right" and "center" had been entered.

    • Alternative [Alternative table header] table header:

      This option can be used together with Swap rows and columns [Switch rows and columns].

      Cells swapped and with alternative table header

      Cells swapped and with alternative table header

  • Cells tab page:

    • Font: Setting options such as font [Font] (see also Section 10.4.5, “ Text), font size [Font size], font color, bold, italic [italics] and underlined are available for designing the font in the cells.

    • Background colors:

      You can determine the color code of a single color, but also two. Then the background color of the lines, in the table body, is alternating (compare following figure).

      #C8C8C8,#FFFFFF

      Sample table with alternating gray and white rows

      Sample table with alternating gray and white rows

    • Alignment [Orientation]: see the same point under table header [Table header]

    • CellSpacing: Spacing between table cells

    • Width:

      • Auto: Equal distribution of columns

      • Manual: The user can set the width for each column individually. The individual values must be entered separated by commas.

      Column widths manually

      Column widths manually

    • Show images in table [Show pictures in table]:

      If the function is disabled the corresponding text is shown; if there is no text, an empty row is displayed.

      Enabled

      Enabled

      Disabled

      Disabled

    • Padding: Page spacing within table cells between border and cell content

  • Frame [Border] tab page:

    • Frame color [Border color]:

    • Frame thickness [Border size]:

    • Frame type [Border type]: The default is "solid". You can select from a variety of other options in the list box, such as "dashed".

    Example table: Layout defined via frame color [Border color], frame thickness [Border size], frame type [Border type]

    Example table: Layout defined via frame color [Border color], frame thickness [Border size], frame type [Border type]