]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettabular.h
more cleanup:
[lyx.git] / src / insets / insettabular.h
index 47fa58b77a6350313d87916ec894c17fe7915bb5..cb785f4b5ec2bc738a21e93a0016a7110a89f5e3 100644 (file)
@@ -60,7 +60,7 @@ public:
        ///
        void write(Buffer const &, std::ostream &) const;
        ///
-       void metrics(MetricsInfo &, Dimension &) const;
+       bool metrics(MetricsInfo &, Dimension &) const;
        ///
        void draw(PainterInfo & pi, int x, int y) const;
        ///
@@ -117,6 +117,10 @@ public:
 
        /// set the change for the entire inset
        void setChange(Change const & change);
+       /// accept the changes within the inset
+       void acceptChanges();
+       /// reject the changes within the inset
+       void rejectChanges();
 
        // this should return true if we have a "normal" cell, otherwise false.
        // "normal" means without width set!