DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11721>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11721 multiply sheet ------- Additional Comments From [EMAIL PROTECTED] 2002-08-29 22:37 ------- OK Id like to take responsibility for this one. (At least the clone sheet portion of it). I did a quick hack and could clone a sheet just by maintaining references to the record objects, of course this meant that if the records on one sheet were changed the other did also ;-) So what I would like to do is to include a clone method for any records that are passed into a Sheet. It would be similar to the following code: ��� public Object clone() { ����� IndexRecord rec = new IndexRecord(); ����� rec.field_1_zero = field_1_zero; ����� rec.field_2_first_row = field_2_first_row; ����� rec.field_3_last_row_add1 = field_3_last_row_add1; ����� rec.field_4_zero = field_4_zero; ����� rec.field_5_dbcells = new IntList(); ����� rec.field_5_dbcells.addAll(field_5_db_cells); ����� return rec; ��� } Is that the best/easiest way to clone a record, It looks like it to me. The problem lies with the code that has been automatically generated. I will ignore the automatically generated records at the moment but in due course someone may need to update the code that generated these to provide a deep clone method. Thanks Jason -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
