Hi,
I am developing a plugin, which needs to get an attached file from an opened pdf. The attached file is encrypted therefore i just want to save the attched file in a temporary location.
I am not able to retrieve my attached file from the pdf. I tried using ASFileAttachmentGetPDFileAttachment() method, but it didn't executed.
Can someone help me to retrieve an attached file from a pdf??
Thanks in advance.
Hi Irosenth
What i meant is that on running the following code the compiler shows message "There is no source code avaliable for the current location" on executing the function ASFileAttachmentGetPDFileAttachment()
ASAtom pathType = ASAtomFromString("Cstring");
ASFileSys fileSys = ASGetDefaultFileSys();
ASPathName pathName = ASFileSysCreatePathName(fileSys, pathType, "22.pdf", NULL);
PDFileAttachment attachment;
ASBool b = ASFileAttachmentGetPDFileAttachment(fileSys, pathName, &attachment);
Here" 22.pdf" is an attached pdf file.
If you need code-level help, you should open a formal support incident with our Developer Support folks.
From: Adobe Forums <forums@adobe.com<mailto:forums@adobe.com>>
Reply-To: "jive-1212041976-8igo-2-2h8ht@mail.forums.adobe.com<mailto:jive-1212041976-8igo-2-2h8ht@mail.forums.adobe.com>" <jive-1212041976-8igo-2-2h8ht@mail.forums.adobe.com<mailto:jive-1212041976-8igo-2-2h8ht@mail.forums.adobe.com>>
Date: Tue, 24 Jan 2012 23:13:52 -0800
To: Leonard Rosenthol <lrosenth@adobe.com<mailto:lrosenth@adobe.com>>
Subject: Re: How to get file attachments from a pdf. How to get file attachments from a pdf.
Re: How to get file attachments from a pdf.
created by poortip87<http://forums.adobe.com/people/poortip87> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4163393#4163393
North America
Europe, Middle East and Africa
Asia Pacific