InsetFlex(BufferParams const &, InsetLayout);
///
docstring name() const { return from_ascii("Flex"); }
+ ///
+ InsetLayout const & getLayout(BufferParams const &) const { return layout_; }
/// Is this character style defined in the document's textclass?
/// May be wrong after textclass change or paste from another document
bool undefined() const;
///
virtual docstring const editMessage() const;
///
- Inset::Code lyxCode() const { return Inset::FLEX_CODE; }
+ InsetCode lyxCode() const { return FLEX_CODE; }
///
void write(Buffer const &, std::ostream &) const;
///
void read(Buffer const & buf, Lexer & lex);
///
- bool metrics(MetricsInfo &, Dimension &) const;
- ///
- void draw(PainterInfo &, int, int) const;
- ///
- void getDrawFont(Font &) const;
- ///
bool forceDefaultParagraphs(idx_type) const { return true; }
///
protected:
InsetFlex(InsetFlex const &);
- virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
- ///
- bool getStatus(Cursor & cur, FuncRequest const & cmd, FuncStatus &) const;
private:
friend class InsetFlexParams;