|
|
@ -64,6 +64,7 @@ import com.fr.privilege.finegrain.WorkSheetPrivilegeControl; |
|
|
|
import com.fr.report.ReportHelper; |
|
|
|
import com.fr.report.ReportHelper; |
|
|
|
import com.fr.report.elementcase.ElementCase; |
|
|
|
import com.fr.report.elementcase.ElementCase; |
|
|
|
import com.fr.report.elementcase.TemplateElementCase; |
|
|
|
import com.fr.report.elementcase.TemplateElementCase; |
|
|
|
|
|
|
|
import com.fr.report.poly.PolyWorkSheet; |
|
|
|
import com.fr.report.worksheet.WorkSheet; |
|
|
|
import com.fr.report.worksheet.WorkSheet; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
|
import com.fr.stable.StableUtils; |
|
|
@ -109,10 +110,18 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
|
|
|
|
if (isEditingPolySheet()) { |
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.POLY); |
|
|
|
|
|
|
|
} else { |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT); |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane()); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane()); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane()); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isEditingPolySheet() { |
|
|
|
|
|
|
|
return template.getReport(getEditingReportIndex()) instanceof PolyWorkSheet; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public TargetComponent getCurrentElementCasePane() { |
|
|
|
public TargetComponent getCurrentElementCasePane() { |
|
|
|