Define model column mappings

Use the procedure in this topic to define model column mappings.

The table columns available for mapping are based on the table model. If a field is selected, it is defined for the line item.

Procedure
  1. Open the Table Locator Properties icon Properties.

    The properties for the Table Locator are displayed.

  2. Select the Cells tab.
  3. In the Model Column Mapping group, select a column from the list. The columns are from the table model.
  4. In the Cell Settings group, configure the following settings.

    Setting

    Description

    Model column

    This setting shows the assigned model column of the currently selected table cell. By changing this value the currently selected cell is assigned to the new model column. (Default: empty)

    Optional

    Select if the cell may not be present in all line items. (Default: Cleared)

    Allow big gaps

    Select if the cell can have big gaps between the words. If you leave this unchecked, words within this cell cannot be further apart than 100 pixels. (Default: Cleared)

    Startline

    This value shows the text line that indicates where the cell begins. If the value is -1, increase the height of the cell. For the value to become positive, there should be enough space between the text and cell border. (Default: empty)

    Cell type

    Select the type of data expected to be found in the cell from the list. This setting is recognized automatically when you draw the cell, but you can change it here if necessary. (Default: empty)

    Min. number of lines

    For a cell where the number of lines can vary from one row to another, you can define a minimum number of lines the cell can have. (Default: 1)

    Max. number of lines

    For a cell where the number of lines can vary from one row to another, you can define a maximum number of lines the cell can have. (Default: 1)

    For a previous version this functionality was achieved by defining a number of lines for the cell and additional script programming. This solution still works, but you also can update the Table Locator and use min./max. number of lines values instead.

  5. In the Cells area at the bottom of the window, draw a box around the line item that corresponds to the selected cell.

    For example, to select "Total Price," draw a box around the total price value in the line item.

    Adjust the size of the box to fit all table rows.

    The cell type is recognized automatically. However, you can change it as needed. If the number of rows can vary, set the minimum and maximum number of lines.

    A check mark is displayed in the Model Column Mapping group to indicate the column is defined.

  6. Optional. Define an anchor by selecting Draw Anchor and drawing a box around a column.
  7. Open a test document and select Test to test your settings.
  8. Optional. Select Close to close the locator properties window.
  9. Save the changes to your project.