]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetref.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetref.h
index ff01a16c095ad32aabf554aeb3728872e90872ae..239d3317f0e748514a8bcb304d0a83f1aae2a6ea 100644 (file)
 #ifndef INSET_REF_H
 #define INSET_REF_H
 
-
 #include "insetcommand.h"
 
-struct LaTeXFeatures;
 
-/** The reference inset
- */
+/// The reference inset
 class InsetRef : public InsetCommand {
 public:
        struct type_info {
@@ -40,7 +37,6 @@ public:
 
        InsetRef(InsetRef const &);
 
-       ~InsetRef();
        ///
        virtual std::auto_ptr<InsetBase> clone() const {
                return std::auto_ptr<InsetBase>(new InsetRef(*this));
@@ -55,20 +51,21 @@ public:
        bool display() const { return false; }
        ///
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, std::ostream &,
+                 OutputParams const &) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &) const;
+       int linuxdoc(Buffer const &, std::ostream &,
+                    OutputParams const &) const;
        ///
-       int docbook(Buffer const &, std::ostream &, bool mixcont) const;
+       int docbook(Buffer const &, std::ostream &,
+                   OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
 protected:
        ///
-       virtual
-       DispatchResult
-       priv_dispatch(FuncRequest const & cmd, idx_type &, pos_type &);
+       void priv_dispatch(LCursor & cur, FuncRequest & cmd);
 private:
        ///
        bool isLatex;