]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.h
Support for exporting math as images with XHTML. The next step is to
[features.git] / src / mathed / InsetMathHull.h
index 08e3a03cba0b9820bd9ba4ddf02033abed52db22..d2ca3f6d2bec84a0cca6814bf5dd4cba53ab9f70 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "InsetMathGrid.h"
 
+#include "DocIterator.h"
 #include "OutputEnums.h"
 
 #include <boost/scoped_ptr.hpp>
@@ -141,7 +142,7 @@ public:
        /// Prepare the preview if preview is enabled.
        void preparePreview(DocIterator const & pos) const;
        /// Recreates the preview if preview is enabled.
-       void reloadPreview(DocIterator const & pos) const;
+       void reloadPreview(DocIterator const & pos, bool wait = false) const;
        ///
        void initUnicodeMath() const;
 
@@ -150,6 +151,8 @@ public:
        
        /// Force inset into LTR environment if surroundings are RTL
        virtual bool forceLTR() const { return true; }
+       ///
+       void recordLocation(DocIterator const & di);
 
        ///
        virtual docstring contextMenu(BufferView const &, int, int) const;
@@ -216,6 +219,8 @@ private:
        boost::scoped_ptr<RenderPreview> preview_;
        ///
        mutable bool use_preview_;
+       ///
+       DocIterator docit_;
 //
 // Incorporate me
 //