Re: [iText-questions] NAMED JavaScript functions at a document-level

2007-08-28 Thread Bruno Lowagie (iText)
steve poling wrote: Hello, If I go into Adobe Acrobat, I can menupick Advanced | JavaScript | Document JavaScrpts... and then I can define named JavaScript functions, that is, I can enter a function name, and associate with it some JavaScript. Then if I look at the PDF at a low level, I see R

Re: [iText-questions] NAMED JavaScript functions at a document-level

2007-08-28 Thread Bruno Lowagie (iText)
steve poling wrote: > It appears that writer.addJavaScript(string code) somehow assigns the > name of "0" unlike the names I'd like to provide. yes, the names are attributed in PdfDocument. > Is there a way to defined NAMED document-level JavaScript functions? Not yet, but maybe I could impleme

[iText-questions] NAMED JavaScript functions at a document-level

2007-08-27 Thread steve poling
Hello, If I go into Adobe Acrobat, I can menupick Advanced | JavaScript | Document JavaScrpts... and then I can define named JavaScript functions, that is, I can enter a function name, and associate with it some JavaScript. Then if I look at the PDF at a low level, I see Root | Names | JavaScr