PMLTypes.h Source File documentation

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

PMLTypes.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 libe-book 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 PMLTYPES_H_INCLUDED
11 #define PMLTYPES_H_INCLUDED
12
13 namespace libebook
14 {
15
16 enum PMLFontType
17 {
18 PML_FONT_TYPE_NORMAL,
19 PML_FONT_TYPE_STD,
20 PML_FONT_TYPE_BOLD,
21 PML_FONT_TYPE_LARGE
22 };
23
24 struct PMLAttributes
25 {
26 PMLAttributes();
27
28 bool pageBreak;
29 bool chapter;
30 bool center;
31 bool right;
32 bool italic;
33 bool underline;
34 bool overstrike;
35 bool indent;
36 unsigned indentPercent;
37 PMLFontType font;
38 bool bold;
39 bool superscript;
40 bool subscript;
41 bool smallcaps;
42 };
43
44 } // namespace libebook
45
46 #endif // PMLTYPES_H_INCLUDED
47
48 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */
libebook::PML_FONT_TYPE_STD
Definition: PMLTypes.h:19
libebook::PMLAttributes
Definition: PMLTypes.h:24
libebook::PML_FONT_TYPE_LARGE
Definition: PMLTypes.h:21
libebook::PMLAttributes::superscript
bool superscript
Definition: PMLTypes.h:39
libebook::PMLAttributes::italic
bool italic
Definition: PMLTypes.h:32
libebook::PMLAttributes::overstrike
bool overstrike
Definition: PMLTypes.h:34
libebook::PMLAttributes::chapter
bool chapter
Definition: PMLTypes.h:29
libebook::PMLAttributes::indentPercent
unsigned indentPercent
Definition: PMLTypes.h:36
libebook::PMLAttributes::right
bool right
Definition: PMLTypes.h:31
libebook::PML_FONT_TYPE_BOLD
Definition: PMLTypes.h:20
libebook::PMLAttributes::smallcaps
bool smallcaps
Definition: PMLTypes.h:41
libebook::PMLAttributes::font
PMLFontType font
Definition: PMLTypes.h:37
libebook::PMLAttributes::indent
bool indent
Definition: PMLTypes.h:35
libebook::PMLAttributes::underline
bool underline
Definition: PMLTypes.h:33
libebook::PMLAttributes::bold
bool bold
Definition: PMLTypes.h:38
libebook::PML_FONT_TYPE_NORMAL
Definition: PMLTypes.h:18
libebook::PMLFontType
PMLFontType
Definition: PMLTypes.h:16
libebook::PMLAttributes::PMLAttributes
PMLAttributes()
Definition: PMLTypes.cpp:15
libebook
Definition: CHMParser.cpp:20
libebook::PMLAttributes::pageBreak
bool pageBreak
Definition: PMLTypes.h:28
libebook::PMLAttributes::subscript
bool subscript
Definition: PMLTypes.h:40
libebook::PMLAttributes::center
bool center
Definition: PMLTypes.h:30