Re: About Table header

Simon Larochelle <[email protected]> Wed, 29 May 2013 17:03:21 -0400
Newsgroups gmane.editors.abiword.devel
Message-ID <CAF8-HjH7-jbU4MVymyxVJnQ3a+RzcPgXEgRiKtK55FOWKRXYoA@mail.gmail.com>
Well I pressed on the wrong button and sent the e-mail. To finish,

fb_ColumnBreaker::_checkVBreakableContainer - This function checks if
there is enough space to add the table in the current text column and
calls fp_TableContainer::VBreakAt to break the table if necessary. The
function is implemented to make sure that only a single segment of a
table is inserted in each column. You will need to modify the function
to allow for a table header. The segment of code is at the beginning
of the function (if(!pVCon->getNext()) ... else ...).

Finally, Kousik's implementation allows arbitrary rows to be part of
the header. You should consider restricting the header to the first N
rows of the table instead. That will probably simplify a few things as
you would not need to worry about shifting cells vertically.

Simon