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
<?xpacket begin='' id='W5M0MpCehiHzreSzNTczkc9d' bytes='1311'?>

<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'
 xmlns:iX='http://ns.adobe.com/iX/1.0/'>

 <rdf:Description about=''
  xmlns='http://ns.adobe.com/pdf/1.3/'
  xmlns:pdf='http://ns.adobe.com/pdf/1.3/'>
  <pdf:Creator>Dokument - WordPad</pdf:Creator>
  <pdf:CreationDate>2002-10-28T14:03:58Z</pdf:CreationDate>
  <pdf:Title>Dokument</pdf:Title>
  <pdf:Author>Administrator</pdf:Author>
  <pdf:Producer>Acrobat PDFWriter 5.0 for Windows NT</pdf:Producer>
  <pdf:ModDate>2002-10-28T14:08:28+01:00</pdf:ModDate>
 </rdf:Description>

 <rdf:Description about=''
  xmlns='http://ns.adobe.com/xap/1.0/'
  xmlns:xap='http://ns.adobe.com/xap/1.0/'>
  <xap:CreateDate>2002-10-28T14:03:58Z</xap:CreateDate>
  <xap:Title>
   <rdf:Alt>
    <rdf:li xml:lang='x-default'>Dokument</rdf:li>
   </rdf:Alt>
  </xap:Title>
  <xap:Author>Administrator</xap:Author>
  <xap:ModifyDate>2002-10-28T14:08:28+01:00</xap:ModifyDate>
  <xap:MetadataDate>2002-10-28T14:08:28+01:00</xap:MetadataDate>
 </rdf:Description>

 <rdf:Description about=''
  xmlns='http://purl.org/dc/elements/1.1/'
  xmlns:dc='http://purl.org/dc/elements/1.1/'>
  <dc:title>Dokument</dc:title>
  <dc:creator>Administrator</dc:creator>
 </rdf:Description>

</rdf:RDF>
<?xpacket end='r'?>
endstream
endobj



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

Reply via email to