]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetOptArg.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetOptArg.h
index 6bdf40093df912f8dd30afde40fbefde489cb994..2584049a61287e0351320d631f41a84586063b24 100644 (file)
@@ -27,29 +27,28 @@ class InsetOptArg : public InsetCollapsable
 {
 public:
        ///
-       InsetOptArg(Buffer const &);
+       InsetOptArg(Buffer *);
 
        /// Outputting the optional parameter of a LaTeX command
        int latexOptional(odocstream &, OutputParams const &) const;
+       ///
+       bool hasSettings() const { return false; }
 
 private:
        /// code of the inset
        InsetCode lyxCode() const { return OPTARG_CODE; }
        ///
        docstring name() const { return from_ascii("OptArg"); }
-       /// return an message upon editing
-       docstring editMessage() const;
-
        /// Standard LaTeX output -- short-circuited
        int latex(odocstream &, OutputParams const &) const;
        /// Standard plain text output -- short-circuited
        int plaintext(odocstream &, OutputParams const &) const;
        /// Standard DocBook output -- short-circuited
        int docbook(odocstream &, OutputParams const &) const;
-
+       /// Standard XHTML output -- short-circuited
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        /// Write out to the .lyx file
        void write(std::ostream & os) const;
-
        /// should paragraph indendation be ommitted in any case?
        bool neverIndent() const { return true; }
        ///