Freemind import - Fixing text default font color
This commit is contained in:
@@ -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(";");
|
||||||
|
Reference in New Issue
Block a user