]> git.lyx.org Git - lyx.git/blobdiff - src/xml.h
DocBook: add a layout tag to tell whether an item is the abstract or not.
[lyx.git] / src / xml.h
index 5afdcf53e921995621f6b8f938eff4a0e86feaf8..b585a48a9dc8fd90e75d87c4e96544d85c12fc42 100644 (file)
--- a/src/xml.h
+++ b/src/xml.h
@@ -126,6 +126,8 @@ private:
        TagDeque pending_tags_;
        ///
        TagDeque tag_stack_;
+public:
+       bool pending_tags_empty() { return pending_tags_.empty();};
 };
 
 namespace xml {
@@ -139,9 +141,6 @@ docstring escapeChar(char c, XMLStream::EscapeSettings e);
 /// Escape a word instead of a single character
 docstring escapeString(docstring const & raw, XMLStream::EscapeSettings e=XMLStream::ESCAPE_ALL);
 
-/// Converts a string to a form safe for links, etc.
-docstring xmlize(docstring const &str, XMLStream::EscapeSettings e);
-
 /// cleans \param str for use as an attribute by replacing all non-altnum by "_"
 docstring cleanAttr(docstring const & str);