AW: storing metadata
Hi Paul, this is how Acrobat embeds files. Follow the indirect PDF object references: 5 0 obj << /Pages 2 0 R /Type /Catalog /Metadata 19 0 R /Names 17 0 R <<<--- add this entry >> endobj 17 0 obj <<<--- add this object << /EmbeddedFiles 18 0 R >> endobj 18 0 obj <<<--- add this object << /Names [ (?y M y D a t a)14 0 R ] <<<--- relate internal name to file object >> endobj 14 0 obj <<<--- add this file object << /F (eink03.txt) /Type /F /EF << /F 15 0 R >> <<<--- file content reference >> endobj 15 0 obj <<<--- add file content << /Filter [ /FlateDecode ] /Length 1913 /Type /EmbeddedFile /Params << /CheckSum <0a9b1bb2b166ecefaaf4a9e028e70567>/Size 9296 /CreationDate (D:20020326101325) /ModDate (D:20020326101330)>> /Subtype /text#2Fplain >> stream H??WM?$5??4y!/}a???8O ... endstream endobj Question: why storing XSL:FO instead of XML + XSL - having the user edit XML data and FOP reformat, repaginate the document? Hansuli Anderegg __ Metadata look like this: 19 0 obj << /Type /Metadata /Subtype /XML /Length 1311 >> stream Dokument - WordPad 2002-10-28T14:03:58Z Dokument Administrator Acrobat PDFWriter 5.0 for Windows NT 2002-10-28T14:08:28+01:00 2002-10-28T14:03:58Z Dokument Administrator 2002-10-28T14:08:28+01:00 2002-10-28T14:08:28+01:00 Dokument Administrator endstream endobj - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
Re: AW: storing metadata
The standard answer is to improve the functionality of FOP pdf generation to rival the adobe products. My motivation is to embed the FO that generated the PDF so I can edit and/or regenerate the PDF. Cheers Paul. "J.U. Anderegg" <[EMAIL PROTECTED]> on 24/10/2002 10:35:51 Please respond to [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> cc: Subject: AW: storing metadata Hi Paul, Do you want to embed the XSL:FO input in the PDF document? If this is so: o "embedding files in PDF" is the thing to do, but quite a challenge to build into the PDF renderer. o out of pure curiosity: why? Hansuli Anderegg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
AW: storing metadata
Hi Paul, Do you want to embed the XSL:FO input in the PDF document? If this is so: o "embedding files in PDF" is the thing to do, but quite a challenge to build into the PDF renderer. o out of pure curiosity: why? Hansuli Anderegg - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]