]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetFlex.h
This should be the last of the commits refactoring the InsetLayout code.
[lyx.git] / src / insets / InsetFlex.h
index 7ea771bd9c19b3543646a2f4295e155f85c1c9ae..3bb10abe493a6b2918d784cb1296cc529e1fdd28 100644 (file)
@@ -31,9 +31,6 @@ public:
        ///
        docstring name() const { return from_utf8(name_); }
 
-       /// 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;
        ///
@@ -43,7 +40,7 @@ public:
        ///
        void read(Buffer const & buf, Lexer & lex);
        ///
-       bool forceDefaultParagraphs(idx_type) const { return true; }
+       virtual bool allowParagraphCustomization(idx_type) const { return false; }
 
        ///
        int plaintext(Buffer const &, odocstream &,