|
|
|
@ -205,6 +205,8 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
|
|
|
|
|
|
|
|
|
|
private boolean showTemplateMissingPlugin = true; |
|
|
|
|
|
|
|
|
|
private boolean useSimpleStyleLayout = false; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* DesignerEnvManager. |
|
|
|
|
*/ |
|
|
|
@ -1691,6 +1693,14 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
|
|
|
|
|
this.openDebug = openDebug; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isUseSimpleStyleLayout() { |
|
|
|
|
return useSimpleStyleLayout; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setUseSimpleStyleLayout(boolean useSimpleStyleLayout) { |
|
|
|
|
this.useSimpleStyleLayout = useSimpleStyleLayout; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Read XML.<br> |
|
|
|
|
* The method will be invoked when read data from XML file.<br> |
|
|
|
@ -1861,6 +1871,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
|
|
|
|
|
this.setEmbedServerLazyStartup(reader.getAttrAsBoolean("embedServerLazyStartup", false)); |
|
|
|
|
this.setShowTemplateMissingPlugin(reader.getAttrAsBoolean("showTemplateMissingPlugin", true)); |
|
|
|
|
this.setShowServerDatasetAuthTip(reader.getAttrAsBoolean("showServerDatasetAuthTip", true)); |
|
|
|
|
this.setUseSimpleStyleLayout(reader.getAttrAsBoolean("useSimpleStyleLayout", false)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void readReportPaneAttributions(XMLableReader reader) { |
|
|
|
@ -2134,6 +2145,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter {
|
|
|
|
|
if (!this.isShowTemplateMissingPlugin()) { |
|
|
|
|
writer.attr("showTemplateMissingPlugin", this.isShowTemplateMissingPlugin()); |
|
|
|
|
} |
|
|
|
|
writer.attr("useSimpleStyleLayout", this.isUseSimpleStyleLayout()); |
|
|
|
|
writer.attr("showServerDatasetAuthTip", this.isShowServerDatasetAuthTip()); |
|
|
|
|
writer.end(); |
|
|
|
|
} |
|
|
|
|