Hello trid users,
some days ago i used SoftMaker Office. The text module can read/read
documents with filename extension pwd and psw.
When running TrID on such inspected examples these are described as
"Unknown!" (See appended output/trid.txt).
There already exist a trid definition pwd.trid.xml for Pocket Word
document. This contains in front block section a pattern like:
<Bytes>7B5C70776432</Bytes>
<ASCII> { \ p w d 2</ASCII>
<Pos>0</Pos>
On project page of latex2rtf on sourceforge about control words introduced
by other Microsoft products is written that the 2 after pwd is the version
number. When running tridscan on my few examples i get in front block
section a XML construct like:
<Bytes>7B5C70776431</Bytes>
<ASCII> { \ p w d 1</ASCII>
<Pos>0</Pos>
So my inspected examples are in version one format. So i name new trid
definition pwd-v1.trid.xml with description "Pocket Word document (v1)".
Because generated trid definition is based only on few samples i got many
lines in global section. So i remove lines probably triggered by lucky
circumstances like:
<String>YR2020</String>
I kept lines which are probably essential and maybe can be used to create
variants according to RTF specifications. This refer to code page and
language staff. So i keep 2 additional lines like:
<String>ANSICP</String>
<String>DEFLANG</String>
The site pocketpc.com does not exist any more. So i look for another web page
with information. For me best suited was a page about Microsoft Word on file
formats archive team. This is expressed by reference URL line like:
<RefURL>
http://fileformats.archiveteam.org/wiki/Microsoft_Word </RefURL>
The SoftMaker Office program register the same mime type as for Microsoft
DOC format. This is expressed by line:
<Mime>application/msword</Mime>
The PWD extension is used for Handheld PC variant and extension PSW is used
for Pocket PC variant. So i mention this fact in remark line, but i do not
what are the differences between these two variants.
With the new trid definition my unrecognized Pocket Word documents are now
described ( See appended output/trid-new-v.txt).
Furthermore i also change mime type and reference URL inside pwd.trid.xml
in the same manner.
The two TrID definitions, output and some examples stored in archive
pwd_.zip. I hope that my 2 XML files can be used in future version of
triddefs.
With best wishes
Jörg Jenderek