|
|
@ -33,7 +33,7 @@ public class DefaultThemedTemplateCellElementCase { |
|
|
|
|
|
|
|
|
|
|
|
private static DefaultTemplateCellElement themingCellElement(DefaultTemplateCellElement cellElement) { |
|
|
|
private static DefaultTemplateCellElement themingCellElement(DefaultTemplateCellElement cellElement) { |
|
|
|
JTemplate<?,?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
JTemplate<?,?> template = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate(); |
|
|
|
if (template != null) { |
|
|
|
if (JTemplate.isValid(template)) { |
|
|
|
TemplateTheme theme = template.getTemplateTheme(); |
|
|
|
TemplateTheme theme = template.getTemplateTheme(); |
|
|
|
ThemedCellStyle themedCellStyle = theme.getCellStyleList().getUse4Default(); |
|
|
|
ThemedCellStyle themedCellStyle = theme.getCellStyleList().getUse4Default(); |
|
|
|
if (themedCellStyle != null) { |
|
|
|
if (themedCellStyle != null) { |
|
|
|