- From: Tony Graham <tgraham@antenna.co.jp>
- Date: Fri, 17 Dec 2021 10:03:20 +0000
- To: www-xsl-fo@w3.org
On 16/12/2021 14:22, Brockman, Bob wrote: > I’m trying to figure out how to set the Table ID and Associated Header > Cell ID’s in a PDF table. Is this possible? Every table-related FO can have the 'id' property, so that part's easy. I regret that XSL didn't notice the 'headers' and 'scope' attributes that were already in HTML 4.01, which was current at the time. However, different formatters have implemented 'headers' and 'scope' equivalents as extensions. AH Formatter has 'axf:headers' [1] and 'axf:scope' [2]. See the 'Associating table body cells and table header cells (<fo:table-cell>, axf:headers, axf:scope, PDF/UA)' example [3] in 'XSL-FO Samples Collection' at https://www.antennahouse.com/xsl-fo-samples FOP has 'fox:header' [4] for specifying that a table column contains row headers. RenderX lets you put 'rx:pdf-structure-tag="TH"' [5] on an fo:table-cell to indicate that it is a header. That's all the 'headers' and 'scope' support that I know about. There may be similar extensions in other formatters. Regards, Tony Graham. -- Senior Architect XML Division Antenna House, Inc. ---- Skerries, Ireland tgraham@antenna.co.jp [1] https://www.antenna.co.jp/AHF/help/en/ahf-ext.html#axf.headers [2] https://www.antenna.co.jp/AHF/help/en/ahf-ext.html#axf.scope [3] https://www.antennahouse.com/xsl-fo-samples#axf-table-headers-scope-1 [4] https://xmlgraphics.apache.org/fop/2.6/accessibility.html#fox:header [5] http://www.renderx.com/reference.html#Tables
Received on Friday, 17 December 2021 10:04:00 UTC