X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettext.h;h=d89bb3413e4aee9d0ec14c8dfea50240d7d174c1;hb=5603df4a5b7e511b31026c9a4f8f55b2b10fde57;hp=d1bfc83281a5b3014fc79a007c2c7de49f397a24;hpb=0d43ba149a41e8860dde316ccbd4336d6b0bbdfa;p=lyx.git diff --git a/src/insets/insettext.h b/src/insets/insettext.h index d1bfc83281..d89bb3413e 100644 --- a/src/insets/insettext.h +++ b/src/insets/insettext.h @@ -50,6 +50,8 @@ public: /// explicit InsetText(BufferParams const &); /// + explicit InsetText(); + /// InsetText(InsetText const &); /// virtual std::auto_ptr 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: ///