Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - File Attachments
  FAQ FAQ  Forum Search   Register Register  Login Login

File Attachments

 Post Reply Post Reply
Author
Message
PGU_78 View Drop Down
Team Player
Team Player
Avatar

Joined: 01 Dec 06
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote PGU_78 Quote  Post ReplyReply Direct Link To This Post Topic: File Attachments
    Posted: 11 Jan 07 at 5:02AM
Hello everybody!
Is it possible to have an access to File Attachments in PDF?
Don't be afraid. Be very afraid (The Fly, 1986)
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jan 07 at 6:10AM
Hi Dimitry!

You can attach files (any type) with QuickPDF. Take EmbedFile.
You can use this attached files (hope i'm right) only with the Acrobat Reader (Foxit doesn't want it).

Here's a delphi code snippet:

// . . .

   QP := TiSEDQuickPDF.Create;
   try     // hier weiter
      QP.UnlockKey('MyUnlockKey');
      QP.LoadFromFile(Form1.Edit1.Text);
      QP.Unencrypt;
      fname := ExtractFileName(fstring);
      fx := FileGetAttr(Trim(Edit1.Text));
      FileSetAttr(Trim(Edit1.Text), faArchive);
      QP.EmbedFile(ExtractFileName(fname), fstring,' ');
      QP.SetCustomInformation('EMBED', fname);
      QP.SaveToFile(Form1.Edit1.Text);

// . . .

Best regards,
Ingo




Edited by Ingo - 11 Jan 07 at 6:11AM
Back to Top
PGU_78 View Drop Down
Team Player
Team Player
Avatar

Joined: 01 Dec 06
Status: Offline
Points: 16
Post Options Post Options   Thanks (0) Thanks(0)   Quote PGU_78 Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jan 07 at 6:18PM
Thank you Ingo.

EmbedFile function embeds a file into the PDF document.
However, how do I extract a file from the PDF document?
Don't be afraid. Be very afraid (The Fly, 1986)
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jan 07 at 1:39AM
Hi!
There's no function  for this in QuickPDF.
The enduser can open and save the attached file when opening the pdf-document with the adobe reader.
A real remove isn't possible ... It's good to have a copy without attached file ;-)

Best regards,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store