On Tue, Sep 10, 2013 at 10:17 AM, Harbs <harbs.li...@gmail.com> wrote:
> Hi Alex, > > I realize I'll probably have my work cut out getting everything working as > it should, but it would be helpful at least understanding the design intent. > > So, if you could try to jog some memories on this, that would be great! > > Either way, I should be giving TLF tables a real workout over the next > couple of months, so by the time I'm done with it, it should be at the > point of "officially being supported"… ;-) > > Harbs > It is very heartening to see TLF getting some love here. Put me down for at least helping you test out your work. Thanks, Om > > On Sep 10, 2013, at 7:17 PM, Alex Harui wrote: > > > 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 > > > >