mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Add info class to export
This commit is contained in:
@ -155,7 +155,7 @@ _TIFFmemcmp(const tdata_t p1, const tdata_t p2, tsize_t c)
|
||||
return (memcmp(p1, p2, (size_t) c));
|
||||
}
|
||||
|
||||
#ifndef _IOS
|
||||
#if !defined(_IOS) && !defined(DISABLE_IMAGE_EXCEPTIONS)
|
||||
static void
|
||||
Win32WarningHandler(const char* module, const char* fmt, va_list ap)
|
||||
{
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
|
||||
namespace NSOnlineOfficeBinToPdf
|
||||
{
|
||||
class CMetafilePageInfo
|
||||
class CMetafilePageInfo
|
||||
{
|
||||
public:
|
||||
double width;
|
||||
@ -57,11 +57,11 @@ namespace NSOnlineOfficeBinToPdf
|
||||
}
|
||||
};
|
||||
|
||||
class CMetafilePagesInfo
|
||||
class GRAPHICS_DECL CMetafilePagesInfo
|
||||
{
|
||||
public:
|
||||
int PagesCount;
|
||||
std::vector<CMetafilePageInfo> arSizes;
|
||||
std::vector<CMetafilePageInfo> arSizes;
|
||||
|
||||
public:
|
||||
CMetafilePagesInfo()
|
||||
@ -73,11 +73,11 @@ namespace NSOnlineOfficeBinToPdf
|
||||
inline void AddPage()
|
||||
{
|
||||
++PagesCount;
|
||||
arSizes.push_back(CMetafilePageInfo());
|
||||
arSizes.push_back(CMetafilePageInfo());
|
||||
}
|
||||
|
||||
void CheckBuffer(BYTE* pBuffer, LONG lBufferLen);
|
||||
};
|
||||
void CheckBuffer(BYTE* pBuffer, LONG lBufferLen);
|
||||
};
|
||||
}
|
||||
|
||||
#endif // _BUILD_METAFILE_TO_IRENDERER_H_
|
||||
|
||||
@ -2,6 +2,7 @@ LIB_GRAPHICS_PRI_PATH=$$PWD/../..
|
||||
|
||||
DEFINES -= UNICODE
|
||||
DEFINES -= _UNICODE
|
||||
DEFINES += DISABLE_IMAGE_EXCEPTIONS
|
||||
|
||||
DEFINES += \
|
||||
_QT \
|
||||
|
||||
Reference in New Issue
Block a user