You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by aman aman <am...@gmail.com> on 2020/08/07 18:37:00 UTC

PDF Box attachment

Hi Team,
We are using pdfbox library to add the attachment inside pdf. When we open pdf using pdf xchange editor, can view attachments in panel.But when we open using adobe reader, attachments are not displaying.

Will adobe support for attachments display generated using pdf box library?

Please help.

Thanks,
Amanullah 

Sent from my iPhone
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Re: PDF Box attachment

Posted by Tilman Hausherr <TH...@t-online.de>.
Hi,

Please tell what version you are using, and please share the code, the 
PDF before and after, and the attachment. (upload to sharehoster)

Very important: use setFile() AND setFileUnicode() with the name, and 
setEmbeddedFile() AND setEmbeddedFileUnicode() with the PDEmbeddedFile 
object.

Tilman

Am 07.08.2020 um 20:37 schrieb aman aman:
> Hi Team,
> We are using pdfbox library to add the attachment inside pdf. When we open pdf using pdf xchange editor, can view attachments in panel.But when we open using adobe reader, attachments are not displaying.
>
> Will adobe support for attachments display generated using pdf box library?
>
> Please help.
>
> Thanks,
> Amanullah
>
> Sent from my iPhone
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org