43 for(
int i = 1;
i < 256;
i++)
54 :
size(tsize >= 32 ? tsize - 32 : 0)
88OlePicture::~OlePicture()
95#define FILESTG_SIGNATURE_NORMAL 0xF8995568
107 char *data =
new char[
size];
120 aOutputStream.
Close();
121 if( StgOpenStorage(o3tl::toW(aTempFile.
GetFileName().getStr()),
nullptr,
122 STGM_READWRITE|STGM_SHARE_EXCLUSIVE|STGM_TRANSACTED,
123 nullptr, 0, &pis) != S_OK ) {
The HWPFile class is the main class of hwp for reading file information from stream.
size_t SkipBlock(size_t size)
Skips some bytes from HIODev.
bool Read1b(unsigned char &out)
Reads one byte from HIODev.
bool Read2b(unsigned short &out)
Reads two byte from HIODev.
size_t ReadBlock(void *ptr, size_t size)
Reads some bytes from HIODev not regarding endian's way.
bool Read4b(unsigned int &out)
Reads four byte from HIODev.
std::size_t WriteBytes(const void *pData, std::size_t nSize)
void EnableKillingFile(bool bEnable=true)
OUString const & GetURL() const
OUString GetFileName() const
std::vector< uchar > data