InsetFlex::InsetFlex(Buffer * buf, string const & layoutName)
: InsetCollapsable(buf), name_(layoutName)
-{
- status_= Collapsed;
-}
+{}
InsetFlex::InsetFlex(InsetFlex const & in)
{}
+// special code for InsetFlex when there is not the explicit Flex:: prefix
InsetLayout const & InsetFlex::getLayout() const
{
if (!buffer_)
}
+bool InsetFlex::resetFontEdit() const
+{
+ if (getLayout().resetsFont())
+ return true;
+ return InsetCollapsable::resetFontEdit();
+}
+
+
InsetLayout::InsetDecoration InsetFlex::decoration() const
{
InsetLayout::InsetDecoration const dec = getLayout().decoration();