home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 September / Chip_2000-09_cd1.bin / sharewar / Slunec / app / 16 / TEXT.SWG / 0001_WORD.pas next >
Pascal/Delphi Source File  |  1996-09-04  |  2KB  |  46 lines

  1. --------T-WORD-G----------------------------
  2.  
  3. The  Microsoft  Word programs store their  documents  in files. The info
  4. comes  from a magic file and my own (not working) sources, so it is very
  5. unreliable except for identification.
  6.  
  7. OFFSET              Count TYPE   Description
  8. 0000h                   1 dword  ID=31BE00
  9. 0002h                   1 byte   Document type :
  10.                                  0 - MS Word text
  11.                                  1 - MS Text building block
  12.                                  2 - Printer description file(maybe wrong topic)
  13. 0003h                   1 byte   ID=00
  14. 0004h                   1 word   ID=AB00h
  15.                                  ToolID, different for the different versions ?
  16. 0006h                   6 word   reserved(0)
  17. 0008h                   1 dword  Textbytes??? Whatever
  18. 000Ch                   1 word   Paragraph information
  19. 000Eh                   1 word   Foot note table
  20. 0010h                   1 word   Section property
  21. 0012h                   1 word   Section table
  22. 0014h                   1 word   Page table
  23. 0016h                  64 char   Style sheet path
  24. 0056h                   1 word   Windows Write page count
  25.                                  Can be used to identify Windows Write files,
  26.                                  because it is 0 for MS Word and nonzero for
  27.                                  Windows Write documents.
  28. 0058h                   8 char   Printer name
  29.                                  Used under MS Word / WinWord only
  30. 0060h                   1 word   MS Word page count
  31. 0062h                   8 byte   Document properties
  32. 006Ah                   1 byte   Word version this file was made by
  33. 006Bh                   1 bool   Autosave flag
  34. 006Ch                   1 word   Word 5 page table
  35. 006Eh                   1 word   Mac bkmk (whatever)
  36. 0070h                   1 word   ?Offset of file name for autosave?
  37. 0072h                   1 word   Running head table
  38. 0074h                   1 word   Code page used making this document
  39.  
  40. EXTENSION:DOC
  41. OCCURENCES:PC
  42. PROGRAMS:MS Word,Windows Write, WinWord
  43. SEE ALSO:
  44. VALIDATION:
  45.  
  46.