PWI
From SynCE-Wiki
[edit]
About
PWI, or PocketWord Ink, is a format used for storing notes with formatted text, drawings and audio clips.
[edit]
References
- http://synce.sourceforge.net/synce/pwi/
- http://svn.sourceforge.net/viewvc/synce/trunk/twogood-files/pwi/
- http://adrian.dimulescu.free.fr/article.php3?id_article=10
- http://xml.openoffice.org/source/browse/xml/xmerge/java/org/openoffice/xmerge/converter/xml/sxw/pocketword/
[edit]
Basic structure
| Name | Type | Description |
|---|---|---|
| Magic | BYTE[5] | The PWI magic, must contain the ASCII characters "{\pwi". |
| Unknown1 | BYTE[19] | Unknown. |
| FontCount | UINT16 | Number of fonts in the font table. |
| Unknown2 | BYTE[10] | Unknown. |
| FontEntry_0..n | BYTE[80] | FontCount number of FontEntry structures, each 80 bytes long. |
| Unknown | BYTE[186] | Unknown. |
| SectionCount1 | UINT16 | The number of sections/paragraphs in the document |
| SectionCount2 | UINT16 | Usually the same as SectionCount1 |
| SectionCount3 | UINT16 | Usually the same as SectionCount1 |
| Unknown | BYTE[8] | Unknown. Always zeroes? |
| SectionEntry_0..n | BYTE[8] | SectionCount1 number of SectionEntry structures, each 8 bytes long. |
| Unknown | BYTE[2] | Unknown. Always zeroes? |
