mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
41 lines
828 B
C++
41 lines
828 B
C++
#pragma once
|
|
|
|
#define CREATE_UNZIPPED_XMLS
|
|
//#define CREATE_ZIPPED_DOCX
|
|
#undef DUMP_MEMORY_LEAKS
|
|
|
|
#ifdef CREATE_ZIPPED_DOCX
|
|
|
|
#undef USE_ZLIB_DLL
|
|
#define ZLIB_WINAPI
|
|
|
|
#ifdef USE_ZLIB_DLL
|
|
#pragma comment(lib, "zlibwapi.lib")
|
|
#else
|
|
#pragma comment(lib, "zlibstat.lib")
|
|
#endif //USE_ZLIB_DLL
|
|
|
|
#include "zip.h"
|
|
|
|
#else
|
|
|
|
/*#ifdef _DEBUG
|
|
|
|
#import "..\..\..\AVSOfficeUtils\AVSOfficeUtils\Debug\AVSOfficeUtils.dll" raw_interfaces_only
|
|
|
|
#else*/
|
|
|
|
#import "..\..\..\..\..\..\..\Redist\AVSOfficeStudio\AVSOfficeUtils.dll" raw_interfaces_only
|
|
|
|
//#endif // _DEBUG
|
|
|
|
#define DOC_FILE_COMPONENT_NAME L"AVSOfficeDocFile.dll"
|
|
#define DOC_FILE_TEMPLATE_FILE_NAME L"Template.doc"
|
|
|
|
using namespace AVSOfficeUtils;
|
|
|
|
// Disable warning message 4267.
|
|
#pragma warning( disable : 4267 )
|
|
|
|
#endif //CREATE_ZIPPED_DOCX
|