ReactOS 0.4.16-dev-109-gf4cb10f
|
Go to the source code of this file.
Classes | |
struct | PRINT_DATA |
Macros | |
#define | CONVERT_X(x) MulDiv((x), iLogPixelsX, 2540) /* 100th millimeters to pixels */ |
#define | CONVERT_Y(y) MulDiv((y), iLogPixelsY, 2540) /* 100th millimeters to pixels */ |
#define | X_POINTS_TO_PIXELS(hDC, points) MulDiv((points), GetDeviceCaps((hDC), LOGPIXELSX), 72) |
#define | Y_POINTS_TO_PIXELS(hDC, points) MulDiv((points), GetDeviceCaps((hDC), LOGPIXELSY), 72) |
#define | TAB_STOP 8 |
#define | DO_FLUSH() |
#define | BODY_FONT_SIZE 10 /* 10pt */ |
#define | HEADER_FONT_SIZE 9 /* 9pt */ |
#define | SPACING_HEIGHT 4 /* 4pt */ |
#define | PRINTING_MESSAGE (WM_USER + 100) |
Typedefs | |
typedef struct PRINT_DATA * | PPRINT_DATA |
Functions | |
static VOID | AlertPrintError (VOID) |
static RECT | GetPrintingRect (IN HDC hdc, IN LPCRECT pMargins) |
static INT | GetSelectionTextLength (HWND hWnd) |
static INT | GetSelectionText (HWND hWnd, LPTSTR lpString, INT nMaxCount) |
static VOID | DrawHeaderOrFooter (HDC hDC, LPRECT pRect, LPCTSTR pszFormat, INT nPageNo, const SYSTEMTIME *pstNow) |
static BOOL | DoPrintBody (PPRINT_DATA pData, DWORD PageCount, BOOL bSkipPage) |
static BOOL | DoPrintPage (PPRINT_DATA pData, DWORD PageCount) |
static BOOL | DoCreatePrintFonts (LPPRINTDLG pPrinter, PPRINT_DATA pPrintData) |
static BOOL | DoPrintDocument (PPRINT_DATA printData) |
static DWORD WINAPI | PrintThreadFunc (LPVOID arg) |
static INT_PTR CALLBACK | DIALOG_Printing_DialogProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) |
VOID | DIALOG_FilePrint (VOID) |
static UINT_PTR CALLBACK | DIALOG_PAGESETUP_Hook (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
VOID | DIALOG_FilePageSetup (VOID) |
#define BODY_FONT_SIZE 10 /* 10pt */ |
Definition at line 361 of file printing.c.
#define DO_FLUSH | ( | ) |
Definition at line 362 of file printing.c.
Definition at line 364 of file printing.c.
Definition at line 363 of file printing.c.
#define TAB_STOP 8 |
#define X_POINTS_TO_PIXELS | ( | hDC, | |
points | |||
) | MulDiv((points), GetDeviceCaps((hDC), LOGPIXELSX), 72) |
Definition at line 116 of file printing.c.
#define Y_POINTS_TO_PIXELS | ( | hDC, | |
points | |||
) | MulDiv((points), GetDeviceCaps((hDC), LOGPIXELSY), 72) |
Definition at line 117 of file printing.c.
typedef struct PRINT_DATA * PPRINT_DATA |
Definition at line 16 of file printing.c.
Referenced by DIALOG_FilePrint().
Definition at line 670 of file printing.c.
Referenced by NOTEPAD_MenuCommand().
Definition at line 565 of file printing.c.
Referenced by HandleCommandLine(), and NOTEPAD_MenuCommand().
|
static |
Definition at line 621 of file printing.c.
Referenced by DIALOG_FilePageSetup().
|
static |
Definition at line 493 of file printing.c.
Referenced by DIALOG_FilePrint().
|
static |
Definition at line 366 of file printing.c.
Referenced by DoPrintDocument().
|
static |
Definition at line 211 of file printing.c.
Referenced by DoPrintPage().
|
static |
Definition at line 388 of file printing.c.
Referenced by PrintThreadFunc().
|
static |
Definition at line 299 of file printing.c.
Referenced by DoPrintDocument().
|
static |
Definition at line 124 of file printing.c.
Referenced by DoPrintPage().
Definition at line 28 of file printing.c.
Referenced by DoPrintDocument().
Definition at line 64 of file printing.c.
Referenced by DoPrintDocument().
Definition at line 57 of file printing.c.
Referenced by DIALOG_FilePrint(), and DoPrintDocument().
Definition at line 483 of file printing.c.
Referenced by DIALOG_Printing_DialogProc().