]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.h
The speed patch: redraw only rows that have changed
[lyx.git] / src / insets / insetoptarg.h
index 2dc95bc4710812fd0f3bbc20a6b7d2c62ee7402f..5521a56f4feda2643420961a28d265b4fe120b86 100644 (file)
@@ -25,18 +25,32 @@ public:
        InsetOptArg(BufferParams const &);
 
        /// code of the inset
-       InsetOld::Code lyxCode() const { return InsetOld::OPTARG_CODE; }
+       InsetBase::Code lyxCode() const { return InsetBase::OPTARG_CODE; }
        /// return an message upon editing
        std::string const editMessage() const;
 
        /// Standard LaTeX output -- short-circuited
        int latex(Buffer const &, std::ostream &,
                  OutputParams const &) const;
+       /// Standard DocBook output -- short-circuited
+       int docbook(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
+       /// Standard LinuxDoc output -- short-circuited
+       int linuxdoc(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
+
+       /// Standard plain text output -- short-circuited
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
+
        /// Outputting the optional parameter of a LaTeX command
        int latexOptional(Buffer const &, std::ostream &,
                          OutputParams const &) const;
        /// Write out tothe .lyx file
        void write(Buffer const & buf, std::ostream & os) const;
+
+       /// should paragraph indendation be ommitted in any case?
+       virtual bool neverIndent() const { return true; }
 protected:
        InsetOptArg(InsetOptArg const &);
 private: