Daniel Wilson created PDFBOX-2691: ------------------------------------- Summary: PageDrawer should not be *final* Key: PDFBOX-2691 URL: https://issues.apache.org/jira/browse/PDFBOX-2691 Project: PDFBox Issue Type: Wish Components: Rendering Affects Versions: 2.0.0 Reporter: Daniel Wilson
A change from PDFBox 1.8.8 and earlier makes PageDrawer a final class -- prohibiting classes from inheriting it. This will prevent me from upgrading to version 2.0.0 because I use PDFBox to render PDF's in .Net. That requires that a few methods be overridden to use .Net drawing objects and libraries rather than Java objects and libraries. In order to override those methods, I define a class thus: {code} namespace PDFBox_Net { public class PageDrawer_Net : org.apache.pdfbox.pdfviewer.PageDrawer { /* all kinds of cool C# code ... */ } } {code} If PDFBox 2.0 PageDrawer remains final, I will need to choose between staying on the 1.8.x branch and forking the code. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org