RTF Selfdoc sample code.