-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we generate a horizontally scrollable pdf using this library.What would be the steps? #126
Comments
If you mean a multi-page PDF document that scrolls horizontally, I don't believe the PDF specification allows that: However, if you mean layout the pages as normal but render them horizontally to a single page which could be scrolled left to right, that should be doable. It would be done by replicating the Out of interest, what is your use case for this functionality? |
We are using this for our reporting framework . |
I think this is a generic problem, all content outside the page margin will be silently discarded. I think better behavior would be to insert a page with the clipped content. This would be behind a CSS flag to avoid backwards compatibility problems. |
+ Very early work on getting cut-off page overflow to optionally render on inserted (shadow) pages. Fast renderer only. + Also fixed some page number issues in the fast renderer. + Also fixed an issue in the fast renderer where line boxes were rendered on multiple pages.
Controls whether cut-off content to the right (ltr) of the page is inserted or to the left (rtl).
Also moved to make block boxes only print on pages where their border-box intersects with the page rect rather than all pages where their overflow intersects.
So I don't break what's working as I continue to work on shadow pages. Included: + Static + Absolute/relative + floats + table + paginated table
I have added a page on cut-off page support on the wiki. Here is a sample PDF: |
No description provided.
The text was updated successfully, but these errors were encountered: