PDF A Files and Layout-Question

13 views
Skip to first unread message

SZE_CREATOR

unread,
Dec 17, 2009, 2:56:48 AM12/17/09
to jOpenDocument
Hi,
I'm writing a program to create certifications. It based on
OpenDocument-Templates. A result should be a PDF/A-File and of course
the layout must be 100% the same as in die ODT-Document.

I'm started to use OpenOffice as a service, but I would prefer a pure-
java approach. So I start thinking about jOpenDocument. I'm interested
about, how good the layout will be the same in PDF as in ODT-document.
Furthermore it would be great to know more about PDF/A-functionality,
specially how to figure out the fonts.

Hope that someone has experience with that topics.

Best regards
Niels

BartHanssens

unread,
Dec 18, 2009, 5:53:01 AM12/18/09
to jOpenDocument
Hi Niels,

> I'm writing a program to create certifications. It based on
> OpenDocument-Templates. A result should be a PDF/A-File and of course
> the layout must be 100% the same as in die ODT-Document.

Mm, please note that ODT may look slightly different, depending on the
application you're using to render it (most people probably use OOo,
but
AbiWord, MS-Office 2007sp2, Symphony etc can also display ODF files)

So I assume that by "100% the same" you mean "looks like OpenOffice
version X" using the fonts and settings of your computer...

> I'm started to use OpenOffice as a service, but I would prefer a pure-
> java approach. So I start thinking about jOpenDocument. I'm interested
> about, how good the layout will be the same in PDF as in ODT-document.

That's probably something you should test :-) Difficult to say,
depends
on complexity of your document, especially when it contains images
behind tables, frames, customized line spacings, drawings etc...

> Furthermore it would be great to know more about PDF/A-functionality,
> specially how to figure out the fonts.

If I recall correctly, jOpenDocument depends on iText 2.x (note that
there
is a new version of iText, 5.0, which has a different license and
slightly
different API)

iText 2.1.7 does have very good PDF/A support, but you do have to
embed the fonts using a font file.
As far as I know, iText does not come with a set of font files, so
you'll
have to read the font from an existing font on your computer.
(Take a look at the iText API, BaseFont class and/or FontFactory)


Best regards,

Bart

jOpenDocument, Guillaume

unread,
Dec 18, 2009, 6:24:14 AM12/18/09
to jopend...@googlegroups.com
Hi,

With jOpenDocument, you can transform (ie render) ODS document to PDF.
ODT is not currently supported, because of the amount of work (money) it
represents
to code a ODT renderer.

Regards,
Guillaume

Reply all
Reply to author
Forward
0 new messages