mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-15 22:57:23 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58233 954022d7-b5bf-4e40-9824-e11837661b57
23 lines
657 B
C++
23 lines
657 B
C++
#ifndef CSV_WRITER
|
|
#define CSV_WRITER
|
|
|
|
#define CP_UTF16 1200
|
|
#define CP_unicodeFFFE 1201
|
|
|
|
#ifdef _WIN32
|
|
#include <atlbase.h>
|
|
#include <atlstr.h>
|
|
#else
|
|
#include "../../Common/DocxFormat/Source/Base/ASCString.h"
|
|
#endif
|
|
|
|
#include "../../DesktopEditor/common/File.h"
|
|
#include "../../Common/DocxFormat/Source/XlsxFormat/Xlsx.h"
|
|
|
|
namespace CSVWriter
|
|
{
|
|
void WriteFile(NSFile::CFileBinary *pFile, WCHAR **pWriteBuffer, INT &nCurrentIndex, CString &sWriteString, UINT &nCodePage, BOOL bIsEnd = FALSE);
|
|
void WriteFromXlsxToCsv(CString &sFileDst, OOX::Spreadsheet::CXlsx &oXlsx, UINT nCodePage, CONST WCHAR wcDelimiter);
|
|
}
|
|
|
|
#endif //CSV_WRITER
|