- /// draw, either inlined (no button) or collapsed/open
- void draw(PainterInfo & pi, int x, int y, bool inlined) const;
- ///
- bool hitButton(FuncRequest const &) const;
- ///
- EDITABLE editable() const;
- ///
- bool insertInset(BufferView *, InsetOld * inset);
- ///
- virtual bool insetAllowed(InsetOld::Code code) const {
- return inset.insetAllowed(code);
- }
- ///
- bool isTextInset() const { return true; }
- ///
- void insetUnlock(BufferView *);
- ///
- bool lockInsetInInset(BufferView *, UpdatableInset *);
- ///
- bool unlockInsetInInset(BufferView *, UpdatableInset *,
- bool lr = false);
- ///
- int insetInInsetY() const;
- ///
- RESULT localDispatch(FuncRequest const &);
- ///
- int latex(Buffer const &, std::ostream &,
- LatexRunParams const &) const;
- ///
- int ascii(Buffer const &, std::ostream &, int) const;
- ///
- int linuxdoc(Buffer const &, std::ostream &) const;
- ///
- int docbook(Buffer const &, std::ostream &, bool mixcont) const;
- ///
- void validate(LaTeXFeatures & features) const;
- /// FIXME, document
- void getCursorPos(BufferView *, int & x, int & y) const;
- /// Get the absolute document x,y of the cursor
- virtual void getCursor(BufferView &, int &, int &) const;
- ///
- void fitInsetCursor(BufferView * bv) const {
- inset.fitInsetCursor(bv);
- }
- UpdatableInset * getLockingInset() const;
- ///
- UpdatableInset * getFirstLockingInsetOfType(InsetOld::Code);
- ///
- void setFont(BufferView *, LyXFont const &, bool toggleall = false,
- bool selectall = false);
- ///
- void setLabel(string const & l) const;
- ///
- void setLabelFont(LyXFont & f) { labelfont = f; }
-#if 0
- ///
- void setAutoCollapse(bool f) { autocollapse = f; }
-#endif