X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetVSpace.h;h=21afbcd03605392a1f999bf0e46fc4a9c656d570;hb=860accd01fb8115ec7c6ad80b054f1046e19c62f;hp=ef4b7c11f43d14a94bf1728ef2bbe02b17552562;hpb=1ef605f6254ef3f3b8cec5440a2e67e6f23a707b;p=lyx.git diff --git a/src/insets/InsetVSpace.h b/src/insets/InsetVSpace.h index ef4b7c11f4..21afbcd036 100644 --- a/src/insets/InsetVSpace.h +++ b/src/insets/InsetVSpace.h @@ -32,22 +32,23 @@ public: /// bool hasSettings() const { return true; } /// - docstring contextMenuName() const; + bool clickable(BufferView const &, int, int) const { return true; } + /// + std::string contextMenuName() const; /// static void string2params(std::string const &, VSpace &); /// static std::string params2string(VSpace const &); - /// - bool clickable(int, int) const { return true; } private: /// void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// - int latex(otexstream &, OutputParams const &) const; + void latex(otexstream &, OutputParams const &) const; /// - int plaintext(odocstream &, OutputParams const &) const; + int plaintext(odocstringstream & ods, OutputParams const & op, + size_t max_length = INT_MAX) const; /// int docbook(odocstream &, OutputParams const &) const; /// Note that this returns the inset rather than writing it,