mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 06:07:57 +01:00
Freemind import - Fixing text default font color
This commit is contained in:
parent
f5aee9d78f
commit
cbdc1679db
@ -426,7 +426,8 @@ public class FreemindImporter
|
|||||||
BigInteger bigInteger = (font.getSIZE()==null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
|
BigInteger bigInteger = (font.getSIZE()==null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
|
||||||
fontStyle.append(bigInteger);
|
fontStyle.append(bigInteger);
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(node.getCOLOR());
|
String color = node.getCOLOR();
|
||||||
|
fontStyle.append((color!=null && !color.equals(""))?color:"#000000");
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
|
|
||||||
boolean hasBold = Boolean.parseBoolean(font.getBOLD());
|
boolean hasBold = Boolean.parseBoolean(font.getBOLD());
|
||||||
@ -442,7 +443,8 @@ public class FreemindImporter
|
|||||||
{
|
{
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(node.getCOLOR());
|
String color = node.getCOLOR();
|
||||||
|
fontStyle.append((color!=null && !color.equals(""))?color:"#000000");
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
|
Loading…
Reference in New Issue
Block a user