 import UIKit
 
 
-public protocol FontProperties {
+@objc public protocol FontProperties {
 	var fontName : String? { get set }
 	var color : UIColor { get set }
-	var fontSize : CGFloat? { get set }
+	var fontSize : CGFloat { get set }
 }
 
 

			fontName = body.fontName
		}
		
		let font = UIFont.preferredFont(forTextStyle: textStyle)
		let styleDescriptor = font.fontDescriptor
		let styleSize = fontSize ?? styleDescriptor.fontAttributes[UIFontDescriptorSizeAttribute] as? CGFloat ?? CGFloat(14)


If that is not set, then the system default will be used.
*/
open class BasicStyles : FontProperties {
	public var fontName : String? = UIFont.preferredFont(forTextStyle: UIFontTextStyle.body).fontName
	public var color = UIColor.black
	public var fontSize : CGFloat = 0.0
}

enum LineType : Int {
	case h1, h2, h3, h4, h5, h6, body
}


enum LineStyle : Int {
	case none
