///
explicit InsetText(InsetText const &);
///
- InsetBase * clone() const;
+ virtual std::auto_ptr<InsetBase> clone() const;
///
InsetText & operator=(InsetText const & it);
/// empty inset to empty par, or just mark as erased
bool unlockInsetInInset(BufferView *,
UpdatableInset *, bool lr = false);
///
- bool updateInsetInInset(BufferView *, Inset *);
+ bool updateInsetInInset(BufferView *, InsetOld *);
///
RESULT localDispatch(FuncRequest const &);
///
///
int ascii(Buffer const *, std::ostream &, int linelen) const;
///
- int linuxdoc(Buffer const *, std::ostream &) const { return 0; }
+ int linuxdoc(Buffer const *, std::ostream &) const ;
///
int docbook(Buffer const *, std::ostream &, bool mixcont) const ;
///
void validate(LaTeXFeatures & features) const;
///
- Inset::Code lyxCode() const { return Inset::TEXT_CODE; }
+ InsetOld::Code lyxCode() const { return InsetOld::TEXT_CODE; }
/// FIXME, document
void getCursorPos(BufferView *, int & x, int & y) const;
/// Get the absolute document x,y of the cursor
///
void fitInsetCursor(BufferView *) const;
///
- bool insertInset(BufferView *, Inset *);
+ bool insertInset(BufferView *, InsetOld *);
///
- bool insetAllowed(Inset::Code) const;
+ bool insetAllowed(InsetOld::Code) const;
///
UpdatableInset * getLockingInset() const;
///
- UpdatableInset * getFirstLockingInsetOfType(Inset::Code);
+ UpdatableInset * getFirstLockingInsetOfType(InsetOld::Code);
///
void setFont(BufferView *, LyXFont const &,
bool toggleall = false,
///
void clearSelection(BufferView * bv);
///
- Inset * getInsetFromID(int id) const;
+ InsetOld * getInsetFromID(int id) const;
///
ParagraphList * getParagraphs(int) const;
///
///
void removeNewlines();
///
- int cx(BufferView *) const;
+ int cx() const;
///
- int cix(BufferView *) const;
+ int cix() const;
///
int cy() const;
///