implemented RctFormat.Write method.