Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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 <string>
14
15
#include <boost/optional.hpp>
16
#include <boost/unordered_map.hpp>
17
18
#include "
IWORKTypes_fwd.h
"
19
#include "
PAGEnum.h
"
20
21
namespace
libetonyek
22
{
23
24
struct
PAGPublicationInfo
25
{
26
PAGPublicationInfo
();
27
28
boost::optional<std::string>
m_creationDate
;
29
boost::optional<double>
m_footnoteGap
;
30
PAGFootnoteKind
m_footnoteKind
;
31
};
32
33
struct
PAGPageMaster
34
{
35
PAGPageMaster
();
36
37
std::string
m_header
;
38
std::string
m_footer
;
39
};
40
41
struct
PAGFootnoteState
42
{
43
PAGFootnoteState
();
44
45
bool
m_firstTextAfterMark
;
46
bool
m_pending
;
47
std::string
m_mark
;
48
};
49
50
struct
PAGAttachment
51
{
52
PAGAttachment
();
53
PAGAttachment
(
IWORKOutputID_t
id
,
bool
block);
54
55
IWORKOutputID_t
m_id
;
56
bool
m_block
;
57
};
58
59
typedef
boost::unordered_map<ID_t, PAGAttachment>
PAGAttachmentMap_t
;
60
61
}
62
63
#endif // PAGTYPES_H_INCLUDED
64
65
/* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libetonyek::PAGPublicationInfo::PAGPublicationInfo
PAGPublicationInfo()
Definition:
PAGTypes.cpp:15
libetonyek
Definition:
IWORKBezierElement.cpp:18
libetonyek::PAGPageMaster
Definition:
PAGTypes.h:33
libetonyek::PAGPageMaster::m_footer
std::string m_footer
Definition:
PAGTypes.h:38
libetonyek::PAGPublicationInfo
Definition:
PAGTypes.h:24
libetonyek::IWORKOutputID_t
unsigned IWORKOutputID_t
Definition:
IWORKTypes_fwd.h:26
libetonyek::PAGPageMaster::m_header
std::string m_header
Definition:
PAGTypes.h:37
libetonyek::PAGFootnoteKind
PAGFootnoteKind
Definition:
PAGEnum.h:16
libetonyek::IWORKToken::string
Definition:
IWORKToken.h:177
IWORKTypes_fwd.h
libetonyek::PAGAttachmentMap_t
boost::unordered_map< ID_t, PAGAttachment > PAGAttachmentMap_t
Definition:
PAGTypes.h:59
libetonyek::PAGFootnoteState
Definition:
PAGTypes.h:41
libetonyek::PAGAttachment::m_block
bool m_block
Definition:
PAGTypes.h:56
libetonyek::PAGFootnoteState::m_mark
std::string m_mark
Definition:
PAGTypes.h:47
libetonyek::PAGFootnoteState::m_firstTextAfterMark
bool m_firstTextAfterMark
Definition:
PAGTypes.h:45
PAGEnum.h
libetonyek::PAGPublicationInfo::m_creationDate
boost::optional< std::string > m_creationDate
Definition:
PAGTypes.h:28
libetonyek::PAGAttachment
Definition:
PAGTypes.h:50
libetonyek::PAGPublicationInfo::m_footnoteKind
PAGFootnoteKind m_footnoteKind
Definition:
PAGTypes.h:30
libetonyek::PAGAttachment::m_id
IWORKOutputID_t m_id
Definition:
PAGTypes.h:55
libetonyek::PAGFootnoteState::m_pending
bool m_pending
Definition:
PAGTypes.h:46
libetonyek::PAGPublicationInfo::m_footnoteGap
boost::optional< double > m_footnoteGap
Definition:
PAGTypes.h:29
Generated for libetonyek by
doxygen
1.8.11