X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetvspace.h;h=eb3a409c5588a3d094256e7535d94b323c8d5207;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=1d63291a61e187d8e66dfd7b10d1fa142491cd25;hpb=087c1bf17dc6779440e6addd658a6d7ee5d293d0;p=lyx.git diff --git a/src/insets/insetvspace.h b/src/insets/insetvspace.h index 1d63291a61..eb3a409c55 100644 --- a/src/insets/insetvspace.h +++ b/src/insets/insetvspace.h @@ -17,6 +17,9 @@ #include "vspace.h" #include "mailinset.h" + +namespace lyx { + class InsetVSpace : public InsetOld { public: /// @@ -26,20 +29,17 @@ public: /// ~InsetVSpace(); /// - void metrics(MetricsInfo & mi, Dimension & dim) const; + bool metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; /// - int latex(Buffer const &, std::ostream &, + int latex(Buffer const &, odocstream &, OutputParams const &) const; /// - int plaintext(Buffer const &, std::ostream &, + int plaintext(Buffer const &, odocstream &, OutputParams const &) const; /// - int linuxdoc(Buffer const &, std::ostream &, - OutputParams const &) const; - /// - int docbook(Buffer const &, std::ostream &, + int docbook(Buffer const &, odocstream &, OutputParams const &) const; /// void read(Buffer const &, LyXLex & lex); @@ -57,7 +57,7 @@ protected: private: virtual std::auto_ptr doClone() const; /// - std::string const label() const; + docstring const label() const; /// VSpace space_; @@ -85,4 +85,7 @@ private: InsetVSpace & inset_; }; + +} // namespace lyx + #endif