Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » PDF emitter specification 1.4=>1.5 ?
PDF emitter specification 1.4=>1.5 ? [message #536834] Mon, 31 May 2010 07:59 Go to next message
Eclipse UserFriend
Originally posted by: no.no.no

Hi,

we re using BIRT to create our reports. We noticed, with
since the latest version of BIRT, that generated PDF files
are now PDF 1.5 instead 1.4.

We are using the java pdf-renderer library to show reports.
But this library only supports the 1.4 specification.

Is there a way to configure BIRT to generate 1.4 instead of 1.5
pdf files ?


Dennis
Re: PDF emitter specification 1.4=>1.5 ? [message #537129 is a reply to message #536834] Tue, 01 June 2010 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: no.no.no

Dennis Schladebeck wrote:
> Hi,
>
> we re using BIRT to create our reports. We noticed, with
> since the latest version of BIRT, that generated PDF files
> are now PDF 1.5 instead 1.4.
>
> We are using the java pdf-renderer library to show reports.
> But this library only supports the 1.4 specification.
>
> Is there a way to configure BIRT to generate 1.4 instead of 1.5
> pdf files ?
>
>
> Dennis
Ok, i found out what caused the change to PDF specification 1.5. I answer
to my own post because there might be others running into the same problem.

It is in the file PDFPageDevice.java in the BIRT pdf emitter, in the constructor

....
writer = PdfWriter.getInstance( doc, new BufferedOutputStream(output ) );
//writer.setFullCompression( );
....

The method setFullCompression causes IText to set the minimum PDF level from 1.4 to 1.5.
I just removed the line for our runtime. Now PDF files are again 1.4, but slightly bigger.

Dennis
Re: PDF emitter specification 1.4=>1.5 ? [message #1800988 is a reply to message #537129] Thu, 10 January 2019 16:57 Go to previous message
mariano tammaro is currently offline mariano tammaroFriend
Messages: 5
Registered: January 2019
Junior Member
hi we can write all the code?
Previous Topic:Acessing excel file in external IP
Next Topic:Preview Tab Missing In Designer
Goto Forum:
  


Current Time: Tue Mar 19 02:54:59 GMT 2024

Powered by FUDForum. Page generated in 0.02172 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top