← Prev in month ← Prev in thread
Next in thread → Next in month →

including external .swf in a .pdf?

From
Anthony Ettinger <>
Date
2008-04-23T22:56:15+00:00
ID
Thread
including external .swf in a .pdf?
Here is my bash script (from the free xslt book):


#!/bin/bash
fo='/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl';

#generate .fo file
xsltproc --xinclude --xincludestyle --output ~/myfile.fo --stringparam
use.extensions 1 $fo ~/myfile.xml

#generate .pdf from .fo file
/usr/bin/fop -fo ~/myfile.fo -pdf ~/myfile.pdf


xml:
<imagedata fileref="/static/flash/charts.swf" format="SWF" />


[ERROR] Could not load external SVG: Content is not allowed in prolog.
[ERROR] Error while creating area : No ImageReader for this type of
image (file:/static/flash/charts.swf?)

Any idea around this? I'm using fop 20.0 and docbook 4.4 (debian stable)

-- 
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name
← Prev in month ← Prev in thread
Next in thread → Next in month →