Re: table cell duplication

2009-02-05 Thread Vincent Hennebert
Hi Georg,

Georg Datterl wrote:
 Hi Jost, hi Vincent
 
 I could use a combination of your ideas. If I just put the drawings in a 
 table header and fill the table body with empty cells, I still have to keep 
 in mind that a new page means, the header is reprinted, therefore the body 
 moves down. Since I don't know, over how many pages the table spans, I don't 
 know for how many headers I should include in my calculation. 
 I could generate the document with only one set of drawings. Then I would 
 know how many pages a table spans and I would know, how long the table body 
 should be. Only if the last part of the table is shorter than the drawings, 
 the bottom line of the complete DesignTable would move down and the page 
 spanning of further DesignTables can be influenced. So worst case I would 
 have to generate the whole page-sequence once for each DesignTable. 
 Performance nightmare, but it should give the desired result. 

This would have to be tested, but I think you can estimate the height of
the blank content accurately enough. If you have the height of content E
and the height of pages, then you can compute the maximum number of
pages over which the DesignTable can be spread. So the maximum number of
times drawing C would appear, and substract that number of times from
the height of the blank content. That should allow you to avoid
re-generating the whole page-sequence once for every DesignTable.

By making a post-process based on the informations of the intermediate
format, you could probably manage to get the borders of the tables
inside content E extended until the bottom of the DesignTable.

 Vincent, could I just insert multiple copies of the drawings block and 
 add a break-before=page all but the first block?

Yes, if you use the post-process approach, then you don’t need to worry
about using a table. In spite of the multiple processings problem that
you identified above, this approach may be better if you can’t
accurately estimate the height of content E.


 Georg Datterl

snip/

HTH,
Vincent


DO NOT REPLY [Bug 42601] Image/text misalignment inside before-region tables

2009-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42601


Murad Mamedov mura...@gmail.com changed:

   What|Removed |Added

 CC||mura...@gmail.com




--- Comment #7 from Murad Mamedov mura...@gmail.com  2009-02-05 05:55:06 PST 
---
Is there any way to workaround this problem?


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 42601] Image/text misalignment inside before-region tables

2009-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=42601


Jeremias Maerki jerem...@apache.org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Comment #8 from Jeremias Maerki jerem...@apache.org  2009-02-05 06:06:53 
PST ---
(In reply to comment #7)
 Is there any way to workaround this problem?
 

Not necessary. The bug is fixed in 0.95. And to get rid of the green parts
above and below the logo, you can set font-size=0pt and line-height=1 on
the parent block.

The downshift was caused by an overflow in the static-content. This is now done
differently so this doesn't occur anymore.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 46160] Automatic breaking of long landscape elements (tables) across multiple pages

2009-02-05 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=46160





--- Comment #4 from Darrell Nelson darrell.nel...@dmiindustries.com  
2009-02-05 13:48:54 PST ---
Is the solution really that difficult? Portrait-mode tables already break
fairly well at page boundaries. It's the landscape ones that don't.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.