Layout.evalDownload (fullExport) |
create a .zip file containing the whole layout (including
skins, images and properties)
|
Sourcecode in Layout/objectFunctions.js:
1: function evalDownload(fullExport) { 2: // create the zip file 3: var z = new Zip(); 4: // first, dump the layout and add it to the zip file 5: this.dumpToZip(z, fullExport); 6: // add the metadata of layout images 7: // to the directory "imagedata" in the zip file 8: var imgLog = this.images.dumpToZip(z, fullExport); 9: // add skins to the zip archive 10: var skinLog = this.skins.dumpToZip(z, fullExport); 11: return z.close(); 12: } |