]> git.lyx.org Git - lyx.git/blobdiff - src/paragraph.h
Partly fix for bug 1231
[lyx.git] / src / paragraph.h
index 6c54e00482f18e130f75e19253e24e39d24115ad..2d25f20d2dd4fa6869af21490bc4813db1aaa177 100644 (file)
@@ -21,6 +21,8 @@
 #include "lyxlayout_ptr_fwd.h"
 #include "RowList_fwd.h"
 
+#include "insets/insetbase.h" // only for InsetBase::Code
+
 #include "support/types.h"
 
 #include <string>
@@ -139,10 +141,16 @@ public:
        ///
        void makeSameLayout(Paragraph const & par);
 
+       ///
+       void setInsetOwner(UpdatableInset * inset);
        ///
        UpdatableInset * inInset() const;
        ///
-       void setInsetOwner(UpdatableInset * inset);
+       InsetBase::Code ownerCode() const;
+       ///
+       bool autoBreakRows() const;
+       ///
+       bool forceDefaultParagraphs() const;
 
        ///
        lyx::pos_type size() const { return text_.size(); }