Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Please consult the PDF Reference for how the relevant data structures need to be setup. Leonard On Jul 15, 2007, at 6:15 AM, Harakiri wrote: > Hello Leonard, > > you are refering to > > > PdfAction(String application, String parameters, > String operation, String defaultDir) > Launchs an application or a document. > > However, how does this apply to embedded attachments ? > > When i use pdfWriter.addAttachment(...) i have no > reference to the attachment in any dictionary. > > Can you please elaborate your point with an example ? > > Thanks alot for your help. > > Regards > > --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > >> Yes, you can use the Launch action to also open up >> attachments. >> >> Leonard >> >> >> On Jul 14, 2007, at 10:29 PM, Harakiri wrote: >> >>> Im not sure i can follow you, if i use the >> attachment >>> form i cant have a reference in my pdf without >> GOTOE.. >>> >>> Or are you refering to something else ? >>> >>> Can i actually create a hotspot to an attachment >>> without GOTOE ? >>> >>> >>> --- Leonard Rosenthol <[EMAIL PROTECTED]> >> wrote: >>> >>> > Whats the difference between the two ? I want a > reference in my pdf and the save button should work in > the attachment pane... > Then use the attachment form instead of the annotation form. Leonard >>> >> > -- >> >>> --- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click >> to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net >>> >> > https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/ >>> >>> >>> >>> >>> >> > __ >> >>> __ >>> Boardwalk for $500? In 2007? Ha! Play Monopoly >> Here and Now (it's >>> updated for today's economy) at Yahoo! Games. >>> >> > http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow >>> >>> >> > -- >> >>> --- >>> This SF.net email is sponsored by DB2 Express >>> Download DB2 Express C - the FREE version of DB2 >> express and take >>> control of your XML. No limits. Just data. Click >> to get it now. >>> http://sourceforge.net/powerbar/db2/ >>> ___ >>> iText-questions mailing list >>> iText-questions@lists.sourceforge.net >>> >> > https://lists.sourceforge.net/lists/listinfo/itext-questions >>> Buy the iText book: >> http://itext.ugent.be/itext-in-action/ >>> >> >> >> > -- > --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 >> express and take >> control of your XML. No limits. Just data. Click to >> get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> iText-questions mailing list >> iText-questions@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/itext-questions >> Buy the iText book: >> http://itext.ugent.be/itext-in-action/ >> > > > > > __ > __ > Looking for a deal? Find great prices on flights and hotels with > Yahoo! FareChase. > http://farechase.yahoo.com/ > > -- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Hello Leonard, you are refering to PdfAction(String application, String parameters, String operation, String defaultDir) Launchs an application or a document. However, how does this apply to embedded attachments ? When i use pdfWriter.addAttachment(...) i have no reference to the attachment in any dictionary. Can you please elaborate your point with an example ? Thanks alot for your help. Regards --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > Yes, you can use the Launch action to also open up > attachments. > > Leonard > > > On Jul 14, 2007, at 10:29 PM, Harakiri wrote: > > > Im not sure i can follow you, if i use the > attachment > > form i cant have a reference in my pdf without > GOTOE.. > > > > Or are you refering to something else ? > > > > Can i actually create a hotspot to an attachment > > without GOTOE ? > > > > > > --- Leonard Rosenthol <[EMAIL PROTECTED]> > wrote: > > > > > >>> Whats the difference between the two ? I want a > >>> reference in my pdf and the save button should > >> work in > >>> the attachment pane... > >>> > >>Then use the attachment form instead of the > >> annotation form. > >> > >> > >> Leonard > >> > >> > >> > > > -- > > > --- > >> This SF.net email is sponsored by DB2 Express > >> Download DB2 Express C - the FREE version of DB2 > >> express and take > >> control of your XML. No limits. Just data. Click > to > >> get it now. > >> http://sourceforge.net/powerbar/db2/ > >> ___ > >> iText-questions mailing list > >> iText-questions@lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > >> Buy the iText book: > >> http://itext.ugent.be/itext-in-action/ > >> > > > > > > > > > > > __ > > > __ > > Boardwalk for $500? In 2007? Ha! Play Monopoly > Here and Now (it's > > updated for today's economy) at Yahoo! Games. > > > http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow > > > > > -- > > > --- > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 > express and take > > control of your XML. No limits. Just data. Click > to get it now. > > http://sourceforge.net/powerbar/db2/ > > ___ > > iText-questions mailing list > > iText-questions@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: > http://itext.ugent.be/itext-in-action/ > > > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: > http://itext.ugent.be/itext-in-action/ > Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Yes, you can use the Launch action to also open up attachments. Leonard On Jul 14, 2007, at 10:29 PM, Harakiri wrote: > Im not sure i can follow you, if i use the attachment > form i cant have a reference in my pdf without GOTOE.. > > Or are you refering to something else ? > > Can i actually create a hotspot to an attachment > without GOTOE ? > > > --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > > >>> Whats the difference between the two ? I want a >>> reference in my pdf and the save button should >> work in >>> the attachment pane... >>> >> Then use the attachment form instead of the >> annotation form. >> >> >> Leonard >> >> >> > -- > --- >> This SF.net email is sponsored by DB2 Express >> Download DB2 Express C - the FREE version of DB2 >> express and take >> control of your XML. No limits. Just data. Click to >> get it now. >> http://sourceforge.net/powerbar/db2/ >> ___ >> iText-questions mailing list >> iText-questions@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/itext-questions >> Buy the iText book: >> http://itext.ugent.be/itext-in-action/ >> > > > > > __ > __ > Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's > updated for today's economy) at Yahoo! Games. > http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow > > -- > --- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: http://itext.ugent.be/itext-in-action/ > - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Im not sure i can follow you, if i use the attachment form i cant have a reference in my pdf without GOTOE.. Or are you refering to something else ? Can i actually create a hotspot to an attachment without GOTOE ? --- Leonard Rosenthol <[EMAIL PROTECTED]> wrote: > > Whats the difference between the two ? I want a > > reference in my pdf and the save button should > work in > > the attachment pane... > > > Then use the attachment form instead of the > annotation form. > > > Leonard > > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: > http://itext.ugent.be/itext-in-action/ > Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
On Jul 14, 2007, at 5:37 PM, Harakiri wrote: > Ok i figured out the root of the problem. > > For Adobe there is a difference between > > a) An attachment somewhere on a specific page > > b) An attachment attached to the PDF > > Method b) will enable the Save Dialog in the > Attachment Pane, whereas a) will not. The only way to > issue a save is rightclick on the annotation hotspot. > That is 100% correct - and has been since Acrobat 5 (PDF 1.4) when (b) was introduced. (a) was introduced in Acrobat 4 (PDF 1.3). > I did not find an option to actually reproduce a > hotspot with attachment link like a) in adobe acrobat > to see if the pdf performs the same... > Use the File Attachment Tool - been there since Acrobat 4. And yes, it will behave EXACTLY the same. > Whats the difference between the two ? I want a > reference in my pdf and the save button should work in > the attachment pane... > Then use the attachment form instead of the annotation form. Leonard - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Thanks Bruno, i know about GOTOE - sadly this is not supported in Adobe Reader below 7.0. The whole point of showing attachments on pages with hotspots was - that there is no viewer preferences for the attachment pane below A.R. 7.0 - because there isnt an attachment pane at all for 6.0 for example - so users who are using this older client have no knowledge where to search for attachments. Any other ideas ? (Adobe does check for its versions exactly for the problem described above with some user javascript to tell the user where to find attachments when using Acrobat 8.1 - it will open a javascript popup and say there are attachments which you can find in version X there, and in version Y there) --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > Harakiri wrote: > > > Whats the difference between the two ? I want a > > reference in my pdf and the save button should > work in > > the attachment pane... > > Have a look at: > http://lowagie.com/itextwiki/doku.php/collections:kubrick > Search for GoToE. That's an action that allows you > to > create a link with an action that opens an embedded > file. > br, > Bruno > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: > http://itext.ugent.be/itext-in-action/ > Get the Yahoo! toolbar and be alerted to new email wherever you're surfing. http://new.toolbar.yahoo.com/toolbar/features/mail/index.php - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Harakiri wrote: > Whats the difference between the two ? I want a > reference in my pdf and the save button should work in > the attachment pane... Have a look at: http://lowagie.com/itextwiki/doku.php/collections:kubrick Search for GoToE. That's an action that allows you to create a link with an action that opens an embedded file. br, Bruno - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
Re: [iText-questions] SOLVED How to Enable "Save Attachment" Dialog in Adobe
Ok i figured out the root of the problem. For Adobe there is a difference between a) An attachment somewhere on a specific page writer.addAnnotation(PdfAnnotation.createFileAttachment(writer, new Rectangle(100f, 650f, 150f, 700f), "This is some text", "some text".getBytes(), null, "some2.txt")); b) An attachment attached to the PDF writer.addFileAttachment("This is some text", "some text".getBytes(), null, "some.txt"); Method b) will enable the Save Dialog in the Attachment Pane, whereas a) will not. The only way to issue a save is rightclick on the annotation hotspot. I did not find an option to actually reproduce a hotspot with attachment link like a) in adobe acrobat to see if the pdf performs the same... Whats the difference between the two ? I want a reference in my pdf and the save button should work in the attachment pane... --- Harakiri <[EMAIL PROTECTED]> wrote: > I just noticed something odd - if i create a blank > pdf > using Adobe Prof 8.1 and then use itext PdfStamper > to > add an attachment, then the Save Attachment Dialog > is > enabled ! > > What that means is that there seem to specific data > related to the pdf itself - it has nothing todo with > annotations - if itext would simply copy the > structure > of a blank document created by acrobat then it > should > work with new documents too i guess. > > > > --- Harakiri <[EMAIL PROTECTED]> wrote: > > > Thanks Bruno for your answer. > > > > Do you happend to know how/who contact at adobe > > ([EMAIL PROTECTED] obviously will not work for > this > > specific question). > > > > I will attach a sample pdf created by adobe prof > 8.1 > > - > > maybe you can see through a hexeditor if they have > a > > special attribute ? > > > > > > --- Bruno Lowagie <[EMAIL PROTECTED]> wrote: > > > > > Harakiri wrote: > > > > I've installed the adobe prof. 8 trial and > > created > > > a > > > > blank pdf with an attachment. When opening > this > > > pdf in > > > > either 7 or 8.0 the "Save" button is enabled. > > > Creating > > > > a similar PDF in itext and the "Save" button > is > > > not > > > > enabled - only the "Open" button. > > > > > > > > So either this leaves two options : > > > > > > > > a) either i have to set additional security > > > > preferences (allow) using itext - but i > thought > > i > > > > allowed everything > > > > b) this is a special feature by adobe prof. > and > > > itext > > > > does not support the "Save" button yet... > > > > > > > > Any ideas ? > > > > > > I think this is a question for somebody at > Adobe. > > > I've seen similar things I found odd while > making > > > portable collections. > > > br, > > > Bruno > > > > > > > > > - > > > This SF.net email is sponsored by DB2 Express > > > Download DB2 Express C - the FREE version of DB2 > > > express and take > > > control of your XML. No limits. Just data. Click > > to > > > get it now. > > > http://sourceforge.net/powerbar/db2/ > > > ___ > > > iText-questions mailing list > > > iText-questions@lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > Buy the iText book: > > > http://itext.ugent.be/itext-in-action/ > > > > > > > > > > > > > > > > No need to miss a message. Get email on-the-go > > with Yahoo! Mail for Mobile. Get started. > > http://mobile.yahoo.com/mail > > - > > This SF.net email is sponsored by DB2 Express > > Download DB2 Express C - the FREE version of DB2 > > express and take > > control of your XML. No limits. Just data. Click > to > > get it now. > > http://sourceforge.net/powerbar/db2/> > ___ > > iText-questions mailing list > > iText-questions@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: > > http://itext.ugent.be/itext-in-action/ > > > > > > > > We won't tell. Get more on shows you hate to love > (and love to hate): Yahoo! TV's Guilty Pleasures > list. > http://tv.yahoo.com/collections/265 > > - > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 > express and take > control of your XML. No limits. Just data. Click to > get it now. > http://sourceforge.net/powerbar/db2/ > ___ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > Buy the iText book: > http://itext.ugent.be/itext-in-action/ > __