]> git.lyx.org Git - lyx.git/blobdiff - src/insets/inseturl.h
Don't remove cell selections after fontchange.
[lyx.git] / src / insets / inseturl.h
index 30a7b2c49bbd5342569f9b47817fb4b0672a7aec..d077e33daebfe3ca7833428bf835e62fa48f96dc 100644 (file)
@@ -4,7 +4,7 @@
  *
  *           LyX, The Document Processor
  *      
- *         Copyright 1997-2000 The LyX Team.
+ *         Copyright 1997-2001 The LyX Team.
  * 
  * ====================================================== */
 
@@ -25,30 +25,34 @@ class InsetUrl : public InsetCommand {
 public:
        ///
        explicit
-       InsetUrl(InsetCommandParams const &);
-        ///
-       Inset * Clone() const { return new InsetUrl(params()); }
+       InsetUrl(InsetCommandParams const &, bool same_id = false);
        ///
-       Inset::Code LyxCode() const { return Inset::URL_CODE; }
+       virtual Inset * clone(Buffer const &, bool same_id = false) const {
+               return new InsetUrl(params(), same_id);
+       }
        ///
-       void Validate(LaTeXFeatures &) const;
+       Inset::Code lyxCode() const { return Inset::URL_CODE; }
        ///
-       string getScreenLabel() const;
+       void validate(LaTeXFeatures &) const;
        ///
-       EDITABLE Editable() const { return IS_EDITABLE; }
+       string const getScreenLabel(Buffer const *) const;
+       ///
+       EDITABLE editable() const { return IS_EDITABLE; }
+       ///
+       void edit(BufferView *, int, int, unsigned int);
+       ///
+       void edit(BufferView * bv, bool front = true);
        ///
-       void Edit(BufferView *, int, int, unsigned int);
-        ///
        bool display() const { return false; }
        ///
-       int Latex(Buffer const *, std::ostream &,
-                 bool fragile, bool free_spc) const;
+       int latex(Buffer const *, std::ostream &,
+                 bool fragile, bool free_spc) const;
        ///
-       int Ascii(Buffer const *, std::ostream &) const;
+       int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
-       int Linuxdoc(Buffer const *, std::ostream &) const;
+       int linuxdoc(Buffer const *, std::ostream &) const;
        ///
-       int DocBook(Buffer const *, std::ostream &) const;
+       int docbook(Buffer const *, std::ostream &) const;
 };
 
 #endif