Re: [iText-questions] About WillSave event

2003-10-16 Thread Leonard Rosenthol
At 12:16 PM +0800 10/15/03, Jack Chen wrote: I need to fire an javascript while user execute SaveAs command via Menu, hot-key, toolbar,. any where. I am pretty sure that Save & Save As are treated differently - IN READER, since Reader doesn't actually Save anything, it just copies stuff from the

[iText-questions] About WillSave event

2003-10-14 Thread Jack Chen
I need to fire an javascript while user execute SaveAs command via Menu, hot-key, toolbar,. any where. And I use following code to attach my script to the WILL_SAVE action. PdfAction action = PdfAction.javaScript(PdfConverter.SCRIPT, writer); writer.setAdditionalActi