Hi Peder,

(Sorry for the delay.)

On 23/05/11 15:06, Peder wrote:
> Hi list,
> 
> I have a question about the PDF/A-1a compliancy of the PDF that FOP produces.
> We produce PDF/A-1a compliant PDF for a customer of us. But I think there is 
> a problem with the tagging of tables.
> When PDF/A-1a is selected the PDF version needs to be 1.4 according to the 
> documentation. 
> But the renderer tries to output THead TBody and TFoot tags in the PDF for 
> the appropriate table elements. 
> Only the PDF 1.4 does not support THead, TBody and TFoot tags and  when the 
> PDF/A-1a compliancy is being tested, the three tags are being reported as 
> failures.
> Is this a bug?

Yes, an oversight when accessibility was implemented. Some standard
structure types appeared only in PDF 1.5.

You can override the default structure type assigned to each FO element
using the role attribute. In the case of table-header/footer/body you
would probably want to replace it with the generic Div structure type:
  <fo:table-header role="Div" ...>
    ...

This should make your document 1.4-compliant again.

> 
> Best regards,
> 
> Peder

HTH,
Vincent

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to