|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
package com.fr.design.report; |
|
|
|
|
|
|
|
|
|
import com.fr.base.iofile.attr.WaterMarkProvideConstant; |
|
|
|
|
import com.fr.base.iofile.attr.WatermarkAttr; |
|
|
|
|
import com.fr.design.dialog.AbstractTemplateServerSettingPane; |
|
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
@ -42,7 +43,7 @@ public class WatermarkSettingPane extends AbstractTemplateServerSettingPane {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void populate(WatermarkAttr watermark) { |
|
|
|
|
if (watermark.getWaterMarkProvider().equals("TEMPLATE")) { |
|
|
|
|
if (watermark.getWaterMarkProvider().equals(WaterMarkProvideConstant.TEMPLATE)) { |
|
|
|
|
chooseComboBox.setSelectedIndex(SINGLE_SET); |
|
|
|
|
watermarkPane.populate(watermark); |
|
|
|
|
} else { |
|
|
|
|