You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by bala chandar <ba...@gmail.com> on 2010/05/31 20:23:39 UTC

New post

Hello

I want help regarding PDFBox. Please let me know if the following can be
achieved with PDFBox.

I am working on a accessible PDF Project . The idea is for each of the
graphs/images present in the pdf document, i would like to embed
a sound file with the image. When the user clicks on any image
the music file associated with that particular image should play.
I can generate music files which are required, i need help
about how to hook these music files as metadata/external links
to the image files which gets invoked when user clicks them.

I have gone through adding attachments to the PDF where one can
ad entries into the named dictionary of the pdf specifying the
mime type and the file link. The problem for me is, i can add
attachments to the pdf files (all those audio files), but i would
not be able to link which music file corresponds to which image file.
In short i want to embed/add a music file to a image file in the pdf
document.

Can you please let me know what is the best way to go about this.
Any help is appreciated.


Thanks & Regards
Bala