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
23namespace libetonyek
24{
25
26typedef std::unordered_map<std::string, IWORKOutputElements> PAGAnnotationMap_t;
27
29{
31
32 boost::optional<std::string> m_creationDate;
33 boost::optional<double> m_footnoteGap;
35};
36
38{
40
43 std::string m_mark;
44
45 std::deque<IWORKOutputElements> m_footnotes;
46 std::deque<IWORKOutputElements>::const_iterator m_nextFootnote;
47};
48
57
58typedef std::unordered_map<ID_t, PAGAttachment> PAGAttachmentMap_t;
59
60}
61
62#endif // PAGTYPES_H_INCLUDED
63
64/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
Definition IWORKBezierElement.cpp:21
unsigned IWORKOutputID_t
Definition IWORKTypes_fwd.h:28
PAGFootnoteKind
Definition PAGEnum.h:17
std::unordered_map< ID_t, PAGAttachment > PAGAttachmentMap_t
Definition PAGTypes.h:58
std::unordered_map< std::string, IWORKOutputElements > PAGAnnotationMap_t
Definition PAGTypes.h:26
Definition PAGTypes.h:50
IWORKOutputID_t m_id
Definition PAGTypes.h:54
bool m_block
Definition PAGTypes.h:55
PAGAttachment()
Definition PAGTypes.cpp:31
Definition PAGTypes.h:38
std::deque< IWORKOutputElements >::const_iterator m_nextFootnote
Definition PAGTypes.h:46
std::deque< IWORKOutputElements > m_footnotes
Definition PAGTypes.h:45
PAGFootnoteState()
Definition PAGTypes.cpp:22
bool m_pending
Definition PAGTypes.h:42
std::string m_mark
Definition PAGTypes.h:43
bool m_firstTextAfterMark
Definition PAGTypes.h:41
Definition PAGTypes.h:29
PAGFootnoteKind m_footnoteKind
Definition PAGTypes.h:34
PAGPublicationInfo()
Definition PAGTypes.cpp:15
boost::optional< std::string > m_creationDate
Definition PAGTypes.h:32
boost::optional< double > m_footnoteGap
Definition PAGTypes.h:33

Generated for libetonyek by doxygen 1.12.0