X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsgml.h;h=e3f65c49e01cbce991ee0012d8d48a77b152356e;hb=32d281cba0a2e4d0e8425a34a1a8d1f5e7251412;hp=332535bc70d0877358a7a1a8653f8bcc3752e78c;hpb=236ea81bc5c0ce7101c9460d1ee97b8f3c9be9df;p=lyx.git diff --git a/src/sgml.h b/src/sgml.h index 332535bc70..e3f65c49e0 100644 --- a/src/sgml.h +++ b/src/sgml.h @@ -13,11 +13,10 @@ #ifndef SGML_H #define SGML_H -#include "paragraph.h" +#include "support/types.h" -#include "support/std_string.h" -#include #include +#include namespace sgml { @@ -26,15 +25,24 @@ namespace sgml { * to an SGML entity. Returns true * if it was a whitespace character. */ -std::pair escapeChar(char c); +std::pair escapeChar(char c); /// FIXME -int openTag(std::ostream & os, Paragraph::depth_type depth, - bool mixcont, string const & latexname); +int openTag(std::ostream & os, lyx::depth_type depth, + bool mixcont, std::string const & latexname, + std::string const & latexparam = std::string()); /// FIXME -int closeTag(std::ostream & os, Paragraph::depth_type depth, - bool mixcont, string const & latexname); +int closeTag(std::ostream & os, lyx::depth_type depth, + bool mixcont, std::string const & latexname); + +/// +unsigned int closeEnvTags(std::ostream & os, + bool mixcont, + std::string const & environment_inner_depth, + std::string const & item_tag, + lyx::depth_type total_depth); + } #endif // SGML_H