You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2014/10/11 03:38:33 UTC

[jira] [Closed] (PDFBOX-476) Add an explicit default constructor to PDPageContentStream, to allow class derivation

     [ https://issues.apache.org/jira/browse/PDFBOX-476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Hewson closed PDFBOX-476.
------------------------------
    Resolution: Invalid

This isn't valid, a PDPageContentStream *must* have a parent PDDocument and a source PDPage.

> Add an explicit default constructor to PDPageContentStream, to allow class derivation
> -------------------------------------------------------------------------------------
>
>                 Key: PDFBOX-476
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-476
>             Project: PDFBox
>          Issue Type: Wish
>          Components: PDModel
>    Affects Versions: 0.8.0-incubator
>         Environment: any
>            Reporter: Signor Uno
>            Priority: Trivial
>         Attachments: PDPageContentStream-PDFBOX-476.patch
>
>
> Since PDPageContentStream does not contain an explicit default constructor, it's not possible to extend it to implement custom behavior.
> adding PDPageContentStream(){} would be most useful for this.
> Also, most of (or all) private fields and member functions should become protected instead of private



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)