// --------------------------------------------------------------------------- 
    public void Write(Stream stream) {
      using (ZipFile zip = new ZipFile()) {
        zip.AddFile(RESOURCE, ""); 
    	  AddJavaScriptToForm example = new AddJavaScriptToForm();
    	  byte[] pdf = example.CreatePdf();
  	    zip.AddEntry(ORIGINAL, pdf);
  	    zip.AddEntry(RESULT, example.ManipulatePdf(pdf));         
        zip.Save(stream);             
      }
    }     
// ---------------------------------------------------------------------------
        public void Write(Stream stream)
        {
            using (ZipFile zip = new ZipFile()) {
                zip.AddFile(RESOURCE, "");
                AddJavaScriptToForm example = new AddJavaScriptToForm();
                byte[] pdf = example.CreatePdf();
                zip.AddEntry(ORIGINAL, pdf);
                zip.AddEntry(RESULT, example.ManipulatePdf(pdf));
                zip.Save(stream);
            }
        }