mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-16 01:57:36 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@58506 954022d7-b5bf-4e40-9824-e11837661b57
21 lines
732 B
C++
21 lines
732 B
C++
#ifndef COMMON_WRITER
|
|
#define COMMON_WRITER
|
|
|
|
#include "../../ASCOfficePPTXFile/Editor/BinaryFileReaderWriter.h"
|
|
#include "../../Common/DocxFormat/Source/XlsxFormat/Xlsx.h"
|
|
|
|
namespace BinXlsxRW {
|
|
class BinaryCommonWriter
|
|
{
|
|
public:
|
|
NSBinPptxRW::CBinaryFileWriter &m_oStream;
|
|
BinaryCommonWriter(NSBinPptxRW::CBinaryFileWriter &oCBufferedStream);
|
|
int WriteItemStart(BYTE type);
|
|
void WriteItemEnd(int nStart);
|
|
int WriteItemWithLengthStart();
|
|
void WriteItemWithLengthEnd(int nStart);
|
|
void WriteColor(const OOX::Spreadsheet::CColor& color, OOX::Spreadsheet::CIndexedColors* pIndexedColors, OOX::CTheme* theme);
|
|
void WriteBytesArray(BYTE* pData, long nDataSize);
|
|
};
|
|
}
|
|
#endif // #ifndef COMMON_WRITER
|