Html2pdf using open pdf (#11178)

* Added inital changes html to pdf using openPdf

* Added changes to pdf for external style

* Added chnages via flying saucer

* Added changes ti fix the issue

* Added inital changes

* Simplyfied the core logic

* Created a sperate package

* Added changes for making it more modular

* Added Image attribute update

* Added chnages to add images

* Added changes

* Style validation

* Added changes to fix the styles

* Review comments updates

* Corrected the versions

* Fixed the review commit

* Added changes to fix the indendation issue

Co-authored-by: Amitabh.Tiwari <amitabh.tiwari@maersk.com>
This commit is contained in:
Amitabh Tiwari
2021-09-17 07:31:41 +05:30
committed by GitHub
parent b441c62f0e
commit 2a68c0e2bb
7 changed files with 220 additions and 0 deletions
+24
View File
@@ -71,6 +71,26 @@
<artifactId>flying-saucer-pdf</artifactId>
<version>${flying-saucer-pdf.version}</version>
</dependency>
<dependency>
<groupId>org.xhtmlrenderer</groupId>
<artifactId>flying-saucer-pdf-openpdf</artifactId>
<version>${flying-saucer-pdf-openpdf.version}</version>
</dependency>
<dependency>
<groupId>org.jsoup</groupId>
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
<dependency>
<groupId>com.openhtmltopdf</groupId>
<artifactId>openhtmltopdf-core</artifactId>
<version>${open-html-pdf-core.version}</version>
</dependency>
<dependency>
<groupId>com.openhtmltopdf</groupId>
<artifactId>openhtmltopdf-pdfbox</artifactId>
<version>${open-html-pdfbox.version}</version>
</dependency>
</dependencies>
<build>
@@ -93,6 +113,10 @@
<poi-ooxml.version>3.15</poi-ooxml.version>
<thymeleaf.version>3.0.11.RELEASE</thymeleaf.version>
<flying-saucer-pdf.version>9.1.20</flying-saucer-pdf.version>
<open-html-pdfbox.version>1.0.6</open-html-pdfbox.version>
<open-html-pdf-core.version>1.0.6</open-html-pdf-core.version>
<flying-saucer-pdf-openpdf.version>9.1.22</flying-saucer-pdf-openpdf.version>
<jsoup.version>1.14.2</jsoup.version>
</properties>
</project>