]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetArgument.h
Allow row-breaking after some insets
[lyx.git] / src / insets / InsetArgument.h
index 9fff93b4e12034199eb56c73f7287406956ace00..8cc3e087227560c337fb16cf0374b6a10667d3a4 100644 (file)
@@ -48,7 +48,7 @@ public:
        ///
        docstring layoutName() const { return from_ascii("Argument"); }
        /// Update the label string of this inset
-       void updateBuffer(ParIterator const &, UpdateType);
+       void updateBuffer(ParIterator const &, UpdateType, bool const deleted = false);
        ///
        void latex(otexstream &, OutputParams const &) const { }
        ///
@@ -56,7 +56,7 @@ public:
        ///
        int docbook(odocstream &, OutputParams const &) const { return 0; }
        ///
-       docstring xhtml(XHTMLStream &, OutputParams const &) const
+       docstring xhtml(XMLStream &, OutputParams const &) const
                { return docstring(); }
        ///
        void write(std::ostream & os) const;
@@ -69,6 +69,10 @@ public:
        ///
        bool isPassThru() const { return pass_thru_; }
        ///
+       bool isFreeSpacing() const { return free_spacing_; }
+       ///
+       bool isTocCaption() const { return is_toc_caption_; }
+       ///
        bool resetFontEdit() const { return false; }
        //@}
        /// \name Public functions inherited from InsetCollapsible class
@@ -112,9 +116,15 @@ private:
        /// Effective pass-thru setting (inherited or local)
        bool pass_thru_;
        ///
+       bool free_spacing_;
+       ///
        docstring pass_thru_chars_;
+       /// Does this argument provide content for the TOC?
+       bool is_toc_caption_;
        /// The type of Toc this is the caption of, empty otherwise.
        std::string caption_of_toc_;
+       /// Specific line break macro
+       std::string newline_cmd_;
 
 protected:
        /// \name Protected functions inherited from Inset class