|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
package com.fr.design.widget.ui.designer.layout; |
|
|
|
|
|
|
|
|
|
import com.fr.base.io.IOFile; |
|
|
|
|
import com.fr.base.iofileattr.WatermarkAttrMark; |
|
|
|
|
import com.fr.base.iofileattr.WatermarkAttr; |
|
|
|
|
import com.fr.design.data.DataCreatorUI; |
|
|
|
|
import com.fr.design.designer.IntervalConstants; |
|
|
|
|
import com.fr.design.designer.creator.XCreator; |
|
|
|
@ -19,11 +19,8 @@ import com.fr.design.gui.ispinner.UISpinner;
|
|
|
|
|
import com.fr.design.layout.FRGUIPaneFactory; |
|
|
|
|
import com.fr.design.layout.TableLayout; |
|
|
|
|
import com.fr.design.layout.TableLayoutHelper; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.FormDesigner; |
|
|
|
|
import com.fr.design.mainframe.FormSelectionUtils; |
|
|
|
|
import com.fr.design.mainframe.JForm; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
import com.fr.design.mainframe.WidgetPropertyPane; |
|
|
|
|
import com.fr.design.mainframe.widget.accessibles.AccessibleBodyWatermarkEditor; |
|
|
|
|
import com.fr.design.mainframe.widget.accessibles.AccessibleWLayoutBorderStyleEditor; |
|
|
|
@ -37,7 +34,6 @@ import com.fr.form.ui.container.WBodyLayoutType;
|
|
|
|
|
import com.fr.form.ui.container.WFitLayout; |
|
|
|
|
import com.fr.general.FRLogger; |
|
|
|
|
import com.fr.general.Inter; |
|
|
|
|
import com.fr.main.FineBook; |
|
|
|
|
import com.fr.report.core.ReportUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.BorderFactory; |
|
|
|
@ -215,7 +211,7 @@ public class FRFitLayoutDefinePane extends AbstractDataModify<WFitLayout> {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void updateWatermark() { |
|
|
|
|
WatermarkAttrMark watermark = (WatermarkAttrMark) watermarkEditor.getValue(); |
|
|
|
|
WatermarkAttr watermark = (WatermarkAttr) watermarkEditor.getValue(); |
|
|
|
|
if (watermark != null) { |
|
|
|
|
IOFile ioFile = getCurrentIOFile(); |
|
|
|
|
ioFile.addAttrMark(watermark); |
|
|
|
|