Package org.freeplane.features.nodestyle

Examples of org.freeplane.features.nodestyle.NodeStyleModel


    }
    String fontsize = "";
    if (NodeStyleModel.getColor(mindMapNodeModel) != null) {
      pre += "\\cf" + colorTable.get(NodeStyleModel.getColor(mindMapNodeModel)).intValue();
    }
    final NodeStyleModel font = NodeStyleModel.getModel(mindMapNodeModel);
    if (font != null) {
      if (Boolean.TRUE.equals(font.isItalic())) {
        pre += "\\i ";
      }
      if (Boolean.TRUE.equals(font.isBold())) {
        pre += "\\b ";
      }
      if (font.getFontSize() != null) {
        fontsize = "\\fs" + Math.round(1.5 * font.getFontSize());
        pre += fontsize;
      }
    }
    pre += "{}";
    fileout.write("\\li" + depth * 350 + level + "{}");
View Full Code Here

TOP

Related Classes of org.freeplane.features.nodestyle.NodeStyleModel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.