123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- /*
- * CDE - Common Desktop Environment
- *
- * Copyright (c) 1993-2012, The Open Group. All rights reserved.
- *
- * These libraries and programs are free software; you can
- * redistribute them and/or modify them under the terms of the GNU
- * Lesser General Public License as published by the Free Software
- * Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * These libraries and programs are distributed in the hope that
- * they will be useful, but WITHOUT ANY WARRANTY; without even the
- * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
- * PURPOSE. See the GNU Lesser General Public License for more
- * details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with these libraries and programs; if not, write
- * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
- * Floor, Boston, MA 02110-1301 USA
- */
- /* $XConsortium: PrintI.h /main/4 1995/10/26 12:31:15 rswiston $ */
- /*************************************<+>*************************************
- *****************************************************************************
- **
- ** File: PrintI.h
- **
- ** Project: Cache Creek (Rivers) Project:
- **
- ** Description: Internal Header file for Print.c
- ** -----------
- **
- ** (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992 Hewlett-Packard Company
- **
- ** (c) Copyright 1993, 1994 Hewlett-Packard Company
- ** (c) Copyright 1993, 1994 International Business Machines Corp.
- ** (c) Copyright 1993, 1994 Sun Microsystems, Inc.
- ** (c) Copyright 1993, 1994 Novell, Inc.
- **
- *******************************************************************
- *************************************<+>*************************************/
- #ifndef _PrintI_h
- #define _PrintI_h
- /* Printer Type Defines */
- #define _DtPRINT_ALL 1
- #define _DtPRINT_SUB 2
- #define _DtPRINT_CURRENT 3
- #define _DtPRINT_TOC 4
- /* default helpprint executable */
- extern char _DtHelpDefaultHelpPrint[];
- /* paper size resource names */
- extern char * _DtHelpPaperSizeNames[];
- /* number paper size resource names */
- extern int _DtHelpPaperSizeNamesCnt;
- /*****************************************************************************
- * Function: void _DtHelpDisplayPrintDialog();
- *
- *
- * Parameters: new Specifies the help widget.
- *
- * Return Value:
- *
- * Purpose: Creates and displays an instance of the print dialog.
- *
- *****************************************************************************/
- void _DtHelpDisplayPrintDialog(
- Widget widget,
- _DtHelpPrintStuff * print,
- _DtHelpDisplayWidgetStuff * display,
- _DtHelpCommonHelpStuff * help);
- /*****************************************************************************
- * Function: void _DtHelpUpdatePrintDialog();
- *
- *
- * Parameters: new Specifies the help widget.
- *
- * Return Value:
- *
- * Purpose: Updates the print dialog to reflect current topic
- *
- *****************************************************************************/
- void _DtHelpUpdatePrintDialog(
- _DtHelpPrintStuff * print,
- _DtHelpDisplayWidgetStuff * display,
- _DtHelpCommonHelpStuff * help,
- Boolean setDefaults);
- /************************************************************************
- * Function: _DtHelpPrintSetValues()
- *
- * set print-related data
- *
- ************************************************************************/
- void _DtHelpPrintSetValues (
- _DtHelpPrintStuff * currentPrint,
- _DtHelpPrintStuff * newPrint,
- _DtHelpDisplayWidgetStuff * newDisplay,
- _DtHelpCommonHelpStuff * newCommonHelp);
- /*****************************************************************************
- * Function: void _DtHelpPrintJob(
- *
- *
- *
- * Parameters:
- *
- * Return Value: Void.
- *
- * Purpose: Sets up and forks off a print job to helpprint
- *
- *****************************************************************************/
- void _DtHelpPrintJob(
- Widget widget,
- char * printExec,
- char * printer,
- int paperSize,
- char * copies,
- char * helpVolume,
- int helpType,
- char * helpData,
- Boolean printAll,
- Boolean printSub,
- Boolean printToc,
- char * topicTitle);
- extern void _DtHelpInitPrintStuff (
- _DtHelpPrintStuff * print);
- extern void _DtHelpFreePrintStuff (
- _DtHelpPrintStuff * print,
- int cleanUpKind);
- #endif /* _PrintI_h */
- /* Do not add anything after this endif. */
|