You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know about the problems with to big/wide tables (e.g. #36) and understand how WeasyPrint work with this currently. This is not a bug report about that problem!
In my case I do not want to modify the big tables but I want to modify the related PDF pages. I want to change there orientation to horizontal and/or make them bigger (e.g. A3 or A2).
But I want to do this just for the one page with the big table not for all.
Technically (for Python3) broken down my questions:
Can I have different page orientations and sizes in one PDF file? And how do I do this? e.g. a piece of html-code like <pdf:page-break:horizontal> and after the table-code back <pdf:page-break:default>.
Is there a way check if a table is to wide for a page, e.g. a warning or an Exception.
The text was updated successfully, but these errors were encountered:
Can I have different page orientations and sizes in one PDF file? And how do I do this? e.g. a piece of html-code like pdf:page-break:horizontal and after the table-code back pdf:page-break:default.
Yes you can have different page orientations and sizes in a PDF file.
To do that, you can use @page CSS at-rule.
I know about the problems with to big/wide tables (e.g. #36) and understand how WeasyPrint work with this currently. This is not a bug report about that problem!
In my case I do not want to modify the big tables but I want to modify the related PDF pages. I want to change there orientation to horizontal and/or make them bigger (e.g. A3 or A2).
But I want to do this just for the one page with the big table not for all.
Technically (for Python3) broken down my questions:
<pdf:page-break:horizontal>
and after the table-code back<pdf:page-break:default>
.The text was updated successfully, but these errors were encountered: