mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@62550 954022d7-b5bf-4e40-9824-e11837661b57
41 lines
1010 B
C++
41 lines
1010 B
C++
#ifndef _PDF_READER_JPXSTREAM_H
|
|
#define _PDF_READER_JPXSTREAM_H
|
|
|
|
#include "Object.h"
|
|
#include "Stream.h"
|
|
|
|
namespace PdfReader
|
|
{
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
// JPXStream
|
|
//-------------------------------------------------------------------------------------------------------------------------------
|
|
|
|
class JPXStream : public FilterStream
|
|
{
|
|
public:
|
|
|
|
JPXStream(Stream *pStream);
|
|
virtual ~JPXStream();
|
|
virtual StreamType GetType()
|
|
{
|
|
return strJPX;
|
|
}
|
|
virtual void Reset();
|
|
virtual void Close();
|
|
virtual int GetChar();
|
|
virtual int LookChar();
|
|
virtual StringExt *GetPSFilter(int psLevel, char *indent);
|
|
virtual bool IsBinary(bool bLast = true);
|
|
virtual void GetImageParams(int *pBitsPerComponent, StreamColorSpaceMode *peModeCS);
|
|
|
|
private:
|
|
|
|
long m_lBufferSize;
|
|
unsigned char* m_pSourceBuffer;
|
|
long m_lCurPos;
|
|
|
|
};
|
|
}
|
|
|
|
#endif // _PDF_READER_JPXSTREAM_H
|