-
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
Control of PDPage creation via PDFCreationListener #334
Commits on Mar 8, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 4df0b80 - Browse repository at this point
Copy the full SHA 4df0b80View commit details
Commits on Mar 11, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 5ea56e8 - Browse repository at this point
Copy the full SHA 5ea56e8View commit details -
onCreatePage for PDFCreationListener
Added onCreatePage to PDFCreationListener. Added fireOnCreatePage to PdfBoxRenderer - by default this just creates a PDPage and adds it to the PDDocument (old behavior). This allows the user more control over the page that is created and also control when (or if) a page is to be added to the PDDocument.
ps authored and ps committedMar 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 06b0c8d - Browse repository at this point
Copy the full SHA 06b0c8dView commit details -
Renamed fireOnCreate to fireOnCreatePage
ps authored and ps committedMar 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 834f1e8 - Browse repository at this point
Copy the full SHA 834f1e8View commit details -
Merge pull request #3 from danfickle/open-dev-v1
danfickle#8 Online sandbox now at RC18. [ci skip]
Configuration menu - View commit details
-
Copy full SHA for e6aa50e - Browse repository at this point
Copy the full SHA e6aa50eView commit details -
PageSupplier instead of PDFCreationListener.onCreatePage (PR#334)
(See danfickle#334) Based on the suggested by @danfickle, reverted the changes to PDFCreationListener and PdfBoxRenderer, instead a PageSupplier can be set via the PdfRendererBuilder. The PageSupplier.requestPage allows the user to create a new page or supply an existing one where the Html will be printed. PdfRendererBuilder implements PageSupplier and simply creates a new page and adds it to the PDDocument.
ps authored and ps committedMar 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 9ed5f86 - Browse repository at this point
Copy the full SHA 9ed5f86View commit details -
Merge branch 'open-dev-v1' of https://github.com/DSW-PS/openhtmltopdf …
…into open-dev-v1
ps authored and ps committedMar 11, 2019 Configuration menu - View commit details
-
Copy full SHA for 3808c67 - Browse repository at this point
Copy the full SHA 3808c67View commit details
Commits on Mar 13, 2019
-
Fixed incorrect pageNumber arguments in shadow-page loop.
Added a brief explanation what "shadow-pages" are to the PageSupplier. As @danfickle pointed out, the current-page index (i) should be used as pageNumber argument for PageSupplier in PdfBoxRenderer when building the shadow-pages and not the pdfPageIndex (which at this point has already been upped by one). Also first call to PageSupplier should (for the first page) should be with pageNumber 0, not 1.
ps authored and ps committedMar 13, 2019 Configuration menu - View commit details
-
Copy full SHA for c16e049 - Browse repository at this point
Copy the full SHA c16e049View commit details