2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2001 The LyX Team.
9 * ======================================================
12 * \author Angus Leeming <leeming@lyx.org>
15 #ifndef CHARACTERHELPERS_H
16 #define CHARACTERHELPERS_H
28 /** Functions of use to the character GUI controller and view */
45 typedef std::pair<string, LyXFont::FONT_FAMILY> FamilyPair;
47 typedef std::pair<string, LyXFont::FONT_SERIES> SeriesPair;
49 typedef std::pair<string, LyXFont::FONT_SHAPE> ShapePair;
51 typedef std::pair<string, LyXFont::FONT_SIZE> SizePair;
53 typedef std::pair<string, FONT_STATE> BarPair;
55 typedef std::pair<string, LColor::color> ColorPair;
58 std::vector<FamilyPair> const getFamilyData();
60 std::vector<SeriesPair> const getSeriesData();
62 std::vector<ShapePair> const getShapeData();
64 std::vector<SizePair> const getSizeData();
66 std::vector<BarPair> const getBarData();
68 std::vector<ColorPair> const getColorData();
72 #endif // CHARACTERHELPERS