Browse Source

REPORT-132109 fix: FVS插件 浅色主题-表格内合并单元格导致键入文字颜色为白色(非默认)

release/11.0
Zhanying 3 months ago
parent
commit
f14b53bf60
  1. 4
      designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java

4
designer-realize/src/main/java/com/fr/grid/selection/CellSelection.java

@ -407,7 +407,9 @@ public class CellSelection extends Selection {
if (hasCellElement) {
ec.merge(row, row + rowSpan - 1, column, column + columnSpan - 1);
} else {
ec.addCellElement(DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null), true);
TemplateCellElement cellElement = DefaultThemedTemplateCellElementCase.createInstance(column, row, columnSpan, rowSpan, null);
AdjustWorkBookDefaultStyleUtils.adjustCellElement(cellElement);
ec.addCellElement(cellElement, true);
}
return true;

Loading…
Cancel
Save