1226048Sobrien
2133359Sobrien#------------------------------------------------------------------------------
3267843Sdelphij# $File: wordprocessors,v 1.18 2013/06/03 19:07:29 christos Exp $
4133359Sobrien# wordprocessors:  file(1) magic fo word processors.
5133359Sobrien#
6133359Sobrien####### PWP file format used on Smith Corona Personal Word Processors:
7169962Sobrien2	string	\040\040\040\040\040\040\040\040\040\040\040ML4D\040'92	Smith Corona PWP
8133359Sobrien>24	byte	2	\b, single spaced
9133359Sobrien>24	byte	3	\b, 1.5 spaced
10133359Sobrien>24	byte	4	\b, double spaced
11133359Sobrien>25	byte	0x42	\b, letter
12133359Sobrien>25	byte	0x54	\b, legal
13133359Sobrien>26	byte	0x46	\b, A4
14133359Sobrien
15133359Sobrien#WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
16186690Sobrien0	string	\377WPC\020\000\000\000\022\012\001\001\000\000\000\000	(WP) loadable file
17133359Sobrien>15	byte	0	Optimized for Intel
18133359Sobrien>15	byte	1	Optimized for Non-Intel
19133359Sobrien1	string	WPC	(Corel/WP)
20133359Sobrien>8	short	257	WordPerfect macro
21133359Sobrien>8	short	258	WordPerfect help file
22133359Sobrien>8	short	259	WordPerfect keyboard file
23133359Sobrien>8	short	266	WordPerfect document
24133359Sobrien>8	short	267	WordPerfect dictionary
25133359Sobrien>8	short	268	WordPerfect thesaurus
26133359Sobrien>8	short	269	WordPerfect block
27133359Sobrien>8	short	270	WordPerfect rectangular block
28133359Sobrien>8	short	271	WordPerfect column block
29133359Sobrien>8	short	272	WordPerfect printer data
30133359Sobrien>8	short	275	WordPerfect printer data
31133359Sobrien>8	short	276	WordPerfect driver resource data
32133359Sobrien>8	short	279	WordPerfect hyphenation code
33133359Sobrien>8	short	280	WordPerfect hyphenation data
34133359Sobrien>8	short	281	WordPerfect macro resource data
35133359Sobrien>8	short	283	WordPerfect hyphenation lex
36133359Sobrien>8	short	285	WordPerfect wordlist
37133359Sobrien>8	short	286	WordPerfect equation resource data
38133359Sobrien>8	short	289	WordPerfect spell rules
39133359Sobrien>8	short	290	WordPerfect dictionary rules
40133359Sobrien>8	short	295	WordPerfect spell rules (Microlytics)
41133359Sobrien>8	short	299	WordPerfect settings file
42133359Sobrien>8	short	301	WordPerfect 4.2 document
43133359Sobrien>8	short	325	WordPerfect dialog file
44133359Sobrien>8	short	332	WordPerfect button bar
45133359Sobrien>8	short	513	Shell macro
46133359Sobrien>8	short	522	Shell definition
47133359Sobrien>8	short	769	Notebook macro
48133359Sobrien>8	short	770	Notebook help file
49133359Sobrien>8	short	771	Notebook keyboard file
50133359Sobrien>8	short	778	Notebook definition
51133359Sobrien>8	short	1026	Calculator help file
52133359Sobrien>8	short 	1538	Calendar help file
53133359Sobrien>8	short 	1546	Calendar data file
54133359Sobrien>8	short	1793	Editor macro
55133359Sobrien>8	short	1794	Editor help file
56133359Sobrien>8	short	1795	Editor keyboard file
57133359Sobrien>8	short	1817	Editor macro resource file
58133359Sobrien>8	short 	2049	Macro editor macro
59133359Sobrien>8	short 	2050	Macro editor help file
60133359Sobrien>8	short	2051	Macro editor keyboard file
61133359Sobrien>8	short	2305	PlanPerfect macro
62133359Sobrien>8	short	2306	PlanPerfect help file
63133359Sobrien>8	short	2307	PlanPerfect keyboard file
64133359Sobrien>8	short	2314	PlanPerfect worksheet
65133359Sobrien>8	short	2319	PlanPerfect printer definition
66133359Sobrien>8	short	2322	PlanPerfect graphic definition
67133359Sobrien>8	short	2323	PlanPerfect data
68133359Sobrien>8	short	2324	PlanPerfect temporary printer
69133359Sobrien>8	short	2329	PlanPerfect macro resource data
70133359Sobrien>8	byte	11	Mail
71133359Sobrien>8	short	2818	help file
72133359Sobrien>8	short	2821	distribution list
73133359Sobrien>8	short	2826	out box
74133359Sobrien>8	short	2827	in box
75133359Sobrien>8	short	2836	users archived mailbox
76133359Sobrien>8	short	2837	archived message database
77133359Sobrien>8	short	2838	archived attachments
78133359Sobrien>8	short	3083	Printer temporary file
79133359Sobrien>8	short	3330	Scheduler help file
80133359Sobrien>8	short	3338	Scheduler in file
81133359Sobrien>8	short	3339	Scheduler out file
82133359Sobrien>8	short	3594	GroupWise settings file
83133359Sobrien>8	short	3601	GroupWise directory services
84133359Sobrien>8	short	3627	GroupWise settings file
85133359Sobrien>8	short	4362	Terminal resource data
86133359Sobrien>8	short	4363	Terminal resource data
87133359Sobrien>8	short	4395	Terminal resource data
88133359Sobrien>8	short	4619	GUI loadable text
89133359Sobrien>8	short	4620	graphics resource data
90133359Sobrien>8	short	4621	printer settings file
91133359Sobrien>8	short	4622	port definition file
92133359Sobrien>8	short	4623	print queue parameters
93133359Sobrien>8	short	4624	compressed file
94133359Sobrien>8	short	5130	Network service msg file
95133359Sobrien>8	short	5131	Network service msg file
96133359Sobrien>8	short	5132	Async gateway login msg
97133359Sobrien>8	short	5134	GroupWise message file
98133359Sobrien>8	short	7956	GroupWise admin domain database
99133359Sobrien>8	short	7957	GroupWise admin host database
100133359Sobrien>8	short	7959	GroupWise admin remote host database
101133359Sobrien>8	short	7960	GroupWise admin ADS deferment data file
102133359Sobrien>8	short	8458	IntelliTAG (SGML) compiled DTD
103133359Sobrien>8	long	18219264	WordPerfect graphic image (1.0)
104133359Sobrien>8	long	18219520	WordPerfect graphic image (2.0)
105133359Sobrien#end of WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
106133359Sobrien
107133359Sobrien# Hangul (Korean) Word Processor File
108169942Sobrien0	string	HWP\ Document\ File	Hangul (Korean) Word Processor File 3.0
109169942Sobrien# From: Won-Kyu Park <wkpark@kldp.org>
110169942Sobrien512	string		R\0o\0o\0t\0	Hangul (Korean) Word Processor File 2000
111186690Sobrien!:mime	application/x-hwp
112133359Sobrien
113267843Sdelphij# CosmicBook, from Benoit Rouits
114133359Sobrien0       string  CSBK    Ted Neslson's CosmicBook hypertext file
115133359Sobrien
116159764Sobrien2       string  EYWR    AmigaWriter file
117159764Sobrien
118159764Sobrien# chi:  file(1) magic for ChiWriter files
119159764Sobrien0       string          \\1cw\          ChiWriter file
120159764Sobrien>5      string          >\0             version %s
121159764Sobrien0       string          \\1cw           ChiWriter file
122169942Sobrien
123169942Sobrien# Quark Express from http://www.garykessler.net/library/file_sigs.html
124169942Sobrien2	string	IIXPR3			Intel Quark Express Document (English)
125169942Sobrien2	string	IIXPRa			Intel Quark Express Document (Korean)
126169942Sobrien2	string	MMXPR3			Motorola Quark Express Document (English)
127186690Sobrien!:mime	application/x-quark-xpress-3
128169942Sobrien2	string	MMXPRa			Motorola Quark Express Document (Korean)
129169942Sobrien
130169942Sobrien# adobe indesign (document, whatever...) from querkan
131169942Sobrien0	belong	0x0606edf5		Adobe InDesign
132169942Sobrien>16	string	DOCUMENT		Document
133169942Sobrien
134186690Sobrien#------------------------------------------------------------------------------
135186690Sobrien# ichitaro456: file(1) magic for Just System Word Processor Ichitaro
136186690Sobrien#
137186690Sobrien# Contributor kenzo-:
138186690Sobrien# Reversed-engineered JS Ichitaro magic numbers
139186690Sobrien#
140186690Sobrien
141186690Sobrien0	string		DOC
142186690Sobrien>43	byte		0x14	Just System Word Processor Ichitaro v4
143186690Sobrien!:mime	application/x-ichitaro4
144186690Sobrien>144	string	JDASH		application/x-ichitaro4
145186690Sobrien
146186690Sobrien0	string		DOC
147186690Sobrien>43	byte		0x15	Just System Word Processor Ichitaro v5
148186690Sobrien!:mime	application/x-ichitaro5
149186690Sobrien
150186690Sobrien0	string		DOC
151186690Sobrien>43	byte		0x16	Just System Word Processor Ichitaro v6
152186690Sobrien!:mime	application/x-ichitaro6
153226048Sobrien
154226048Sobrien# Type: Freemind mindmap documents
155226048Sobrien# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
156226048Sobrien0	string/w	\<map\ version	Freemind document
157226048Sobrien!:mime	application/x-freemind
158226048Sobrien
159267843Sdelphij# Type: Freeplane mindmap documents
160267843Sdelphij# From: Felix Natter <fnatter@gmx.net>
161267843Sdelphij0       string/w        \<map\ version="freeplane  Freeplane document
162267843Sdelphij!:mime  application/x-freeplane
163267843Sdelphij
164226048Sobrien# Type:        Scribus
165226048Sobrien# From:        Werner Fink <werner@suse.de>
166226048Sobrien0	string	\<SCRIBUSUTF8\ Version		Scribus Document
167226048Sobrien0	string	\<SCRIBUSUTF8NEW\ Version	Scribus Document
168226048Sobrien!:mime	application/x-scribus
169267843Sdelphij
170267843Sdelphij# help files .hlp compiled from html and used by gfxboot added by Joerg Jenderek
171267843Sdelphij# markups page=0x04,label=0x12, followed by strings like "opt" or "main" and title=0x14
172267843Sdelphij0	ulelong&0x8080FFFF	0x00001204	gfxboot compiled html help file
173