wordprocessors 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  1. #------------------------------------------------------------------------------
  2. # $File: wordprocessors,v 1.20 2019/04/19 00:42:27 christos Exp $
  3. # wordprocessors: file(1) magic fo word processors.
  4. #
  5. ####### PWP file format used on Smith Corona Personal Word Processors:
  6. 2 string \040\040\040\040\040\040\040\040\040\040\040ML4D\040'92 Smith Corona PWP
  7. >24 byte 2 \b, single spaced
  8. >24 byte 3 \b, 1.5 spaced
  9. >24 byte 4 \b, double spaced
  10. >25 byte 0x42 \b, letter
  11. >25 byte 0x54 \b, legal
  12. >26 byte 0x46 \b, A4
  13. # Corel/WordPerfect
  14. 0 string \xffWPC
  15. # WordPerfect
  16. >8 byte 1
  17. >>9 byte 1 WordPerfect macro
  18. >>9 byte 2 WordPerfect help file
  19. >>9 byte 3 WordPerfect keyboard file
  20. >>9 byte 10 WordPerfect document
  21. >>9 byte 11 WordPerfect dictionary
  22. >>9 byte 12 WordPerfect thesaurus
  23. >>9 byte 13 WordPerfect block
  24. >>9 byte 14 WordPerfect rectangular block
  25. >>9 byte 15 WordPerfect column block
  26. >>9 byte 16 WordPerfect printer data
  27. >>9 byte 19 WordPerfect printer data
  28. >>9 byte 20 WordPerfect driver resource data
  29. >>9 byte 22 WordPerfect graphic image
  30. >>9 byte 23 WordPerfect hyphenation code
  31. >>9 byte 24 WordPerfect hyphenation data
  32. >>9 byte 25 WordPerfect macro resource data
  33. >>9 byte 27 WordPerfect hyphenation lex
  34. >>9 byte 29 WordPerfect wordlist
  35. >>9 byte 30 WordPerfect equation resource data
  36. >>9 byte 33 WordPerfect spell rules
  37. >>9 byte 34 WordPerfect dictionary rules
  38. >>9 byte 39 WordPerfect spell rules (Microlytics)
  39. >>9 byte 43 WordPerfect settings file
  40. >>9 byte 44 WordPerfect 3.5 document
  41. >>9 byte 45 WordPerfect 4.2 document
  42. >>9 byte 69 WordPerfect dialog file
  43. >>9 byte 76 WordPerfect button bar
  44. >>9 default x
  45. >>>9 byte x Corel WordPerfect: Unknown filetype %d
  46. # Corel Shell
  47. >8 byte 2
  48. >>9 byte 1 Corel shell macro
  49. >>9 byte 10 Corel shell definition
  50. >>9 default x
  51. >>>9 byte x Corel Shell: Unknown filetype %d
  52. # Corel Notebook
  53. >8 byte 3
  54. >>9 byte 1 Corel Notebook macro
  55. >>9 byte 2 Corel Notebook help file
  56. >>9 byte 3 Corel Notebook keyboard file
  57. >>9 byte 10 Corel Notebook definition
  58. >>9 default x
  59. >>>9 byte x Corel Notebook: Unknown filetype %d
  60. # Corel Calculator
  61. >8 byte 4
  62. >>9 byte 2 Corel Calculator help file
  63. >>9 default x
  64. >>>9 byte x Corel Calculator: Unknown filetype %d
  65. # Corel File Manager
  66. >8 byte 5
  67. >>9 default x
  68. >>>9 byte x Corel File Manager: Unknown filetype %d
  69. # Corel Calendar
  70. >8 byte 6
  71. >>9 byte 2 Corel Calendar help file
  72. >>9 byte 10 Corel Calendar data file
  73. >>9 default x
  74. >>>9 byte x Corel Calendar: Unknown filetype %d
  75. # Corel Program Editor/Ed Editor
  76. >8 byte 7
  77. >>9 byte 1 Corel Editor macro
  78. >>9 byte 2 Corel Editor help file
  79. >>9 byte 3 Corel Editor keyboard file
  80. >>9 byte 25 Corel Editor macro resource file
  81. >>9 default x
  82. >>>9 byte x Corel Program Editor/Ed Editor: Unknown filetype %d
  83. # Corel Macro Editor
  84. >8 byte 8
  85. >>9 byte 1 Corel Macro editor macro
  86. >>9 byte 2 Corel Macro editor help file
  87. >>9 byte 3 Corel Macro editor keyboard file
  88. >>9 default x
  89. >>>9 byte x Corel Macro Editor: Unknown filetype %d
  90. # Corel Plan Perfect
  91. >8 byte 9
  92. >>9 default x
  93. >>>9 byte x Corel Plan Perfect: Unknown filetype %d
  94. # Corel DataPerfect
  95. >8 byte 10
  96. # CHECK: Don't these belong into product 9?
  97. >>9 byte 1 Corel PlanPerfect macro
  98. >>9 byte 2 Corel PlanPerfect help file
  99. >>9 byte 3 Corel PlanPerfect keyboard file
  100. >>9 byte 10 Corel PlanPerfect worksheet
  101. >>9 byte 15 Corel PlanPerfect printer definition
  102. >>9 byte 18 Corel PlanPerfect graphic definition
  103. >>9 byte 19 Corel PlanPerfect data
  104. >>9 byte 20 Corel PlanPerfect temporary printer
  105. >>9 byte 25 Corel PlanPerfect macro resource data
  106. >>9 default x
  107. >>>9 byte x Corel DataPerfect: Unknown filetype %d
  108. # Corel Mail
  109. >8 byte 11
  110. >>9 byte 2 Corel Mail help file
  111. >>9 byte 5 Corel Mail distribution list
  112. >>9 byte 10 Corel Mail out box
  113. >>9 byte 11 Corel Mail in box
  114. >>9 byte 20 Corel Mail users archived mailbox
  115. >>9 byte 21 Corel Mail archived message database
  116. >>9 byte 22 Corel Mail archived attachments
  117. >>9 default x
  118. >>>9 byte x Corel Mail: Unknown filetype %d
  119. # Corel Printer
  120. >8 byte 12
  121. >>9 byte 11 Corel Printer temporary file
  122. >>9 default x
  123. >>>9 byte x Corel Printer: Unknown filetype %d
  124. # Corel Scheduler
  125. >8 byte 13
  126. >>9 byte 2 Corel Scheduler help file
  127. >>9 byte 10 Corel Scheduler in file
  128. >>9 byte 11 Corel Scheduler out file
  129. >>9 default x
  130. >>>9 byte x Corel Scheduler: Unknown filetype %d
  131. # Corel WordPerfect Office
  132. >8 byte 14
  133. >>9 byte 10 Corel GroupWise settings file
  134. >>9 byte 17 Corel GroupWise directory services
  135. >>9 byte 43 Corel GroupWise settings file
  136. >>9 default x
  137. >>>9 byte x Corel WordPerfect Office: Unknown filetype %d
  138. # Corel DrawPerfect
  139. >8 byte 15
  140. >>9 default x
  141. >>>9 byte x Corel DrawPerfect: Unknown filetype %d
  142. # Corel LetterPerfect
  143. >8 byte 16
  144. >>9 default x
  145. >>>9 byte x Corel LetterPerfect: Unknown filetype %d
  146. # Corel Terminal
  147. >8 byte 17
  148. >>9 byte 10 Corel Terminal resource data
  149. >>9 byte 11 Corel Terminal resource data
  150. >>9 byte 43 Corel Terminal resource data
  151. >>9 default x
  152. >>>9 byte x Corel Terminal: Unknown filetype %d
  153. # Corel loadable file
  154. >8 byte 18
  155. >>9 byte 10 Corel loadable file
  156. >>9 byte 11 Corel GUI loadable text
  157. >>9 byte 12 Corel graphics resource data
  158. >>9 byte 13 Corel printer settings file
  159. >>9 byte 14 Corel port definition file
  160. >>9 byte 15 Corel print queue parameters
  161. >>9 byte 16 Corel compressed file
  162. >>9 default x
  163. >>>9 byte x Corel loadable file: Unknown filetype %d
  164. >>15 byte 0 \b, optimized for Intel
  165. >>15 byte 1 \b, optimized for Non-Intel
  166. # Network service
  167. >8 byte 20
  168. >>9 byte 10 Corel Network service msg file
  169. >>9 byte 11 Corel Network service msg file
  170. >>9 byte 12 Corel Async gateway login msg
  171. >>9 byte 14 Corel GroupWise message file
  172. >>9 default x
  173. >>>9 byte x Corel Network service: Unknown filetype %d
  174. # GroupWise
  175. >8 byte 31
  176. >>9 byte 20 GroupWise admin domain database
  177. >>9 byte 21 GroupWise admin host database
  178. >>9 byte 23 GroupWise admin remote host database
  179. >>9 byte 24 GroupWise admin ADS deferment data file
  180. >>9 default x
  181. >>>9 byte x GroupWise: Unknown filetype %d
  182. # IntelliTAG
  183. >8 byte 33
  184. >>9 byte 10 IntelliTAG (SGML) compiled DTD
  185. >>9 default x
  186. >>>9 byte x IntelliTAG: Unknown filetype %d
  187. # everything else
  188. >8 default x
  189. >>8 byte x Unknown Corel/Wordperfect product %d,
  190. >>>9 byte x file type %d
  191. >10 byte 0 \b, v5.
  192. >10 byte !0 \b, v%d.
  193. >11 byte x \b%d
  194. # Hangul (Korean) Word Processor File
  195. 0 string HWP\ Document\ File Hangul (Korean) Word Processor File 3.0
  196. # From: Won-Kyu Park <wkpark@kldp.org>
  197. 512 string R\0o\0o\0t\0 Hangul (Korean) Word Processor File 2000
  198. !:mime application/x-hwp
  199. # CosmicBook, from Benoit Rouits
  200. 0 string CSBK Ted Neslson's CosmicBook hypertext file
  201. 2 string EYWR AmigaWriter file
  202. # chi: file(1) magic for ChiWriter files
  203. 0 string \\1cw\ ChiWriter file
  204. >5 string >\0 version %s
  205. 0 string \\1cw ChiWriter file
  206. # Quark Express from https://www.garykessler.net/library/file_sigs.html
  207. 2 string IIXPR3 Intel Quark Express Document (English)
  208. 2 string IIXPRa Intel Quark Express Document (Korean)
  209. 2 string MMXPR3 Motorola Quark Express Document (English)
  210. !:mime application/x-quark-xpress-3
  211. 2 string MMXPRa Motorola Quark Express Document (Korean)
  212. # adobe indesign (document, whatever...) from querkan
  213. 0 belong 0x0606edf5 Adobe InDesign
  214. >16 string DOCUMENT Document
  215. #------------------------------------------------------------------------------
  216. # ichitaro456: file(1) magic for Just System Word Processor Ichitaro
  217. #
  218. # Contributor kenzo-:
  219. # Reversed-engineered JS Ichitaro magic numbers
  220. #
  221. 0 string DOC
  222. >43 byte 0x14 Just System Word Processor Ichitaro v4
  223. !:mime application/x-ichitaro4
  224. >144 string JDASH application/x-ichitaro4
  225. 0 string DOC
  226. >43 byte 0x15 Just System Word Processor Ichitaro v5
  227. !:mime application/x-ichitaro5
  228. 0 string DOC
  229. >43 byte 0x16 Just System Word Processor Ichitaro v6
  230. !:mime application/x-ichitaro6
  231. # Type: Freemind mindmap documents
  232. # From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
  233. 0 string/w \<map\ version Freemind document
  234. !:mime application/x-freemind
  235. # Type: Freeplane mindmap documents
  236. # From: Felix Natter <fnatter@gmx.net>
  237. 0 string/w \<map\ version="freeplane Freeplane document
  238. !:mime application/x-freeplane
  239. # Type: Scribus
  240. # From: Werner Fink <werner@suse.de>
  241. 0 string \<SCRIBUSUTF8\ Version Scribus Document
  242. 0 string \<SCRIBUSUTF8NEW\ Version Scribus Document
  243. !:mime application/x-scribus
  244. # help files .hlp compiled from html and used by gfxboot added by Joerg Jenderek
  245. # markups page=0x04,label=0x12, followed by strings like "opt" or "main" and title=0x14
  246. 0 ulelong&0x8080FFFF 0x00001204 gfxboot compiled html help file