The file extension of a new document is predefined by the template chosen in the new document creation wizard (see Creating a Document).