PAGTypes.h
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /*
3  * This file is part of the libetonyek project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  */
9 
10 #ifndef PAGTYPES_H_INCLUDED
11 #define PAGTYPES_H_INCLUDED
12 
13 #include <deque>
14 #include <string>
15 #include <unordered_map>
16 
17 #include <boost/optional.hpp>
18 
19 #include "IWORKOutputElements.h"
20 #include "IWORKTypes_fwd.h"
21 #include "PAGEnum.h"
22 
23 namespace libetonyek
24 {
25 
27 {
29 
30  boost::optional<std::string> m_creationDate;
31  boost::optional<double> m_footnoteGap;
33 };
34 
36 {
37  PAGPageMaster();
38 
41 };
42 
44 {
46 
48  bool m_pending;
50 
51  std::deque<IWORKOutputElements> m_footnotes;
52  std::deque<IWORKOutputElements>::const_iterator m_nextFootnote;
53 };
54 
56 {
57  PAGAttachment();
58  PAGAttachment(IWORKOutputID_t id, bool block);
59 
61  bool m_block;
62 };
63 
64 typedef std::unordered_map<ID_t, PAGAttachment> PAGAttachmentMap_t;
65 
66 }
67 
68 #endif // PAGTYPES_H_INCLUDED
69 
70 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
PAGPublicationInfo()
Definition: PAGTypes.cpp:15
Definition: IWORKBezierElement.cpp:18
Definition: PAGTypes.h:35
std::string m_footer
Definition: PAGTypes.h:40
Definition: PAGTypes.h:26
unsigned IWORKOutputID_t
Definition: IWORKTypes_fwd.h:26
std::string m_header
Definition: PAGTypes.h:39
PAGFootnoteKind
Definition: PAGEnum.h:16
Definition: PAGTypes.h:43
bool m_block
Definition: PAGTypes.h:61
std::unordered_map< ID_t, PAGAttachment > PAGAttachmentMap_t
Definition: PAGTypes.h:64
std::string m_mark
Definition: PAGTypes.h:49
std::deque< IWORKOutputElements >::const_iterator m_nextFootnote
Definition: PAGTypes.h:52
bool m_firstTextAfterMark
Definition: PAGTypes.h:47
Definition: IWORKToken.h:266
boost::optional< std::string > m_creationDate
Definition: PAGTypes.h:30
Definition: PAGTypes.h:55
PAGFootnoteKind m_footnoteKind
Definition: PAGTypes.h:32
IWORKOutputID_t m_id
Definition: PAGTypes.h:60
bool m_pending
Definition: PAGTypes.h:48
std::deque< IWORKOutputElements > m_footnotes
Definition: PAGTypes.h:51
boost::optional< double > m_footnoteGap
Definition: PAGTypes.h:31

Generated for libetonyek by doxygen 1.8.13