Added HeaderFormat and SampleFormat enumerations.
Documented HeaderFormat and SampleFormat.