#include <windows.h>#include <winspool.h>#include "gr_Win32Graphics.h"#include "gr_Win32Image.h"#include "gr_Painter.h"#include <xap_Win32App.h>#include <xap_Win32Res_Cursors.rc2>#include "xap_Prefs.h"#include "xap_Frame.h"#include "xap_Dialog_Id.h"#include "xap_Win32Dlg_Print.h"#include "xap_EncodingManager.h"#include "ut_debugmsg.h"#include "ut_assert.h"#include "ut_string.h"#include "ut_std_string.h"#include "ut_Win32OS.h"#include "ut_Win32LocaleString.h"Classes | |
| class | private_FontReverter |
Defines | |
| #define | WIN32_LEAN_AND_MEAN |
| #define | NOWINABLE |
| #define | NOMETAFILE |
| #define | NOSERVICE |
| #define | NOIME |
| #define | NOMCX |
| #define | LOG_WIN32_EXCPT(msg) |
| #define | _test_and_cleanup(x) |
Functions | |
| int CALLBACK | win32Internal_fontEnumProcedure (ENUMLOGFONTW *pLogFont, NEWTEXTMETRICEXW *, int, LPARAM lParam) |
| #define _test_and_cleanup | ( | x | ) |
if(!(x)) \ { \ UT_ASSERT_HARMLESS( UT_SHOULD_NOT_HAPPEN ); \ goto cleanup; \ }
Referenced by GR_Win32Graphics::getPrinterGraphics().
| #define LOG_WIN32_EXCPT | ( | msg | ) |
{ \
UT_String __s; \
UT_String_sprintf(__s, "%s (%d): %s",__FILE__, __LINE__, msg); \
UT_DEBUGMSG(("%s",__s.c_str())); \
if(XAP_App::getApp()->getPrefs()) \
{ \
XAP_App::getApp()->getPrefs()->log("gr_Win32Graphics", __s.c_str()); \
} \
}
Referenced by GR_Win32Graphics::fixDevMode(), and GR_Win32Font::GR_Win32Font().
| #define NOIME |
| #define NOMCX |
| #define NOMETAFILE |
| #define NOSERVICE |
| #define NOWINABLE |
| #define WIN32_LEAN_AND_MEAN |
| int CALLBACK win32Internal_fontEnumProcedure | ( | ENUMLOGFONTW * | pLogFont, | |
| NEWTEXTMETRICEXW * | , | |||
| int | , | |||
| LPARAM | lParam | |||
| ) |
1.7.1