PMLTypes.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /*
00003  * This file is part of the libe-book project.
00004  *
00005  * This Source Code Form is subject to the terms of the Mozilla Public
00006  * License, v. 2.0. If a copy of the MPL was not distributed with this
00007  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
00008  */
00009 
00010 #ifndef PMLTYPES_H_INCLUDED
00011 #define PMLTYPES_H_INCLUDED
00012 
00013 namespace libebook
00014 {
00015 
00016 enum PMLFontType
00017 {
00018   PML_FONT_TYPE_NORMAL,
00019   PML_FONT_TYPE_STD,
00020   PML_FONT_TYPE_BOLD,
00021   PML_FONT_TYPE_LARGE
00022 };
00023 
00024 struct PMLAttributes
00025 {
00026   PMLAttributes();
00027 
00028   bool pageBreak;
00029   bool chapter;
00030   bool center;
00031   bool right;
00032   bool italic;
00033   bool underline;
00034   bool overstrike;
00035   bool indent;
00036   unsigned indentPercent;
00037   PMLFontType font;
00038   bool bold;
00039   bool superscript;
00040   bool subscript;
00041   bool smallcaps;
00042 };
00043 
00044 } // namespace libebook
00045 
00046 #endif // PMLTYPES_H_INCLUDED
00047 
00048 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */