PanLi320 8 years ago
parent
commit
544538e412
  1. 10
      designer_form/src/com/fr/design/designer/creator/XElementCase.java

10
designer_form/src/com/fr/design/designer/creator/XElementCase.java

@ -22,13 +22,10 @@ import com.fr.form.FormElementCaseContainerProvider;
import com.fr.form.FormElementCaseProvider; import com.fr.form.FormElementCaseProvider;
import com.fr.form.ui.ElementCaseEditor; import com.fr.form.ui.ElementCaseEditor;
import com.fr.general.Inter; import com.fr.general.Inter;
import com.fr.plugin.ExtraClassManager;
import com.fr.stable.ArrayUtils; import com.fr.stable.ArrayUtils;
import com.fr.stable.CoreGraphHelper; import com.fr.stable.CoreGraphHelper;
import com.fr.stable.core.PropertyChangeAdapter; import com.fr.stable.core.PropertyChangeAdapter;
import com.fr.stable.fun.ExtraAttrMapProvider;
import com.fr.stable.fun.FitProvider; import com.fr.stable.fun.FitProvider;
import com.fr.stable.fun.IOFileAttrMark;
import com.fr.stable.fun.ReportFitAttrProvider; import com.fr.stable.fun.ReportFitAttrProvider;
import javax.swing.*; import javax.swing.*;
@ -113,13 +110,6 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
} }
this.designer = WidgetPropertyPane.getInstance().getEditingFormDesigner(); this.designer = WidgetPropertyPane.getInstance().getEditingFormDesigner();
ElementCaseEditor editor = this.toData(); ElementCaseEditor editor = this.toData();
Set<ExtraAttrMapProvider> setAttr = ExtraClassManager.getInstance().getArray(ExtraAttrMapProvider.XML_TAG);
for (ExtraAttrMapProvider attrProvider:setAttr) {
if (attrProvider == null) {
continue;
}
editor.addAttrMark((IOFileAttrMark) attrProvider);
}
FitProvider fitProvider = (FitProvider) designer.getTarget(); FitProvider fitProvider = (FitProvider) designer.getTarget();
ReportFitAttrProvider fitAttr = fitProvider.getFitAttr(); ReportFitAttrProvider fitAttr = fitProvider.getFitAttr();
//兼容之前报表块(之前三个选项为:默认 横向 双向 现在是:横向 双向 不自适应) //兼容之前报表块(之前三个选项为:默认 横向 双向 现在是:横向 双向 不自适应)

Loading…
Cancel
Save