JDocument::setBuffer

Set the contents of the document buffer