]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommand.h
Improve handling of top and bottom margin
[lyx.git] / src / insets / InsetCommand.h
index d450a663471c14cf7481b5a178f3d1d30112831d..0c0cd1a954adbb76b726508d71de51d41ea1e2d9 100644 (file)
@@ -62,6 +62,10 @@ public:
        void setParam(std::string const & name, docstring const & value);
        /// FIXME Remove
        docstring const getFirstNonOptParam() const { return p_.getFirstNonOptParam(); }
+       ///
+       void setBroken(bool const b) const { broken_ = b; }
+       ///
+       bool isBroken() const { return broken_; }
 
        /// \name Public functions inherited from Inset class
        //@{
@@ -85,7 +89,7 @@ public:
        int plaintext(odocstringstream & ods, OutputParams const & op,
                      size_t max_length = INT_MAX) const;
        ///
-       int docbook(odocstream &, OutputParams const & runparams) const;
+       void docbook(XMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
@@ -147,6 +151,8 @@ private:
        mutable std::map<BufferView const *, bool> mouse_hover_;
        ///
        mutable RenderButton button_;
+       ///
+       mutable bool broken_;
 };
 
 /// Decode InsetCommand considering Inset name and data.