|
|
|
@ -159,7 +159,7 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter, AsyncXmlReada
|
|
|
|
|
private boolean rowHeaderVisible = true; |
|
|
|
|
private boolean verticalScrollBarVisible = true; |
|
|
|
|
private boolean horizontalScrollBarVisible = true; |
|
|
|
|
private Color gridLineColor = Color.lightGray; // line color.
|
|
|
|
|
private Color gridLineColor = new Color(230, 233, 239); // line color.
|
|
|
|
|
private Color paginationLineColor = Color.black; // line color of paper
|
|
|
|
|
private boolean supportCellEditorDef = false; |
|
|
|
|
private boolean isDragPermited = false; |
|
|
|
@ -2167,10 +2167,10 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter, AsyncXmlReada
|
|
|
|
|
this.setUndoLimit(reader.getAttrAsInt("undoLimit", 5)); |
|
|
|
|
this.setStartWithEmptyFile(reader.getAttrAsBoolean("startWithEmptyFile", false)); |
|
|
|
|
this.setDefaultStringToFormula(reader.getAttrAsBoolean("defaultStringToFormula", false)); |
|
|
|
|
if ((tmpVal = reader.getAttrAsString("gridLineColor", null)) != null) { |
|
|
|
|
if ((tmpVal = reader.getAttrAsString("uiGridLineColor", null)) != null) { |
|
|
|
|
this.setGridLineColor(new Color(Integer.parseInt(tmpVal))); |
|
|
|
|
} |
|
|
|
|
if ((tmpVal = reader.getAttrAsString("paginationLineColor", null)) != null) { |
|
|
|
|
if ((tmpVal = reader.getAttrAsString("uiPaginationLineColor", null)) != null) { |
|
|
|
|
this.setPaginationLineColor(new Color(Integer.parseInt(tmpVal))); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -2602,8 +2602,8 @@ public class DesignerEnvManager implements XMLReadable, XMLWriter, AsyncXmlReada
|
|
|
|
|
.attr("horizontalScrollBarVisible", this.isHorizontalScrollBarVisible()) |
|
|
|
|
.attr("supportCellEditorDef", this.isSupportCellEditorDef()) |
|
|
|
|
.attr("isDragPermited", this.isDragPermited()) |
|
|
|
|
.attr("gridLineColor", this.getGridLineColor().getRGB()) |
|
|
|
|
.attr("paginationLineColor", this.getPaginationLineColor().getRGB()) |
|
|
|
|
.attr("uiGridLineColor", this.getGridLineColor().getRGB()) |
|
|
|
|
.attr("uiPaginationLineColor", this.getPaginationLineColor().getRGB()) |
|
|
|
|
.attr("undoLimit", this.getUndoLimit()) |
|
|
|
|
.attr("startWithEmptyFile", this.isStartWithEmptyFile()) |
|
|
|
|
.end(); |
|
|
|
|