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"
17 #include "support/docstring.h"
28 * Escape the given character, if necessary,
31 docstring
escapeChar(char_type c
);
33 /// Escape a word instead of a single character
34 docstring
escapeString(docstring
const & raw
);
36 /// replaces illegal characters from SGML/XML ID attributes
37 docstring
cleanID(Buffer
const & buf
, OutputParams
const & runparams
,
38 docstring
const & orig
);
40 /// returns a unique numeric id
41 docstring
const uniqueID(docstring
const label
);
44 void openTag(odocstream
& os
, std::string
const & name
,
45 std::string
const & attribute
= std::string());
48 void openTag(Buffer
const & buf
, odocstream
& os
,
49 OutputParams
const & runparams
, Paragraph
const & par
);
52 void closeTag(odocstream
& os
, std::string
const & name
);
55 void closeTag(odocstream
& os
, Paragraph
const & par
);