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

Reply via email to