             }
         }
         
-        private var document = Array<DocumentElement>()
+        private var documentElements = [DocumentElement]()
         private var tableOfContents = Array<TableOfContentsElement>()
         private var tableOfContentsPagesRange = NSMakeRange(0, 0)
         

        let range = pdfWriter.addHeadline(string, style: .H2, backgroundBoxColor: backgroundBoxColor, calculationOnly: true)
        let funcCall = DocumentStructure.FunctionCall.addH2(string: string, backgroundBoxColor: backgroundBoxColor)
        let docNode = DocumentStructure.DocumentElement(functionCall: funcCall, pageRange: range)
        document.document.append(docNode)
        return range
    }
    

        let range = pdfWriter.addBodyText(string, backgroundBoxColor: backgroundBoxColor, calculationOnly: true)
        let funcCall = DocumentStructure.FunctionCall.addBodyText(string: string, backgroundBoxColor: backgroundBoxColor)
        let docNode = DocumentStructure.DocumentElement(functionCall: funcCall, pageRange: range)
        document.documentElements.append(docNode)
        return range
    }
    
