ReactOS 0.4.16-dev-306-g647d351
|
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winspool.h"
#include "winerror.h"
#include "objbase.h"
#include "commdlg.h"
#include "wine/debug.h"
#include "dlgs.h"
#include "cderr.h"
#include "cdlg.h"
Go to the source code of this file.
Classes | |
struct | PRINT_PTRA |
struct | PRINT_PTRW |
struct | pd_flags |
struct | pagesetup_data |
struct | callback_data |
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#define | UPDOWN_ID 0x270f |
#define | MAX_COPIES 9999 |
Enumerations | |
enum | devnames_name { devnames_driver_name , devnames_device_name , devnames_output_name } |
enum | hook_type { page_setup_hook , page_paint_hook } |
Variables | |
static const struct pd_flags | psd_flags [] |
static const struct pd_flags | pd_flags [] |
static WNDPROC | lpfnStaticWndProc |
static WNDPROC | edit_wndproc |
static WCHAR | wszFakeDocumentText [1024] |
static const WCHAR | pd32_collateW [] = { 'P', 'D', '3', '2', '_', 'C', 'O', 'L', 'L', 'A', 'T', 'E', 0 } |
static const WCHAR | pd32_nocollateW [] = { 'P', 'D', '3', '2', '_', 'N', 'O', 'C', 'O', 'L', 'L', 'A', 'T', 'E', 0 } |
static const WCHAR | pd32_portraitW [] = { 'P', 'D', '3', '2', '_', 'P', 'O', 'R', 'T', 'R', 'A', 'I', 'T', 0 } |
static const WCHAR | pd32_landscapeW [] = { 'P', 'D', '3', '2', '_', 'L', 'A', 'N', 'D', 'S', 'C', 'A', 'P', 'E', 0 } |
static const WCHAR | printdlg_prop [] = {'_','_','W','I','N','E','_','P','R','I','N','T','D','L','G','D','A','T','A',0} |
static const WCHAR | pagesetupdlg_prop [] |
#define COBJMACROS |
Definition at line 31 of file printdlg.c.
#define MAX_COPIES 9999 |
Definition at line 53 of file printdlg.c.
#define NONAMELESSSTRUCT |
Definition at line 33 of file printdlg.c.
#define NONAMELESSUNION |
Definition at line 32 of file printdlg.c.
#define UPDOWN_ID 0x270f |
Definition at line 52 of file printdlg.c.
Enumerator | |
---|---|
devnames_driver_name | |
devnames_device_name | |
devnames_output_name |
Definition at line 2767 of file printdlg.c.
Enumerator | |
---|---|
page_setup_hook | |
page_paint_hook |
Definition at line 2956 of file printdlg.c.
Definition at line 1453 of file printdlg.c.
Referenced by PrintDlgProcA(), and PrintDlgProcW().
Definition at line 325 of file printdlg.c.
Referenced by pagesetup_set_devmode().
|
static |
Definition at line 3457 of file printdlg.c.
Referenced by PRINTDLG_PagePaintProc().
Definition at line 3221 of file printdlg.c.
Referenced by margin_edit_notification(), and update_margin_edits().
Definition at line 2618 of file printdlg.c.
Referenced by margin_edit_notification(), pagesetup_margin_editproc(), and size2str().
Definition at line 3777 of file printdlg.c.
Referenced by pagesetup_common().
|
inlinestatic |
Definition at line 2775 of file printdlg.c.
Referenced by pagesetup_get_a_devname().
|
static |
Definition at line 191 of file printdlg.c.
Referenced by PrintDlgExA().
|
static |
Definition at line 171 of file printdlg.c.
Referenced by PrintDlgExW().
|
static |
Definition at line 238 of file printdlg.c.
Referenced by PrintDlgExA().
|
static |
Definition at line 218 of file printdlg.c.
Referenced by PrintDlgExW().
Definition at line 2656 of file printdlg.c.
Referenced by pagesetup_common().
|
inlinestatic |
Definition at line 2597 of file printdlg.c.
Referenced by margin_edit_notification(), set_margin_groupbox_title(), size2str(), tenths_mm_to_size(), and thousandths_inch_to_size().
|
static |
Definition at line 3248 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 3190 of file printdlg.c.
Referenced by pagesetup_dlg_proc(), pagesetup_printer_properties(), and pagesetup_wm_command().
|
static |
Definition at line 3058 of file printdlg.c.
Referenced by pagesetup_common(), and pagesetup_wm_command().
|
static |
Definition at line 3139 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 3842 of file printdlg.c.
Referenced by PageSetupDlgA(), and PageSetupDlgW().
|
static |
Definition at line 3679 of file printdlg.c.
Referenced by pagesetup_common().
|
static |
Definition at line 3791 of file printdlg.c.
Referenced by pagesetup_common().
|
static |
Definition at line 2787 of file printdlg.c.
Referenced by pagesetup_get_devname(), pagesetup_get_drvname(), and pagesetup_get_portname().
|
static |
Definition at line 2892 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_init_combos(), pagesetup_printer_properties(), and pagesetup_update_papersize().
|
static |
Definition at line 2810 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_init_combos(), pagesetup_printer_properties(), and pagesetup_update_papersize().
|
inlinestatic |
Definition at line 2974 of file printdlg.c.
Referenced by pagesetup_common(), pagesetup_dlg_proc(), and PRINTDLG_PagePaintProc().
|
static |
Definition at line 2805 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog().
|
inlinestatic |
Definition at line 2592 of file printdlg.c.
Referenced by default_page_paint_hook(), is_metric(), pagesetup_common(), pagesetup_dlg_proc(), pagesetup_dump_dlg_struct(), and pagesetup_get_template().
|
inlinestatic |
Definition at line 2962 of file printdlg.c.
Referenced by default_page_paint_hook(), pagesetup_common(), and pagesetup_dlg_proc().
|
inlinestatic |
Definition at line 2951 of file printdlg.c.
Referenced by margin_edit_notification(), pagesetup_dlg_proc(), pagesetup_wm_command(), PRINTDLG_PagePaintProc(), and update_margin_edits().
|
static |
Definition at line 2707 of file printdlg.c.
Referenced by pagesetup_change_preview(), pagesetup_update_orientation_buttons(), pagesetup_update_papersize(), and pagesetup_wm_command().
|
static |
Definition at line 2737 of file printdlg.c.
Referenced by pagesetup_printer_properties(), and pagesetup_update_papersize().
|
inlinestatic |
Definition at line 2946 of file printdlg.c.
Referenced by pagesetup_change_preview(), pagesetup_update_papersize(), and PRINTDLG_PagePaintProc().
|
static |
Definition at line 2815 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_init_combos(), and pagesetup_update_papersize().
|
static |
Definition at line 3814 of file printdlg.c.
Referenced by pagesetup_common().
|
static |
Definition at line 3113 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_dlg_proc(), and pagesetup_wm_command().
|
static |
Definition at line 3649 of file printdlg.c.
Referenced by subclass_margin_edits().
|
static |
Definition at line 3314 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 2820 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_init_combos(), pagesetup_printer_properties(), and pagesetup_update_papersize().
|
static |
Definition at line 2911 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), pagesetup_init_combos(), pagesetup_printer_properties(), and pagesetup_update_papersize().
|
static |
Definition at line 2753 of file printdlg.c.
Referenced by pagesetup_dlg_proc(), and pagesetup_wm_command().
|
static |
Definition at line 2916 of file printdlg.c.
Referenced by pagesetup_change_printer(), pagesetup_change_printer_dialog(), and pagesetup_printer_properties().
|
static |
Definition at line 2825 of file printdlg.c.
Referenced by pagesetup_change_printer(), and pagesetup_change_printer_dialog().
|
static |
Definition at line 2691 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 2723 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 3301 of file printdlg.c.
Referenced by pagesetup_dlg_proc(), and pagesetup_printer_properties().
|
static |
Definition at line 2986 of file printdlg.c.
Referenced by pagesetup_common(), pagesetup_dlg_proc(), pagesetup_printer_properties(), and pagesetup_wm_command().
|
static |
Definition at line 3371 of file printdlg.c.
Referenced by pagesetup_dlg_proc().
BOOL WINAPI PageSetupDlgA | ( | LPPAGESETUPDLGA | setupdlg | ) |
Definition at line 3923 of file printdlg.c.
Referenced by test_PageSetupDlgA().
BOOL WINAPI PageSetupDlgW | ( | LPPAGESETUPDLGW | setupdlg | ) |
Definition at line 3938 of file printdlg.c.
Referenced by dialog_printsetup(), and PageSetupDlgWrapW().
Definition at line 3980 of file printdlg.c.
Referenced by PrintDlgExA(), and PrintDlgExW().
Definition at line 4001 of file printdlg.c.
Referenced by PrintDlgExA(), and PrintDlgExW().
Definition at line 3948 of file printdlg.c.
Referenced by PrintDlgExA(), and PrintDlgExW().
|
static |
Definition at line 1098 of file printdlg.c.
Referenced by PRINTDLG_WMCommandA(), and PRINTDLG_WMInitDialog().
|
static |
Definition at line 1301 of file printdlg.c.
Referenced by PRINTDLG_WMCommandW(), and PRINTDLG_WMInitDialogW().
|
static |
Definition at line 2191 of file printdlg.c.
Referenced by PrintDlgA().
|
static |
Definition at line 2212 of file printdlg.c.
Referenced by PrintDlgW().
|
static |
Definition at line 476 of file printdlg.c.
Referenced by PrintDlgA(), and PrintDlgExA().
|
static |
Definition at line 530 of file printdlg.c.
Referenced by pagesetup_change_printer_dialog(), PrintDlgExW(), and PrintDlgW().
Definition at line 2118 of file printdlg.c.
Referenced by PrintDlgA().
Definition at line 2152 of file printdlg.c.
Referenced by PrintDlgW().
Definition at line 368 of file printdlg.c.
Referenced by PrintDlgA(), PrintDlgExA(), PrintDlgExW(), and PrintDlgW().
|
static |
Definition at line 3556 of file printdlg.c.
Referenced by pagesetup_dlg_proc().
|
static |
Definition at line 798 of file printdlg.c.
Referenced by PRINTDLG_ChangePrinterA().
|
static |
Definition at line 907 of file printdlg.c.
Referenced by pagesetup_init_combos(), and PRINTDLG_ChangePrinterW().
Definition at line 394 of file printdlg.c.
Referenced by PRINTDLG_WMInitDialog().
Definition at line 430 of file printdlg.c.
Referenced by pagesetup_init_combos(), and PRINTDLG_WMInitDialogW().
|
static |
Definition at line 594 of file printdlg.c.
Referenced by PRINTDLG_WMCommandA().
|
static |
Definition at line 697 of file printdlg.c.
Referenced by PRINTDLG_WMCommandW().
|
static |
Definition at line 1021 of file printdlg.c.
Referenced by PRINTDLG_ChangePrinterA().
|
static |
Definition at line 1057 of file printdlg.c.
Referenced by PRINTDLG_ChangePrinterW().
|
static |
Definition at line 1697 of file printdlg.c.
Referenced by PrintDlgProcA().
|
static |
Definition at line 1857 of file printdlg.c.
Referenced by PrintDlgProcW().
|
static |
Definition at line 1477 of file printdlg.c.
Referenced by PrintDlgProcA().
|
static |
Definition at line 1585 of file printdlg.c.
Referenced by PrintDlgProcW().
BOOL WINAPI PrintDlgA | ( | LPPRINTDLGA | lppd | ) |
Definition at line 2252 of file printdlg.c.
Referenced by PrintDlgExA(), test_abort_proc(), test_DialogCancel(), test_PrintDlgA(), and test_PrintDlgExW().
Definition at line 4034 of file printdlg.c.
Definition at line 4185 of file printdlg.c.
Definition at line 2018 of file printdlg.c.
Referenced by PrintDlgA().
Definition at line 2067 of file printdlg.c.
Referenced by PrintDlgW().
BOOL WINAPI PrintDlgW | ( | LPPRINTDLGW | lppd | ) |
Definition at line 2403 of file printdlg.c.
Referenced by dialog_print(), get_default_printer_opts(), MACRO_Print(), pagesetup_change_printer_dialog(), PrintDlgExW(), and PrintDlgWrapW().
Definition at line 2670 of file printdlg.c.
Referenced by pagesetup_wm_command().
|
static |
Definition at line 3292 of file printdlg.c.
Referenced by pagesetup_dlg_proc().
|
static |
Definition at line 2631 of file printdlg.c.
Referenced by update_margin_edits().
Definition at line 3660 of file printdlg.c.
Referenced by pagesetup_dlg_proc().
Definition at line 2979 of file printdlg.c.
Referenced by pagesetup_update_papersize().
|
inlinestatic |
Definition at line 2602 of file printdlg.c.
Referenced by pagesetup_update_papersize().
|
inlinestatic |
Definition at line 2610 of file printdlg.c.
Referenced by pagesetup_dlg_proc().
Definition at line 292 of file printdlg.c.
Referenced by PrintDlgExA().
Definition at line 264 of file printdlg.c.
Referenced by PrintDlgExW().
|
static |
Definition at line 3233 of file printdlg.c.
Referenced by margin_edit_notification(), pagesetup_dlg_proc(), and pagesetup_wm_command().
WINE_DEFAULT_DEBUG_CHANNEL | ( | commdlg | ) |
|
static |
Definition at line 141 of file printdlg.c.
Referenced by pagesetup_margin_editproc(), and subclass_margin_edits().
|
static |
Definition at line 140 of file printdlg.c.
Referenced by pagesetup_dlg_proc(), and PRINTDLG_PagePaintProc().
Definition at line 149 of file printdlg.c.
Referenced by pagesetup_dlg_proc(), and PRINTDLG_PagePaintProc().
|
static |
Definition at line 144 of file printdlg.c.
Referenced by PRINTDLG_WMInitDialogW().
|
static |
Definition at line 147 of file printdlg.c.
Referenced by PRINTDLG_WMInitDialogW().
|
static |
Definition at line 145 of file printdlg.c.
Referenced by PRINTDLG_WMInitDialogW().
|
static |
Definition at line 146 of file printdlg.c.
Referenced by PRINTDLG_WMInitDialogW().
Definition at line 114 of file printdlg.c.
|
static |
Definition at line 148 of file printdlg.c.
Referenced by PrintDlgProcA(), and PrintDlgProcW().
Definition at line 94 of file printdlg.c.
Referenced by pagesetup_dump_dlg_struct().
|
static |
Definition at line 143 of file printdlg.c.
Referenced by default_page_paint_hook().