Priority: P2
            Bug ID: 53902
           Summary: Add scope to header table cell
          Severity: normal
    Classification: Unclassified
                OS: All
          Hardware: All
            Status: NEW
           Version: all
         Component: pdf
           Product: Fop

In XSL-FO, header table cells (fo:table-cell elements that descend from an
fo:table-header/footer object) inherently encompass a column of the table. This
is due to the way tables are broken down into fo:table-header, fo:table-body
and fo:table-footer.

There is no XSL-FO construct to say that a table-cell is a header cell
encompassing a /row/ of the table. It can be achieved graphically by e.g.,
using a bold font for the first cell of a row, but the structure won't reflect

This becomes a problem when creating accessible PDF documents, where it is
desirable to store the scope of a header in the logical structure. PDF defines
the standard Scope attribute for that (see Section 10.7.5 of the PDF 1.5

I propose to add an extension property to fo:table-cell in order to convey that
information. Along with setting the 'role' property to 'TH', it would become
possible to define a cell as being a header cell with a scope of Row. Something
like this:
  <fo:table-cell role="TH" fox:scope="Row">

The fox:scope property would have an enumerated value of 'Column' (default),
'Row' or 'Both'.

You are receiving this mail because:
You are the assignee for the bug.

Reply via email to