[jira] [Comment Edited] (PDFBOX-4853) PDPageContentStream doesn't extend PDAbstractContentStream

2020-05-30 Thread maltaisn (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17120347#comment-17120347
 ] 

maltaisn edited comment on PDFBOX-4853 at 5/30/20, 6:56 PM:


Thanks for the quick response.
{quote}
I don't see anything in the mailing list. What was the title?
{quote}

It was the users-info mailing list actually. 

{quote}
What you are asking for is implemented in the trunk, but not in 2.0.*, probably 
because it would break the API compatibility.
{quote}

I just checked it out and that's pretty much what I was asking for. Is this 
scheduled for release soon? Or it'll have to wait until 3.0 because of the 
breaking changes?


was (Author: maltaisn):
{quote}
I don't see anything in the mailing list. What was the title?
{quote}

It was the users-info mailing list actually. 

{quote}
What you are asking for is implemented in the trunk, but not in 2.0.*, probably 
because it would break the API compatibility.
{quote}

I just checked it out and that's pretty much what I was asking for. Is this 
scheduled for release soon? Or it'll have to wait until 3.0 because of the 
breaking changes? Thanks for the quick response.

> PDPageContentStream doesn't extend PDAbstractContentStream
> --
>
> Key: PDFBOX-4853
> URL: https://issues.apache.org/jira/browse/PDFBOX-4853
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: maltaisn
>Priority: Minor
>
> Hi,
>  
> I'm not sure if this is the right place to post this. I tried the FAQ mailing 
> list 2 weeks ago and didn't get any response so I'll try here.
>  
> I'm creating a PDF with transparency groups so I need to use 
> PDFormContentStream, but also PDPageContentStream when not drawing to a 
> transparency group. Transparency groups can be arbitrarily nested so I keep a 
> stack of the current content stream to know which one to write to.
>  
> However, what prevents me to keep the stack is that PDPageContentStream and 
> PDFormContentStream have no common interface despite sharing nearly all the 
> same methods. Is there any reason for this? I see there's already 
> PDAbstractContentStream that's being implemented by PDFormContentStream, 
> PDAppearanceContentStream PDPatternContentStream, but not by 
> PDPageContentStream... Why?
> Currently this forces me to do [something like 
> that|https://pastebin.com/p2FJw6GN] (Kotlin code) to artificially create an 
> interface for both. It's pretty ugly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4853) PDPageContentStream doesn't extend PDAbstractContentStream

2020-05-30 Thread maltaisn (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17120347#comment-17120347
 ] 

maltaisn edited comment on PDFBOX-4853 at 5/30/20, 6:55 PM:


{quote}
I don't see anything in the mailing list. What was the title?
{quote}

It was the users-info mailing list actually. 

{quote}
What you are asking for is implemented in the trunk, but not in 2.0.*, probably 
because it would break the API compatibility.
{quote}

I just checked it out and that's pretty much what I was asking for. Is this 
scheduled for release soon? Or it'll have to wait until 3.0 because of the 
breaking changes? Thanks for the quick response.


was (Author: maltaisn):
??I don't see anything in the mailing list. What was the title? ??

It was the users-info mailing list actually. 

?? What you are asking for is implemented in the trunk, but not in 2.0.*, 
probably because it would break the API compatibility. ??

I just checked it out and that's pretty much what I was asking for. Is this 
scheduled for release soon? Or it'll have to wait until 3.0 because of the 
breaking changes? Thanks for the quick response.

> PDPageContentStream doesn't extend PDAbstractContentStream
> --
>
> Key: PDFBOX-4853
> URL: https://issues.apache.org/jira/browse/PDFBOX-4853
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: maltaisn
>Priority: Minor
>
> Hi,
>  
> I'm not sure if this is the right place to post this. I tried the FAQ mailing 
> list 2 weeks ago and didn't get any response so I'll try here.
>  
> I'm creating a PDF with transparency groups so I need to use 
> PDFormContentStream, but also PDPageContentStream when not drawing to a 
> transparency group. Transparency groups can be arbitrarily nested so I keep a 
> stack of the current content stream to know which one to write to.
>  
> However, what prevents me to keep the stack is that PDPageContentStream and 
> PDFormContentStream have no common interface despite sharing nearly all the 
> same methods. Is there any reason for this? I see there's already 
> PDAbstractContentStream that's being implemented by PDFormContentStream, 
> PDAppearanceContentStream PDPatternContentStream, but not by 
> PDPageContentStream... Why?
> Currently this forces me to do [something like 
> that|https://pastebin.com/p2FJw6GN] (Kotlin code) to artificially create an 
> interface for both. It's pretty ugly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org



[jira] [Comment Edited] (PDFBOX-4853) PDPageContentStream doesn't extend PDAbstractContentStream

2020-05-30 Thread Tilman Hausherr (Jira)


[ 
https://issues.apache.org/jira/browse/PDFBOX-4853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17120331#comment-17120331
 ] 

Tilman Hausherr edited comment on PDFBOX-4853 at 5/30/20, 6:08 PM:
---

I don't see anything in the mailing list. What was the title?

What you are asking for is implemented in the trunk, but not in 2.0.*, probably 
because it would break the API compatibility.


was (Author: tilman):
I don't see anything in the mailing list. What was the title?

What you are asking for is implemented in the trunk, but not in 2.0.*, probably 
because it would break the API.

> PDPageContentStream doesn't extend PDAbstractContentStream
> --
>
> Key: PDFBOX-4853
> URL: https://issues.apache.org/jira/browse/PDFBOX-4853
> Project: PDFBox
>  Issue Type: Improvement
>Reporter: maltaisn
>Priority: Minor
>
> Hi,
>  
> I'm not sure if this is the right place to post this. I tried the FAQ mailing 
> list 2 weeks ago and didn't get any response so I'll try here.
>  
> I'm creating a PDF with transparency groups so I need to use 
> PDFormContentStream, but also PDPageContentStream when not drawing to a 
> transparency group. Transparency groups can be arbitrarily nested so I keep a 
> stack of the current content stream to know which one to write to.
>  
> However, what prevents me to keep the stack is that PDPageContentStream and 
> PDFormContentStream have no common interface despite sharing nearly all the 
> same methods. Is there any reason for this? I see there's already 
> PDAbstractContentStream that's being implemented by PDFormContentStream, 
> PDAppearanceContentStream PDPatternContentStream, but not by 
> PDPageContentStream... Why?
> Currently this forces me to do [something like 
> that|https://pastebin.com/p2FJw6GN] (Kotlin code) to artificially create an 
> interface for both. It's pretty ugly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org