Preparing Microsoft Word Source Documents : Working with Tables in Word : Applying Table Styles in Word
Applying Table Styles in Word
Table styles define the appearance of your tables, and ePublisher uses table styles to define the appearance of tables in generated output. When you work with tables in your Microsoft Word source documents, ensure you apply the correct table styles to your tables. The Stationery designer defines the table styles you can use in your Microsoft Word source documents in the Microsoft Word templates you associate with your Microsoft Word source documents. If you want to specify a different table styles for sets of tables in your generated output, first ensure the different table styles you want to apply are available in your Microsoft Word source document. Then apply the different table styles to tables in your Microsoft Word source documents as appropriate.
For example, you may have a small set of tables that contain information about a specific component in a product. If you decide you want to modify the appearance of these tables in your generated output by specifying that the tables associated with this component display with a yellow background in your generated output, apply a table style available in your Microsoft Word source document that the Stationery designer created to meet this requirement. When you generate output, the Stationery designed by the Stationery designer specifies that any tables created with a table style configured to display tables with a yellow background display in your output with a yellow background.
If you are working in Microsoft Word 2000 or earlier, Microsoft did not provide support for named tabled styles in these versions of Word. You can use TableStyle markers to manually assign table style names to tables. To use the TableStyle marker, insert the TableStyle marker using the WebWorks Transit menu for Word into a cell in the table header row, then save your document, generate output, and verify in Output Explorer that ePublisher applied the table style you specified correctly.
If you are working in Microsoft Word XP (2002) or later, you may use TableStyle markers to assign table styles if you prefer that approach to using Microsoft’s available table style assignment controls.
Note: TableStyle markers take precedence over table style names derived from Word assigned table styles.
Because of the ambiguity between the different table styles present in the Microsoft Word ribbon for the versions of 2007 and beyond, a recommended approach would be to use the TableStyle marker in lieu of assigning table styles,
To set a TableStyle marker in a Microsoft Word source document (instructions for Word 2007 or higher)
1. In your Microsoft Word source document, locate the table for which you want to assign a tablestyle marker
2. Insert cursor any where inside the table cells.
3. Click the Add-Ins tab to access the WebWorks Transit menu
4. Select the Markers option from the menu
5. In the Configure Markers dialog box, select the TableStyle marker from the list
6. In the text box for Value:, enter in desired name of the TableStyle
7. Click OK
For more information about generating output and using Output Explorer to view output files, see “Generating and Regenerating Output” and “Viewing Output in Output Explorer”.