- Set freemind version to the exported map

- Exported map don't useless font nodes.
This commit is contained in:
Paulo Gustavo Veiga
2011-03-12 17:08:01 -03:00
parent 905e1b8ee5
commit 600bde0e15
6 changed files with 152 additions and 105 deletions

View File

@@ -427,7 +427,10 @@ public class FreemindImporter
fontStyle.append(bigInteger);
fontStyle.append(";");
String color = node.getCOLOR();
fontStyle.append((color!=null && !color.equals(""))?color:"#000000");
if(color!=null && !color.equals(""))
{
fontStyle.append(color);
}
fontStyle.append(";");
boolean hasBold = Boolean.parseBoolean(font.getBOLD());
@@ -444,7 +447,10 @@ public class FreemindImporter
fontStyle.append(";");
fontStyle.append(";");
String color = node.getCOLOR();
fontStyle.append((color!=null && !color.equals(""))?color:"#000000");
if(color!=null && !color.equals(""))
{
fontStyle.append(color);
}
fontStyle.append(";");
fontStyle.append(";");
fontStyle.append(";");