b6ff530572953cca5c546ddd1923c7e18dea5aba
[oweals/cde.git] / cde / lib / DtPrint / PrintSetupBP.h
1 /*
2  * CDE - Common Desktop Environment
3  *
4  * Copyright (c) 1993-2012, The Open Group. All rights reserved.
5  *
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)
10  * any later version.
11  *
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
16  * details.
17  *
18  * You should have received a copy of the GNU Lesser General Public
19  * License along with these libraries and programs; if not, write
20  * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21  * Floor, Boston, MA 02110-1301 USA
22  */
23 /* $XConsortium: PrintSetupBP.h /main/16 1996/11/01 15:00:02 cde-hp $ */
24 /*
25  * DtPrint/PrintSetupBP.h
26  */
27 /* (c) Copyright 1990, 1991, 1992, 1993, 1994 OPEN SOFTWARE FOUNDATION, INC.
28  *     ALL RIGHTS RESERVED
29  * (c) Copyright 1989, 1996 DIGITAL EQUIPMENT CORPORATION, MAYNARD, MASS.
30  * (c) Copyright 1987, 1988, 1989, 1990, 1991, 1992, 1995, 1996,
31  *     HEWLETT-PACKARD COMPANY
32  * (c) Copyright 1996 International Business Machines Corp.
33  * (c) Copyright 1996 Sun Microsystems, Inc.
34  * (c) Copyright 1996 Novell, Inc. 
35  * (c) Copyright 1996 FUJITSU LIMITED.
36  * (c) Copyright 1996 Hitachi.
37  */
38 #ifndef _DtPrintSetupBP_h
39 #define _DtPrintSetupBP_h
40
41 #include <Xm/BulletinBP.h>
42 #include <Dt/Print.h>
43 #include <Dt/PrintMsgsP.h>
44
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
48
49 /*
50  * ------------------------------------------------------------------------
51  * Constant Definitions
52  *
53  */
54 /*
55  * Message Catalog Lookup
56  */
57 #define WARN_WORK_AREA_LOCATION DTPRINT_GETMESSAGE( \
58     MS_PrintSetupBox, PSUB_WARN_WA_LOCATION, _DtPrMsgPrintSetupBox_0000)
59 #define SELECT_PRINTER_LABEL DTPRINT_GETMESSAGE( \
60     MS_PrintSetupBox, PSUB_SELECT_PRINTER, _DtPrMsgPrintSetupBox_0001)
61 #define PRINT_TO_FILE_LABEL DTPRINT_GETMESSAGE( \
62     MS_PrintSetupBox, PSUB_PRINT_TO_FILE, _DtPrMsgPrintSetupBox_0002)
63 #define SELECT_FILE_LABEL DTPRINT_GETMESSAGE( \
64     MS_PrintSetupBox, PSUB_SELECT_FILE, _DtPrMsgPrintSetupBox_0003)
65 #define CANCEL_LABEL DTPRINT_GETMESSAGE( \
66     MS_PrintSetupBox, PSUB_CANCEL, _DtPrMsgPrintSetupBox_0004)
67 #define COPIES_LABEL DTPRINT_GETMESSAGE( \
68     MS_PrintSetupBox, PSUB_COPIES, _DtPrMsgPrintSetupBox_0005)
69 #define HELP_LABEL DTPRINT_GETMESSAGE( \
70     MS_PrintSetupBox, PSUB_HELP, _DtPrMsgPrintSetupBox_0006)
71 #define PRINT_LABEL DTPRINT_GETMESSAGE( \
72     MS_PrintSetupBox, PSUB_PRINT, _DtPrMsgPrintSetupBox_0007)
73 #define PRINTER_NAME_LABEL DTPRINT_GETMESSAGE( \
74     MS_PrintSetupBox, PSUB_PRINTER_NAME, _DtPrMsgPrintSetupBox_0008)
75 #define SETUP_LABEL DTPRINT_GETMESSAGE( \
76     MS_PrintSetupBox, PSUB_SETUP, _DtPrMsgPrintSetupBox_0009)
77 #define DESCRIPTION_LABEL DTPRINT_GETMESSAGE( \
78     MS_PrintSetupBox, PSUB_DESCRIPTION, _DtPrMsgPrintSetupBox_0010)
79 #define WARN_COPY_COUNT DTPRINT_GETMESSAGE( \
80     MS_PrintSetupBox, PSUB_WARN_COPY_COUNT, _DtPrMsgPrintSetupBox_0011)
81 #define WARN_SETUP_MODE DTPRINT_GETMESSAGE( \
82     MS_PrintSetupBox, PSUB_WARN_SETUP_MODE, _DtPrMsgPrintSetupBox_0012)
83 #define WARN_SETUP_MODE_CHANGE DTPRINT_GETMESSAGE( \
84     MS_PrintSetupBox, PSUB_WARN_SETUP_MODE_CHANGE, _DtPrMsgPrintSetupBox_0013)
85 #define PRINTER_INFO_LABEL DTPRINT_GETMESSAGE( \
86     MS_PrintSetupBox, PSUB_PRINTER_INFO, _DtPrMsgPrintSetupBox_0014)
87 #define INVALID_PRINTER_TITLE DTPRINT_GETMESSAGE( \
88     MS_PrintSetupBox, PSUB_INVALID_PRINTER_TITLE, _DtPrMsgPrintSetupBox_0015)
89 #define INVALID_PRINTER_MESSAGE DTPRINT_GETMESSAGE( \
90     MS_PrintSetupBox, PSUB_INVALID_PRINTER_MESSAGE, _DtPrMsgPrintSetupBox_0016)
91 #define INVALID_DISPLAY_MESSAGE DTPRINT_GETMESSAGE( \
92     MS_PrintSetupBox, PSUB_INVALID_DISPLAY_MESSAGE, _DtPrMsgPrintSetupBox_0017)
93 #define NOT_XP_DISPLAY_MESSAGE DTPRINT_GETMESSAGE( \
94     MS_PrintSetupBox, PSUB_NOT_XP_DISPLAY_MESSAGE, _DtPrMsgPrintSetupBox_0018)
95 #define NO_DEFAULT_MESSAGE DTPRINT_GETMESSAGE( \
96     MS_PrintSetupBox, PSUB_NO_DEFAULT_MESSAGE, _DtPrMsgPrintSetupBox_0019)
97 #define NO_DEFAULT_DISPLAY_MESSAGE DTPRINT_GETMESSAGE(MS_PrintSetupBox, \
98     PSUB_NO_DEFAULT_DISPLAY_MESSAGE, _DtPrMsgPrintSetupBox_0020)
99 #define PRINTER_MISSING_MESSAGE DTPRINT_GETMESSAGE(MS_PrintSetupBox, \
100     PSUB_PRINTER_MISSING_MESSAGE, _DtPrMsgPrintSetupBox_0021)
101 #define WARN_PRINT_DESTINATION DTPRINT_GETMESSAGE( \
102     MS_PrintSetupBox, PSUB_WARN_PRINT_DESTINATION, _DtPrMsgPrintSetupBox_0022)
103 #define WARN_CT_CONVERSION DTPRINT_GETMESSAGE( \
104     MS_PrintSetupBox, PSUB_WARN_CT_CONVERSION, _DtPrMsgPrintSetupBox_0023)
105 #define WARN_CONVERSION_ARGS DTPRINT_GETMESSAGE( \
106     MS_PrintSetupBox, PSUB_WARN_CONVERSION_ARGS, _DtPrMsgPrintSetupBox_0024)
107 #define PRLIST_ERROR_TITLE DTPRINT_GETMESSAGE( \
108     MS_PrintSetupBox, PSUB_PRLIST_ERROR_TITLE, _DtPrMsgPrintSetupBox_0025)
109 #define NO_PRINTERS_MESSAGE DTPRINT_GETMESSAGE( \
110     MS_PrintSetupBox, PSUB_NO_PRINTERS_MESSAGE, _DtPrMsgPrintSetupBox_0026)
111 #define DESC_UNAVAILABLE DTPRINT_GETMESSAGE( \
112     MS_PrintSetupBox, PSUB_DESC_UNAVAILABLE, _DtPrMsgPrintSetupBox_0027)
113 #define SELECT_FILE_TITLE DTPRINT_GETMESSAGE( \
114     MS_PrintSetupBox, PSUB_SELECT_FILE_TITLE, _DtPrMsgPrintSetupBox_0028)
115 #define PRINTER_INFO_TITLE DTPRINT_GETMESSAGE( \
116     MS_PrintSetupBox, PSUB_PRINTER_INFO_TITLE, _DtPrMsgPrintSetupBox_0029)
117 #define FORMAT_LABEL DTPRINT_GETMESSAGE( \
118     MS_PrintSetupBox, PSUB_FORMAT_LABEL, _DtPrMsgPrintSetupBox_0030)
119 #define MODEL_LABEL DTPRINT_GETMESSAGE( \
120     MS_PrintSetupBox, PSUB_MODEL_LABEL, _DtPrMsgPrintSetupBox_0031)
121 #define PRINTER_LIST_LABEL DTPRINT_GETMESSAGE( \
122     MS_PrintSetupBox, PSUB_PRINTER_LIST_LABEL, _DtPrMsgPrintSetupBox_0032)
123 #define MORE_PRINTERS_TITLE DTPRINT_GETMESSAGE( \
124     MS_PrintSetupBox, PSUB_MORE_PRINTERS_TITLE, _DtPrMsgPrintSetupBox_0033)
125 #define PRINT_TO_PRINTER_LABEL DTPRINT_GETMESSAGE( \
126     MS_PrintSetupBox, PSUB_PRINT_TO_PRINTER, _DtPrMsgPrintSetupBox_0034)
127 #define FILE_NAME_LABEL DTPRINT_GETMESSAGE( \
128     MS_PrintSetupBox, PSUB_FILE_NAME, _DtPrMsgPrintSetupBox_0035)
129 #define HELP_DLG_TITLE DTPRINT_GETMESSAGE( \
130     MS_PrintSetupBox, PSUB_HELP_DLG_TITLE, _DtPrMsgPrintSetupBox_0036)
131 #
132 /*
133  * Constants for Use in Allocation Geometry Matrix. 
134  */
135 #define DtPSUB_MAX_WIDGETS_VERT 12
136
137 /*
138  * ------------------------------------------------------------------------
139  * Type Definitions
140  *
141  */
142 /*
143  * data private to default resource procedures
144  */
145 typedef struct
146 {
147     String printer_name_ct;
148     String printer_name;
149     String description;
150 } DtPrintSelectPrinterRec, *DtPrintSelectPrinterList;
151     
152 typedef struct _DtPrintDefaultProcData
153 {
154     /*
155      * common data
156      */
157     Widget error_message_box;
158     XtEnum messages_hint;
159     Widget help_dialog;
160     /*
161      * select file proc
162      */
163     Widget file_selection_box;
164     /*
165      * select printer proc
166      */
167     Widget printer_selection_box;
168     Widget printer_list_box;
169     String* xp_server_list;
170     int xp_server_count;
171     DtPrintSelectPrinterList* printer_lists;
172     int* printer_counts;
173     int selected_printer;
174     Display* select_printer_info_display;
175 #if 0 && defined(PRINTING_SUPPORTED)
176     XPContext select_printer_info_context;
177 #endif /* PRINTING_SUPPORT */
178     /*
179      * printer info proc
180      */
181     Widget printer_info_box;
182
183 } DtPrintDefaultProcData;
184
185 /*
186  * verify state
187  */
188 typedef enum {
189     DtPRINT_VERIFIED,
190     DtPRINT_IN_VERIFY,
191     DtPRINT_NOT_VERIFIED
192 } DtPrintVerifyState;
193
194 /*
195  * Constraint part record for PrintSetupBox widget 
196  */
197 typedef struct _DtPrintSetupBoxConstraintPart
198 {
199    char unused;
200 } DtPrintSetupBoxConstraintPart, * DtPrintSetupBoxConstraint;
201 /*
202  * New fields for the PrintSetupBox widget class record  
203  */
204 typedef struct
205 {
206     XtCallbackProc      list_callback ;
207     XtPointer           extension;      /* Pointer to extension record */
208 } DtPrintSetupBoxClassPart;
209 /*
210  * Full class record declaration 
211  */
212 typedef struct _DtPrintSetupBoxClassRec
213 {
214     CoreClassPart               core_class;
215     CompositeClassPart          composite_class;
216     ConstraintClassPart         constraint_class;
217     XmManagerClassPart          manager_class;
218     XmBulletinBoardClassPart    bulletin_board_class;
219     DtPrintSetupBoxClassPart    print_setup_box_class;
220 } DtPrintSetupBoxClassRec;
221
222 externalref DtPrintSetupBoxClassRec dtPrintSetupBoxClassRec;
223
224 /*
225  * New fields for the PrintSetupBox widget record 
226  */
227 typedef struct
228 {
229     /*
230      * synthetic resources
231      */
232     String file_name;
233     String printer_name;
234     XmString description_string;
235     int copies;
236     /*
237      * flag resources
238      */
239     Boolean minimize_buttons;
240     XtEnum print_destination;
241     XtEnum print_setup_mode;
242     XtEnum work_area_location;
243     /*
244      * procedure resources
245      */
246     DtPrintSetupProc printer_info_proc;
247     DtPrintSetupProc select_file_proc;
248     DtPrintSetupProc select_printer_proc;
249     DtPrintSetupProc verify_printer_proc;
250     /*
251      * callback resources
252      */
253     XtCallbackList cancel_callback;
254     XtCallbackList close_display_callback;
255     XtCallbackList print_callback;
256     XtCallbackList setup_callback;
257     /*
258      * other resources
259      */
260     XrmOptionDescList options;
261     Cardinal option_count;
262     /*
263      * Xp standard resources
264      */
265     XtEnum xp_printer_name_mode;
266     /*
267      * internal flags
268      */
269     Boolean adding_sel_widgets;
270     DtPrintVerifyState verify_printer_state;
271     Boolean copy_count_supported;
272     /*
273      * internal data
274      */
275     String modal_printer_spec;
276     Display* print_display;
277 #if 0 && defined(PRINTING_SUPPORTED)
278     XPContext print_context;
279 #endif /* PRINTING_SUPPORTED */
280     XtIntervalId timeout_id;
281     /*
282      * descendents
283      */
284     Widget bottom_separator;
285     Widget bottom_work_area;
286     Widget button_separator;
287     Widget copies_control;
288     Widget copies_spin_box;
289     Widget description;
290     Widget description_label;
291     Widget destination_radio_box;
292     Widget file_name_label;
293     Widget file_name_text;
294     Widget help_button;
295     Widget print_button;
296     Widget printer_info_button;
297     Widget printer_name_label;
298     Widget printer_name_text;
299     Widget printer_name_combo;
300     Widget select_file_button;
301     Widget select_printer_button;
302     Widget setup_button;
303     Widget top_separator;
304     Widget top_work_area;
305     /*
306      * data private to the default resource procedures
307      */
308     DtPrintDefaultProcData default_proc_data;
309
310 } DtPrintSetupBoxPart;
311
312 /*
313  * Full instance record declaration
314  */
315 typedef struct _DtPrintSetupBoxRec
316 {
317         CorePart                core;
318         CompositePart           composite;
319         ConstraintPart          constraint;
320         XmManagerPart           manager;
321         XmBulletinBoardPart     bulletin_board;
322         DtPrintSetupBoxPart     print_setup_box;
323 } DtPrintSetupBoxRec;
324
325 /*
326  * ------------------------------------------------------------------------
327  * Macro Definitions
328  *
329  */
330 /*
331  * Instance Record Access
332  */
333 #define PSUB_AddingSelWidgets(w) \
334     (((DtPrintSetupBoxWidget) w)->print_setup_box.adding_sel_widgets)
335 #define PSUB_AutoUnmanage(w) \
336     (((DtPrintSetupBoxWidget) (w))->bulletin_board.auto_unmanage)
337 #define PSUB_BottomSeparator(w) \
338     (((DtPrintSetupBoxWidget) (w))->print_setup_box.bottom_separator)
339 #define PSUB_BottomWorkArea(w) \
340     (((DtPrintSetupBoxWidget) (w))->print_setup_box.bottom_work_area)
341 #define PSUB_ButtonSeparator(w) \
342     (((DtPrintSetupBoxWidget) (w))->print_setup_box.button_separator)
343 #define PSUB_ButtonFontList(w) \
344     (((DtPrintSetupBoxWidget) (w))->bulletin_board.button_font_list)
345 #define PSUB_CancelButton(w) \
346     (((DtPrintSetupBoxWidget) (w))->bulletin_board.cancel_button)
347 #define PSUB_CancelCallback(w) \
348     (((DtPrintSetupBoxWidget) (w))->print_setup_box.cancel_callback)
349 #define PSUB_CloseDisplayCallback(w) \
350     (((DtPrintSetupBoxWidget) (w))->print_setup_box.close_display_callback)
351 #if 0 && defined(PRINTING_SUPPORTED)
352 #define PSUB_Context(w) \
353     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_context)
354 #endif /* PRINTING_SUPPORTED */
355 #define PSUB_Copies(w) \
356     (((DtPrintSetupBoxWidget) (w))->print_setup_box.copies)
357 #define PSUB_CopiesControl(w) \
358     (((DtPrintSetupBoxWidget) (w))->print_setup_box.copies_control)
359 #define PSUB_CopiesSpinBox(w) \
360     (((DtPrintSetupBoxWidget) (w))->print_setup_box.copies_spin_box)
361 #define PSUB_CopyCountSupported(w) \
362     (((DtPrintSetupBoxWidget) (w))->print_setup_box.copy_count_supported)
363 #define PSUB_DefaultButton(w) \
364     (((DtPrintSetupBoxWidget) (w))->bulletin_board.default_button)
365 #define PSUB_DefaultProcData(w) \
366     (((DtPrintSetupBoxWidget) (w))->print_setup_box.default_proc_data)
367 #define PSUB_Description(w) \
368     (((DtPrintSetupBoxWidget) (w))->print_setup_box.description)
369 #define PSUB_DescriptionLabel(w) \
370     (((DtPrintSetupBoxWidget) (w))->print_setup_box.description_label)
371 #define PSUB_DescriptionString(w) \
372     (((DtPrintSetupBoxWidget) (w))->print_setup_box.description_string)
373 #define PSUB_DestinationRadioBox(w) \
374     (((DtPrintSetupBoxWidget) (w))->print_setup_box.destination_radio_box)
375 #define PSUB_Display(w) \
376     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_display)
377 #define PSUB_FileName(w) \
378     (((DtPrintSetupBoxWidget) (w))->print_setup_box.file_name)
379 #define PSUB_FileNameLabel(w) \
380     (((DtPrintSetupBoxWidget) (w))->print_setup_box.file_name_label)
381 #define PSUB_FileNameText(w) \
382     (((DtPrintSetupBoxWidget) (w))->print_setup_box.file_name_text)
383 #define PSUB_HelpButton(w) \
384     (((DtPrintSetupBoxWidget) (w))->print_setup_box.help_button)
385 #define PSUB_LabelFontList(w) \
386     (((DtPrintSetupBoxWidget) (w))->bulletin_board.label_font_list)
387 #define PSUB_MarginHeight(w) \
388     (((DtPrintSetupBoxWidget) (w))->bulletin_board.margin_height)
389 #define PSUB_MarginWidth(w) \
390     (((DtPrintSetupBoxWidget) (w))->bulletin_board.margin_width)
391 #define PSUB_MinimizeButtons(w) \
392     (((DtPrintSetupBoxWidget) w)->print_setup_box.minimize_buttons)
393 #define PSUB_ModalPrinterSpec(w) \
394     (((DtPrintSetupBoxWidget) w)->print_setup_box.modal_printer_spec)
395 #define PSUB_MustMatch(w) \
396     (((DtPrintSetupBoxWidget) w)->print_setup_box.must_match)
397 #define PSUB_OptionCount(w) \
398     (((DtPrintSetupBoxWidget) (w))->print_setup_box.option_count)
399 #define PSUB_Options(w) \
400     (((DtPrintSetupBoxWidget) (w))->print_setup_box.options)
401 #define PSUB_PrintButton(w) \
402     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_button)
403 #define PSUB_PrintCallback(w) \
404     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_callback)
405 #define PSUB_PrintDestination(w) \
406     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_destination)
407 #define PSUB_PrinterInfoButton(w) \
408     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_info_button)
409 #define PSUB_PrinterInfoProc(w) \
410     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_info_proc)
411 #define PSUB_PrinterName(w) \
412     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_name)
413 #define PSUB_PrinterNameText(w) \
414     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_name_text)
415 #define PSUB_PrinterNameCombo(w) \
416     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_name_combo)
417 #define PSUB_PrinterNameLabel(w) \
418     (((DtPrintSetupBoxWidget) (w))->print_setup_box.printer_name_label)
419 #define PSUB_PrintSetupMode(w) \
420     (((DtPrintSetupBoxWidget) (w))->print_setup_box.print_setup_mode)
421 #define PSUB_SelectFileButton(w) \
422     (((DtPrintSetupBoxWidget) (w))->print_setup_box.select_file_button)
423 #define PSUB_SelectFileProc(w) \
424     (((DtPrintSetupBoxWidget) (w))->print_setup_box.select_file_proc)
425 #define PSUB_SelectPrinterButton(w) \
426     (((DtPrintSetupBoxWidget) (w))->print_setup_box.select_printer_button)
427 #define PSUB_SelectPrinterProc(w) \
428     (((DtPrintSetupBoxWidget) (w))->print_setup_box.select_printer_proc)
429 #define PSUB_SetupButton(w) \
430     (((DtPrintSetupBoxWidget) (w))->print_setup_box.setup_button)
431 #define PSUB_SetupCallback(w) \
432     (((DtPrintSetupBoxWidget) (w))->print_setup_box.setup_callback)
433 #define PSUB_Shell(w) \
434     (((DtPrintSetupBoxWidget) (w))->bulletin_board.shell)
435 #define PSUB_StringDirection(w) \
436     (((DtPrintSetupBoxWidget)(w))->manager.string_direction)
437 #define PSUB_Text(w) \
438     (((DtPrintSetupBoxWidget) (w))->print_setup_box.text)
439 #define PSUB_TextColumns(w) \
440     (((DtPrintSetupBoxWidget) w)->print_setup_box.text_columns)
441 #define PSUB_TextFontList(w) \
442     (((DtPrintSetupBoxWidget) (w))->bulletin_board.text_font_list)
443 #define PSUB_TimeoutId(w) \
444     (((DtPrintSetupBoxWidget) (w))->print_setup_box.timeout_id)
445 #define PSUB_TopSeparator(w) \
446     (((DtPrintSetupBoxWidget) (w))->print_setup_box.top_separator)
447 #define PSUB_TopWorkArea(w) \
448     (((DtPrintSetupBoxWidget) (w))->print_setup_box.top_work_area)
449 #define PSUB_VerifyPrinterProc(w) \
450     (((DtPrintSetupBoxWidget) (w))->print_setup_box.verify_printer_proc)
451 #define PSUB_VerifyPrinterState(w) \
452     (((DtPrintSetupBoxWidget) (w))->print_setup_box.verify_printer_state)
453 #define PSUB_WorkAreaLocation(w) \
454     (((DtPrintSetupBoxWidget) (w))->print_setup_box.work_area_location)
455 #define PSUB_XpPrinterNameMode(w) \
456     (((DtPrintSetupBoxWidget) (w))->print_setup_box.xp_printer_name_mode)
457
458 /*
459  * ------------------------------------------------------------------------
460  * Private Function Declarations
461  *
462  */
463 /*
464  * Child Widget Creation Functions
465  */
466 extern void _DtPrintSetupBoxCreateButtonSeparator(
467                                                   DtPrintSetupBoxWidget psub);
468 extern void _DtPrintSetupBoxCreateBottomSeparator(
469                                                   DtPrintSetupBoxWidget psub);
470 extern void _DtPrintSetupBoxCreateCancelButton(
471                                                DtPrintSetupBoxWidget psub);
472 extern void _DtPrintSetupBoxCreateCopiesControl(
473                                                 DtPrintSetupBoxWidget psub);
474 extern void _DtPrintSetupBoxCreateDescription(
475                                               DtPrintSetupBoxWidget psub);
476 extern void _DtPrintSetupBoxCreateDescriptionLabel(
477                                                    DtPrintSetupBoxWidget psub);
478 extern void _DtPrintSetupBoxCreateDestinationRadioBox(
479                                                       DtPrintSetupBoxWidget psub);
480 extern void _DtPrintSetupBoxCreateFileNameLabel(
481                                                DtPrintSetupBoxWidget psub);
482 extern void _DtPrintSetupBoxCreateFileNameText(
483                                                DtPrintSetupBoxWidget psub);
484 extern void _DtPrintSetupBoxCreateHelpButton(
485                                              DtPrintSetupBoxWidget psub);
486 extern void _DtPrintSetupBoxCreatePrintButton(
487                                               DtPrintSetupBoxWidget psub);
488 extern void _DtPrintSetupBoxCreatePrinterInfoButton(
489                                                     DtPrintSetupBoxWidget psub);
490 extern void _DtPrintSetupBoxCreatePrinterNameLabel(
491                                                    DtPrintSetupBoxWidget psub);
492 extern void _DtPrintSetupBoxCreatePrinterNameCombo(
493                                                    DtPrintSetupBoxWidget psub);
494 extern void _DtPrintSetupBoxCreateSelectFileButton(
495                                                    DtPrintSetupBoxWidget psub);
496 extern void _DtPrintSetupBoxCreateSelectPrinterButton(
497                                                       DtPrintSetupBoxWidget psub);
498 extern void _DtPrintSetupBoxCreateSetupButton(
499                                               DtPrintSetupBoxWidget psub);
500 extern void _DtPrintSetupBoxCreateTopSeparator(
501                                                DtPrintSetupBoxWidget psub);
502 /*
503  * Synthetic resource internal->external conversion functions
504  */
505 extern void _DtPrintSetupBoxGetCopies(
506                                       Widget wid,
507                                       int resource_offset,
508                                       XtArgVal *value);
509 extern void _DtPrintSetupBoxGetDescription(
510                                            Widget wid,
511                                            int resource_offset,
512                                            XtArgVal *value);
513 extern void _DtPrintSetupBoxGetFileName(
514                                         Widget wid,
515                                         int resource_offset,
516                                         XtArgVal *value);
517 extern void _DtPrintSetupBoxGetPrinterName(
518                                            Widget wid,
519                                            int resource_offset,
520                                            XtArgVal *value);
521 /*
522  * Geometry Management
523  */
524 extern XmGeoMatrix _DtPrintSetupBoxGeoMatrixCreate(
525                                                    Widget wid,
526                                                    Widget instigator,
527                                                    XtWidgetGeometry *desired);
528 extern Boolean _DtPrintSetupBoxNoGeoRequest(
529                                             XmGeoMatrix geoSpec);
530
531 #ifdef __cplusplus
532 }  /* Close scope of 'extern "C"' declaration which encloses file. */
533 #endif
534
535 #endif /* _DtPrintSetupBP_h */
536 /* DON'T ADD ANYTHING AFTER THIS #endif */