X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Ffiginset.h;h=02000371d9d5a224e689cc5fb3666ab50f025ed8;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=cd1c005264760146800e4c4bfc86ca5a4160c868;hpb=d1182f17daa1a164d9527ccbe6500840d7ac6bc8;p=lyx.git diff --git a/src/insets/figinset.h b/src/insets/figinset.h index cd1c005264..02000371d9 100644 --- a/src/insets/figinset.h +++ b/src/insets/figinset.h @@ -7,6 +7,7 @@ #ifndef FIGINSET_H #define FIGINSET_H +#include FORMS_H_LOCATION #include "figure_form.h" #include "LString.h" #include "buffer.h" @@ -33,52 +34,57 @@ public: /// void draw(BufferView *, LyXFont const &, int, float &, bool) const; /// - void Write(Buffer const *, std::ostream &) const; + void write(Buffer const *, std::ostream &) const; /// - void Read(Buffer const *, LyXLex & lex); + void read(Buffer const *, LyXLex & lex); /// - int Latex(Buffer const *, std::ostream &, bool fragile, bool free_space) const; + int latex(Buffer const *, std::ostream &, bool fragile, bool free_space) const; /// - int Ascii(Buffer const *, std::ostream &, int linelen) 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; /// Updates needed features for this inset. - void Validate(LaTeXFeatures & features) const; + void validate(LaTeXFeatures & features) const; /// what appears in the minibuffer when opening - string const EditMessage() const; + string const editMessage() const; /// - void Edit(BufferView *, int, int, unsigned int); + void edit(BufferView *, int, int, unsigned int); /// - EDITABLE Editable() const; + void edit(BufferView * bv, bool front = true); /// - bool Deletable() const; + EDITABLE editable() const; /// - Inset::Code LyxCode() const; + bool deletable() const; /// - Inset * Clone(Buffer const &) const; + Inset::Code lyxCode() const; /// - void CallbackFig(long arg); + Inset * clone(Buffer const &, bool same_id = false) const; /// - void Preview(string const & p); + void callbackFig(long arg); + /// + void preview(string const & p); /// browse for file - void BrowseFile(); + void browseFile(); /// form for user input FD_Figure * form; /// width and height in pixels on screen - int wid, hgh; + int wid; + int hgh; /// width and height in postscript units (1/72 inch) - int pswid, pshgh; + int pswid; + int pshgh; /// width of raw figure w/o rotation int raw_wid; /// heigt of raw figure w/o rotation int raw_hgh; /// x and y coordinate in ps units - int psx, psy; + int psx; + int psy; /// .eps file name string fname; @@ -111,7 +117,8 @@ public: HWTYPE thtype; /// width and height - float xwid, xhgh; + float xwid; + float xhgh; /// rotation angle float angle; @@ -141,15 +148,15 @@ private: /// Buffer const * owner; /// restore values on the form - void RestoreForm(); + void restoreForm(); /// recompute screen params - void Recompute(); + void recompute(); /// regenerate \includegraphics{} command - void Regenerate() const; + void regenerate() const; /// regenerate \inlcudegraphics{} command in temporary buffer - void TempRegenerate(); + void tempRegenerate(); /// get sizes from .eps file - void GetPSSizes(); + void getPSSizes(); /// Redraw connection. SigC::Connection r_; };