Opened 4 years ago

Closed 4 years ago

#1277 closed enhancement (fixed)

Update to iText PDF 7

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.28
Component: net.sf.basedb.reggie Keywords:
Cc:

Description

We are currently using iText PDF 5.5.3. The latest version is 7.1.13. The API has changed a lot and is not backwards compatible. But it seems to be better designed and easier to work with. There is also SVG support (in case we need that).

Change History (9)

comment:1 by Nicklas Nordborg, 4 years ago

In 6058:

References #1277: Update to iText PDF 7

Added new utility class PdfUtil7 which uses iText PDF 7. Functionality is similar to the existing PdfUtil class but not everything has been implemented. The SCAN-B report (#1190) has been updated to use the new implementation.

comment:2 by Nicklas Nordborg, 4 years ago

In 6060:

References #1277: Update to iText PDF 7

Updated the "Gene report" and "Pilot report" to use the new implementation.

comment:3 by Nicklas Nordborg, 4 years ago

In 6061:

References #1277: Update to iText PDF 7

Updated the "Referral generator" to use the new version.

comment:4 by Nicklas Nordborg, 4 years ago

In 6062:

References #1277: Update to iText PDF 7

Removed the old PdfUtil implementation and the old iText PDF version.

comment:5 by Nicklas Nordborg, 4 years ago

In 6064:

References #1277: Update to iText PDF 7

Implemented support for importing SVG images to a PDF.

comment:6 by Nicklas Nordborg, 4 years ago

In 6069:

References #1277: Update to iText PDF 7

Started to re-design the PdfUtil class to make it easier to combine text options such as bold, underlined and colored text.

Tested with the SCAN-B report.

comment:7 by Nicklas Nordborg, 4 years ago

In 6070:

References #1277: Update to iText PDF 7

Implemented rotation as a generic option. Changed all usage to the new API with Options.

comment:8 by Nicklas Nordborg, 4 years ago

In 6073:

References #1277: Update to iText PDF 7

Added support for italic texts since we already had the fonts files in the distribution.

comment:9 by Nicklas Nordborg, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.