Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenwordpad.h
Go to the documentation of this file.
00001 /* 00002 * Copyright 2004 by Krzysztof Foltman 00003 * Copyright 2007-2008 by Alexander N. Sørnes <alex@thehandofagony.com> 00004 * 00005 * This library is free software; you can redistribute it and/or 00006 * modify it under the terms of the GNU Lesser General Public 00007 * License as published by the Free Software Foundation; either 00008 * version 2.1 of the License, or (at your option) any later version. 00009 * 00010 * This library is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 * Lesser General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU Lesser General Public 00016 * License along with this library; if not, write to the Free Software 00017 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00018 */ 00019 00020 #include <windef.h> 00021 #include <winuser.h> 00022 00023 #define MAX_STRING_LEN 255 00024 00025 #define TWIPS_PER_INCH 1440 00026 #define CENTMM_PER_INCH 2540 00027 00028 #define ID_FILE_EXIT 1000 00029 #define ID_FILE_OPEN 1001 00030 #define ID_FILE_SAVE 1002 00031 #define ID_FILE_NEW 1003 00032 #define ID_FILE_SAVEAS 1004 00033 00034 #define ID_FILE_RECENT1 1005 00035 #define ID_FILE_RECENT2 1006 00036 #define ID_FILE_RECENT3 1007 00037 #define ID_FILE_RECENT4 1008 00038 #define ID_FILE_RECENT_SEPARATOR 1009 00039 00040 #define ID_PRINT 1010 00041 #define ID_PREVIEW 1011 00042 #define ID_PRINTSETUP 1012 00043 #define ID_PRINT_QUICK 1013 00044 00045 #define ID_FIND 1014 00046 #define ID_FIND_NEXT 1015 00047 #define ID_REPLACE 1016 00048 00049 #define ID_PREVIEW_NEXTPAGE 1017 00050 #define ID_PREVIEW_PREVPAGE 1018 00051 #define ID_PREVIEW_NUMPAGES 1019 00052 #define ID_PREVIEW_ZOOMIN 1020 00053 #define ID_PREVIEW_ZOOMOUT 1021 00054 00055 #define ID_ALIGN_LEFT 1100 00056 #define ID_ALIGN_CENTER 1101 00057 #define ID_ALIGN_RIGHT 1102 00058 00059 #define ID_BACK_1 1200 00060 #define ID_BACK_2 1201 00061 00062 #define ID_EDIT_SELECTALL 1300 00063 #define ID_EDIT_SELECTIONINFO 1301 00064 #define ID_EDIT_READONLY 1302 00065 #define ID_EDIT_MODIFIED 1303 00066 #define ID_EDIT_CHARFORMAT 1304 00067 #define ID_EDIT_PARAFORMAT 1305 00068 #define ID_EDIT_DEFCHARFORMAT 1306 00069 #define ID_EDIT_UNDO 1307 00070 #define ID_EDIT_REDO 1308 00071 #define ID_EDIT_GETTEXT 1309 00072 #define ID_EDIT_COPY 1310 00073 #define ID_EDIT_CUT 1311 00074 #define ID_EDIT_PASTE 1312 00075 #define ID_EDIT_CLEAR 1313 00076 #define ID_BULLET 1314 00077 00078 #define ID_FONTSETTINGS 1315 00079 00080 #define ID_FORMAT_BOLD 1400 00081 #define ID_FORMAT_ITALIC 1401 00082 #define ID_FORMAT_UNDERLINE 1402 00083 #define ID_FORMAT_COLOR 1403 00084 00085 #define ID_TOGGLE_TOOLBAR 1500 00086 #define ID_TOGGLE_FORMATBAR 1501 00087 #define ID_TOGGLE_STATUSBAR 1502 00088 #define ID_TOGGLE_RULER 1503 00089 00090 #define PREVIEW_BUTTONS 7 00091 00092 #define FILELIST_ENTRIES 4 00093 #define FILELIST_ENTRY_LENGTH 33 00094 00095 #define BANDID_TOOLBAR 2 00096 #define BANDID_FORMATBAR 3 00097 #define BANDID_RULER 0 00098 #define BANDID_STATUSBAR 1 00099 #define BANDID_FONTLIST 4 00100 #define BANDID_SIZELIST 5 00101 00102 #define BANDID_PREVIEW_BTN1 6 00103 #define BANDID_PREVIEW_BTN2 7 00104 #define BANDID_PREVIEW_BTN3 8 00105 #define BANDID_PREVIEW_BTN4 9 00106 #define BANDID_PREVIEW_BTN5 10 00107 #define BANDID_PREVIEW_BTN6 11 00108 #define BANDID_PREVIEW_BTN7 12 00109 #define BANDID_PREVIEW_BUFFER 13 00110 00111 #define ID_WORDWRAP_NONE 0 00112 #define ID_WORDWRAP_WINDOW 1 00113 #define ID_WORDWRAP_MARGIN 2 00114 00115 #define ID_NEWFILE_ABORT 100 00116 00117 #define ID_TAB_ADD 100 00118 #define ID_TAB_DEL 101 00119 #define ID_TAB_EMPTY 102 00120 00121 #define IDC_PAGEFMT_TB 100 00122 #define IDC_PAGEFMT_FB 101 00123 #define IDC_PAGEFMT_RU 102 00124 #define IDC_PAGEFMT_SB 103 00125 #define IDC_PAGEFMT_WN 104 00126 #define IDC_PAGEFMT_WW 105 00127 #define IDC_PAGEFMT_WM 106 00128 #define IDC_PAGEFMT_ID 107 00129 00130 #define ID_DATETIME 1600 00131 #define ID_PARAFORMAT 1601 00132 #define ID_TABSTOPS 1602 00133 00134 #define ID_ABOUT 1603 00135 #define ID_VIEWPROPERTIES 1604 00136 00137 #define ID_COLOR_FIRST 1800 00138 #define ID_COLOR_BLACK 1800 00139 #define ID_COLOR_MAROON 1801 00140 #define ID_COLOR_GREEN 1802 00141 #define ID_COLOR_OLIVE 1803 00142 #define ID_COLOR_NAVY 1804 00143 #define ID_COLOR_PURPLE 1805 00144 #define ID_COLOR_TEAL 1806 00145 #define ID_COLOR_GRAY 1807 00146 #define ID_COLOR_SILVER 1808 00147 #define ID_COLOR_RED 1809 00148 #define ID_COLOR_LIME 1810 00149 #define ID_COLOR_YELLOW 1811 00150 #define ID_COLOR_BLUE 1812 00151 #define ID_COLOR_FUCHSIA 1813 00152 #define ID_COLOR_AQUA 1814 00153 #define ID_COLOR_WHITE 1815 00154 #define ID_COLOR_AUTOMATIC 1816 00155 00156 #define IDC_STATUSBAR 2000 00157 #define IDC_EDITOR 2001 00158 #define IDC_TOOLBAR 2002 00159 #define IDC_FORMATBAR 2003 00160 #define IDC_REBAR 2004 00161 #define IDC_COMBO 2005 00162 #define IDC_DATETIME 2006 00163 #define IDC_NEWFILE 2007 00164 #define IDC_PARA_LEFT 2008 00165 #define IDC_PARA_RIGHT 2009 00166 #define IDC_PARA_FIRST 2010 00167 #define IDC_PARA_ALIGN 2011 00168 #define IDC_TABSTOPS 2012 00169 #define IDC_FONTLIST 2013 00170 #define IDC_SIZELIST 2014 00171 #define IDC_RULER 2015 00172 #define IDC_PREVIEW 2016 00173 00174 #define IDD_DATETIME 2100 00175 #define IDD_NEWFILE 2101 00176 #define IDD_PARAFORMAT 2102 00177 #define IDD_TABSTOPS 2103 00178 #define IDD_FORMATOPTS 2104 00179 00180 #define IDM_MAINMENU 2200 00181 #define IDM_POPUP 2201 00182 #define IDM_COLOR_POPUP 2202 00183 00184 #define IDB_TOOLBAR 100 00185 #define IDB_FORMATBAR 101 00186 00187 #define IDI_WORDPAD 102 00188 00189 #define IDC_ZOOM 103 00190 00191 #define STRING_ALL_FILES 1400 00192 #define STRING_TEXT_FILES_TXT 1401 00193 #define STRING_TEXT_FILES_UNICODE_TXT 1402 00194 #define STRING_RICHTEXT_FILES_RTF 1403 00195 00196 #define STRING_NEWFILE_RICHTEXT 1404 00197 #define STRING_NEWFILE_TXT 1405 00198 #define STRING_NEWFILE_TXT_UNICODE 1406 00199 00200 #define STRING_PRINTER_FILES_PRN 1407 00201 00202 #define STRING_ALIGN_LEFT 1416 00203 #define STRING_ALIGN_RIGHT 1417 00204 #define STRING_ALIGN_CENTER 1418 00205 00206 #define STRING_VIEWPROPS_TITLE 1432 00207 #define STRING_VIEWPROPS_TEXT 1433 00208 #define STRING_VIEWPROPS_RICHTEXT 1434 00209 00210 #define STRING_PREVIEW_PRINT 1448 00211 #define STRING_PREVIEW_NEXTPAGE 1449 00212 #define STRING_PREVIEW_PREVPAGE 1450 00213 #define STRING_PREVIEW_TWOPAGES 1451 00214 #define STRING_PREVIEW_ONEPAGE 1452 00215 #define STRING_PREVIEW_ZOOMIN 1453 00216 #define STRING_PREVIEW_ZOOMOUT 1454 00217 #define STRING_PREVIEW_CLOSE 1455 00218 #define STRING_PREVIEW_PAGE 1456 00219 #define STRING_PREVIEW_PAGES 1457 00220 00221 #define STRING_UNITS_CM 1458 00222 #define STRING_UNITS_IN 1459 00223 #define STRING_UNITS_INCH 1460 00224 #define STRING_UNITS_PT 1461 00225 00226 #define STRING_DEFAULT_FILENAME 1700 00227 #define STRING_PROMPT_SAVE_CHANGES 1701 00228 #define STRING_SEARCH_FINISHED 1702 00229 #define STRING_LOAD_RICHED_FAILED 1703 00230 #define STRING_SAVE_LOSEFORMATTING 1704 00231 #define STRING_INVALID_NUMBER 1705 00232 #define STRING_OLE_STORAGE_NOT_SUPPORTED 1706 00233 #define STRING_WRITE_FAILED 1707 00234 #define STRING_WRITE_ACCESS_DENIED 1708 00235 #define STRING_OPEN_FAILED 1709 00236 #define STRING_OPEN_ACCESS_DENIED 1710 00237 #define STRING_PRINTING_NOT_IMPLEMENTED 1711 00238 #define STRING_MAX_TAB_STOPS 1712 00239 00240 /* wordpad.c */ 00241 LPWSTR file_basename(LPWSTR); 00242 00243 /* print.c */ 00244 void dialog_printsetup(HWND); 00245 void dialog_print(HWND, LPWSTR); 00246 void target_device(HWND, DWORD); 00247 void print_quick(HWND, LPWSTR); 00248 LRESULT preview_command(HWND, WPARAM); 00249 void init_preview(HWND, LPWSTR); 00250 void close_preview(HWND); 00251 BOOL preview_isactive(void); 00252 void get_default_printer_opts(void); 00253 void registry_set_pagemargins(HKEY); 00254 void registry_read_pagemargins(HKEY); 00255 void registry_set_previewpages(HKEY hKey); 00256 void registry_read_previewpages(HKEY hKey); 00257 LRESULT CALLBACK ruler_proc(HWND, UINT, WPARAM, LPARAM); 00258 void redraw_ruler(HWND); 00259 00260 /* registry.c */ 00261 int reg_formatindex(WPARAM); 00262 void registry_read_filelist(HWND); 00263 void registry_read_options(void); 00264 void registry_read_formatopts_all(DWORD[], DWORD[]); 00265 void registry_read_winrect(RECT*); 00266 void registry_read_maximized(DWORD*); 00267 void registry_set_filelist(LPCWSTR, HWND); 00268 void registry_set_formatopts_all(DWORD[], DWORD[]); 00269 void registry_set_options(HWND); 00270 00271 /* olecallback.c */ 00272 HRESULT setup_richedit_olecallback(HWND hEditorWnd); Generated on Sat May 26 2012 04:16:33 for ReactOS by
1.7.6.1
|