#include <SoftBookHeader.h>
Public Member Functions | |
| SoftBookHeader (librevenge::RVNGInputStream *input) | |
| unsigned | getVersion () const |
| SoftBookColorMode | getColorMode () const |
| unsigned | getFileCount () const |
| bool | getCompressed () const |
| bool | getEncrypted () const |
| const SoftBookMetadata & | getMetadata () const |
| unsigned | getTOCOffset () const |
Static Public Member Functions | |
| static std::shared_ptr< SoftBookHeader > | create (librevenge::RVNGInputStream *input) |
Private Member Functions | |
| void | readHeader (librevenge::RVNGInputStream *input) |
| void | readBookProperties (librevenge::RVNGInputStream *input) |
Private Attributes | |
| unsigned | m_version |
| SoftBookColorMode | m_colorMode |
| unsigned | m_files |
| unsigned | m_dirNameLength |
| unsigned | m_remainingBytes |
| bool | m_compressed |
| bool | m_encrypted |
| SoftBookMetadata | m_metadata |
|
explicit |
Referenced by create().
|
static |
| SoftBookColorMode libebook::SoftBookHeader::getColorMode | ( | ) | const |
| bool libebook::SoftBookHeader::getCompressed | ( | ) | const |
Referenced by libebook::SoftBookParser::createTextStream().
| bool libebook::SoftBookHeader::getEncrypted | ( | ) | const |
| unsigned libebook::SoftBookHeader::getFileCount | ( | ) | const |
Referenced by libebook::SoftBookResourceDir::SoftBookResourceDir().
| const SoftBookMetadata & libebook::SoftBookHeader::getMetadata | ( | ) | const |
| unsigned libebook::SoftBookHeader::getTOCOffset | ( | ) | const |
Referenced by libebook::SoftBookResourceDir::SoftBookResourceDir().
| unsigned libebook::SoftBookHeader::getVersion | ( | ) | const |
Referenced by libebook::SoftBookResourceDir::SoftBookResourceDir().
|
private |
Referenced by SoftBookHeader().
|
private |
Referenced by SoftBookHeader().
|
private |
Referenced by getColorMode(), and readHeader().
|
private |
Referenced by getCompressed(), and readHeader().
|
private |
Referenced by getTOCOffset(), and readHeader().
|
private |
Referenced by getEncrypted(), and readHeader().
|
private |
Referenced by getFileCount(), and readHeader().
|
private |
Referenced by getMetadata(), and readBookProperties().
|
private |
Referenced by getTOCOffset(), readBookProperties(), and readHeader().
|
private |
Referenced by getVersion(), and readHeader().