On Fri, 2016-10-28 at 22:43 +0200, Christoph Biedl wrote:

> Some research reveals this is actually Word for Mac versions 4 or 5.

I see, sorry for the mis-diagnosis, I was mislead by this site:

http://mark0.net/onlinetrid.aspx

> The libreoffice suite can open this file, although the rendering looks
> a bit weird. I however failed to derive the file format from the
> code in sw/source/filter/ww8/ww8scan.cxx.

The WW8Fib::GetFIBVersion function looks interesting and matches the
first two bytes of the file. 

https://sources.debian.net/src/libreoffice/1:5.2.3~rc1-4/sw/source/filter/ww8/ww8scan.cxx/#L5414

Interestingly, the file referenced by that function *is* detected by
`file` as a 'Microsoft Office Document':

http://cmsdoc.cern.ch/documents/docformat/CMS_CERN_LetterHead.word

The WW8Fib::WW8Fib function looks to be the place where the header is
read out of the file:

https://sources.debian.net/src/libreoffice/1:5.2.3~rc1-4/sw/source/filter/ww8/ww8scan.cxx/#L5459

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to