Summary:
The shift behavior in Model codes are to remove first then add. The
shiftColumn() in TableHandle must follow this style. Added codes to adjust the destination
position.
Bugzilla Bug (s) Resolved: N/A
Description:
1. Fixed bugs in shiftColumn().
2. Updated test cases.
Tests Description : manual test.
Files Edited:
"/org.eclipse.birt.report.model_bugs/src/org/eclipse/birt/report/model/api/ColumnBandShiftAction.java"
Files Added:
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableReorderColumnBand_golden_1.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableReorderColumnBand_golden_3.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_1.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_6.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_4.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/input/TableShiftColumnBandTest.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_3.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableReorderColumnBand_golden_2.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/TableColumnBandTest.java"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableReorderColumnBand_golden_4.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableReorderColumnBand_golden_5.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_7.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_5.xml"
"/org.eclipse.birt.report.model_bugs/test/org/eclipse/birt/report/model/api/golden/TableShiftColumnBand_golden_2.xml"
Files Removed:
Notes to Build Team:
Notes
to Developers:
Notes to QA:
Quotes
to Documentation:
Rick Lu
Actuate Software
Shanghai Center
Tel: (86)21-58826388
Fax: (86)21-58826002
Email: rlu@xxxxxxxxxxx