4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
10 * Full author contact details are available in file CREDITS.
16 #include "support/types.h"
27 * Escape the given character, if necessary,
28 * to an SGML entity. Returns true
29 * if it was a whitespace character.
31 std::pair<bool, std::string> escapeChar(char c);
33 /// Escape a word instead of a single character
34 std::string escapeString(std::string const & raw);
37 int openTag(Buffer const & buf, std::ostream & os, lyx::depth_type depth,
38 bool mixcont, std::string const & name,
39 std::string const & param = std::string());
42 int closeTag(std::ostream & os, lyx::depth_type depth,
43 bool mixcont, std::string const & name);