| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
#ifndef ZBRPARSER_H_INCLUDED |
| 11 |
#define ZBRPARSER_H_INCLUDED |
| 12 |
|
| 13 |
#include <librevenge/librevenge.h> |
| 14 |
|
| 15 |
#include "ZBRHeader.h" |
| 16 |
#include "ZMFCollector.h" |
| 17 |
#include "libzmf_utils.h" |
| 18 |
|
| 19 |
namespace libzmf |
| 20 |
{ |
| 21 |
|
| 22 |
class ZBRParser |
| 23 |
{ |
| 24 |
ZBRParser(const ZBRParser &other) = delete; |
| 25 |
ZBRParser &operator=(const ZBRParser &other) = delete; |
| 26 |
|
| 27 |
public: |
| 28 |
ZBRParser(const RVNGInputStreamPtr &input, librevenge::RVNGDrawingInterface *painter); |
| 29 |
bool parse(); |
| 30 |
|
| 31 |
protected: |
| 32 |
const RVNGInputStreamPtr m_input; |
| 33 |
ZMFCollector m_collector; |
| 34 |
ZBRHeader m_header; |
| 35 |
}; |
| 36 |
|
| 37 |
} |
| 38 |
|
| 39 |
#endif |
| 40 |
|
| 41 |
|