A file with .ots extension is an OpenDocument Spreadsheet Template file that is created with the Calc application software included in Apache OpenOffice. Calc application software is the similar to Excel available in Microsoft Office. OTS file format is used to create templates that contain predefine settings related to styles, font, data, spreadsheet layout, and formatting. OTF files have mime-type application/vnd.oasis.opendocument.spreadsheet-template. These template files can be used as a starting point to generate and save actual data files that are saved in ODS file format. OTS files can be used with applications such as OpenOffice and LibreOffice.
OTS File Format
OTS files are saved in OASIS' OpenDocument XML-based file format that comprises of a collection of several subdocuments with a package as a ZIP archive. Each zip archive stores part of the complete document and each subdocument stores a particular aspect of the document. For example, one subdocument contains the style information and another subdocument contains the content of the document. A typical ODF document has the following components:
The content.xml file contains the actual content of the document. This doesn’t include binary data such as images, however.
<text:h style-name="Heading_2">This is a title</text:h>
This is a paragraph. The formatting information is
in the Text_body style. The empty text:p tag above
is a blank paragraph (an empty line).
The styles.xml file contains styling information and is heavily used for formatting and layout. Styles types include:
The meta.xml file contains information about the file metadata such as Author, Last Modified Date, etc.