X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetHFill.h;h=3c4683cc2de5562daf3736a0abf526b6290e8548;hb=2c357c1d23b7b83839a9beb8225d4f1ae4f793b4;hp=e5823e9d189fd682725729b6535af43cafe9bdcf;hpb=f7b1c86393d890d5d473279d88e26bb78f8c1275;p=lyx.git diff --git a/src/insets/InsetHFill.h b/src/insets/InsetHFill.h index e5823e9d18..3c4683cc2d 100644 --- a/src/insets/InsetHFill.h +++ b/src/insets/InsetHFill.h @@ -25,6 +25,8 @@ public: /// void metrics(MetricsInfo &, Dimension &) const; /// + void draw(PainterInfo & pi, int x, int y) const; + /// docstring const getScreenLabel(Buffer const &) const; /// InsetCode lyxCode() const { return HFILL_CODE; } @@ -41,6 +43,13 @@ public: /// is this equivalent to a space (which is BTW different from // a line separator)? bool isSpace() const; + /// + static CommandInfo const * findInfo(std::string const &); + /// + static std::string defaultCommand() { return "hfill"; }; + /// + static bool isCompatibleCommand(std::string const & s) + { return s == "hfill"; } private: virtual Inset * clone() const; };