|
|
@ -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,9 +110,17 @@ public class JWorkBook extends JTemplate<WorkBook, WorkBookUndoState> { |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
public void refreshEastPropertiesPane() { |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT); |
|
|
|
if (isEditingPolySheet()) { |
|
|
|
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane()); |
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.POLY); |
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane()); |
|
|
|
} else { |
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().switchMode(EastRegionContainerPane.PropertyMode.REPORT); |
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().replaceCellElementPane(getEastUpPane()); |
|
|
|
|
|
|
|
EastRegionContainerPane.getInstance().replaceCellAttrPane(getEastDownPane()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private boolean isEditingPolySheet() { |
|
|
|
|
|
|
|
return template.getReport(getEditingReportIndex()) instanceof PolyWorkSheet; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|