File: htmldoc.dt.in

package info (click to toggle)
htmldoc 1.8.27-8
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 11,708 kB
  • ctags: 5,685
  • sloc: ansic: 43,156; cpp: 22,678; perl: 395; makefile: 303; java: 59; php: 36; xml: 10; sh: 7
file content (88 lines) | stat: -rw-r--r-- 1,985 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#
# "$Id: htmldoc.dt.in 1316 2004-06-17 18:30:20Z swdev $"
#
#   CDE Action and DataType Definitions for HTMLDOC.
#
#   This file adds an additional 'Print' action that allows users to set
#   printer options (and choose printers) prior to printing a file.
#
#   Copyright 1997-2004 by Easy Software Products.
#
#   These coded instructions, statements, and computer programs are the
#   property of Easy Software Products and are protected by Federal
#   copyright law.  Distribution and use rights are outlined in the file
#   "COPYING.txt" which should have been included with this file.  If this
#   file is missing or damaged please contact Easy Software Products
#   at:
#
#       Attn: ESP Licensing Information
#       Easy Software Products
#       44141 Airport View Drive, Suite 204
#       Hollywood, Maryland 20636-3142 USA
#
#       Voice: (301) 373-9600
#       EMail: info@easysw.com
#         WWW: http://www.easysw.com
#

set DtDbVersion=1.0


#
# Define the HTMLDOC book file type to be any file with the ".book" extension
# or starting with the string #HTMLDOC.
#

DATA_CRITERIA HTMLDOCBOOK_1
{
	ACTIONS		Open
	ICON		htmldoc
	NAME_PATTERN	*.book
	CONTENT		0 string #HTMLDOC
	MODE		f&!x
	DATA_ATTRIBUTES_NAME HTMLDOCBOOK
}

DATA_ATTRIBUTES HTMLDOCBOOK
{
	DESCRIPTION	HTMLDOC Book File
	ICON		htmldoc
	ACTIONS		Open
	NAME_TEMPLATE	%s.book
	IS_TEXT		false
	MIME_TYPE	application/vnd.htmldoc-book
}


#
# The htmldoc action invokes the HTMLDOC GUI.
#

ACTION htmldoc
{
	LABEL		HTMLDOC
	ICON		htmldoc
	TYPE		COMMAND
	WINDOW_TYPE	NO_STDIO
	EXEC_STRING	@bindir@/htmldoc %(File)Arg_1%
	DESCRIPTION	HTMLDOC converts HTML files and web pages to PDF and PostScript.
}

#
# The Open action opens a HTMLDOC book file...
#

ACTION Open
{
	LABEL		Open
	ARG_TYPE	HTMLDOCBOOK
	TYPE		COMMAND
	WINDOW_TYPE	NO_STDIO
	EXEC_STRING	@bindir@/htmldoc %(File)Arg_1%
	DESCRIPTION	This action opens a HTMLDOC book file.
}


#
# End of "$Id: htmldoc.dt.in 1316 2004-06-17 18:30:20Z swdev $".
#