2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
12 * \author Angus Leeming <a.leeming@ic.ac.uk>
15 #ifndef CHARACTERHELPERS_H
16 #define CHARACTERHELPERS_H
25 /** Functions of use to the character GUI controller and view */
42 typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
44 typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
46 typedef std::pair<string, LyXFont::FONT_SHAPE> ShapePair;
48 typedef std::pair<string, LyXFont::FONT_SIZE> SizePair;
50 typedef std::pair<string, FONT_STATE> BarPair;
52 typedef std::pair<string, LColor::color> ColorPair;
54 typedef std::pair<string, string> LanguagePair;
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<LanguagePair> const getLanguageData();
71 } // namespace character
73 #endif // CHARACTERHELPERS