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@63069 954022d7-b5bf-4e40-9824-e11837661b57
33 lines
698 B
C++
33 lines
698 B
C++
#ifndef _PDF_WRITER_SRC_ENCRYPT_DICTIONARY_H
|
|
#define _PDF_WRITER_SRC_ENCRYPT_DICTIONARY_H
|
|
|
|
#include "Objects.h"
|
|
|
|
namespace PdfWriter
|
|
{
|
|
class CEncrypt;
|
|
class CInfoDict;
|
|
|
|
class CEncryptDict : public CDictObject
|
|
{
|
|
public:
|
|
CEncryptDict(CXref* pXref);
|
|
~CEncryptDict();
|
|
EDictType GetDictType() const
|
|
{
|
|
return dict_type_ENCRYPT;
|
|
}
|
|
|
|
void CreateId(CInfoDict* pInfo, CXref* pXref);
|
|
void SetPassword(const char* sOwnerPassword, const char* sUserPassword);
|
|
void Prepare(CInfoDict* pInfo, CXref* pXref);
|
|
CEncrypt* GetEncrypt() const
|
|
{
|
|
return m_pEncrypt;
|
|
}
|
|
private:
|
|
CEncrypt* m_pEncrypt;
|
|
};
|
|
}
|
|
#endif // _PDF_WRITER_SRC_ENCRYPT_DICTIONARY_H
|