Hmm.  The doc says that FlowLeafElement doesn't have any children.  But
Tables can certainly contain other tables, right?  And aren't the
headers/rows/cells considered children?

FlowLeafElement also has a text property.  Are you going to be overriding
that?

Is it just too hard to make a TableElement extend FlowElement and in other
ways be treated as an InlineGraphicElement?

-Alex

On 6/8/14 12:46 PM, "Harbs" <harbs.li...@gmail.com> wrote:

>Please see this issue. I¹m sure there are plenty of related bugs.
>
>https://github.com/Harbs/TLF-Table-Work/issues/28
>
>I¹m thinking of changing the base-class of TableElement to change it to a
>leaf element rather than a group element. I don¹t see any reason off-hand
>not to do that, but I very likely might be missing something.
>
>Reason why I think it makes sense:
>
>Basically, I¹m treating a table as an inline object. The contents of a
>table are laid out in a grid, but largely independent from the main text
>composition. It¹s really not much more than a really fancy inline object
>(or one that can span across multiple containers).
>
>If anyone can think of a good reason why it¹s a bad idea, I¹d really like
>to hearŠ
>
>Harbs

Reply via email to