replace most &dquot;...&dquot; by <...>
[lyx.git] / src / bufferview_funcs.h
blobc8665daa71412c4bdc9eb946889038e04571c5f7
1 // -*- C++ -*-
2 /**
3 * \file bufferview_funcs.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Lars Gullik Bjønnes
8 * \author Jean-Marc Lasgouttes
9 * \author Angus Leeming
11 * Full author contact details are available in file CREDITS.
14 #ifndef BUFFERVIEW_FUNCS_H
15 #define BUFFERVIEW_FUNCS_H
17 #include <string>
19 class LyXFont;
22 namespace bv_funcs {
24 /// Set \param data using \param font and \param toggle. Return success.
25 bool font2string(LyXFont const & font, bool toggle, std::string & data);
27 /// Set \param font and \param toggle using \param data. Return success.
28 bool string2font(std::string const & data, LyXFont & font, bool & toggle);
30 /** Returns the current freefont, encoded as a std::string to be passed to the
31 * frontends.
33 std::string const freefont2string();
35 } // namespace bv_funcs
37 #endif