flag = InsetUrl::URL;
}
///
+ explicit
InsetUrl(string const &);
///
+ explicit
InsetUrl(InsetCommand const &);
///
InsetUrl(string const &, string const &, string const &);
///
void Validate(LaTeXFeatures &) const;
///
- void Edit(int, int);
+ void Edit(BufferView *, int, int, unsigned int);
///
- unsigned char Editable() const {
- return 1;
+ EDITABLE Editable() const {
+ return IS_EDITABLE;
}
///
- char const * EditMessage() const {return _("Opened Url");}
+ char const * EditMessage() const;
///
bool display() const { return false; }
///
///
void gotoLabel();
///
- int Latex(ostream &, signed char fragile) const;
+ int Latex(Buffer const *, std::ostream &,
+ bool fragile, bool free_spc) const;
///
- int Latex(string & file, signed char fragile) const;
+ int Ascii(Buffer const *, std::ostream &) const;
///
- int Linuxdoc(string & file) const;
+ int Linuxdoc(Buffer const *, std::ostream &) const;
///
- int DocBook(string & file) const;
+ int DocBook(Buffer const *, std::ostream &) const;
///
static void CloseUrlCB(FL_OBJECT *, long data);
private:
+ ///
+ struct Holder {
+ InsetUrl * inset;
+ BufferView * view;
+ };
+ ///
+ Holder holder;
+
///
Url_Flags flag;
///