mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Fix errors
This commit is contained in:
@ -110,7 +110,7 @@ void CDjVuFile::ConvertToPdf(const std::wstring& wsDstPath)
|
||||
if (m_pImplementation)
|
||||
m_pImplementation->ConvertToPdf(wsDstPath);
|
||||
}
|
||||
#ifdef WASM_MODE
|
||||
#ifdef BUILDING_WASM_MODULE
|
||||
BYTE* CDjVuFile::GetStructure()
|
||||
{
|
||||
if (m_pImplementation)
|
||||
|
||||
@ -336,7 +336,7 @@ void CDjVuFileImplementation::ConvertToPdf(const std::wstring& wsD
|
||||
|
||||
oPdf.SaveToFile(wsDstPath);
|
||||
}
|
||||
#ifdef WASM_MODE
|
||||
#ifdef BUILDING_WASM_MODULE
|
||||
class CData
|
||||
{
|
||||
protected:
|
||||
|
||||
@ -79,7 +79,7 @@ public:
|
||||
BYTE* ConvertToPixels(int nPageIndex, const int& nRasterW = -1, const int& nRasterH = -1, bool bIsFlip = false);
|
||||
void ConvertToRaster(int nPageIndex, const std::wstring& wsDstPath, int nImageType, const int& nRasterW = -1, const int& nRasterH = -1);
|
||||
void ConvertToPdf(const std::wstring& wsDstPath);
|
||||
#ifdef WASM_MODE
|
||||
#ifdef BUILDING_WASM_MODULE
|
||||
BYTE* GetStructure();
|
||||
BYTE* GetPageGlyphs(int nPageIndex, const int& nRasterW, const int& nRasterH);
|
||||
BYTE* GetPageLinks (int nPageIndex, const int& nRasterW, const int& nRasterH);
|
||||
|
||||
Reference in New Issue
Block a user