Much as in HTML tables, you use the <fo:table-row> element to create rows in a table, and each row can contain table cells . As with HTML browsers, the XSL-FO processor determines the dimensions of the table by how many rows youve placed in the table.
You can use the following properties with the <fo:table-row> element:
Common accessibility properties: source-document, role
Common aural properties: azimuth, cue-after, cue-before, elevation, pause- after, pause-before, pitch, pitch-range, play-during, richness, speak, speak-header, speak-numeral, speak-punctuation, speech-rate, stress, voice-family, volume
Common border, padding, and background properties: background-attachment , background- color , background-image, background-repeat , background-position-horizontal, background-position-vertical, border-before-color, border-before-style, border-before-width, border-after-color, border- after-style, border-after-width, border-start-color, border-start-style, border-start-width, border-end-color, border-end-style, border-end-width, border-top-color, border-top-style, border-top-width, border-bottom-color, border-bottom-style, border-bottom-width, border-left-color, border-left-style, border-left-width, border-right-color, border-right-style, border-right-width, padding-before, padding-after, padding-start, padding-end, padding-top, padding-bottom, padding-left, padding-right
block-progression-dimension
break-after
break-before
id
height
keep-together
keep-with- next
keep-with-previous
relative-position
Ive added rows to the table in tables.fo with <fo:table-row> elements as follows :
<fo:table> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-column column-width="30mm"/> <fo:table-body> <fo:table-row> . . . </fo:table-row> <fo:table-row> . . . </fo:table-row> . . . </fo:table-body> </fo:table>
Having created the rows you want, youre ready to add the actual data in the table in its cells.