On Monday 14 February 2005 14:49, bruno wrote:
> Mark Hall wrote:
> >On Monday 14 February 2005 13:53, Bruno Lowagie wrote:
> >>Mark Hall wrote:
> >>Would using /trkeepfollow solve the problem?
> >>
> >>How hard would it be to implement this?
> >>com.lowagie.text.Row should have a member-variable keepFollow.
> >>This member-variable should be set while constructing the Table,
> >>so com.lowagie.text.Table should have such a variable too...
> >
> >Yes. I have now had time to look at this and trkeepfollow is the correct
> > tag to emit. Emitting \trkeepfollow and copying the value of
> > tablefitsPage from the Table to the RtfTable should fix the bug. I will
> > implement, test and commit this when I get home.
>
> Remark that Katy's question doesn't involve the complete table, only
> groups of rows.
I am aware of that. Unfortunately I've run into another problem. Adding 
trkeepfollow seems to have no effect and I can't make a table in Word that 
stays on one page. If somebody could send me an example RTF file that has a 
table that stays on one page or explain which steps to follow to get one I 
would be much obliged. Until then I cannot provide a fix for this problem.

>
> Maybe tableFitsPage should be considered to be a 'toggle'-variable.
> The value of tableFitsPage should probably be forwarded to a
> member-variable of com.lowagie.text.Row, every time a new Row is created
> (in method placeCell).
> The same goes for cellsFitPage (which corresponds with trkeep).
I would agree. I can then emit the correct rtf code for each row.

Greetings,
Mark
-- 
An Animal that knows who it is, one that has a sense of his own identity, is
a discontented creature, doomed to create new problems for himself for the
duration of his stay on this planet.  Since neither the mouse nor the chimp
knows what is, he is spared all the vexing problems that follow this
discovery.  But as soon as the human animal who asked himself this question
emerged, he plunged himself and his descendants into an eternity of doubt
and brooding, speculation and truth-seeking that has goaded him through the
centures as reelentlessly as hunger or sexual longing.  The chimp that does
not know that he exists is not driven to discover his origins and is spared
the tragic necessity of contemplating his own end.  And even if the animal 
experimenters succeed in teaching a chimp to count one hundred bananas or 
to play chess, the chimp will develop no science and he will exhibit no 
appreciation of beauty, for the greatest part of man's wisdom may be traced
back to the eternal questions of beginnings and endings, the quest to give
meaning to his existence, to life itself.
-- Selma Fraiberg, _The Magic Years_, pg. 193

My GPG public key is available at:
http://www.edu.uni-klu.ac.at/~mhall/data/security/MarkHall.asc

Attachment: pgpYsvBymdZR0.pgp
Description: PGP signature

Reply via email to