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"
28 * Escape the given character, if necessary,
29 * to an SGML entity. Returns true
30 * if it was a whitespace character.
32 std::pair<bool, std::string> escapeChar(char c);
34 /// Escape a word instead of a single character
35 std::string escapeString(std::string const & raw);
38 void openTag(std::ostream & os, std::string const & name,
39 std::string const & attribute = std::string());
42 void openTag(Buffer const & buf, std::ostream & os, Paragraph const & par);
45 void closeTag(std::ostream & os, std::string const & name);
48 void closeTag(std::ostream & os, Paragraph const & par);