InsetCaption::InsetCaption(Buffer * buf, string const & type) : InsetText(buf, InsetText::PlainLayout), type_(type) { setAutoBreakRows(true); setDrawFrame(true); setFrameColor(Color_collapsableframe); }
InsetCaption::InsetCaption(Buffer * buf, string const & type) : InsetText(buf, InsetText::PlainLayout), labelwidth_(0), is_subfloat_(false), type_(type) { setDrawFrame(true); setFrameColor(Color_collapsibleframe); }
InsetPreview::InsetPreview(Buffer * buf) : InsetText(buf), preview_(new RenderPreview(this)), use_preview_(true) { setDrawFrame(true); setFrameColor(Color_previewframe); }