|
|
@ -4,8 +4,8 @@ |
|
|
|
package com.fr.design.actions.columnrow; |
|
|
|
package com.fr.design.actions.columnrow; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
import com.fr.design.mainframe.ElementCasePane; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.grid.selection.CellSelection; |
|
|
|
import com.fr.grid.selection.CellSelection; |
|
|
|
|
|
|
|
import com.fr.quickeditor.CellQuickEditor; |
|
|
|
import com.fr.report.elementcase.ElementCase; |
|
|
|
import com.fr.report.elementcase.ElementCase; |
|
|
|
import com.fr.stable.unit.UNIT; |
|
|
|
import com.fr.stable.unit.UNIT; |
|
|
|
|
|
|
|
|
|
|
@ -32,6 +32,9 @@ public class ColumnWidthAction extends ColumnRowSizingAction { |
|
|
|
for (int i = 0; i < columns.length; i++) { |
|
|
|
for (int i = 0; i < columns.length; i++) { |
|
|
|
report.setColumnWidth(columns[i], len); |
|
|
|
report.setColumnWidth(columns[i], len); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (columns.length > 1) { |
|
|
|
|
|
|
|
CellQuickEditor.record(CellQuickEditor.multipleOperationType.HEIHT_AND_COLUMN); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
protected UNIT getIndexLen(int index, ElementCase report){ |
|
|
|
protected UNIT getIndexLen(int index, ElementCase report){ |
|
|
|