]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Restore XHTML output for InsetListings.
[lyx.git] / src / insets / InsetListings.h
index fcf16726ea68054c7dcb3c343742f1926d456582..fc2ba3bd5ad564461236726684f24300604a2d88 100644 (file)
@@ -30,7 +30,7 @@ class InsetListings : public InsetCollapsable
 {
 public:
        ///
-       InsetListings(Buffer const &, InsetListingsParams const & par = InsetListingsParams());
+       InsetListings(Buffer *, InsetListingsParams const & par = InsetListingsParams());
        ///
        ~InsetListings();
        ///
@@ -41,13 +41,15 @@ private:
        ///
        bool isLabeled() const { return true; }
        ///
+       bool noFontChange() const { return true; }
+       ///
        InsetCode lyxCode() const { return LISTINGS_CODE; }
        /// lstinline is inlined, normal listing is displayed
        DisplayType display() const;
        ///
        docstring name() const { return from_ascii("Listings"); }
        // Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
+       void updateLabels(ParIterator const &, bool);
        ///
        void write(std::ostream & os) const;
        ///
@@ -55,7 +57,7 @@ private:
        ///
        int latex(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///