Article View: adobe.reader
Article #5097Re: Reader API Definition
From: Les_Woolsey
Date: Wed, 17 Sep 2008 17:58
Date: Wed, 17 Sep 2008 17:58
20 lines
1967 bytes
1967 bytes
I don't know about exactly what capabilities are available in which version of SAP Mobile. But here's a simpler solution for you. Create your data in an XML file that looks something like:
<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="XFA2_4" APIVersion="2.8.8157.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
<xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/">
<xfa:data>
...your normal form data goes here..
</xfa:data>
</xfa:datasets>
<pdf href="...URL for PDF..." xmlns="http://ns.adobe.com/xdp/pdf/"/>
</xdp:xdp>
Now you have a couple of choices. You can call Reader and ask it to open (I forget the command line switch off hand) the XDP file or you can just ask Windows to open the XDP file with it's registered application. Since XDP is associated with Reader, this will work unless of course you also have Adobe Designer loaded on the system.
The href should be able to point to a file:// URL or an HTTP(s):// URL. I guess an FTP URL would work as well.
When you get a little sample working, this would be a great topic for a posting in the Interactive Forms area on SDN.
Les
Technical Details
Message-ID:
<59b67f13.5@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossingReferences:
<59b67f13.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10273d,2b9aeaf6cba32682 X-Google-Attributes: gid10273d,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Les_Woolsey@adobeforums.com Newsgroups: adobe.reader Subject: Re: Reader API Definition Message-ID: <59b67f13.5@webcrossing.la2eafNXanI> Date: Wed, 17 Sep 2008 10:58:55 -0700 References: <59b67f13.-1@webcrossing.la2eafNXanI> Lines: 19 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed01.sul.t-online.de!t-online.de!newsfeeder.dynfx.net!weretis.net!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing X-Original-Lines: 28 X-Original-Bytes: 1768