diff options
author | David Tardon <dtardon@redhat.com> | 2016-03-26 10:02:32 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-03-26 12:45:47 +0100 |
commit | 1d601f27be23ceca06ea6412b4059b6bca355e92 (patch) | |
tree | a52ee81b6119c07a7a1bd70dd605c5cdf2ac5c46 /src/lib/T602Header.h | |
parent | 60206dfad3181d2aa5d0ee2bb3b7d827b023ba1a (diff) |
t602: parse header
Diffstat (limited to 'src/lib/T602Header.h')
-rw-r--r-- | src/lib/T602Header.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/T602Header.h b/src/lib/T602Header.h index da5dd65..bd6ccd0 100644 --- a/src/lib/T602Header.h +++ b/src/lib/T602Header.h @@ -10,8 +10,12 @@ #ifndef INCLUDED_T602HEADER_H #define INCLUDED_T602HEADER_H +#include <string> + #include <librevenge-stream/librevenge-stream.h> +#include <libsw602/libsw602.h> + namespace libsw602 { @@ -24,8 +28,29 @@ public: bool isValid() const; + SW602Document::Encoding encoding() const; + const std::string &header() const; + const std::string &footer() const; + double lineHeight() const; + unsigned leftMargin() const; + unsigned rightMargin() const; + unsigned topMargin() const; + unsigned bottomMargin() const; + unsigned pageLength() const; + const std::string &tabs() const; + private: bool m_valid; + SW602Document::Encoding m_encoding; + std::string m_header; + std::string m_footer; + double m_lineHeight; + unsigned m_leftMargin; + unsigned m_rightMargin; + unsigned m_topMargin; + unsigned m_bottomMargin; + unsigned m_pageLength; + std::string m_tabStr; }; } // namespace libsw602 |