X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsettext.h;h=d89bb3413e4aee9d0ec14c8dfea50240d7d174c1;hb=5603df4a5b7e511b31026c9a4f8f55b2b10fde57;hp=88e7b0c305576736cdcfef7537089e50309d0e20;hpb=979a4d8ecf1f80a91399938cfd12bd1ae04682ff;p=lyx.git diff --git a/src/insets/insettext.h b/src/insets/insettext.h index 88e7b0c305..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,10 +143,14 @@ 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: /// void priv_dispatch(LCursor & cur, FuncRequest & cmd);