Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
All of the files that are generated by an instance of the Spreadsheet Data Model are formed into a stream and stored within a spreadsheet file. The format of the storage container is also referred to as the Spreadsheet Data Model File Format and is described in the remainder of this section.
The Spreadsheet Data Model file consists of a header that is followed by a partition marker that is then followed by all the files in the directory, with each file separated by a marker. These files are then followed by a backup log and a virtual directory that contains the file list and related information. The three major sections—Spreadsheet Data Model header; stream of files, including the Spreadsheet Data Model backup log file at the end and the partition information at the beginning; and Spreadsheet Data Model virtual directory—are all Spreadsheet Data Model page aligned and MUST be padded with zeros (if necessary) to meet page alignment requirements.
A Spreadsheet Data Model file page MUST be 4096 bytes. This definition of the page size applies only to the Spreadsheet Data Model File Format, not to the formats of the files that are contained inside the Spreadsheet Data Model. File formats within the Spreadsheet Data Model might use a different definition of page size for their formats.
Most of the Spreadsheet Data Model file is saved by using XML metadata (Spreadsheet Data Model header, Spreadsheet Data Model backup log file, and Spreadsheet Data Model virtual directory), with the files themselves being streamed into the Spreadsheet Data Model file directly in their native format (binary or XML). However, some elements within the Spreadsheet Data Model header are binary or calculated values. Likewise, the cyclic redundancy check (CRC) file end marker involves the use of a CRC algorithm.