}
for (int i=0; children != null && i<children.length; i++) {
- b.put(Integer.MAX_VALUE, new Box(children[i], pboxes, ptemplates, callback, numerator, denominator));
+ Box newkid = new Box();
+ children[i].apply(newkid, pboxes, ptemplates, callback, numerator, denominator);
+ b.put(Integer.MAX_VALUE, newkid);
numerator += children[i].numUnits();
}
/** adds a theme mapping, retemplatizing as needed */
public static void retheme(JS.Callable callback) {
+ /*
XWF.flushXWFs();
// clear changed marker and relink
} catch (JS.Exn ex) {
if (Log.on) Log.log(Template.class, "WARNING: uncaught ecmascript exception: " + ex.getMessage());
}
+ */
}
/** template reapplication procedure */