[
https://issues.apache.org/jira/browse/PDFBOX-2691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr closed PDFBOX-2691.
-----------------------------------
Resolution: Duplicate
I am closing this as duplicate of PDFBOX-2692 because it is basically the same,
but his explanation is more detailed. But I am adding you as a watcher there
and will also copy your text there.
> 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: [email protected]
For additional commands, e-mail: [email protected]