xref: /freebsd/contrib/file/magic/Magdir/wordprocessors (revision 298f5fdc242b760e70cd3494e3a4f1f50b20664d)
1
2#------------------------------------------------------------------------------
3# $File: wordprocessors,v 1.18 2013/06/03 19:07:29 christos Exp $
4# wordprocessors:  file(1) magic fo word processors.
5#
6####### PWP file format used on Smith Corona Personal Word Processors:
72	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
13>26	byte	0x46	\b, A4
14
15#WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
160	string	\377WPC\020\000\000\000\022\012\001\001\000\000\000\000	(WP) loadable file
17>15	byte	0	Optimized for Intel
18>15	byte	1	Optimized for Non-Intel
191	string	WPC	(Corel/WP)
20>8	short	257	WordPerfect macro
21>8	short	258	WordPerfect help file
22>8	short	259	WordPerfect keyboard file
23>8	short	266	WordPerfect document
24>8	short	267	WordPerfect dictionary
25>8	short	268	WordPerfect thesaurus
26>8	short	269	WordPerfect block
27>8	short	270	WordPerfect rectangular block
28>8	short	271	WordPerfect column block
29>8	short	272	WordPerfect printer data
30>8	short	275	WordPerfect printer data
31>8	short	276	WordPerfect driver resource data
32>8	short	279	WordPerfect hyphenation code
33>8	short	280	WordPerfect hyphenation data
34>8	short	281	WordPerfect macro resource data
35>8	short	283	WordPerfect hyphenation lex
36>8	short	285	WordPerfect wordlist
37>8	short	286	WordPerfect equation resource data
38>8	short	289	WordPerfect spell rules
39>8	short	290	WordPerfect dictionary rules
40>8	short	295	WordPerfect spell rules (Microlytics)
41>8	short	299	WordPerfect settings file
42>8	short	301	WordPerfect 4.2 document
43>8	short	325	WordPerfect dialog file
44>8	short	332	WordPerfect button bar
45>8	short	513	Shell macro
46>8	short	522	Shell definition
47>8	short	769	Notebook macro
48>8	short	770	Notebook help file
49>8	short	771	Notebook keyboard file
50>8	short	778	Notebook definition
51>8	short	1026	Calculator help file
52>8	short 	1538	Calendar help file
53>8	short 	1546	Calendar data file
54>8	short	1793	Editor macro
55>8	short	1794	Editor help file
56>8	short	1795	Editor keyboard file
57>8	short	1817	Editor macro resource file
58>8	short 	2049	Macro editor macro
59>8	short 	2050	Macro editor help file
60>8	short	2051	Macro editor keyboard file
61>8	short	2305	PlanPerfect macro
62>8	short	2306	PlanPerfect help file
63>8	short	2307	PlanPerfect keyboard file
64>8	short	2314	PlanPerfect worksheet
65>8	short	2319	PlanPerfect printer definition
66>8	short	2322	PlanPerfect graphic definition
67>8	short	2323	PlanPerfect data
68>8	short	2324	PlanPerfect temporary printer
69>8	short	2329	PlanPerfect macro resource data
70>8	byte	11	Mail
71>8	short	2818	help file
72>8	short	2821	distribution list
73>8	short	2826	out box
74>8	short	2827	in box
75>8	short	2836	users archived mailbox
76>8	short	2837	archived message database
77>8	short	2838	archived attachments
78>8	short	3083	Printer temporary file
79>8	short	3330	Scheduler help file
80>8	short	3338	Scheduler in file
81>8	short	3339	Scheduler out file
82>8	short	3594	GroupWise settings file
83>8	short	3601	GroupWise directory services
84>8	short	3627	GroupWise settings file
85>8	short	4362	Terminal resource data
86>8	short	4363	Terminal resource data
87>8	short	4395	Terminal resource data
88>8	short	4619	GUI loadable text
89>8	short	4620	graphics resource data
90>8	short	4621	printer settings file
91>8	short	4622	port definition file
92>8	short	4623	print queue parameters
93>8	short	4624	compressed file
94>8	short	5130	Network service msg file
95>8	short	5131	Network service msg file
96>8	short	5132	Async gateway login msg
97>8	short	5134	GroupWise message file
98>8	short	7956	GroupWise admin domain database
99>8	short	7957	GroupWise admin host database
100>8	short	7959	GroupWise admin remote host database
101>8	short	7960	GroupWise admin ADS deferment data file
102>8	short	8458	IntelliTAG (SGML) compiled DTD
103>8	long	18219264	WordPerfect graphic image (1.0)
104>8	long	18219520	WordPerfect graphic image (2.0)
105#end of WordPerfect type files Version 1.6 - PLEASE DO NOT REMOVE THIS LINE
106
107# Hangul (Korean) Word Processor File
1080	string	HWP\ Document\ File	Hangul (Korean) Word Processor File 3.0
109# From: Won-Kyu Park <wkpark@kldp.org>
110512	string		R\0o\0o\0t\0	Hangul (Korean) Word Processor File 2000
111!:mime	application/x-hwp
112
113# CosmicBook, from Benoit Rouits
1140       string  CSBK    Ted Neslson's CosmicBook hypertext file
115
1162       string  EYWR    AmigaWriter file
117
118# chi:  file(1) magic for ChiWriter files
1190       string          \\1cw\          ChiWriter file
120>5      string          >\0             version %s
1210       string          \\1cw           ChiWriter file
122
123# Quark Express from http://www.garykessler.net/library/file_sigs.html
1242	string	IIXPR3			Intel Quark Express Document (English)
1252	string	IIXPRa			Intel Quark Express Document (Korean)
1262	string	MMXPR3			Motorola Quark Express Document (English)
127!:mime	application/x-quark-xpress-3
1282	string	MMXPRa			Motorola Quark Express Document (Korean)
129
130# adobe indesign (document, whatever...) from querkan
1310	belong	0x0606edf5		Adobe InDesign
132>16	string	DOCUMENT		Document
133
134#------------------------------------------------------------------------------
135# ichitaro456: file(1) magic for Just System Word Processor Ichitaro
136#
137# Contributor kenzo-:
138# Reversed-engineered JS Ichitaro magic numbers
139#
140
1410	string		DOC
142>43	byte		0x14	Just System Word Processor Ichitaro v4
143!:mime	application/x-ichitaro4
144>144	string	JDASH		application/x-ichitaro4
145
1460	string		DOC
147>43	byte		0x15	Just System Word Processor Ichitaro v5
148!:mime	application/x-ichitaro5
149
1500	string		DOC
151>43	byte		0x16	Just System Word Processor Ichitaro v6
152!:mime	application/x-ichitaro6
153
154# Type: Freemind mindmap documents
155# From: Jamie Thompson <debian-bugs@jamie-thompson.co.uk>
1560	string/w	\<map\ version	Freemind document
157!:mime	application/x-freemind
158
159# Type: Freeplane mindmap documents
160# From: Felix Natter <fnatter@gmx.net>
1610       string/w        \<map\ version="freeplane  Freeplane document
162!:mime  application/x-freeplane
163
164# Type:        Scribus
165# From:        Werner Fink <werner@suse.de>
1660	string	\<SCRIBUSUTF8\ Version		Scribus Document
1670	string	\<SCRIBUSUTF8NEW\ Version	Scribus Document
168!:mime	application/x-scribus
169
170# help files .hlp compiled from html and used by gfxboot added by Joerg Jenderek
171# markups page=0x04,label=0x12, followed by strings like "opt" or "main" and title=0x14
1720	ulelong&0x8080FFFF	0x00001204	gfxboot compiled html help file
173