///
InsetCode lyxCode() const { return BOX_CODE; }
///
+ docstring name() const;
+ ///
void write(Buffer const &, std::ostream &) const;
///
void read(Buffer const & buf, Lexer & lex);
bool showInsetDialog(BufferView * bv) const;
///
DisplayType display() const { return Inline; }
+ //FIXME Is this the one we want? or is it:
+ //allowParagraphCustomization(idx_type)?
///
- bool forceDefaultParagraphs(idx_type) const;
+ virtual bool forceEmptyLayout() const;
///
bool neverIndent(Buffer const &) const { return true; }
///
bool noFontChange() const { return true; }
///
+ bool isMacroScope(Buffer const & buf) const;
+ ///
int latex(Buffer const &, odocstream &, OutputParams const &) const;
///
int plaintext(Buffer const &, odocstream &, OutputParams const &) const;
enum BoxType {
Frameless,
Boxed,
+ Framed,
ovalbox,
Ovalbox,
Shadowbox,
+ Shaded,
Doublebox
};
protected:
virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
/// Is the width forced to some value?
virtual bool hasFixedWidth() const;
- ///
- virtual docstring name() const { return from_ascii("Box"); }
private:
friend class InsetBoxParams;