#include <QXP4Header.h>
Public Member Functions | |
QXP4Header (const boost::optional< QXPDocument::Type > &fileType=boost::none) | |
bool | load (const std::shared_ptr< librevenge::RVNGInputStream > &input) override |
QXPDocument::Type | getType () const override |
std::unique_ptr< QXPParser > | createParser (const std::shared_ptr< librevenge::RVNGInputStream > &input, librevenge::RVNGDrawingInterface *painter) override |
uint16_t | pagesCount () const |
uint16_t | masterPagesCount () const |
uint16_t | seed () const |
uint16_t | increment () const |
const QXPDocumentProperties & | documentProperties () const |
Public Member Functions inherited from libqxp::QXP3HeaderBase | |
QXP3HeaderBase (const boost::optional< QXPDocument::Type > &fileType=boost::none) | |
bool | load (const std::shared_ptr< librevenge::RVNGInputStream > &input) override |
Public Member Functions inherited from libqxp::QXPHeader | |
QXPHeader (const boost::optional< QXPDocument::Type > &fileType=boost::none) | |
virtual | ~QXPHeader ()=default |
virtual bool | load (const std::shared_ptr< librevenge::RVNGInputStream > &input)=0 |
virtual std::unique_ptr< QXPParser > | createParser (const std::shared_ptr< librevenge::RVNGInputStream > &input, librevenge::RVNGDrawingInterface *painter)=0 |
bool | isLittleEndian () const |
bool | isBigEndian () const |
unsigned | version () const |
const char * | encoding () const |
Private Attributes | |
std::string | m_type |
uint16_t | m_pagesCount |
uint16_t | m_masterPagesCount |
uint16_t | m_seed |
uint16_t | m_increment |
QXPDocumentProperties | m_documentProperties |
Additional Inherited Members | |
Protected Attributes inherited from libqxp::QXP3HeaderBase | |
std::string | m_signature |
Protected Attributes inherited from libqxp::QXPHeader | |
unsigned | m_proc |
unsigned | m_version |
unsigned | m_language |
boost::optional< QXPDocument::Type > | m_fileType |
|
explicit |
|
override |
const QXPDocumentProperties & libqxp::QXP4Header::documentProperties | ( | ) | const |
|
overridevirtual |
Implements libqxp::QXPHeader.
uint16_t libqxp::QXP4Header::increment | ( | ) | const |
|
override |
uint16_t libqxp::QXP4Header::masterPagesCount | ( | ) | const |
uint16_t libqxp::QXP4Header::pagesCount | ( | ) | const |
Referenced by load().
uint16_t libqxp::QXP4Header::seed | ( | ) | const |
|
private |
Referenced by documentProperties(), load(), and QXP4Header().
|
private |
Referenced by increment(), load(), and QXP4Header().
|
private |
Referenced by load(), masterPagesCount(), and QXP4Header().
|
private |
Referenced by load(), pagesCount(), and QXP4Header().
|
private |
Referenced by load(), QXP4Header(), and seed().
|
private |
Referenced by getType(), load(), and QXP4Header().