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
24 /** Functions of use to the character GUI controller and view */
43 typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
45 typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
47 typedef std::pair<string, LyXFont::FONT_SHAPE> ShapePair;
49 typedef std::pair<string, LyXFont::FONT_SIZE> SizePair;
51 typedef std::pair<string, FONT_STATE> BarPair;
53 typedef std::pair<string, LColor::color> ColorPair;
56 std::vector<FamilyPair> const getFamilyData();
58 std::vector<SeriesPair> const getSeriesData();
60 std::vector<ShapePair> const getShapeData();
62 std::vector<SizePair> const getSizeData();
64 std::vector<BarPair> const getBarData();
66 std::vector<ColorPair> const getColorData();
68 std::vector<string> const getLanguageData();
70 } // namespace character
72 #endif // CHARACTERHELPERS