|
|
|
@ -86,7 +86,12 @@ public class HyperlinkGroupPaneActionImpl implements HyperlinkGroupPaneActionPro
|
|
|
|
|
frFont = frFont.applyForeground(AdjustWorkBookDefaultStyleUtils.adjustCellElementFontForeground(Color.black)); |
|
|
|
|
frFont = frFont.applyUnderline(Constants.LINE_NONE); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// 首次添加超链接,将文字样式默认改为蓝色下划线
|
|
|
|
|
if (updateNameHyperlinks.size() == 1 && hyperlinkGroupPane.getSelectedIndex() == 0) { |
|
|
|
|
editCellElement.setStyle(elementStyle.deriveFRFont(frFont)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
editCellElement.setNameHyperlinkGroup((NameJavaScriptGroup) updateNameHyperlinks.clone()); |
|
|
|
|
} catch (CloneNotSupportedException e) { |
|
|
|
|