PMLTypes.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* libe-book
00003  * Version: MPL 2.0 / LGPLv2.1+
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  * Alternatively, the contents of this file may be used under the terms
00010  * of the GNU Lesser General Public License Version 2.1 or later
00011  * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are
00012  * applicable instead of those above.
00013  *
00014  * For further information visit http://libebook.sourceforge.net
00015  */
00016 
00017 #ifndef PMLTYPES_H_INCLUDED
00018 #define PMLTYPES_H_INCLUDED
00019 
00020 namespace libebook
00021 {
00022 
00023 enum PMLFontType
00024 {
00025   PML_FONT_TYPE_NORMAL,
00026   PML_FONT_TYPE_STD,
00027   PML_FONT_TYPE_BOLD,
00028   PML_FONT_TYPE_LARGE
00029 };
00030 
00031 struct PMLAttributes
00032 {
00033   PMLAttributes();
00034 
00035   bool pageBreak;
00036   bool chapter;
00037   bool center;
00038   bool right;
00039   bool italic;
00040   bool underline;
00041   bool overstrike;
00042   bool indent;
00043   unsigned indentPercent;
00044   PMLFontType font;
00045   bool bold;
00046   bool superscript;
00047   bool subscript;
00048   bool smallcaps;
00049 };
00050 
00051 } // namespace libebook
00052 
00053 #endif // PMLTYPES_H_INCLUDED
00054 
00055 /* vim:set shiftwidth=2 softtabstop=2 expandtab: */