home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 September / Chip_2000-09_cd1.bin / sharewar / Slunec / app / 16 / TEXT.SWG / 0002_WORDPERFECT.pas < prev    next >
Pascal/Delphi Source File  |  1996-09-04  |  1KB  |  39 lines

  1. --------T-WORDPERFERCT FILES----------------
  2.  
  3. The WordPerfect files all have a common header - even tough I don't know
  4. anything else about them.
  5.  
  6. OFFSET              Count TYPE   Description
  7. 0000h                   4 char   ID=255,"WPC"
  8. 0004h                   4 byte   unknown
  9. 0008h                   1 byte   ID=1
  10. 0009h                   1 byte   Filetype (see table 0003)
  11.  
  12. (Table 0003)
  13. File types of WordPerfect files
  14.   01h - macro file
  15.   02h - WordPerfect help file
  16.   03h - keyboard definition file
  17.   0Ah - document file
  18.   0Bh - dictionary file
  19.   0Ch - thesaurus file
  20.   0Dh - block
  21.   0Eh - rectangular block
  22.   0Fh - column block
  23.   10h - printer resource file (PRS)
  24.   11h - setup file
  25.   12h - prefix information file
  26.   13h - printer resource file (ALL)
  27.   14h - display resource file (DRS)
  28.   15h - overlay file (WP.FIL)
  29.   16h - graphics file (WPG)
  30.   17h - hyphenation code module
  31.   18h - hyphenation data module
  32.   19h - macro resource file (MRS)
  33.   1Ah - graphics driver (WPD)
  34.   1Bh - hyphenation lex module
  35.  
  36. EXTENSION:various
  37. OCCURENCES:PC
  38.  
  39.