Browse Source

模版-导出属性

persist/11.0-arabic
obo 6 months ago
parent
commit
ad70a54353
  1. 9
      designer-realize/src/main/java/com/fr/design/report/ImageExportPane.java
  2. 2
      designer-realize/src/main/java/com/fr/design/report/ReportExportAttrPane.java
  3. 1
      designer-realize/src/main/java/com/fr/design/report/WordExportPane.java

9
designer-realize/src/main/java/com/fr/design/report/ImageExportPane.java

@ -1,6 +1,7 @@
package com.fr.design.report; package com.fr.design.report;
import com.fr.base.extension.FileExtension; import com.fr.base.extension.FileExtension;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.gui.ibutton.UIRadioButton; import com.fr.design.gui.ibutton.UIRadioButton;
import com.fr.design.gui.ilable.UILabel; import com.fr.design.gui.ilable.UILabel;
import com.fr.design.i18n.Toolkit; import com.fr.design.i18n.Toolkit;
@ -66,10 +67,10 @@ public class ImageExportPane extends AbstractExportPane {
JPanel centerPane = FRGUIPaneFactory.createBorderLayout_S_Pane(); JPanel centerPane = FRGUIPaneFactory.createBorderLayout_S_Pane();
JComponent[][] comps = { JComponent[][] comps = {
{new UILabel(Toolkit.i18nText("Fine-Design_Image_Export_Resolution") + ":"), this.globalResolutionBtnS, this.globalResolutionBtnM, this.globalResolutionBtnL}, {new UILabel(BidiUtils.reverseConcatenateStrings(Toolkit.i18nText("Fine-Design_Image_Export_Resolution"), ":")), this.globalResolutionBtnS, this.globalResolutionBtnM, this.globalResolutionBtnL},
{new UILabel(Toolkit.i18nText("Fine-Design_Report_Format") + ":"), this.globalFormatJpg, null, this.globalFormatPng}, {new UILabel(BidiUtils.reverseConcatenateStrings(Toolkit.i18nText("Fine-Design_Report_Format") , ":")), this.globalFormatJpg, null, this.globalFormatPng},
{new UILabel(Toolkit.i18nText("Fine-Design_Image_Export_Rendering_Quality") + ":"), this.globalRenderQuality, null, this.globalRenderSpeed}, {new UILabel(BidiUtils.reverseConcatenateStrings(Toolkit.i18nText("Fine-Design_Image_Export_Rendering_Quality") , ":")), this.globalRenderQuality, null, this.globalRenderSpeed},
{new UILabel(Toolkit.i18nText("Fine-Design_Image_Export_Typesetting") + ":"), this.templateThumbnail, null, this.templatePaging} {new UILabel(BidiUtils.reverseConcatenateStrings(Toolkit.i18nText("Fine-Design_Image_Export_Typesetting") , ":")), this.templateThumbnail, null, this.templatePaging}
}; };
centerPane.add( centerPane.add(
TableLayoutHelper.createCommonTableLayoutPane( TableLayoutHelper.createCommonTableLayoutPane(

2
designer-realize/src/main/java/com/fr/design/report/ReportExportAttrPane.java

@ -1,5 +1,6 @@
package com.fr.design.report; package com.fr.design.report;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.ExtraDesignClassManager; import com.fr.design.ExtraDesignClassManager;
import com.fr.design.beans.BasicStorePane; import com.fr.design.beans.BasicStorePane;
import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.BasicPane;
@ -43,6 +44,7 @@ public class ReportExportAttrPane extends BasicPane {
paneList.add(storePane); paneList.add(storePane);
} }
this.add(uiTabbedPane); this.add(uiTabbedPane);
BidiUtils.applyOrientationByLocale(this);
} }
private void initPane(BasicStorePane<?> exportPane) { private void initPane(BasicStorePane<?> exportPane) {

1
designer-realize/src/main/java/com/fr/design/report/WordExportPane.java

@ -1,6 +1,7 @@
package com.fr.design.report; package com.fr.design.report;
import com.fr.base.i18n.BidiUtils;
import com.fr.design.constants.UIConstants; import com.fr.design.constants.UIConstants;
import com.fr.design.dialog.BasicPane; import com.fr.design.dialog.BasicPane;
import com.fr.design.gui.ibutton.UIRadioButton; import com.fr.design.gui.ibutton.UIRadioButton;

Loading…
Cancel
Save