pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: PDFBox 2.0.0 replacement for PDPageContentStream.appendRawCommands
Date Fri, 18 Dec 2015 18:59:28 GMT
Am 18.12.2015 um 19:46 schrieb Peter Prusi:
> Which Methods do that ?

The methods you use to do things, e.g. showText. They call the private 
method writeOperator(), which is this:

     private void writeOperator(String text) throws IOException
     {
         output.write(text.getBytes(Charsets.US_ASCII));
         output.write('\n');
     }



Tilman

>
> Am 18.12.2015 um 16:50 schrieb Tilman Hausherr:
>> Am 18.12.2015 um 13:50 schrieb Peter Prusinowski:
>>> Hello,
>>>
>>> is there an alternative command for 
>>> PDPageContentStream.appendRawCommands in version 2.0.0 ?
>>> I am using this command for linebreaks and saw that its deprectaed 
>>> in this version.
>>
>> You don't need extra line breaks, the methods already do them.
>>
>> I don't know why this was deprecated, and I disagree with it. I 
>> suggest you just use it. Whatever will be done in 2.1 can only be 
>> guessed.
>>
>> Tilman
>>
>> ---------------------------------------------------------------------
>> 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


Mime
View raw message