Text data

FileType is “Text”.

Header data

This file type uses the file header described in File Header.

The following additional data is stored in the header:

Ø In Pad[0] the font type

Ø In Pad[1] the left to right font direction: 1 = RightToLeft, 0 = LeftToRight text direction

Ø In Pad[2] if Unicode chars are stored: 1 = Unicode, 0 = Ascii characters are stored

Data

This file type uses the data structure described in chapter Data Structures to store the data.

Every single line of a text document is stored in a separate data package. The length of the line is stored in the data header of the package. The text data is stored as wchar character values occupying two bytes per character.