[xep-support] Re: Table columns reading order in tagged PDF

Alexey Gagarinov agagarinov at renderx.com
Wed Aug 8 22:34:50 PDT 2012


Hi Benoit,

> Be it with or without the ENABLE_ACCESSIBILITY option, XEP appears to output text in tables by "reading"
> columns from right to left. ... I can see from the xpath attribute in XEP format that column number 2 is
> output before number 1: the xpath attributes contain for instance: ...
> /*[2][name()='table-cell'] ... ... /*[1][name()='table-cell'] ...


The reverse order of cells you see in XEP Intermediate Format (.xep) is a consequence of the tables
formatting algorithms in XEP.

This will hardly be changed.

> Is this normal behaviour?

It's a bug in XEP.

The PDF back-end should build a structure tree in the correct order by inverting table cells once more.

I'll do my best to fix the bug.


Regards,
   Alexey Gagarinov
RenderX
---
www.renderx.com


More information about the Xep-support mailing list