summaryrefslogtreecommitdiff
path: root/src/lib/T602Header.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/T602Header.h')
-rw-r--r--src/lib/T602Header.h25
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