private String getStyleString(Font font) {
		boolean bold = font.isBold();
		boolean italic = font.isItalic();
		if (bold && italic) {
			return "BOLDITALIC";
		}
		if (bold) {
			return "BOLD";
		}
		if (italic) {
			return "ITALIC";
		}
		return "PLAIN";
	}
Returns the root of an XML sub-tree associated with the
given name.
@param name The name associated with the desired Element.
@return The root of an XML sub-tree associated with the
given name.
Ghidra/Framework/Generic/src/main/java/ghidra/framework/options/GProperties.java