Add heightOfString method that uses the line wrapper without actually adding content to the document.

Very useful for layout purposes