You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2018/06/06 18:34:00 UTC
[jira] [Comment Edited] (PDFBOX-4068) Create ContentStream for
XObject forms and tiling patterns
[ https://issues.apache.org/jira/browse/PDFBOX-4068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503722#comment-16503722 ]
Tilman Hausherr edited comment on PDFBOX-4068 at 6/6/18 6:33 PM:
-----------------------------------------------------------------
(From memory) A few weeks ago, Maruan and I agreed that we wouldn't remove these methods in 3.0 but keep them deprecated to discourage the usage.
For what do you need the getOutputStream() method? I needed it recently because I was thinking about copying the /DA Content to the output stream for some annotations, but at the end, I decided to parse the string instead. And then I noticed that Maruan had done the same long ago for widget annotations.
was (Author: tilman):
A few weeks ago, Maruan and I agreed that we wouldn't remove these methods in 3.0.
For what do you need the getOutputStream() method? I needed it recently because I was thinking about copying the /DA Content to the output stream for some annotations, but at the end, I decided to parse the string instead. And then I noticed that Maruan had done the same long ago for widget annotations.
> Create ContentStream for XObject forms and tiling patterns
> ----------------------------------------------------------
>
> 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 and tiling patterns.
> 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-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org