]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insethfill.h
* src/LyXAction.C: mark goto-clear-bookmark as working without buffer
[lyx.git] / src / insets / insethfill.h
index e13fd29f8a5dab12c8596dab5299ce728720684f..51f5b59fa1ddc4103eceb1d7f2ea2f0258000c79 100644 (file)
 
 #include "insetcommand.h"
 
+
+namespace lyx {
+
 class InsetHFill : public InsetCommand {
 public:
        ///
        InsetHFill();
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
-       ///
-       std::auto_ptr<InsetBase> clone() const;
-       ///
-       std::string const getScreenLabel(Buffer const &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
-       InsetOld::Code lyxCode() const { return InsetOld::HFILL_CODE; }
+       docstring const getScreenLabel(Buffer const &) const;
        ///
-       int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+       InsetBase::Code lyxCode() const { return InsetBase::HFILL_CODE; }
        ///
-       int ascii(Buffer const &, std::ostream &, int linelen) const;
+       int plaintext(Buffer const &, odocstream &,
+                 OutputParams const & runparams) const;
        ///
-       int linuxdoc(Buffer const &, std::ostream &) const;
-       ///
-       int docbook(Buffer const &, std::ostream &, bool) const;
+       int docbook(Buffer const &, odocstream &,
+                   OutputParams const & runparams) const;
        ///
        void write(Buffer const & buf, std::ostream & os) const;
        /// We don't need \begin_inset and \end_inset
        bool directWrite() const { return true; }
-
+       /// is this equivalent to a space (which is BTW different from
+       // a line separator)?
+       bool isSpace() const;
+private:
+       virtual std::auto_ptr<InsetBase> doClone() const;
 };
 
+
+} // namespace lyx
+
 #endif