     }
 }
 
+
 // MARK: - Add method to manipulate properties array
-
+//
 extension ParagraphStyle {
 
     func append(property: ParagraphProperty) {

    override open func encode(with aCoder: NSCoder) {
        super.encode(with: aCoder)

        aCoder.encode(properties, forKey: String(describing: ParagraphProperty.self))        

        aCoder.encode(headerLevel, forKey: EncodingKeys.headerLevel.rawValue)
    }

    override open func setParagraphStyle(_ obj: NSParagraphStyle) {
        super.setParagraphStyle(obj)
        if let paragrahStyle = obj as? ParagraphStyle {
            headIndent = 0
            firstLineHeadIndent = 0
            tailIndent = 0
            paragraphSpacing = 0
            paragraphSpacingBefore = 0

            baseHeadIndent = paragrahStyle.baseHeadIndent
            baseFirstLineHeadIndent = paragrahStyle.baseFirstLineHeadIndent
            baseTailIndent = paragrahStyle.baseTailIndent
            baseParagraphSpacing = paragrahStyle.baseParagraphSpacing
            baseParagraphSpacingBefore = paragrahStyle.baseParagraphSpacingBefore

            properties = paragrahStyle.properties
        }
    }

    open override var headIndent: CGFloat {

import Foundation
import UIKit


// MARK: - ParagraphStyle
//
open class ParagraphStyle: NSMutableParagraphStyle, CustomReflectable {

    // MARK: - CustomReflectable
