On 28.08.2006 14:31:49 Pascal Sancho wrote: > > -----Original Message----- > > From: Johannes Becker [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 28, 2006 11:51 AM > > To: [email protected] > > Subject: [0.92beta] foUserAgent.setXXX - Do (all) setters work? > > > > Hi, > > > > I'm trying to set the Author, Title and CreationDate with the > > FoUserAgent of my PDF (foUserAgent.setXXX). > > > > The generated PDFs entries are blank in the "Description" of > > the document. Is this a problem of FOP or my PDF-viewer > > (Adobe-Acrobat Reader 7.0.5 on Windows)? > > > > Cheers > > Jonny > > Hi Jonny, > > AFAIK, FOP doesn't support directly PDF propertires (see [1]). > You should use a post-processing tool like i-text (see [2]).
That was FOP 0.20.5. The latest release supports this. It could be that 0.92beta has a little problem in that area, but at least in FOP Trunk (from SVN) handles that just fine. With FOP Trunk you even have the possibility to set the document metadata as XMP metadata in the fo:declarations part of your XSL-FO document. Jonny, please open the PDF file in a text editor and check if you see the values you set in there right at the beginning of the file. Could you show us the code part where you configure the FOUserAgent? > HTH, Pascal > > [1] http://xmlgraphics.apache.org/fop/faq.html#pdf-doc-properties > [2] http://xmlgraphics.apache.org/fop/0.20.5/output.html#pdf-postprocess Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
