]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insettext.h
convert graphics for .tex export, fixes bug 1231
[lyx.git] / src / insets / insettext.h
index d1bfc83281a5b3014fc79a007c2c7de49f397a24..d89bb3413e4aee9d0ec14c8dfea50240d7d174c1 100644 (file)
@@ -50,6 +50,8 @@ public:
        ///
        explicit InsetText(BufferParams const &);
        ///
+       explicit InsetText();
+       ///
        InsetText(InsetText const &);
        ///
        virtual std::auto_ptr<InsetBase> clone() const;
@@ -79,16 +81,16 @@ public:
                  OutputParams const &) const;
        ///
        int linuxdoc(Buffer const &, std::ostream &,
-                    OutputParams const &) const ;
+                    OutputParams const &) const;
        ///
        int docbook(Buffer const &, std::ostream &,
-                   OutputParams const &) const ;
+                   OutputParams const &) const;
        ///
        void validate(LaTeXFeatures & features) const;
        ///
        InsetOld::Code lyxCode() const { return InsetOld::TEXT_CODE; }
        /// FIXME, document
-       void getCursorPos(CursorSlice const & cur, int & x, int & y) const;
+       void getCursorPos(LCursor const & cur, int & x, int & y) const;
        ///
        void setFont(BufferView *, LyXFont const &,
                     bool toggleall = false,
@@ -141,7 +143,13 @@ public:
        /// number of cells in this inset
        size_t nargs() const { return 1; }
        ///
-       ParagraphList & paragraphs() const;
+       ParagraphList & paragraphs();
+       ///
+       ParagraphList const & paragraphs() const;
+       ///
+       bool insetAllowed(Code) const { return true; }
+       ///
+       bool allowSpellCheck() const { return true; }
 
 protected:
        ///