Format information can include file attributes in the following categories:
Not all categories are required. Many formats only include major format and file class, or major format only.
The format information has the following structure:
MajorFormat.FileClass.MinorFormat.MajorVersion.MinorVersion
For example:
81.2.0.9.0
Each number in the format information represents a file attribute. The entry 81.2.0.9.0 represents a Lotus 1-2-3 Spreadsheet file version 9.0, where
81= Lotus 1-2-3 Spreadsheet (major format)
2 = Spreadsheet (file class)
0 = not defined (minor format)
9 = 9 (major version)
0 = 0 (minor version)
This example applies to the formats.ini file. When extracting format information using the getDocFormatInfo methods294.2.9.0.
The format values returned from getDocFormatInfoformats.ini because the former defines a unique ID for each major format, while the latter uses a major version, minor version, and minor format to distinguish between formats.
|
|