Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » PDF/A-1a and PDF/A-1b?
PDF/A-1a and PDF/A-1b? [message #751608] Wed, 26 October 2011 05:28 Go to next message
Mika Tapanainen is currently offline Mika TapanainenFriend
Messages: 55
Registered: July 2010
Member
Hello,

Does BIRT (2.6.1) produce PDF files, which conform the PDF/A-1a and PDF/A-1b standards? Simply these standards are for the digital preservation of the documents. For example the fonts should be embedded in the PDF etc. I checked my code and I have not used PDFRenderOption.setEmbededFont(true). What default value BIRT uses with the font embedding?

See the http://en.wikipedia.org/wiki/PDF/A for more information.

Is there any specific BIRT API commands I have to use to conform above standards?

BR,

Mika

[Updated on: Wed, 26 October 2011 06:04]

Report message to a moderator

Re: PDF/A-1a and PDF/A-1b? [message #752810 is a reply to message #751608] Wed, 26 October 2011 14:25 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

BIRT uses iText to generate PDF and iText has a setPDFXConformance
method, but currently BIRT does not make this call in the PDF emitter.

PdfWriter writer = PdfWriter.getInstance(document,
new FileOutputStream(filename));
writer.setPdfVersion(PdfWriter.PDF_VERSION_1_4);
writer.setPDFXConformance(PdfWriter.PDFA1B)

I am not certain whether this means that the the files BIRT produces are
not compliant. You could always change the source and add the call.

Jason

On 10/26/2011 1:28 AM, mika.tapanainen wrote:
> Hello,
>
> Does BIRT (2.6.1) produce PDF files, which conform the PDF/A-1a and
> PDF/A-1b standards?
>
> See the http://en.wikipedia.org/wiki/PDF/A for more information.
>
> Is there any specific BIRT API commands I have to use to conform above
> standards?
>
> BR,
>
> Mika
Re: PDF/A-1a and PDF/A-1b? [message #753403 is a reply to message #752810] Thu, 27 October 2011 05:56 Go to previous messageGo to next message
Mika Tapanainen is currently offline Mika TapanainenFriend
Messages: 55
Registered: July 2010
Member
Is it really so that I have to change the source code? Is it possible that in the future releases of the BIRT API there would be a possibility to set above conformance (PdfWriter.PDFA1B, PdfWriter.PDF_VERSION_1_4 etc.) directly?

BR,

Mika

[Updated on: Thu, 27 October 2011 05:56]

Report message to a moderator

Re: PDF/A-1a and PDF/A-1b? [message #753527 is a reply to message #753403] Thu, 27 October 2011 15:08 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Open a bugzilla entry to see if we can get an option put in the pdf
emitter for this.

Jason

On 10/27/2011 1:56 AM, mika.tapanainen wrote:
> Is it really so that I have to change the source code? Is it possible
> that in the future releases of the BIRT API there would be a possibility
> to set above conformance (PdfWriter.PDFA1B, PdfWriter.PDF_VERSION_1_4
> etc.) directly?
Re: PDF/A-1a and PDF/A-1b? [message #753661 is a reply to message #753527] Fri, 28 October 2011 09:00 Go to previous messageGo to next message
Mika Tapanainen is currently offline Mika TapanainenFriend
Messages: 55
Registered: July 2010
Member
I posted this:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=362282
Re: PDF/A-1a and PDF/A-1b? [message #753771 is a reply to message #753661] Fri, 28 October 2011 16:50 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks for posting the number.

On 10/28/2011 5:00 AM, mika.tapanainen wrote:
> I posted this:
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=362282
Re: PDF/A-1a and PDF/A-1b? [message #766183 is a reply to message #753771] Thu, 15 December 2011 10:32 Go to previous messageGo to next message
NJ Missing name is currently offline NJ Missing nameFriend
Messages: 4
Registered: December 2011
Junior Member
Is there any news on this topic? i.e. Is it planned to implement this feature in the near future? We also have a need to archive data that is exported using BIRT. The format has to be PDF/A-1b

Thanks in advance for your help.
Re: PDF/A-1a and PDF/A-1b? [message #766347 is a reply to message #766183] Thu, 15 December 2011 15:31 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

It is not in the development plan yet. Hopefully we will have an update
shortly.

Jason

On 12/15/2011 5:33 AM, NJ wrote:
> Is there any news on this topic? i.e. Is it planned to implement this
> feature in the near future? We also have a need to archive data that is
> exported using BIRT. The format has to be PDF/A-1b
>
> Thanks in advance for your help.
Re: PDF/A-1a and PDF/A-1b? [message #766745 is a reply to message #766347] Fri, 16 December 2011 10:49 Go to previous messageGo to next message
NJ Missing name is currently offline NJ Missing nameFriend
Messages: 4
Registered: December 2011
Junior Member
Great, thanks, I look forward to an update in the near future. It would be great if this can be completed in Q1 2012.

[Updated on: Fri, 16 December 2011 10:51]

Report message to a moderator

Re: PDF/A-1a and PDF/A-1b? [message #783245 is a reply to message #766745] Wed, 25 January 2012 10:52 Go to previous messageGo to next message
NJ Missing name is currently offline NJ Missing nameFriend
Messages: 4
Registered: December 2011
Junior Member
Any news / updates yet?

Thanks

N.
Re: PDF/A-1a and PDF/A-1b? [message #783861 is a reply to message #783245] Thu, 26 January 2012 15:49 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I am pretty certain this is planned for the next major version of BIRT
(June), 3.6.2 will be out in a couple of weeks, and it may make it in
that version but I doubt it.

Jason

On 1/25/2012 5:52 AM, NJ Mising name wrote:
> Any news / updates yet?
>
> Thanks
>
> N.
Re: PDF/A-1a and PDF/A-1b? [message #784243 is a reply to message #783861] Fri, 27 January 2012 08:40 Go to previous messageGo to next message
NJ Missing name is currently offline NJ Missing nameFriend
Messages: 4
Registered: December 2011
Junior Member
Ok, thanks will check back here in a couple of weeks then.
Re: PDF/A-1a and PDF/A-1b? [message #893754 is a reply to message #751608] Thu, 05 July 2012 13:04 Go to previous messageGo to next message
Missing name Mising name is currently offline Missing name Mising nameFriend
Messages: 6
Registered: August 2011
Junior Member
Something new in Birt 4.2 for PDF/A-1a or PDF/A-1b?
Re: PDF/A-1a and PDF/A-1b? [message #893808 is a reply to message #893754] Thu, 05 July 2012 14:28 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

I do not believe that bugzilla entry was implemented in 4.2.

Jason

On 7/5/2012 9:04 AM, m.kassens wrote:
> Something new in Birt 4.2 for PDF/A-1a or PDF/A-1b?
Re: PDF/A-1a and PDF/A-1b? [message #1020504 is a reply to message #893808] Mon, 18 March 2013 10:22 Go to previous messageGo to next message
Adrian Andras is currently offline Adrian AndrasFriend
Messages: 7
Registered: March 2013
Location: Prague, Czech Republic
Junior Member

Any news for PDF/A-1a or PDF/A-1b in upcomming release of BIRT 4.3?

Thanks,
Adrian
Re: PDF/A-1a and PDF/A-1b? [message #1021178 is a reply to message #1020504] Tue, 19 March 2013 16:03 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Adrian

We are publishing the 4.3 plan this week, but this bug is not in the list. Is patching the PDF an emitter an option?

Re: PDF/A-1a and PDF/A-1b? [message #1021235 is a reply to message #1021178] Tue, 19 March 2013 17:54 Go to previous messageGo to next message
Adrian Andras is currently offline Adrian AndrasFriend
Messages: 7
Registered: March 2013
Location: Prague, Czech Republic
Junior Member

Jason Weathersby wrote on Tue, 19 March 2013 12:03
Adrian

We are publishing the 4.3 plan this week, but this bug is not in the list. Is patching the PDF an emitter an option?



Jason, thanks for your reply. How would that work with patching the PDF by an emmiter?

Just to explain what I need to achieve more in detail. PDF files I am currently creating are generated on server from an external system that uses a birt-runtime with standard report design files created in BIRT 2.5.2 (upgrading to the latest version of BIRT is not a problem if needed). Report design file exports the xml data source to pdf format. The whole process is managed with a script written in bash. If there's any tool that would be able to convert the standard PDF file generated with BIRT to the PDF/A format, that would be the sufficient solution for my needs.

Thanks for your answer. I appreciate it.

Adrian
Re: PDF/A-1a and PDF/A-1b? [message #1022368 is a reply to message #1021235] Thu, 21 March 2013 19:03 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Adrian

There a couple of ways I can think to do this. First modify the source for the existing BIRT PDF emitter to put code in to add:
PdfWriter writer = PdfWriter.getInstance(document,
new FileOutputStream(filename));
writer.setPdfVersion(PdfWriter.PDF_VERSION_1_4);
writer.setPDFXConformance(PdfWriter.PDFA1B)

You would then export the new emitter plugin and replace your current one with the one you modified. Another option may be to write a program that uses iText to open the PDF documents and add the above code. I have not tried either approach, so I am not 100% that this will work though.
Re: PDF/A-1a and PDF/A-1b? [message #1023964 is a reply to message #1022368] Mon, 25 March 2013 14:59 Go to previous messageGo to next message
Adrian Andras is currently offline Adrian AndrasFriend
Messages: 7
Registered: March 2013
Location: Prague, Czech Republic
Junior Member

Thanks for your advice, Jason. Just for my info, are you considering to include this feature (generating reports in PDF/A format) as a standard function of BIRT in any of upcomming releases?

Thanks,
Adrian

[Updated on: Mon, 25 March 2013 15:00]

Report message to a moderator

Re: PDF/A-1a and PDF/A-1b? [message #1062645 is a reply to message #1023964] Mon, 10 June 2013 08:52 Go to previous messageGo to next message
Guillaume RD is currently offline Guillaume RDFriend
Messages: 2
Registered: June 2013
Junior Member
Hi Adrian,

I'm trying to figure out what would be the best solution for our project to edit PDF/A compliant documents. Have you come to a satisfying solution with BIRT/iText or with other tools? Thanks for giving clues if any!

Guillaume
Re: PDF/A-1a and PDF/A-1b? [message #1064100 is a reply to message #1062645] Mon, 17 June 2013 15:54 Go to previous messageGo to next message
Adrian Andras is currently offline Adrian AndrasFriend
Messages: 7
Registered: March 2013
Location: Prague, Czech Republic
Junior Member

Hi Guillaume,
I haven't tried any of the procedures yet, that Jason suggested earlier. I'm waiting for the upcomming release of BIRT 4.3 now (should be out in just few days) and I'll see if any possible functions for generating reports in format PDF/A are included.

Has someone else by any chance found another possible solution that would solve this problem?

Thanks everyone for any kind of answer to this topic.

Adrian
Re: PDF/A-1a and PDF/A-1b? [message #1064112 is a reply to message #1064100] Mon, 17 June 2013 17:16 Go to previous messageGo to next message
Guillaume RD is currently offline Guillaume RDFriend
Messages: 2
Registered: June 2013
Junior Member
Thanks Adrian. Nothing new on my side.
Re: PDF/A-1a and PDF/A-1b? [message #1384851 is a reply to message #1064112] Mon, 02 June 2014 14:10 Go to previous message
Rafael Detter is currently offline Rafael DetterFriend
Messages: 1
Registered: June 2014
Junior Member
Hi, Does anyone have any updates on this matter? I really need a solution for PDF/A.

Thanks !
Previous Topic:Barcode scanner is not reading barcode in BIRT
Next Topic:Trouble getting BIRT report viewer to work
Goto Forum:
  


Current Time: Thu Mar 28 21:32:15 GMT 2024

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

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

Back to the top