[ 
https://issues.apache.org/jira/browse/OFBIZ-13300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18037991#comment-18037991
 ] 

ASF subversion and git services commented on OFBIZ-13300:
---------------------------------------------------------

Commit 8e492c2163dacbbbfe8cbc5f8704b5816a603e15 in ofbiz-framework's branch 
refs/heads/trunk from Jacques Le Roux
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=8e492c2163 ]

Improved: getFields() in AcroFields has been deprecated (OFBIZ-13312)

After moving from lowagie to openPDF (OFBIZ-13300),
getFields() in AcroFields is deprecated.

Contrary to what I wrote in OFBIZ-13306, it's not related to
"Upgrade java version to 21"

This fixes it (present only in PdfSurveyServices class).

I have also improved pdfStamper.close() missing in 2 places
(almost fixed but OFBIZ-13300 was not backported, better to keep things simple).
In one case I added it, in the other I used try-with-ressource.

I also put a comment about openpdf:1.3.43 being the last version with
com.lowagie.text embedded that is used (only) by PdfSurveyServices class.

Also some formatting


> Replace iText by librePDF
> -------------------------
>
>                 Key: OFBIZ-13300
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13300
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>            Reporter: Nicolas Malin
>            Assignee: Nicolas Malin
>            Priority: Minor
>         Attachments: OFBIZ-13300.patch
>
>
> With OFBIZ-10455 (Put back the com.lowagie:itext license from 4.2.0 to 
> 2.1.7), this library has been block in the past.
> It's not a good solution for the future due to dependencies conflict. 
> I have currently this problem with jasper library that use librepdf to 
> replace itext.
> I propose to replace the old library itext by librepdf 
> ([https://github.com/LibrePDF/OpenPDF)] that replace natively it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to