https://issues.apache.org/bugzilla/show_bug.cgi?id=53902

--- Comment #2 from Vincent Hennebert <vhenneb...@gmail.com> ---
(In reply to comment #1)
> IIUC, that feature aims to have a pseudo-table-header laterally rather than
> above/below.
> If this is the case, so IMHO a such extension should apply on column (or
> better, on column-group).
> For that, I can imagine 2 options:
>  - add a new fox:xxx attribute to column-group, with possible values like
> "header-start" or "footer-end".
>  - add new extensions elements like
> fox:column-group-header/fox:column-group-footer/fox:column-group-body

It is true that header cells having a row scope are usually all in the same
column (typically the leftmost column). Something like this:

  __________________________________________________
 |              |                 |                 |
 | Table Header | Column Header 1 | Column Header 2 |
 |______________|_________________|_________________|
 |              |                 |                 |
 | Row Header 1 |      body       |      body       |
 |______________|_________________|_________________|
 |              |                 |                 |
 | Row Header 2 |      body       |      body       |
 |______________|_________________|_________________|
 |              |                 |                 |
 | Row Header 3 |      body       |      body       |
 |______________|_________________|_________________|

I guess you mean that the first column should have a status of header. While
this may be interesting information, what I'm trying to achieve is a bit
different: just have a way to say that 'Row Header 1' should be a TH cell
encompassing the row it is in. While 'Column Header 1' is a TH cell
encompassing its column. There is a standard way to record that in PDF by
associating a Scope structure attribute to the corresponding structure type.
That information can then be transmitted in some way by a screen reader, to
help the user to build a mental representation of the table. However, there is
no standard way in PDF to record the fact that a column is made of header cells
(while this is possible for a (group of) row(s), using the THead structure
type). So it's probably not worth implementing that in FOP.

Does that make sense?
Vincent

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

Reply via email to