[xep-support] PDFs with multimedia

From: Gibbons, Dave (Hillsboro) <David.Gibbons@Fiserv.com>
Date: Tue May 25 2010 - 16:40:49 PDT

I'm trying to produce PDFs with embedded Flash, but the PDFs do not show my SWFs.

Here is the XML code:

        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
            codebase="http://download.macromedia.com/pub/shockwave/cabs/
            flash/swflash.cab#version=6,0,0,0"
            data="w1000_native_top_AccountSummaryByType" type="application/x-shockwave-flash" height="800"
            width="1000" id="w1000_native_top_AccountSummaryByType">
            <desc>Configurable elements for the Account Summary page.</desc>
            <param name="movie" value="w1000_native_top_AccountSummaryByType.swf"/>
            <param name="quality" value="high"/>
            <param name="bgcolor" value="#FFFFFF"/>
        </object>

Which produces this Stage 1 (XML, pre FO) code:

        <object class="- topic/object " classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,0,0" data="w1000_native_top_AccountSummaryByType" height="800" id="unique_1_Connect_42_w1000_native_top_AccountSummaryByType" type="application/x-shockwave-flash" width="1000" xtrc="object:1" xtrf="C:\Documents and Settings\dgibbons\My Documents\Testing\PDF test\SWF PDF\SWFtest2.xml">
            <desc class="- topic/desc " xtrc="desc:1" xtrf="C:\Documents and Settings\dgibbons\My Documents\Testing\PDF test\SWF PDF\SWFtest2.xml">Configurable elements for the Account Summary page.</desc>
            <param class="- topic/param " name="movie" value="w1000_native_top_AccountSummaryByType.swf" xtrc="param:1" xtrf="C:\Documents and Settings\dgibbons\My Documents\Testing\PDF test\SWF PDF\SWFtest2.xml"/>
            <param class="- topic/param " name="quality" value="high" xtrc="param:2" xtrf="C:\Documents and Settings\dgibbons\My Documents\Testing\PDF test\SWF PDF\SWFtest2.xml"/>
            <param class="- topic/param " name="bgcolor" value="#FFFFFF" xtrc="param:3" xtrf="C:\Documents and Settings\dgibbons\My Documents\Testing\PDF test\SWF PDF\SWFtest2.xml"/>
        </object>

When this gets processed into FO code (stages 2 and 3), it looks like this:

<fo:inline id="unique_1_Connect_42_w1000_native_top_AccountSummaryByType"/>

On the page, however, it's blank.

I changed XEP.XML to uncomment the PDF_VERSION option and use a version that was compatible with multimedia:

<!-- Backend options -->
    <generator-options format="PDF">
      <!-- <option name="COMPRESS" value="false"/> -->
      <option name="PDF_VERSION" value="1.7"/>
    </generator-options>

oXygen is the front end, and it produces the XHTML output with the movie as expected.

<object id="w1000_native_top_AccountSummaryByType" codebase="http://download.macromedia.com/pub/shockwave/cabs/ flash/swflash.cab#version=6,0,0,0" type="application/x-shockwave-flash" height="800" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" data="w1000_native_top_AccountSummaryByType" width="1000">
            <span>Configurable elements for the Account Summary page.</span>
            <param name="movie" value="w1000_native_top_AccountSummaryByType.swf">
            <param name="quality" value="high">
            <param name="bgcolor" value="#FFFFFF">
        <embed name="w1000_native_top_AccountSummaryByType" height="800" width="1000" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" src="w1000_native_top_AccountSummaryByType.swf" quality="high" bgcolor="#FFFFFF"></embed></object>

Does anyone have any ideas about why my PDF, rendered by XEP, wouldn't be showing the Flash movie?

-Dave Gibbons
Fiserv

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

image001.gif
Received on Tue May 25 17:02:36 2010

This archive was generated by hypermail 2.1.8 : Tue May 25 2010 - 17:02:43 PDT