Clay Leeds wrote:

> Here're the supported PDF meta-data attributes:
>
> Title
> Author
> Subject
> Keywords
> Creator
> Producer
> CreationDate
> ModDate
> Trapped
>
> Here's the PDF Spec Example:
>
> Example 9.1 shows a typical document information dictionary.
> 1 0 obj
>    << /Title (PostScript Language Reference, Third Edition)
>      /Author (Adobe Systems Incorporated)
>      /Creator (Adobe® FrameMaker® 5.5.3 for Power Macintosh)
>      /Producer (Acrobat® Distiller™ 3.01 for Power Macintosh)
>      /CreationDate (D:19970915110347-08'00')
>      /ModDate (D:19990209153925-08'00')
>    >>
> endobj
>
> Unfortunately, I don't know how to add these.
>
> Would I do something like this:
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
>                 xmlns:fox="http://xml.apache.org/fop/extensions";>
>    <fox:metadata title="Nifty PDF Meta Data">
>    <fox:metadata author="Clay Leeds">
>    <fox:metadata creator="XMLSpy">
>    <fox:metadata producer="Yahoo Serious">
>    <fox:metadata creation-date="2003-05-09">
>    <fox:metadata modification-date="2003-05-09">
> </fo:root>
>
> BTW, just as I was sending this, Jeremias' e-mail came through. I don't
> know if this stuff has any bearing (or might help "make it so"), but
> here it is...

There are two issues. First, you need a way to tell the FOP session what
metadata to embed in the PDF. Second, FOP needs to be able to take that
information and actually embed it. The "fox" code you have written above
would be one way to handle the first issue. The second issue will require
some modifications to FOP (i.e. java programming) which are probably not
terrible difficult.

Victor Mote


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to