]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCaption.h
Remove all BufferParam arguments in InsetXXX methods (since insets know about their...
[lyx.git] / src / insets / InsetCaption.h
index 950edbac61c7061c4d2b1317d890f80a3a6dc790..5379b171bc0d1f3b680615070cb610dfd633dba5 100644 (file)
@@ -29,7 +29,9 @@ public:
        /// return the optional argument(s) only
        int getOptArg(odocstream & os, OutputParams const &) const;
        /// return the caption text
-       int getCaptionText(odocstream & os, OutputParams const &) const;
+       int getCaptionAsPlaintext(odocstream & os, OutputParams const &) const;
+       /// return the caption text as HTML
+       docstring getCaptionAsHTML(odocstream & os, OutputParams const &) const;
 private:
        ///
        void write(std::ostream & os) const;
@@ -68,6 +70,8 @@ private:
        int plaintext(odocstream & os, OutputParams const & runparams) const;
        ///
        int docbook(odocstream & os, OutputParams const & runparams) const;
+       /// 
+       docstring xhtml(odocstream & os, OutputParams const & runparams) const;
        ///
        void setCustomLabel(docstring const & label);
        ///
@@ -86,8 +90,6 @@ private:
        ///
        std::string type_;
        ///
-       bool in_subfloat_;
-       ///
        docstring custom_label_;
 };