You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Alessandro Volz <ag...@me.com.INVALID> on 2025/06/19 15:17:15 UTC
please make PDAbstractContentStream public
Dear devs,
I use PDFBox for generating complex reports and I've come across an odd choice.
I have since a long time used PDPageContentStream and I built many utility methods around it, e.g. a rect(Rect r) function that uses moveTo, lineTo and closePath to trace a rect.
Now I started using mask layers, using PDFormContentStream. I need to draw some complex stuff in there too, so I was hoping to use the same utility methods I already wrote.
And hey, both stream classes extend PDAbstractContentStream, cool!
However, surprise! PDAbstractContentStream only has package visibility.
Could we make PDAbstractContentStream public?
TY
Alessandro
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org
Re: please make PDAbstractContentStream public
Posted by Mark de Does <ma...@mdedoes.xs4all.nl>.
I am the original poster.
At the time of my proposal, I was overwhelmed by other things and
dropped out. My apologies for that.
I had a slightly different view. But as everyone thinks that making
PDAbstractContentStream public is better, that is the best solution. I
will retract my PR.
Greetings.. Mark
--
Mark de Does, Magdalenastraat 6, 3512 NH Utrecht, the Netherlands,
e: mark@mdedoes.xs4all.nl
On 20-06-2025 10:06, Andreas Lehmkühler wrote:
> This ist the whole thread Tilman mentioned
>
> https://lists.apache.org/thread/cm1d1jqf6qy3q339fl7yd3xpqpqm7yko
>
> The origin poster never commented on my proposal ...
>
> @Allessandro
> I guess the proposal exaclty meets your requwst, or did I miss something?
>
> Andreas
>
> Am 19.06.25 um 18:05 schrieb Tilman Hausherr:
>> Hi,
>>
>> We had a discussion about this earlier this year (use the search) but
>> somehow it didn't really come to a conclusion.
>> https://lists.apache.org/list?users@pdfbox.apache.org
>>
>> Tilman
>>
>>
>> On 6/19/2025 5:17 PM, Alessandro Volz wrote:
>>> Dear devs,
>>>
>>> I use PDFBox for generating complex reports and I've come across an
>>> odd choice.
>>>
>>> I have since a long time used PDPageContentStream and I built many
>>> utility methods around it, e.g. a rect(Rect r) function that uses
>>> moveTo, lineTo and closePath to trace a rect.
>>>
>>> Now I started using mask layers, using PDFormContentStream. I need
>>> to draw some complex stuff in there too, so I was hoping to use the
>>> same utility methods I already wrote.
>>> And hey, both stream classes extend PDAbstractContentStream, cool!
>>>
>>> However, surprise! PDAbstractContentStream only has package visibility.
>>>
>>> Could we make PDAbstractContentStream public?
>>>
>>> TY
>>>
>>> Alessandro
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org
Re: please make PDAbstractContentStream public
Posted by Andreas Lehmkühler <an...@lehmi.de.INVALID>.
This ist the whole thread Tilman mentioned
https://lists.apache.org/thread/cm1d1jqf6qy3q339fl7yd3xpqpqm7yko
The origin poster never commented on my proposal ...
@Allessandro
I guess the proposal exaclty meets your requwst, or did I miss something?
Andreas
Am 19.06.25 um 18:05 schrieb Tilman Hausherr:
> Hi,
>
> We had a discussion about this earlier this year (use the search) but
> somehow it didn't really come to a conclusion.
> https://lists.apache.org/list?users@pdfbox.apache.org
>
> Tilman
>
>
> On 6/19/2025 5:17 PM, Alessandro Volz wrote:
>> Dear devs,
>>
>> I use PDFBox for generating complex reports and I've come across an
>> odd choice.
>>
>> I have since a long time used PDPageContentStream and I built many
>> utility methods around it, e.g. a rect(Rect r) function that uses
>> moveTo, lineTo and closePath to trace a rect.
>>
>> Now I started using mask layers, using PDFormContentStream. I need to
>> draw some complex stuff in there too, so I was hoping to use the same
>> utility methods I already wrote.
>> And hey, both stream classes extend PDAbstractContentStream, cool!
>>
>> However, surprise! PDAbstractContentStream only has package visibility.
>>
>> Could we make PDAbstractContentStream public?
>>
>> TY
>>
>> Alessandro
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
>> For additional commands, e-mail: users-help@pdfbox.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org
Re: please make PDAbstractContentStream public
Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,
We had a discussion about this earlier this year (use the search) but
somehow it didn't really come to a conclusion.
https://lists.apache.org/list?users@pdfbox.apache.org
Tilman
On 6/19/2025 5:17 PM, Alessandro Volz wrote:
> Dear devs,
>
> I use PDFBox for generating complex reports and I've come across an odd choice.
>
> I have since a long time used PDPageContentStream and I built many utility methods around it, e.g. a rect(Rect r) function that uses moveTo, lineTo and closePath to trace a rect.
>
> Now I started using mask layers, using PDFormContentStream. I need to draw some complex stuff in there too, so I was hoping to use the same utility methods I already wrote.
> And hey, both stream classes extend PDAbstractContentStream, cool!
>
> However, surprise! PDAbstractContentStream only has package visibility.
>
> Could we make PDAbstractContentStream public?
>
> TY
>
> Alessandro
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org