< Previous | Next >

Lesson 3: Cell widths defined by the user are used

In this lesson, you generate a table with cells that do not resize based on their content. The cell widths that are entered by the user are strictly adhered to when the output is generated.
With the table property combination in this lesson:
  1. Save a copy of the base template you created. Example: C:\Documents and Settings\Administrator\Desktop\table_sizing_tutorial\table_sizing_tutorial-lesson3-table2.dta
  2. Open the new template in the Document Studio application.
  3. Enter a heading name:
    1. Double-click the text element contained in the paragraph element.
    2. Enter Table 2.
    3. Click OK.
  4. Select the table element.
  5. In the Properties view, expand formatting > specific.
  6. For the table autofit property, leave the value empty.
  7. For the resize to fit contents property, enter false.
  8. For the fixed cell width in column property, enter true.
  9. Save the template.

Test the output

  1. Click the Preview current document icon Preview current document icon.
  2. Click Yes to continue without configuring the other outputs.
  3. In the Results window, click the link to the PDF.
Result:
Table 2
To remove the cell width values:
  1. In the Document Studio application, select Cell 1.
  2. In the Properties view, expand formatting > specific.
  3. For the cell width property, delete the value.
  4. Repeat step 3 to remove the cell width values for Cell 2 and Cell 3.
  5. Rename the heading:
    1. Double-click the text element contained in the paragraph element.
    2. Enter Table 2: No cell widths specified.
    3. Click OK.
  6. Save the changes.
  7. Test the output.
If you removed the cell widths from each cell element, all column widths are the same in the table. The row height is adjusted to allow for the content in them:
Example of table two where no cell widths are specified.

Lesson checkpoint

You generated a table with cell widths specified, but the cells do not resize based on their content.
< Previous | Next >

Feedback