Sourcecode in LayoutImageMgr/objectFunctions.js:
1: function dumpToZip(z, fullExport, exportLog) {
2: // create the export log
3: if (!exportLog)
4: var exportLog = new java.util.Hashtable(20);
5:
6: for (var i=0;i<this.size();i++) {
7: var img = this.get(i);
8: if (exportLog.containsKey(img.alias))
9: continue;
10: var buf = new java.lang.String(Xml.writeToString(img.dumpToZip(z))).getBytes();
11: z.addData(buf, "imagedata/" + img.alias + ".xml");
12: exportLog.put(img.alias, true);
13: }
14: if (fullExport && this._parent.parent)
15: this._parent.parent.images.dumpToZip(z, fullExport, exportLog);
16: return exportLog;
17: }
|