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/docstring.h"
27 * Escape the given character, if necessary,
30 docstring escapeChar(char_type c);
32 /// Escape a word instead of a single character
33 docstring escapeString(docstring const & raw);
35 /// replaces illegal characters from SGML/XML ID attributes
36 docstring cleanID(Buffer const & buf, OutputParams const & runparams,
37 docstring const & orig);
39 /// returns a unique numeric id
40 docstring const uniqueID(docstring const label);
43 void openTag(odocstream & os, std::string const & name,
44 std::string const & attribute = std::string());
47 void openTag(Buffer const & buf, odocstream & os,
48 OutputParams const & runparams, Paragraph const & par);
51 void closeTag(odocstream & os, std::string const & name);
54 void closeTag(odocstream & os, Paragraph const & par);