If the Document Body checkbox is selected, it’s a word-processing document. If not, it’s a page layout document.