JFactory::createDocument

Create a document object