PDF/A-1a and PDF/A-1b? [message #751608] |
Wed, 26 October 2011 05:28 |
Mika Tapanainen 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 |
|
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 #753527 is a reply to message #753403] |
Thu, 27 October 2011 15:08 |
|
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 #766347 is a reply to message #766183] |
Thu, 15 December 2011 15:31 |
|
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 #783861 is a reply to message #783245] |
Thu, 26 January 2012 15:49 |
|
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 #1021235 is a reply to message #1021178] |
Tue, 19 March 2013 17:54 |
|
Jason Weathersby wrote on Tue, 19 March 2013 12:03Adrian
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 |
|
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 #1064100 is a reply to message #1062645] |
Mon, 17 June 2013 15:54 |
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04606 seconds