]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathBig.h
rename LyXFont to Font except in tex2lyx
[lyx.git] / src / mathed / InsetMathBig.h
index 6ffa83fd18c0256d8c55f807963312403f3d63da..5c2bbb80f5d6d92ec8d36fec623e1365166caab9 100644 (file)
@@ -23,11 +23,11 @@ namespace lyx {
 class InsetMathBig : public InsetMathDim {
 public:
        ///
-       InsetMathBig(std::string const & name, std::string const & delim);
+       InsetMathBig(docstring const & name, docstring const & delim);
        ///
-       std::string name() const;
+       docstring name() const;
        ///
-       void metrics(MetricsInfo & mi, Dimension & dim) const;
+       bool metrics(MetricsInfo & mi, Dimension & dim) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -35,21 +35,21 @@ public:
        ///
        void normalize(NormalStream & os) const;
        ///
-       void infoize2(std::ostream & os) const;
+       void infoize2(odocstream & os) const;
        ///
-       static bool isBigInsetDelim(std::string const &);
+       static bool isBigInsetDelim(docstring const &);
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
        ///
        size_type size() const;
        ///
        double increase() const;
 
        /// \\bigl or what?
-       std::string const name_;
+       docstring const name_;
        /// ( or [ or \\Vert...
-       std::string const delim_;
+       docstring const delim_;
 };