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