Browse Source

Pull request #8713: REPORT-69962 超链设置优化多单元格组合设置效果确认

Merge in DESIGN/design from ~LINK.ZHAO/design:final/11.0 to final/11.0

* commit 'c1d1e59336bc7a598e735c35d89995193b97f47d':
  REPORT-69962 超链设置优化多单元格组合设置效果确认 1、修改判断方式,判断单元格有无超链接
final/11.0
Link.Zhao 3 years ago
parent
commit
7ab40537de
  1. 2
      designer-realize/src/main/java/com/fr/design/mainframe/HyperlinkGroupPaneActionImpl.java

2
designer-realize/src/main/java/com/fr/design/mainframe/HyperlinkGroupPaneActionImpl.java

@ -89,7 +89,7 @@ public class HyperlinkGroupPaneActionImpl implements HyperlinkGroupPaneActionPro
}
// 首次添加超链接,将文字样式默认改为蓝色下划线
if (updateNameHyperlinks.size() == 1 && hyperlinkGroupPane.getCurrentEvent() != null && hyperlinkGroupPane.getCurrentEvent().getType() == ListDataEvent.INTERVAL_ADDED) {
if (editCellElement.getNameHyperlinkGroup() == null && hyperlinkGroupPane.getCurrentEvent() != null && hyperlinkGroupPane.getCurrentEvent().getType() == ListDataEvent.INTERVAL_ADDED) {
editCellElement.setStyle(elementStyle.deriveFRFont(frFont));
}

Loading…
Cancel
Save