https://bugzilla.wikimedia.org/show_bug.cgi?id=29241

--- Comment #13 from T. Gries <[email protected]> 2011-06-08 10:40:43 UTC ---
(In reply to comment #12)
> The problem is that no element in the PDF is allowed to be larger than a 
> single
> page. In the example the problem are cells which span over many, many rows
> (like the "Page Rendering" cell). The PDF framework (reportlab) we are using
> simply gives up if it encounters stuff that doesn't fit on a page. Currently I
> have no good idea how to solve this, but I'll look into the issue

Volker,

thanks for pointing to this issue. Perhaps the error text (of the PDF creator)
could mention the length problem expressly. I was trying to limit the table
width to make it fit the page width, but when I understand you correctly, long
tables with unbreakable stuff in it cause the problems.

Can it be of help, if page authors use the 
css page break auto property as explained here :

http://www.w3schools.com/css/pr_print_pagebi.asp

 <style>
 @media print
 {
 table {page-break-inside:avoid}
 }
 </style>


Or, that a collaborative page author _could_ intentionally place helpers like
<!--NEW PAGE MAY COME HERE--> to assist the PDF renderer ti find places to
"break" the page and to continue on a new page.

Or, that the rendering switches into a "panic" mode and uses unlimited page
size which is then post-rendered to make the unlimited page size fit to single
pages.

I am willing to help to find a solution for such problems.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to