Victor Mote wrote:
I think the best way to do this would be with our FO extension mechanism,
using the "fox" namespace. There are no calls to do this right now, but it
will be pretty doable after we get the redesign done. (Its actually pretty
doable now, but the redesign needs to take priority).

Victor Mote

I've never used FOP's extensions, although I keep threatening to play around a bit with Bookmarks. Here's an example from the FOP site:


<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format";
               xmlns:fox="http://xml.apache.org/fop/extensions";>
  <fox:outline internal-destination="sec3">
    <fox:label>Running FOP</fox:label>

    <fox:outline internal-destination="sec3-1">
      <fox:label>Prerequisites</fox:label>
    </fox:outline>
  <fox:outline>
</fo:root>

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...
--
Clay Leeds - [EMAIL PROTECTED]
Web Developer - Medata, Inc. - http://www.medata.com
PGP Public Key: https://mail.medata.com/pgp/cleeds.asc



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



Reply via email to