1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ======================================================
11 * \author Angus Leeming <a.leeming@ic.ac.uk>
14 #ifndef CHARACTERHELPERS_H
15 #define CHARACTERHELPERS_H
23 #include "character.h"
25 /** Functions of use to the character GUI controller and view */
44 typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
46 typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
48 typedef std::pair<string, LyXFont::FONT_SHAPE> ShapePair;
50 typedef std::pair<string, LyXFont::FONT_SIZE> SizePair;
52 typedef std::pair<string, FONT_STATE> BarPair;
54 typedef std::pair<string, LColor::color> ColorPair;
57 std::vector<FamilyPair> const getFamilyData();
59 std::vector<SeriesPair> const getSeriesData();
61 std::vector<ShapePair> const getShapeData();
63 std::vector<SizePair> const getSizeData();
65 std::vector<BarPair> const getBarData();
67 std::vector<ColorPair> const getColorData();
69 std::vector<string> const getLanguageData();
71 } // namespace character
73 #endif // CHARACTERHELPERS