iTextSharp.text.exceptions.IllegalPdfSyntaxException

Posted by: cmst on 6 September 2020, 11:42 pm EST

    • Post Options:
    • Link

    Posted 6 September 2020, 11:42 pm EST

    Hi

    When using ActiveReports, I got the following excepting

    iTextSharp.text.exceptions.IllegalPdfSyntaxException:

    I have fixed the problem on my end, however I was wondering if iText library is used in ActiveReports? I am just asking this because I used iText in another project and surprised to see it here as well.

    Thanks

  • Posted 7 September 2020, 12:01 am EST

    Hello,

    Yes, AR13 and lower version uses iTextSharp internally. However, AR14 does not use the iTextSharp to export the report.

    Thanks,

    Mohit

  • Posted 7 September 2020, 12:52 am EST

    Hi Mohit,

    Thanks for the reply. How does the licensing work then?

    For example, if I use AR13 to generate PDF documents, am I supposed to purchase license from iText? How does this work?

    We did purchase license for my other project.

  • Posted 7 September 2020, 1:21 am EST

    Hello,

    You don’t need the license of iText while exporting the AR to PDF documents. You only needs AR13 license to export report.

    Thanks,

    Mohit

  • Posted 7 September 2020, 2:06 am EST

    Hi Mohit,

    I am really confused now.

    iText is released under AGPL. I can’t make my source code open to comply with AGPL. How did you comply with AGPL when embedding iText into AR13 and lower? We did this exercise when purchasing the license for our other project and it is not a fun task to be honest.

  • Posted 7 September 2020, 11:30 pm EST

    Hello,

    I have asked the same from the development team(AR-25065) and will inform you once I get any information from them.

    Thanks,

    Mohit

  • Posted 8 September 2020, 12:03 am EST

    Hello,

    As per developer, in AR13, we use iTextSharp v4.1.7.7 with MPL license.

    Thanks,

    Mohit

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels