Custom Tables - Header Cells Category
This category includes properties with which you can generate cells for the header of a custom table via XPath, and define your own order for the header columns if necessary.
|
Any cell generation or column reordering settings made in this category will be ignored in print/PDF output via FOSI if the Use style properties for Print/PDF with FOSI engine option in the Format category for custom tables is checked.
|
• Generated header cells - configure XPath expressions to generate cells for the custom table, when no cell element exists in the content model of the element being styled as a custom table. The cells generated will form columns in the header of the table. Generated cells can appear in the header as well as those elements given the role of Cell in the Elements category for custom tables.
The field displays a list of cell elements that will be generated for the header, and the expressions that will extract them from document content. Use the accompanying buttons to create and manage the list:
◦ Edit: open the Generated Cell dialog box to edit an existing cell generation specification.
◦ Delete: delete a cell generation specification from the list.
When a custom table header cell is generated, Arbortext Styler creates an SFE to hold its formatting properties. The SFE will be named _sfe:GeneratedHeaderCell_generatedheadercellname_customtablename.
If you create a generated header cell, but no element has been assigned the Header Row role in the Elements category, Arbortext Styler will also generate a Header Row, and create an SFE to hold its formatting properties. This SFE will be named _sfe:GeneratedHeaderRow_customtablename.
• Header cell order - define the order in which columns in the header of the table should be ordered in output. This may differ from the order in which cells appear in document content.
The list provides fields in which you can specify the method of defining column order:
◦ Document order: select this option to output columns in the order in which the cells appear in document content.
◦ Specified: select this option to create your own order for columns.
The field displays a list of cells that will form columns in the header of the table and the order in which they will appear. Use the up and down arrows to change the order of the columns.
|
If the table contains any specifically defined cell elements, only those elements will create cells. A cell element can be defined in two ways:
• Assigning the role of Cell to an element in the Elements category for custom tables
• Generating a cell via XPath
Cells created by assuming that children of the element defined as a Row should be classed as cells will be suppressed.
|
Refer to
Creating and Styling a Custom Table for examples and further information to assist you in setting up and using custom tables.