Hi Harbs, I see code for Tables, but I'm not sure it is "officially" there. Or even complete, or even working at a prototype-level.
So good luck with it. I might be able to ask folks who used to work on it a few questions, but I'm pretty sure their memories of it are pretty dim by now. -Alex On 9/10/13 6:16 AM, "Harbs" <harbs.li...@gmail.com> wrote: >I knew I was going to spend some real time on this one day, and that time >is coming really soonŠ > >Before I dig in too deeply, what's the status on TLF Table support? I >know it's officially there, but I don't see any documentation on it -- >not even the basics on how it's supposed to be used. > >I fully expect to find bugs once I start really digging into it, but some >documentation (any) would be nice to get me started. > >Looking at the source code, I see the following classes: > >TableElement >TableBodyElement >TableColElement >TableRowElement >TableColGroupElement >TableDataCellElement >TableFormattedElement > >I understand the structure like this: > >* A TableElement is the top level element for any table >* All elements in a table inherit from TableFormattedElement >* The bottom level of a table which needs to contain one or more >ParagraphElements in a TableDataCellElement >* TableDataCellElements must reside within a TableRowElement > >After this things get a bit fuzzier. > >What is TableBodyElement used for? >How is TableColGroupElement and TableColElement used? (I assume they are >used for formatting table columns, but the details are not very clear to >me.) >What about header and footer rows? Is that supported yet? >Header and footer columns? >Is breaking tables across containers supported yet? > >I have not started studying how to specify table formatting either. I'm >hoping that's obviousŠ > >I'll try to add some documentation to the source code as things become >clearer to meŠ > >Harbs