writeRtfDocument

Convenience top-level entry point equivalent to RtfDocumentWriter().write(document).