FileFormatUtil.loadFormatToSaveFormat method. Converts a [LoadFormat](../../loadformat/) value to a [SaveFormat](../../saveformat/) value if possible....the FileFormatUtil methods to detect the format of a document. //...a file extension, and then detect its file format. let docStream...