2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: PrintI.h /main/4 1995/10/26 12:31:15 rswiston $ */
24 /*************************************<+>*************************************
25 *****************************************************************************
29 ** Project: Cache Creek (Rivers) Project:
31 ** Description: Internal Header file for Print.c
34 ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
36 ** (c) Copyright 1993, 1994 Hewlett-Packard Company
37 ** (c) Copyright 1993, 1994 International Business Machines Corp.
38 ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
39 ** (c) Copyright 1993, 1994 Novell, Inc.
41 *******************************************************************
42 *************************************<+>*************************************/
46 /* Printer Type Defines */
48 #define _DtPRINT_ALL 1
49 #define _DtPRINT_SUB 2
50 #define _DtPRINT_CURRENT 3
51 #define _DtPRINT_TOC 4
53 /* default helpprint executable */
54 extern char _DtHelpDefaultHelpPrint[];
55 /* paper size resource names */
56 extern char * _DtHelpPaperSizeNames[];
57 /* number paper size resource names */
58 extern int _DtHelpPaperSizeNamesCnt;
60 /*****************************************************************************
61 * Function: void _DtHelpDisplayPrintDialog();
64 * Parameters: new Specifies the help widget.
68 * Purpose: Creates and displays an instance of the print dialog.
70 *****************************************************************************/
71 void _DtHelpDisplayPrintDialog(
73 _DtHelpPrintStuff * print,
74 _DtHelpDisplayWidgetStuff * display,
75 _DtHelpCommonHelpStuff * help);
77 /*****************************************************************************
78 * Function: void _DtHelpUpdatePrintDialog();
81 * Parameters: new Specifies the help widget.
85 * Purpose: Updates the print dialog to reflect current topic
87 *****************************************************************************/
88 void _DtHelpUpdatePrintDialog(
89 _DtHelpPrintStuff * print,
90 _DtHelpDisplayWidgetStuff * display,
91 _DtHelpCommonHelpStuff * help,
94 /************************************************************************
95 * Function: _DtHelpPrintSetValues()
97 * set print-related data
99 ************************************************************************/
100 void _DtHelpPrintSetValues (
101 _DtHelpPrintStuff * currentPrint,
102 _DtHelpPrintStuff * newPrint,
103 _DtHelpDisplayWidgetStuff * newDisplay,
104 _DtHelpCommonHelpStuff * newCommonHelp);
107 /*****************************************************************************
108 * Function: void _DtHelpPrintJob(
114 * Return Value: Void.
116 * Purpose: Sets up and forks off a print job to helpprint
118 *****************************************************************************/
119 void _DtHelpPrintJob(
134 #endif /* _PrintI_h */
135 /* Do not add anything after this endif. */