]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetLayout.h
Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
[features.git] / src / insets / InsetLayout.h
index 8237cd4029ecf4cee6666e819fd4329ec96dbc86..533b62d0e8202452a644db9b97239bdbbdbab675 100644 (file)
@@ -66,6 +66,8 @@ public:
        ///
        docstring labelstring() const { return labelstring_; }
        ///
+       bool contentaslabel() const { return contentaslabel_; }
+       ///
        InsetDecoration decoration() const { return decoration_; }
        ///
        InsetLaTeXType latextype() const { return latextype_; }
@@ -143,6 +145,8 @@ private:
        ///
        docstring labelstring_;
        ///
+       bool contentaslabel_;
+       ///
        InsetDecoration decoration_;
        ///
        InsetLaTeXType latextype_;