]> git.lyx.org Git - lyx.git/blobdiff - src/sgml.h
more cursor dispatch
[lyx.git] / src / sgml.h
index fe38a6a0a3613060632ed7d47ac0bf2f33315247..d247402f44fdc5ce46a628ee73730c8b343ba70f 100644 (file)
@@ -15,9 +15,8 @@
 
 #include "support/types.h"
 
-#include "support/std_string.h"
-#include <algorithm>
 #include <iosfwd>
+#include <utility>
 
 namespace sgml {
 
@@ -26,15 +25,24 @@ namespace sgml {
  * to an SGML entity. Returns true
  * if it was a whitespace character.
  */
-std::pair<bool, string> escapeChar(char c);
+std::pair<bool, std::string> escapeChar(char c);
 
 /// FIXME
 int openTag(std::ostream & os, lyx::depth_type depth,
-           bool mixcont, string const & latexname);
+           bool mixcont, std::string const & latexname,
+               std::string const & latexparam = std::string());
 
 /// FIXME
 int closeTag(std::ostream & os, lyx::depth_type depth,
-           bool mixcont, string const & latexname);
+           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