buildDocument

fun buildDocument(identity: IdentityGenerator = IdentityGenerator.default, name: String = "New Document", uid: String = identity.generate(), formulas: MutableList<MutableMap<String, Any?>> = mutableListOf(), type: DocumentType = DocumentType.document, builder: DocumentBuilder.() -> Unit): Document