PWI
From SynCE-Wiki
(Difference between revisions)
| Revision as of 06:54, 15 August 2006 Twogood (Talk | contribs) ← Previous diff |
Revision as of 13:08, 15 August 2006 Twogood (Talk | contribs) Next diff → |
||
| Line 37: | Line 37: | ||
| | BYTE[80] | | BYTE[80] | ||
| | FontCount number of FontEntry structures, each 80 bytes long. | | FontCount number of FontEntry structures, each 80 bytes long. | ||
| + | |- | ||
| + | | Unknown | ||
| + | | BYTE[186] | ||
| + | | Unknown. | ||
| |- | |- | ||
| | SectionCount1 | | SectionCount1 | ||
Revision as of 13:08, 15 August 2006
About
PWI, or PocketWord Ink, is a format used for storing notes with formatted text, drawings and audio clips.
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/
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? |
