[ https://issues.apache.org/jira/browse/PDFBOX-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16351729#comment-16351729 ]
Maruan Sahyoun edited comment on PDFBOX-4068 at 2/4/18 10:30 AM: ----------------------------------------------------------------- Sorry - I'll keep it as {{setOutput}} / {{getOutput}} s used within {{PDPageContentStream}} after deciding on the {{AppendMode}} so there needs to be a possibility to set the {{OutputStream}} after the constructor. I'll rename the method to {{setOutputStream}} {{getOutputStream}} to make the method name clearer. was (Author: msahyoun): Sorry - I'll keep it as {{set/Output}} / {{getOutput}} s used within {{PDPageContentStream}} after deciding on the {{AppendMode}} so there needs to be a possibility to set the {{OutputStream}} after the constructor. I'll rename the method to {{setOutputStream}} {{getOutputStream}} to make the method name clearer. > Create ContentStream for XObject forms > -------------------------------------- > > Key: PDFBOX-4068 > URL: https://issues.apache.org/jira/browse/PDFBOX-4068 > Project: PDFBox > Issue Type: Task > Components: PDModel > Reporter: Tilman Hausherr > Priority: Major > > We have a {{PDAppearanceContentStream}} for appearances but nothing for > XObject forms. > What we need should extend {{PDAbstractContentStream}} and should have a > constructor like > {code:java} > public PDFormContentStream(PDFormXObject form) throws IOException > {code} > Alternatively, why not replace {{PDAppearanceContentStream}} ? Its parameter > {{PDAppearanceStream}} is extended from {{PDFormXObject}} so we could just > use the base class. > We need this both for 2.0 and 3.* - we have users who have a really hard time > fiddling with low level operators instead of using the methods. > In 2.0 we could replace the parameter of {{PDPageContentStream}} that is > currently {{PDAppearanceStream}}. This would be a non breaking change. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org