Data Structures |
| struct | ppreviewinfo |
Functions |
| static LPWSTR | get_print_file_filter (HWND hMainWnd) |
| void | registry_set_pagemargins (HKEY hKey) |
| void | registry_read_pagemargins (HKEY hKey) |
| void | registry_set_previewpages (HKEY hKey) |
| void | registry_read_previewpages (HKEY hKey) |
| static void | AddTextButton (HWND hRebarWnd, UINT string, UINT command, UINT id) |
| static HDC | make_dc (void) |
| static LONG | twips_to_centmm (int twips) |
| static LONG | centmm_to_twips (int mm) |
| static LONG | twips_to_pixels (int twips, int dpi) |
| static LONG | devunits_to_twips (int units, int dpi) |
| static RECT | get_print_rect (HDC hdc) |
| void | target_device (HWND hMainWnd, DWORD wordWrap) |
| static LPWSTR | dialog_print_to_file (HWND hMainWnd) |
| static void | char_from_pagenum (HWND hEditorWnd, FORMATRANGE *fr, int page) |
| static HWND | get_ruler_wnd (HWND hMainWnd) |
| void | redraw_ruler (HWND hRulerWnd) |
| static void | update_ruler (HWND hRulerWnd) |
| static void | add_ruler_units (HDC hdcRuler, RECT *drawRect, BOOL NewMetrics, LONG EditLeftmost) |
| static void | paint_ruler (HWND hWnd, LONG EditLeftmost, BOOL NewMetrics) |
| LRESULT CALLBACK | ruler_proc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| static void | print (LPPRINTDLGW pd, LPWSTR wszFileName) |
| void | dialog_printsetup (HWND hMainWnd) |
| void | get_default_printer_opts (void) |
| void | print_quick (HWND hMainWnd, LPWSTR wszFileName) |
| void | dialog_print (HWND hMainWnd, LPWSTR wszFileName) |
| static void | preview_bar_show (HWND hMainWnd, BOOL show) |
| static void | update_preview_scrollbars (HWND hwndPreview, RECT *window) |
| static void | update_preview_sizes (HWND hwndPreview, BOOL zoomLevelUpdated) |
| static void | draw_margin_lines (HDC hdc, int x, int y, float ratio) |
| static BOOL | is_last_preview_page (int page) |
| void | init_preview (HWND hMainWnd, LPWSTR wszFileName) |
| void | close_preview (HWND hMainWnd) |
| BOOL | preview_isactive (void) |
| static void | draw_preview (HWND hEditorWnd, FORMATRANGE *lpFr, RECT *paper, int page) |
| static void | update_preview_buttons (HWND hMainWnd) |
| static LRESULT | print_preview (HWND hwndPreview) |
| static void | update_preview_statusbar (HWND hMainWnd) |
| static void | update_preview (HWND hMainWnd) |
| static void | toggle_num_pages (HWND hMainWnd) |
| static int | preview_page_hittest (POINT pt) |
| LRESULT CALLBACK | preview_proc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) |
| LRESULT | preview_command (HWND hWnd, WPARAM wParam) |
Variables |
| static HGLOBAL | devMode |
| static HGLOBAL | devNames |
| static RECT | margins |
| static previewinfo | preview |
| const WCHAR | wszPreviewWndClass [] |
| static const WCHAR | var_pagemargin [] = {'P','a','g','e','M','a','r','g','i','n',0} |
| static const WCHAR | var_previewpages [] = {'P','r','e','v','i','e','w','P','a','g','e','s',0} |
| static const int | min_spacing = 10 |