]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.h
* BufferParams:
[lyx.git] / src / insets / insethfill.h
index 15a5a1f9084f0f573099d8823ffea9ade89e87d1..04e46e2d6572e92d4a8ed741af702c39eae7ebba 100644 (file)
 
 #include "insetcommand.h"
 
+
+namespace lyx {
+
 class InsetHFill : public InsetCommand {
 public:
        ///
        InsetHFill();
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
-       lyx::docstring const getScreenLabel(Buffer const &) const;
+       docstring const getScreenLabel(Buffer const &) const;
        ///
        InsetBase::Code lyxCode() const { return InsetBase::HFILL_CODE; }
        ///
-       int latex(Buffer const &, lyx::odocstream &,
-                 OutputParams const &) const;
-       ///
-       int plaintext(Buffer const &, lyx::odocstream &,
-                 OutputParams const & runparams) const;
+       int plaintext(Buffer const &, odocstream &,
+                     OutputParams const &) const;
        ///
-       int docbook(Buffer const &, lyx::odocstream &,
-                   OutputParams const & runparams) const;
+       int docbook(Buffer const &, odocstream &,
+                   OutputParams const &) const;
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        /// We don't need \begin_inset and \end_inset
@@ -45,4 +45,7 @@ private:
        virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif