LibreOffice Module oox (master) 1
|
#include <vbaexport.hxx>
Public Member Functions | |
VBAEncryption (const sal_uInt8 *pData, const sal_uInt16 nLength, SvStream &rEncryptedData, sal_uInt8 nProjKey, rtl_TextEncoding eTextEncoding) | |
void | write () |
Static Public Member Functions | |
static sal_uInt8 | calculateProjKey (const OUString &rString) |
Private Member Functions | |
void | writeSeed () |
void | writeVersionEnc () |
void | writeProjKeyEnc () |
void | writeIgnoredEnc () |
void | writeDataLengthEnc () |
void | writeDataEnc () |
Private Attributes | |
const sal_uInt8 * | mpData |
const sal_uInt16 | mnLength |
SvStream & | mrEncryptedData |
sal_uInt8 | mnUnencryptedByte1 |
sal_uInt8 | mnEncryptedByte1 |
sal_uInt8 | mnEncryptedByte2 |
sal_Unicode | mnProjKey |
sal_uInt8 | mnIgnoredLength |
sal_uInt8 | mnSeed |
sal_uInt8 | mnVersionEnc |
rtl_TextEncoding | meTextEncoding |
Definition at line 118 of file vbaexport.hxx.
VBAEncryption::VBAEncryption | ( | const sal_uInt8 * | pData, |
const sal_uInt16 | nLength, | ||
SvStream & | rEncryptedData, | ||
sal_uInt8 | nProjKey, | ||
rtl_TextEncoding | eTextEncoding | ||
) |
Definition at line 368 of file vbaexport.cxx.
|
static |
Definition at line 401 of file vbaexport.cxx.
References character, namespaces::i, and n.
void VBAEncryption::write | ( | ) |
Definition at line 465 of file vbaexport.cxx.
References writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), writeProjKeyEnc(), writeSeed(), and writeVersionEnc().
|
private |
Definition at line 453 of file vbaexport.cxx.
References namespaces::i, meTextEncoding, mnEncryptedByte1, mnEncryptedByte2, mnLength, mnUnencryptedByte1, mpData, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 438 of file vbaexport.cxx.
References namespaces::i, meTextEncoding, mnEncryptedByte1, mnEncryptedByte2, mnLength, mnUnencryptedByte1, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 424 of file vbaexport.cxx.
References namespaces::i, meTextEncoding, mnEncryptedByte1, mnEncryptedByte2, mnIgnoredLength, mnSeed, mnUnencryptedByte1, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 415 of file vbaexport.cxx.
References meTextEncoding, mnEncryptedByte1, mnEncryptedByte2, mnProjKey, mnSeed, mnUnencryptedByte1, mnVersionEnc, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 389 of file vbaexport.cxx.
References meTextEncoding, mnSeed, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 394 of file vbaexport.cxx.
References meTextEncoding, mnSeed, mnVersionEnc, and mrEncryptedData.
Referenced by write().
|
private |
Definition at line 143 of file vbaexport.hxx.
Referenced by writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), writeProjKeyEnc(), writeSeed(), and writeVersionEnc().
|
private |
Definition at line 136 of file vbaexport.hxx.
Referenced by writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), and writeProjKeyEnc().
|
private |
Definition at line 137 of file vbaexport.hxx.
Referenced by writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), and writeProjKeyEnc().
|
private |
Definition at line 139 of file vbaexport.hxx.
Referenced by writeIgnoredEnc().
|
private |
Definition at line 133 of file vbaexport.hxx.
Referenced by writeDataEnc(), and writeDataLengthEnc().
|
private |
Definition at line 138 of file vbaexport.hxx.
Referenced by writeProjKeyEnc().
|
private |
Definition at line 141 of file vbaexport.hxx.
Referenced by VBAEncryption(), writeIgnoredEnc(), writeProjKeyEnc(), writeSeed(), and writeVersionEnc().
|
private |
Definition at line 135 of file vbaexport.hxx.
Referenced by writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), and writeProjKeyEnc().
|
private |
Definition at line 142 of file vbaexport.hxx.
Referenced by writeProjKeyEnc(), and writeVersionEnc().
|
private |
Definition at line 132 of file vbaexport.hxx.
Referenced by writeDataEnc().
|
private |
Definition at line 134 of file vbaexport.hxx.
Referenced by writeDataEnc(), writeDataLengthEnc(), writeIgnoredEnc(), writeProjKeyEnc(), writeSeed(), and writeVersionEnc().