00001 00006 /* 00007 * CC PDF Converter: Windows PDF Printer with Creative Commons license support 00008 * Excel to PDF Converter: Excel PDF printing addin, keeping hyperlinks AND Creative Commons license support 00009 * Copyright (C) 2007-2010 Guy Hachlili <[email protected]>, Cogniview LTD. 00010 * 00011 * This file is part of CC PDF Converter / Excel to PDF Converter 00012 * 00013 * CC PDF Converter and Excel to PDF Converter are free software; 00014 * you can redistribute them and/or modify them under the terms of the 00015 * GNU General Public License as published by the Free Software Foundation; 00016 * either version 2 of the License, or (at your option) any later version. 00017 * 00018 * CC PDF Converter and Excel to PDF Converter are is distributed in the hope 00019 * that they will be useful, but WITHOUT ANY WARRANTY; without even the implied 00020 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 * GNU General Public License for more details. 00022 * 00023 * You should have received a copy of the GNU General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. * 00025 */ 00026 00027 #if !defined(AFX_STDAFX_H__FD0C5ED7_D98D_4F65_BABF_87BD46E20095__INCLUDED_) 00028 #define AFX_STDAFX_H__FD0C5ED7_D98D_4F65_BABF_87BD46E20095__INCLUDED_ 00029 00030 #if _MSC_VER > 1000 00031 #pragma once 00032 #endif // _MSC_VER > 1000 00033 00034 #define STRICT 00035 #ifndef _WIN32_WINNT 00036 #define _WIN32_WINNT 0x0400 00037 #endif 00038 #define _ATL_APARTMENT_THREADED 00039 00040 #include <atlbase.h> 00041 //You may derive a class from CComModule and use it if you want to override 00042 //something, but do not change the name of _Module 00043 extern CComModule _Module; 00044 #include <atlcom.h> 00045 00046 // This is taken from the appropriate Office folder 00047 #pragma warning (push) 00048 #pragma warning (disable: 4146) 00049 #import "mso9.dll" rename_namespace("Office2000") 00050 #pragma warning (pop) 00051 using namespace Office2000; 00052 // This is taken from the COMMON FILES folder 00053 #import "Microsoft Shared\\VBA\\VBA6\\VBE6EXT.olb" rename_namespace("VBE6") 00054 using namespace VBE6; 00055 00056 //{{AFX_INSERT_LOCATION}} 00057 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 00058 00059 #endif // !defined(AFX_STDAFX_H__FD0C5ED7_D98D_4F65_BABF_87BD46E20095__INCLUDED)