///
explicit InsetText(BufferParams const &);
///
+ explicit InsetText();
+ ///
InsetText(InsetText const &);
///
virtual std::auto_ptr<InsetBase> clone() const;
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,
/// 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);